azure_mgmt_synapse 0.17.3 → 0.17.4

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
  SHA256:
3
- metadata.gz: 8e0146b4db81d8a532e3f98a009762821564900cd123f4984f194d79ae576212
4
- data.tar.gz: 67e90780acf4248249afecc1125da7ea2cb643980a9113c8aaa983889ca87d81
3
+ metadata.gz: b80d550e20ae649ab1419eb95db552f6caf95f0403f03f2753c142cfb6ccc1d3
4
+ data.tar.gz: a4140af999ab617b3bb579a7e6ded92c491c95657cdfd42700e48203eb809bce
5
5
  SHA512:
6
- metadata.gz: dc68228f05f8e4574ab1e88a893a1ff846f4b377b44398788a27f7bf3b62d8c99e5828d3b937034b5952e3c201e44eacc3d916c251e117203c52f13b3fc7cc24
7
- data.tar.gz: 7a3eef719091588a57c55b7fd66d348ed53e7aaa7839d54855b90c00fe53c761bbd30daadadaf6aa94d5fee096db3e84329ac328c83aef64f96a6775f6344470
6
+ metadata.gz: bf459dcdb0c69689a1e54c8826ddb93435ac000db439bff799bed65520f87bb480e255a5a0bad5b039e1a894026198b75ff35a5aad927a6e33737d5bdeaa8c6f
7
+ data.tar.gz: ddf45b4cd284014912c5e593da56c4af9b27f7d43407ed6bdbe7d1e8971e40825cc6790b389068be26023109bf2e537940b80389cf371426637b9b95847d8145
@@ -34,6 +34,9 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
34
34
  # @return [String] Resource provisioning state
35
35
  attr_accessor :provisioning_state
36
36
 
37
+ # @return [EncryptionDetails] The encryption details of the workspace
38
+ attr_accessor :encryption
39
+
37
40
 
38
41
  #
39
42
  # Mapper for WorkspacePatchInfo class as Ruby Hash.
@@ -116,6 +119,15 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
116
119
  type: {
117
120
  name: 'String'
118
121
  }
122
+ },
123
+ encryption: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'properties.encryption',
127
+ type: {
128
+ name: 'Composite',
129
+ class_name: 'EncryptionDetails'
130
+ }
119
131
  }
120
132
  }
121
133
  }
@@ -356,7 +356,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
356
356
  #
357
357
  def add_telemetry
358
358
  sdk_information = 'azure_mgmt_synapse'
359
- sdk_information = "#{sdk_information}/0.17.3"
359
+ sdk_information = "#{sdk_information}/0.17.4"
360
360
  add_user_agent_information(sdk_information)
361
361
  end
362
362
  end
@@ -142,6 +142,56 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
142
142
  response.body unless response.nil?
143
143
  end
144
144
 
145
+ #
146
+ # @param resource_group_name [String] The name of the resource group. The name
147
+ # is case insensitive.
148
+ # @param workspace_name [String] The name of the workspace
149
+ # @param managed_identity_sql_control_settings
150
+ # [ManagedIdentitySqlControlSettingsModel] Managed Identity Sql Control
151
+ # Settings
152
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
153
+ # will be added to the HTTP request.
154
+ #
155
+ # @return [Concurrent::Promise] promise which provides async access to http
156
+ # response.
157
+ #
158
+ def create_or_update_async(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:nil)
159
+ # Send request
160
+ promise = begin_create_or_update_async(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:custom_headers)
161
+
162
+ promise = promise.then do |response|
163
+ # Defining deserialization method.
164
+ deserialize_method = lambda do |parsed_response|
165
+ result_mapper = Azure::Synapse::Mgmt::V2019_06_01_preview::Models::ManagedIdentitySqlControlSettingsModel.mapper()
166
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
167
+ end
168
+
169
+ # Waiting for response.
170
+ @client.get_long_running_operation_result(response, deserialize_method)
171
+ end
172
+
173
+ promise
174
+ end
175
+
176
+ #
177
+ # Create or update Managed Identity Sql Control Settings
178
+ #
179
+ # @param resource_group_name [String] The name of the resource group. The name
180
+ # is case insensitive.
181
+ # @param workspace_name [String] The name of the workspace
182
+ # @param managed_identity_sql_control_settings
183
+ # [ManagedIdentitySqlControlSettingsModel] Managed Identity Sql Control
184
+ # Settings
185
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
186
+ # will be added to the HTTP request.
187
+ #
188
+ # @return [ManagedIdentitySqlControlSettingsModel] operation results.
189
+ #
190
+ def begin_create_or_update(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:nil)
191
+ response = begin_create_or_update_async(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:custom_headers).value!
192
+ response.body unless response.nil?
193
+ end
194
+
145
195
  #
146
196
  # Create or update Managed Identity Sql Control Settings
147
197
  #
@@ -156,8 +206,8 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
156
206
  #
157
207
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
158
208
  #
159
- def create_or_update_with_http_info(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:nil)
160
- create_or_update_async(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:custom_headers).value!
209
+ def begin_create_or_update_with_http_info(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:nil)
210
+ begin_create_or_update_async(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:custom_headers).value!
161
211
  end
162
212
 
163
213
  #
@@ -174,7 +224,7 @@ module Azure::Synapse::Mgmt::V2019_06_01_preview
174
224
  #
175
225
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
176
226
  #
177
- def create_or_update_async(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:nil)
227
+ def begin_create_or_update_async(resource_group_name, workspace_name, managed_identity_sql_control_settings, custom_headers:nil)
178
228
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
179
229
  fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
180
230
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -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::Synapse::Mgmt
6
- VERSION = '0.17.3'
6
+ VERSION = '0.17.4'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_synapse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.3
4
+ version: 0.17.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-01 00:00:00.000000000 Z
11
+ date: 2021-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler