azure_mgmt_search 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22cdcd1536bcd745cab2e8a92ab061ae46c7810c
4
- data.tar.gz: cac4708bbd8f3b67915220e60fde682520ef5de6
3
+ metadata.gz: 4ec9bd749ddc21811f2a73f50fdec3d650fe0588
4
+ data.tar.gz: bf0b262d461da5111427d42bf590da2f854d73a9
5
5
  SHA512:
6
- metadata.gz: 88129af013d69dcf66c5f17e1838441694267a6ccda252d845a008b5cde8875be7f47295661c835cf5ed5de4e13107f9621a9cdfe012889f3699625001b2c1ae
7
- data.tar.gz: 8f05c2a9fe4c1fd39ace19b253af24aaf3f0cba383fbb320be95f7c35d7972c04524760e0a7da11f044c9dfd34b45e521f155996a2bd3d5fce970f83703ff02a
6
+ metadata.gz: 4a9fd1625b6d043af7e48e9f8e2f8d809f57cc655597a7d465c1253321df36fec5b13f0d17c4747a7acd91f0fff4db57e35aab3869a26709d17755db51bf145a
7
+ data.tar.gz: 7b4212a395f63ad089a0fef6846422bd3187667f5dd36aa7be41462e470f127ab956bd31a8141f91c3439958691715a26868df9b01ba7e45405c7ea62d34a95c
@@ -27,16 +27,17 @@ module Azure::Search::Mgmt::V2015_08_19
27
27
  autoload :SearchManagementClient, '2015-08-19/generated/azure_mgmt_search/search_management_client.rb'
28
28
 
29
29
  module Models
30
- autoload :CheckNameAvailabilityInput, '2015-08-19/generated/azure_mgmt_search/models/check_name_availability_input.rb'
31
- autoload :Resource, '2015-08-19/generated/azure_mgmt_search/models/resource.rb'
32
- autoload :AdminKeyResult, '2015-08-19/generated/azure_mgmt_search/models/admin_key_result.rb'
33
- autoload :SearchManagementRequestOptions, '2015-08-19/generated/azure_mgmt_search/models/search_management_request_options.rb'
30
+ autoload :Identity, '2015-08-19/generated/azure_mgmt_search/models/identity.rb'
34
31
  autoload :CheckNameAvailabilityOutput, '2015-08-19/generated/azure_mgmt_search/models/check_name_availability_output.rb'
35
- autoload :OperationDisplay, '2015-08-19/generated/azure_mgmt_search/models/operation_display.rb'
32
+ autoload :Resource, '2015-08-19/generated/azure_mgmt_search/models/resource.rb'
33
+ autoload :QueryKey, '2015-08-19/generated/azure_mgmt_search/models/query_key.rb'
36
34
  autoload :Sku, '2015-08-19/generated/azure_mgmt_search/models/sku.rb'
35
+ autoload :CheckNameAvailabilityInput, '2015-08-19/generated/azure_mgmt_search/models/check_name_availability_input.rb'
36
+ autoload :OperationDisplay, '2015-08-19/generated/azure_mgmt_search/models/operation_display.rb'
37
37
  autoload :Operation, '2015-08-19/generated/azure_mgmt_search/models/operation.rb'
38
- autoload :QueryKey, '2015-08-19/generated/azure_mgmt_search/models/query_key.rb'
38
+ autoload :AdminKeyResult, '2015-08-19/generated/azure_mgmt_search/models/admin_key_result.rb'
39
39
  autoload :OperationListResult, '2015-08-19/generated/azure_mgmt_search/models/operation_list_result.rb'
40
+ autoload :SearchManagementRequestOptions, '2015-08-19/generated/azure_mgmt_search/models/search_management_request_options.rb'
40
41
  autoload :SearchService, '2015-08-19/generated/azure_mgmt_search/models/search_service.rb'
41
42
  autoload :UnavailableNameReason, '2015-08-19/generated/azure_mgmt_search/models/unavailable_name_reason.rb'
42
43
  autoload :SkuName, '2015-08-19/generated/azure_mgmt_search/models/sku_name.rb'
@@ -0,0 +1,72 @@
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::Search::Mgmt::V2015_08_19
7
+ module Models
8
+ #
9
+ # Identity for the resource.
10
+ #
11
+ class Identity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal ID of resource identity.
16
+ attr_accessor :principal_id
17
+
18
+ # @return [String] The tenant ID of resource.
19
+ attr_accessor :tenant_id
20
+
21
+ # @return [String] The identity type. Default value: 'SystemAssigned' .
22
+ attr_accessor :type
23
+
24
+
25
+ #
26
+ # Mapper for Identity class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'Identity',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'Identity',
37
+ model_properties: {
38
+ principal_id: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'principalId',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ tenant_id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'tenantId',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ client_side_validation: true,
58
+ required: true,
59
+ is_constant: true,
60
+ serialized_name: 'type',
61
+ default_value: 'SystemAssigned',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -32,6 +32,9 @@ module Azure::Search::Mgmt::V2015_08_19
32
32
  # in the Azure portal.
33
33
  attr_accessor :tags
34
34
 
35
+ # @return [Identity] The identity of the resource.
36
+ attr_accessor :identity
37
+
35
38
 
36
39
  #
37
40
  # Mapper for Resource class as Ruby Hash.
@@ -96,6 +99,15 @@ module Azure::Search::Mgmt::V2015_08_19
96
99
  }
97
100
  }
98
101
  }
102
+ },
103
+ identity: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'identity',
107
+ type: {
108
+ name: 'Composite',
109
+ class_name: 'Identity'
110
+ }
99
111
  }
100
112
  }
101
113
  }
@@ -137,6 +137,15 @@ module Azure::Search::Mgmt::V2015_08_19
137
137
  }
138
138
  }
139
139
  },
140
+ identity: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ serialized_name: 'identity',
144
+ type: {
145
+ name: 'Composite',
146
+ class_name: 'Identity'
147
+ }
148
+ },
140
149
  replica_count: {
141
150
  client_side_validation: true,
142
151
  required: false,
@@ -26,15 +26,16 @@ module Azure::Search::Mgmt::V2015_08_19
26
26
  # version is 2015-08-19.
27
27
  attr_reader :api_version
28
28
 
29
- # @return [String] Gets or sets the preferred language for the response.
29
+ # @return [String] The preferred language for the response.
30
30
  attr_accessor :accept_language
31
31
 
32
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
33
- # Running Operations. Default value is 30.
32
+ # @return [Integer] The retry timeout in seconds for Long Running
33
+ # Operations. Default value is 30.
34
34
  attr_accessor :long_running_operation_retry_timeout
35
35
 
36
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
37
- # is generated and included in each request. Default is true.
36
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
37
+ # generated. When set to true a unique x-ms-client-request-id value is
38
+ # generated and included in each request. Default is true.
38
39
  attr_accessor :generate_client_request_id
39
40
 
40
41
  # @return [Operations] operations
@@ -138,7 +139,7 @@ module Azure::Search::Mgmt::V2015_08_19
138
139
  #
139
140
  def add_telemetry
140
141
  sdk_information = 'azure_mgmt_search'
141
- sdk_information = "#{sdk_information}/0.16.0"
142
+ sdk_information = "#{sdk_information}/0.17.0"
142
143
  add_user_agent_information(sdk_information)
143
144
  end
144
145
  end
@@ -12,16 +12,17 @@ module Azure::Search::Profiles::Latest
12
12
  Services = Azure::Search::Mgmt::V2015_08_19::Services
13
13
 
14
14
  module Models
15
- CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
16
- Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource
17
- AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
18
- SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
15
+ Identity = Azure::Search::Mgmt::V2015_08_19::Models::Identity
19
16
  CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
20
- OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay
17
+ Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource
18
+ QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
21
19
  Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku
20
+ CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
21
+ OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay
22
22
  Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation
23
- QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
23
+ AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
24
24
  OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult
25
+ SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
25
26
  SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService
26
27
  UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason
27
28
  SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName
@@ -79,36 +80,39 @@ module Azure::Search::Profiles::Latest
79
80
  end
80
81
 
81
82
  class ModelClasses
82
- def check_name_availability_input
83
- Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
83
+ def identity
84
+ Azure::Search::Mgmt::V2015_08_19::Models::Identity
85
+ end
86
+ def check_name_availability_output
87
+ Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
84
88
  end
85
89
  def resource
86
90
  Azure::Search::Mgmt::V2015_08_19::Models::Resource
87
91
  end
88
- def admin_key_result
89
- Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
92
+ def query_key
93
+ Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
90
94
  end
91
- def search_management_request_options
92
- Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
95
+ def sku
96
+ Azure::Search::Mgmt::V2015_08_19::Models::Sku
93
97
  end
94
- def check_name_availability_output
95
- Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
98
+ def check_name_availability_input
99
+ Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
96
100
  end
97
101
  def operation_display
98
102
  Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay
99
103
  end
100
- def sku
101
- Azure::Search::Mgmt::V2015_08_19::Models::Sku
102
- end
103
104
  def operation
104
105
  Azure::Search::Mgmt::V2015_08_19::Models::Operation
105
106
  end
106
- def query_key
107
- Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
107
+ def admin_key_result
108
+ Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
108
109
  end
109
110
  def operation_list_result
110
111
  Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult
111
112
  end
113
+ def search_management_request_options
114
+ Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
115
+ end
112
116
  def search_service
113
117
  Azure::Search::Mgmt::V2015_08_19::Models::SearchService
114
118
  end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Search::Mgmt
6
- VERSION = '0.16.0'
6
+ VERSION = '0.17.0'
7
7
  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.16.0
4
+ version: 0.17.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: 2018-02-12 00:00:00.000000000 Z
11
+ date: 2018-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.10.0
75
+ version: 0.11.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.10.0
82
+ version: 0.11.0
83
83
  description: Microsoft Azure Search Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -94,6 +94,7 @@ files:
94
94
  - lib/2015-08-19/generated/azure_mgmt_search/models/check_name_availability_input.rb
95
95
  - lib/2015-08-19/generated/azure_mgmt_search/models/check_name_availability_output.rb
96
96
  - lib/2015-08-19/generated/azure_mgmt_search/models/hosting_mode.rb
97
+ - lib/2015-08-19/generated/azure_mgmt_search/models/identity.rb
97
98
  - lib/2015-08-19/generated/azure_mgmt_search/models/operation.rb
98
99
  - lib/2015-08-19/generated/azure_mgmt_search/models/operation_display.rb
99
100
  - lib/2015-08-19/generated/azure_mgmt_search/models/operation_list_result.rb
@@ -142,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
143
  version: '0'
143
144
  requirements: []
144
145
  rubyforge_project:
145
- rubygems_version: 2.6.10
146
+ rubygems_version: 2.5.1
146
147
  signing_key:
147
148
  specification_version: 4
148
149
  summary: Official Ruby client library to consume Microsoft Azure Search Management