azure_mgmt_datalake_store 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (18) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +7 -6
  3. data/lib/2016-11-01/generated/azure_mgmt_datalake_store.rb +18 -11
  4. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +11 -6
  5. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/firewall_rules.rb +3 -3
  6. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_data_lake_store_account_parameters.rb +21 -0
  7. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_virtual_network_rule_parameters.rb +47 -0
  8. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_virtual_network_rule_with_account_parameters.rb +59 -0
  9. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb +22 -0
  10. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_data_lake_store_account_parameters.rb +21 -0
  11. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_virtual_network_rule_parameters.rb +46 -0
  12. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_virtual_network_rule_with_account_parameters.rb +59 -0
  13. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/virtual_network_rule.rb +74 -0
  14. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/virtual_network_rule_list_result.rb +100 -0
  15. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb +655 -0
  16. data/lib/profiles/latest/modules/datalakestore_profile_module.rb +61 -35
  17. data/lib/version.rb +1 -1
  18. metadata +11 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb56202af377c91f64591ffbff6195c495a9272e
4
- data.tar.gz: 25ae8c8095790649c32389ab69c3beb5212ccbe5
3
+ metadata.gz: 7b688297308e1fa8a0a2f8e8d65f29170b645160
4
+ data.tar.gz: 98794cb303327263454596bda4be66422455a051
5
5
  SHA512:
6
- metadata.gz: fce0f9ba718264806afdb32a8c7bbb14e395bf5f1c21dfc1507445c031914d652f7153193fed13244d708ac7c01e606be26f94b7fbd48d689dadada856fb65c6
7
- data.tar.gz: 13cb68cfd7c1e3288b7463605e1203efa646a61073b2fd8585b391cade2aa7a30e6d634672dab5618a88c281152dc1a1e4c91241da8ba1072ea673c6d5cfd1c1
6
+ metadata.gz: 7dd662eb3a2e4e7c9b0ee1eb6c9a7553845dd41299cb399ace7c12cbbeed55a3bbce66df68b2ef0cdecd85877f469e140a8f1137224a7ae48a4d1b16b923cefd
7
+ data.tar.gz: bd251850b2760d6453f5b70e86f796a3d48ec46bdcf6cd9d9a165011c24fe73c85f5103098f0c517215cbe9e2d08b71b0d6b74d5ac1074df72cb62e389db75a7
@@ -25,15 +25,16 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
25
25
  # @return [String] Client Api Version.
26
26
  attr_reader :api_version
27
27
 
28
- # @return [String] Gets or sets the preferred language for the response.
28
+ # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
31
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
- # Running Operations. Default value is 30.
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
33
  attr_accessor :long_running_operation_retry_timeout
34
34
 
35
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
- # is generated and included in each request. Default is true.
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
37
38
  attr_accessor :generate_client_request_id
38
39
 
39
40
  # @return [Account] account
@@ -125,7 +126,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
125
126
  #
126
127
  def add_telemetry
127
128
  sdk_information = 'azure_mgmt_datalake_store'
128
- sdk_information = "#{sdk_information}/0.16.0"
129
+ sdk_information = "#{sdk_information}/0.17.0"
129
130
  add_user_agent_information(sdk_information)
130
131
  end
131
132
  end
@@ -22,39 +22,46 @@ require 'ms_rest_azure'
22
22
  module Azure::DataLakeStore::Mgmt::V2016_11_01
23
23
  autoload :Accounts, '2016-11-01/generated/azure_mgmt_datalake_store/accounts.rb'
24
24
  autoload :FirewallRules, '2016-11-01/generated/azure_mgmt_datalake_store/firewall_rules.rb'
25
+ autoload :VirtualNetworkRules, '2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb'
25
26
  autoload :TrustedIdProviders, '2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb'
26
27
  autoload :Operations, '2016-11-01/generated/azure_mgmt_datalake_store/operations.rb'
27
28
  autoload :Locations, '2016-11-01/generated/azure_mgmt_datalake_store/locations.rb'
28
29
  autoload :DataLakeStoreAccountManagementClient, '2016-11-01/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb'
29
30
 
30
31
  module Models
31
- autoload :CapabilityInformation, '2016-11-01/generated/azure_mgmt_datalake_store/models/capability_information.rb'
32
- autoload :Resource, '2016-11-01/generated/azure_mgmt_datalake_store/models/resource.rb'
33
32
  autoload :NameAvailabilityInformation, '2016-11-01/generated/azure_mgmt_datalake_store/models/name_availability_information.rb'
