azure_mgmt_search 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87e816095a2bf77c1aae411f0db4be37ceeb2edb
4
- data.tar.gz: 88af83485ebacc6c5b577c7d76cd804c901cc3f5
3
+ metadata.gz: ef9db060eb907c5e699e5dcacd1cc8f3edf33f9c
4
+ data.tar.gz: cfac564dfb1587e495e92d4036995664a88b8487
5
5
  SHA512:
6
- metadata.gz: 01620c5f5dc8fdf83c132be04dfadf6ecbf4ae5f12c38c1cacfc7e56def1322f4ce239a4d2c66d7fa71cd207ff394955f6b01ff81864e0a0a49c1fa4c501412f
7
- data.tar.gz: dc4c49db842a0499fa8b73d24d8d53f5c1224251014e7c2802fc8ce269dbb37113c78675106b82f2e6d32595d1dced213f916162d151a3ca57f7822208a2ece7
6
+ metadata.gz: 9b109de31b8f7f690c795d91c6dd2d20f1589ce13c0f693cc67a4e88aa0f230e0892ca1bc6bd5e719915a310b1a614aa6fa6cc50179db9c9df171ad0e2a34b40
7
+ data.tar.gz: ea1fca7cf0185f05f2f71929be5682c145f825a162cfe783a387f9c6c68fd8609374829987dc403ab8c58df7c0536d744be827a8c3576df931ed5d009e047373
@@ -30,6 +30,7 @@ module Azure::ARM::Search
30
30
  autoload :CheckNameAvailabilityInput, 'generated/azure_mgmt_search/models/check_name_availability_input.rb'
31
31
  autoload :SearchManagementRequestOptions, 'generated/azure_mgmt_search/models/search_management_request_options.rb'
32
32
  autoload :AdminKeyResult, 'generated/azure_mgmt_search/models/admin_key_result.rb'
33
+ autoload :Resource, 'generated/azure_mgmt_search/models/resource.rb'
33
34
  autoload :QueryKey, 'generated/azure_mgmt_search/models/query_key.rb'
34
35
  autoload :CheckNameAvailabilityOutput, 'generated/azure_mgmt_search/models/check_name_availability_output.rb'
35
36
  autoload :SearchService, 'generated/azure_mgmt_search/models/search_service.rb'
@@ -13,7 +13,6 @@ module Azure::ARM::Search
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The primary admin API key of the Search service.
18
17
  attr_accessor :primary_key
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::Search
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The Search service name to validate. Search service
17
16
  # names must only contain lowercase letters, digits or dashes, cannot use
18
17
  # dash as the first two or last one characters, cannot contain
@@ -12,7 +12,6 @@ module Azure::ARM::Search
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] A value indicating whether the name is available.
17
16
  attr_accessor :is_name_available
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::Search
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The name of the query API key; may be empty.
18
17
  attr_accessor :name
19
18
 
@@ -0,0 +1,98 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Search
7
+ module Models
8
+ #
9
+ # Base type for all Azure resources.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ID of the resource. This can be used with the
16
+ # Azure Resource Manager to link resources together.
17
+ attr_accessor :id
18
+
19
+ # @return [String] The name of the resource.
20
+ attr_accessor :name
21
+
22
+ # @return [String] The resource type.
23
+ attr_accessor :type
24
+
25
+ # @return [String] The geographic location of the resource. This must be
26
+ # one of the supported and registered Azure Geo Regions (for example,
27
+ # West US, East US, Southeast Asia, and so forth).
28
+ attr_accessor :location
29
+
30
+ # @return [Hash{String => String}] Tags to help categorize the resource
31
+ # in the Azure portal.
32
+ attr_accessor :tags
33
+
34
+
35
+ #
36
+ # Mapper for Resource class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ required: false,
42
+ serialized_name: 'Resource',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'Resource',
46
+ model_properties: {
47
+ id: {
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'id',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ name: {
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'name',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ type: {
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'type',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ location: {
72
+ required: true,
73
+ serialized_name: 'location',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ tags: {
79
+ required: false,
80
+ serialized_name: 'tags',
81
+ type: {
82
+ name: 'Dictionary',
83
+ value: {
84
+ required: false,
85
+ serialized_name: 'StringElementType',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::Search
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return A client-generated GUID value that identifies this request. If
17
16
  # specified, this will be included in response information as a way to
18
17
  # track the request.
@@ -8,11 +8,10 @@ module Azure::ARM::Search
8
8
  #
9
9
  # Describes an Azure Search service and its current state.
10
10
  #
11
- class SearchService < MsRestAzure::Resource
11
+ class SearchService < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Integer] The number of replicas in the Search service. If
17
16
  # specified, it must be a value between 1 and 12 inclusive for standard
18
17
  # SKUs or between 1 and 3 inclusive for basic SKU. Default value: 1 .
@@ -13,7 +13,6 @@ module Azure::ARM::Search
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [SkuName] The SKU of the Search service. Valid values include:
18
17
  # 'free': Shared service. 'basic': Dedicated service with up to 3
19
18
  # replicas. 'standard': Dedicated service with up to 12 partitions and 12
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Search
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -97,6 +97,7 @@ files:
97
97
  - lib/generated/azure_mgmt_search/models/hosting_mode.rb
98
98
  - lib/generated/azure_mgmt_search/models/provisioning_state.rb
99
99
  - lib/generated/azure_mgmt_search/models/query_key.rb
100
+ - lib/generated/azure_mgmt_search/models/resource.rb
100
101
  - lib/generated/azure_mgmt_search/models/search_management_request_options.rb
101
102
  - lib/generated/azure_mgmt_search/models/search_service.rb
102
103
  - lib/generated/azure_mgmt_search/models/search_service_status.rb