34
- autoload :EncryptionIdentity, '2016-11-01/generated/azure_mgmt_datalake_store/models/encryption_identity.rb'
33
+ autoload :Resource, '2016-11-01/generated/azure_mgmt_datalake_store/models/resource.rb'
35
34
  autoload :CreateFirewallRuleWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_firewall_rule_with_account_parameters.rb'
35
+ autoload :EncryptionIdentity, '2016-11-01/generated/azure_mgmt_datalake_store/models/encryption_identity.rb'
36
+ autoload :CreateVirtualNetworkRuleWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_virtual_network_rule_with_account_parameters.rb'
36
37
  autoload :EncryptionConfig, '2016-11-01/generated/azure_mgmt_datalake_store/models/encryption_config.rb'
37
38
  autoload :CreateTrustedIdProviderWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_trusted_id_provider_with_account_parameters.rb'
38
39
  autoload :KeyVaultMetaInfo, '2016-11-01/generated/azure_mgmt_datalake_store/models/key_vault_meta_info.rb'
39
- autoload :CreateOrUpdateTrustedIdProviderParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_trusted_id_provider_parameters.rb'
40
- autoload :CheckNameAvailabilityParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/check_name_availability_parameters.rb'
40
+ autoload :UpdateVirtualNetworkRuleParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_virtual_network_rule_parameters.rb'
41
41
  autoload :UpdateTrustedIdProviderParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_parameters.rb'
42
+ autoload :CreateOrUpdateTrustedIdProviderParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_trusted_id_provider_parameters.rb'
42
43
  autoload :FirewallRuleListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_rule_list_result.rb'
43
44
  autoload :CreateDataLakeStoreAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_data_lake_store_account_parameters.rb'
44
- autoload :OperationDisplay, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation_display.rb'
45
+ autoload :TrustedIdProviderListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider_list_result.rb'
45
46
  autoload :UpdateKeyVaultMetaInfo, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_key_vault_meta_info.rb'
46
- autoload :OperationListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation_list_result.rb'
47
+ autoload :Operation, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation.rb'
47
48
  autoload :UpdateEncryptionConfig, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_encryption_config.rb'
49
+ autoload :CapabilityInformation, '2016-11-01/generated/azure_mgmt_datalake_store/models/capability_information.rb'
48
50
  autoload :UpdateFirewallRuleWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_with_account_parameters.rb'
49
- autoload :TrustedIdProviderListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider_list_result.rb'
51
+ autoload :CheckNameAvailabilityParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/check_name_availability_parameters.rb'
52
+ autoload :UpdateVirtualNetworkRuleWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_virtual_network_rule_with_account_parameters.rb'
53
+ autoload :VirtualNetworkRuleListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/virtual_network_rule_list_result.rb'
50
54
  autoload :UpdateTrustedIdProviderWithAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_with_account_parameters.rb'
51
- autoload :SubResource, '2016-11-01/generated/azure_mgmt_datalake_store/models/sub_resource.rb'
55
+ autoload :OperationListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation_list_result.rb'
52
56
  autoload :UpdateDataLakeStoreAccountParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_data_lake_store_account_parameters.rb'
53
- autoload :Operation, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation.rb'
54
- autoload :CreateOrUpdateFirewallRuleParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_firewall_rule_parameters.rb'
55
57
  autoload :DataLakeStoreAccountListResult, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_list_result.rb'
58
+ autoload :CreateOrUpdateFirewallRuleParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_firewall_rule_parameters.rb'
59
+ autoload :SubResource, '2016-11-01/generated/azure_mgmt_datalake_store/models/sub_resource.rb'
56
60
  autoload :UpdateFirewallRuleParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_parameters.rb'
61
+ autoload :OperationDisplay, '2016-11-01/generated/azure_mgmt_datalake_store/models/operation_display.rb'
62
+ autoload :CreateOrUpdateVirtualNetworkRuleParameters, '2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_virtual_network_rule_parameters.rb'
57
63
  autoload :FirewallRule, '2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_rule.rb'
64
+ autoload :VirtualNetworkRule, '2016-11-01/generated/azure_mgmt_datalake_store/models/virtual_network_rule.rb'
58
65
  autoload :TrustedIdProvider, '2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider.rb'
59
66
  autoload :DataLakeStoreAccount, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb'
60
67
  autoload :DataLakeStoreAccountBasic, '2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_basic.rb'
@@ -25,15 +25,16 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
25
25
  # @return [String] Client Api Version.
26
26
  attr_reader :api_version
27
27
 
28
- # @return [String] Gets or sets the preferred language for the response.
28
+ # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
31
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
- # Running Operations. Default value is 30.
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
33
  attr_accessor :long_running_operation_retry_timeout
34
34
 
35
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
- # is generated and included in each request. Default is true.
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
37
38
  attr_accessor :generate_client_request_id
38
39
 
39
40
  # @return [Accounts] accounts
@@ -42,6 +43,9 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
42
43
  # @return [FirewallRules] firewall_rules
43
44
  attr_reader :firewall_rules
44
45
 
46
+ # @return [VirtualNetworkRules] virtual_network_rules
47
+ attr_reader :virtual_network_rules
48
+
45
49
  # @return [TrustedIdProviders] trusted_id_providers
46
50
  attr_reader :trusted_id_providers
47
51
 
@@ -66,6 +70,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
66
70
 
67
71
  @accounts = Accounts.new(self)
68
72
  @firewall_rules = FirewallRules.new(self)
73
+ @virtual_network_rules = VirtualNetworkRules.new(self)
69
74
  @trusted_id_providers = TrustedIdProviders.new(self)
70
75
  @operations = Operations.new(self)
71
76
  @locations = Locations.new(self)
@@ -141,7 +146,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
141
146
  #
142
147
  def add_telemetry
143
148
  sdk_information = 'azure_mgmt_datalake_store'
144
- sdk_information = "#{sdk_information}/0.16.0"
149
+ sdk_information = "#{sdk_information}/0.17.0"
145
150
  add_user_agent_information(sdk_information)
146
151
  end
147
152
  end
@@ -439,7 +439,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
439
439
 
440
440
  #
441
441
  # Deletes the specified firewall rule from the specified Data Lake Store
442
- # account
442
+ # account.
443
443
  #
444
444
  # @param resource_group_name [String] The name of the Azure resource group.
445
445
  # @param account_name [String] The name of the Data Lake Store account.
@@ -455,7 +455,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
455
455
 
456
456
  #
457
457
  # Deletes the specified firewall rule from the specified Data Lake Store
458
- # account
458
+ # account.
459
459
  #
460
460
  # @param resource_group_name [String] The name of the Azure resource group.
461
461
  # @param account_name [String] The name of the Data Lake Store account.
@@ -471,7 +471,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
471
471
 
472
472
  #
473
473
  # Deletes the specified firewall rule from the specified Data Lake Store
474
- # account
474
+ # account.
475
475
  #
476
476
  # @param resource_group_name [String] The name of the Azure resource group.
477
477
  # @param account_name [String] The name of the Data Lake Store account.
@@ -37,6 +37,10 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
37
37
  # firewall rules associated with this Data Lake Store account.
38
38
  attr_accessor :firewall_rules
39
39
 
40
+ # @return [Array<CreateVirtualNetworkRuleWithAccountParameters>] The list
41
+ # of virtual network rules associated with this Data Lake Store account.
42
+ attr_accessor :virtual_network_rules
43
+
40
44
  # @return [FirewallState] The current state of the IP address firewall
41
45
  # for this Data Lake Store account. Possible values include: 'Enabled',
42
46
  # 'Disabled'
@@ -154,6 +158,23 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
154
158
  }
155
159
  }
156
160
  },
161
+ virtual_network_rules: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'properties.virtualNetworkRules',
165
+ type: {
166
+ name: 'Sequence',
167
+ element: {
168
+ client_side_validation: true,
169
+ required: false,
170
+ serialized_name: 'CreateVirtualNetworkRuleWithAccountParametersElementType',
171
+ type: {
172
+ name: 'Composite',
173
+ class_name: 'CreateVirtualNetworkRuleWithAccountParameters'
174
+ }
175
+ }
176
+ }
177
+ },
157
178
  firewall_state: {
158
179
  client_side_validation: true,
159
180
  required: false,
@@ -0,0 +1,47 @@
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::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters used to create a new virtual network rule.
10
+ #
11
+ class CreateOrUpdateVirtualNetworkRuleParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource identifier for the subnet.
16
+ attr_accessor :subnet_id
17
+
18
+
19
+ #
20
+ # Mapper for CreateOrUpdateVirtualNetworkRuleParameters class as Ruby
21
+ # Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'CreateOrUpdateVirtualNetworkRuleParameters',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'CreateOrUpdateVirtualNetworkRuleParameters',
32
+ model_properties: {
33
+ subnet_id: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'properties.subnetId',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,59 @@
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::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters used to create a new virtual network rule while creating a
10
+ # new Data Lake Store account.
11
+ #
12
+ class CreateVirtualNetworkRuleWithAccountParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The unique name of the virtual network rule to create.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The resource identifier for the subnet.
20
+ attr_accessor :subnet_id
21
+
22
+
23
+ #
24
+ # Mapper for CreateVirtualNetworkRuleWithAccountParameters class as Ruby
25
+ # Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'CreateVirtualNetworkRuleWithAccountParameters',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'CreateVirtualNetworkRuleWithAccountParameters',
36
+ model_properties: {
37
+ name: {
38
+ client_side_validation: true,
39
+ required: true,
40
+ serialized_name: 'name',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ subnet_id: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'properties.subnetId',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -58,6 +58,10 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
58
58
  # with this Data Lake Store account.
59
59
  attr_accessor :firewall_rules
60
60
 
61
+ # @return [Array<VirtualNetworkRule>] The list of virtual network rules
62
+ # associated with this Data Lake Store account.
63
+ attr_accessor :virtual_network_rules
64
+
61
65
  # @return [FirewallState] The current state of the IP address firewall
62
66
  # for this Data Lake Store account. Possible values include: 'Enabled',
63
67
  # 'Disabled'
@@ -280,6 +284,24 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
280
284
  }
281
285
  }
282
286
  },
287
+ virtual_network_rules: {
288
+ client_side_validation: true,
289
+ required: false,
290
+ read_only: true,
291
+ serialized_name: 'properties.virtualNetworkRules',
292
+ type: {
293
+ name: 'Sequence',
294
+ element: {
295
+ client_side_validation: true,
296
+ required: false,
297
+ serialized_name: 'VirtualNetworkRuleElementType',
298
+ type: {
299
+ name: 'Composite',
300
+ class_name: 'VirtualNetworkRule'
301
+ }
302
+ }
303
+ }
304
+ },
283
305
  firewall_state: {
284
306
  client_side_validation: true,
285
307
  required: false,
@@ -28,6 +28,10 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
28
28
  # firewall rules associated with this Data Lake Store account.
29
29
  attr_accessor :firewall_rules
30
30
 
31
+ # @return [Array<UpdateVirtualNetworkRuleWithAccountParameters>] The list
32
+ # of virtual network rules associated with this Data Lake Store account.
33
+ attr_accessor :virtual_network_rules
34
+
31
35
  # @return [FirewallState] The current state of the IP address firewall
32
36
  # for this Data Lake Store account. Disabling the firewall does not
33
37
  # remove existing rules, they will just be ignored until the firewall is
@@ -122,6 +126,23 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
122
126
  }
123
127
  }
124
128
  },
129
+ virtual_network_rules: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ serialized_name: 'properties.virtualNetworkRules',
133
+ type: {
134
+ name: 'Sequence',
135
+ element: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ serialized_name: 'UpdateVirtualNetworkRuleWithAccountParametersElementType',
139
+ type: {
140
+ name: 'Composite',
141
+ class_name: 'UpdateVirtualNetworkRuleWithAccountParameters'
142
+ }
143
+ }
144
+ }
145
+ },
125
146
  firewall_state: {
126
147
  client_side_validation: true,
127
148
  required: false,
@@ -0,0 +1,46 @@
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::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters used to update a virtual network rule.
10
+ #
11
+ class UpdateVirtualNetworkRuleParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource identifier for the subnet.
16
+ attr_accessor :subnet_id
17
+
18
+
19
+ #
20
+ # Mapper for UpdateVirtualNetworkRuleParameters class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'UpdateVirtualNetworkRuleParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'UpdateVirtualNetworkRuleParameters',
31
+ model_properties: {
32
+ subnet_id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'properties.subnetId',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,59 @@
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::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters used to update a virtual network rule while updating a
10
+ # Data Lake Store account.
11
+ #
12
+ class UpdateVirtualNetworkRuleWithAccountParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The unique name of the virtual network rule to update.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The resource identifier for the subnet.
20
+ attr_accessor :subnet_id
21
+
22
+
23
+ #
24
+ # Mapper for UpdateVirtualNetworkRuleWithAccountParameters class as Ruby
25
+ # Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'UpdateVirtualNetworkRuleWithAccountParameters',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'UpdateVirtualNetworkRuleWithAccountParameters',
36
+ model_properties: {
37
+ name: {
38
+ client_side_validation: true,
39
+ required: true,
40
+ serialized_name: 'name',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ subnet_id: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'properties.subnetId',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end