azure_mgmt_datalake_analytics 0.15.2 → 0.17.3
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 +5 -5
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/account.rb +174 -160
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +10 -6
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +1 -1
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +1 -1
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +1 -1
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_blob_containers_result.rb +1 -1
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +1 -1
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics.rb +43 -25
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/{account.rb → accounts.rb} +298 -222
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb +176 -206
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +28 -16
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +180 -203
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +171 -201
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/locations.rb +116 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -2
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_with_account_parameters.rb +58 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +3 -4
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb +70 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/capability_information.rb +100 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/check_name_availability_parameters.rb +62 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy.rb +22 -5
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +3 -3
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{compute_policy_account_create_parameters.rb → create_compute_policy_with_account_parameters.rb} +7 -6
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_data_lake_analytics_account_parameters.rb +285 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_firewall_rule_with_account_parameters.rb +71 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{compute_policy_create_or_update_parameters.rb → create_or_update_compute_policy_parameters.rb} +4 -4
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb +59 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +161 -147
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +21 -19
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +5 -5
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_store_account_info.rb → data_lake_store_account_information.rb} +8 -6
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_list_data_lake_store_result.rb → data_lake_store_account_information_list_result.rb} +15 -15
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +9 -6
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_firewall_rule_list_result.rb → firewall_rule_list_result.rb} +8 -9
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb +74 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{optional_sub_resource.rb → operation.rb} +21 -19
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_display.rb +83 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_list_result.rb +68 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_origin.rb +17 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/resource.rb +18 -7
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{sas_token_info.rb → sas_token_information.rb} +5 -5
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_sas_tokens_result.rb → sas_token_information_list_result.rb} +11 -11
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{storage_account_info.rb → storage_account_information.rb} +8 -18
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_list_storage_accounts_result.rb → storage_account_information_list_result.rb} +13 -14
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/storage_container.rb +2 -11
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_storage_containers_result.rb → storage_container_list_result.rb} +8 -8
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb +6 -5
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/subscription_state.rb +19 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_parameters.rb +91 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_with_account_parameters.rb +103 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_update_parameters.rb → update_data_lake_analytics_account_parameters.rb} +120 -77
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_data_lake_store_with_account_parameters.rb +59 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +3 -3
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_with_account_parameters.rb +71 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +3 -4
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_with_account_parameters.rb +72 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/operations.rb +107 -0
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/storage_accounts.rb +416 -464
- data/lib/profiles/latest/datalakeanalytics_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/datalakeanalytics_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/datalakeanalytics_profile_module.rb +222 -135
- data/lib/version.rb +1 -1
- metadata +37 -19
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +0 -115
|
@@ -0,0 +1,83 @@
|
|
|
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::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The display information for a particular operation.
|
|
10
|
+
#
|
|
11
|
+
class OperationDisplay
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] The resource provider of the operation.
|
|
16
|
+
attr_accessor :provider
|
|
17
|
+
|
|
18
|
+
# @return [String] The resource type of the operation.
|
|
19
|
+
attr_accessor :resource
|
|
20
|
+
|
|
21
|
+
# @return [String] A friendly name of the operation.
|
|
22
|
+
attr_accessor :operation
|
|
23
|
+
|
|
24
|
+
# @return [String] A friendly description of the operation.
|
|
25
|
+
attr_accessor :description
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
#
|
|
29
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
|
30
|
+
# This will be used for serialization/deserialization.
|
|
31
|
+
#
|
|
32
|
+
def self.mapper()
|
|
33
|
+
{
|
|
34
|
+
client_side_validation: true,
|
|
35
|
+
required: false,
|
|
36
|
+
serialized_name: 'OperationDisplay',
|
|
37
|
+
type: {
|
|
38
|
+
name: 'Composite',
|
|
39
|
+
class_name: 'OperationDisplay',
|
|
40
|
+
model_properties: {
|
|
41
|
+
provider: {
|
|
42
|
+
client_side_validation: true,
|
|
43
|
+
required: false,
|
|
44
|
+
read_only: true,
|
|
45
|
+
serialized_name: 'provider',
|
|
46
|
+
type: {
|
|
47
|
+
name: 'String'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
resource: {
|
|
51
|
+
client_side_validation: true,
|
|
52
|
+
required: false,
|
|
53
|
+
read_only: true,
|
|
54
|
+
serialized_name: 'resource',
|
|
55
|
+
type: {
|
|
56
|
+
name: 'String'
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
operation: {
|
|
60
|
+
client_side_validation: true,
|
|
61
|
+
required: false,
|
|
62
|
+
read_only: true,
|
|
63
|
+
serialized_name: 'operation',
|
|
64
|
+
type: {
|
|
65
|
+
name: 'String'
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
description: {
|
|
69
|
+
client_side_validation: true,
|
|
70
|
+
required: false,
|
|
71
|
+
read_only: true,
|
|
72
|
+
serialized_name: 'description',
|
|
73
|
+
type: {
|
|
74
|
+
name: 'String'
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
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::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The list of available operations for Data Lake Analytics.
|
|
10
|
+
#
|
|
11
|
+
class OperationListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [Array<Operation>] The results of the list operation.
|
|
16
|
+
attr_accessor :value
|
|
17
|
+
|
|
18
|
+
# @return [String] The link (url) to the next page of results.
|
|
19
|
+
attr_accessor :next_link
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
#
|
|
23
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
|
24
|
+
# This will be used for serialization/deserialization.
|
|
25
|
+
#
|
|
26
|
+
def self.mapper()
|
|
27
|
+
{
|
|
28
|
+
client_side_validation: true,
|
|
29
|
+
required: false,
|
|
30
|
+
serialized_name: 'OperationListResult',
|
|
31
|
+
type: {
|
|
32
|
+
name: 'Composite',
|
|
33
|
+
class_name: 'OperationListResult',
|
|
34
|
+
model_properties: {
|
|
35
|
+
value: {
|
|
36
|
+
client_side_validation: true,
|
|
37
|
+
required: false,
|
|
38
|
+
read_only: true,
|
|
39
|
+
serialized_name: 'value',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'Sequence',
|
|
42
|
+
element: {
|
|
43
|
+
client_side_validation: true,
|
|
44
|
+
required: false,
|
|
45
|
+
serialized_name: 'OperationElementType',
|
|
46
|
+
type: {
|
|
47
|
+
name: 'Composite',
|
|
48
|
+
class_name: 'Operation'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
next_link: {
|
|
54
|
+
client_side_validation: true,
|
|
55
|
+
required: false,
|
|
56
|
+
read_only: true,
|
|
57
|
+
serialized_name: 'nextLink',
|
|
58
|
+
type: {
|
|
59
|
+
name: 'String'
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
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::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Defines values for OperationOrigin
|
|
10
|
+
#
|
|
11
|
+
module OperationOrigin
|
|
12
|
+
User = "user"
|
|
13
|
+
System = "system"
|
|
14
|
+
Usersystem = "user,system"
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -6,28 +6,37 @@
|
|
|
6
6
|
module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# The
|
|
9
|
+
# The resource model definition.
|
|
10
10
|
#
|
|
11
11
|
class Resource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [String]
|
|
15
|
+
# @return [String] The resource identifer.
|
|
16
16
|
attr_accessor :id
|
|
17
17
|
|
|
18
|
-
# @return [String]
|
|
18
|
+
# @return [String] The resource name.
|
|
19
19
|
attr_accessor :name
|
|
20
20
|
|
|
21
|
-
# @return [String]
|
|
21
|
+
# @return [String] The resource type.
|
|
22
22
|
attr_accessor :type
|
|
23
23
|
|
|
24
|
-
# @return [String]
|
|
24
|
+
# @return [String] The resource location.
|
|
25
25
|
attr_accessor :location
|
|
26
26
|
|
|
27
|
-
# @return [Hash{String => String}]
|
|
27
|
+
# @return [Hash{String => String}] The resource tags.
|
|
28
28
|
attr_accessor :tags
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
# @return [String] the name of the resource group of the resource.
|
|
32
|
+
def resource_group
|
|
33
|
+
unless self.id.nil?
|
|
34
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
|
35
|
+
groups.captures[0].strip if groups
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
|
|
31
40
|
#
|
|
32
41
|
# Mapper for Resource class as Ruby Hash.
|
|
33
42
|
# This will be used for serialization/deserialization.
|
|
@@ -70,7 +79,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
70
79
|
},
|
|
71
80
|
location: {
|
|
72
81
|
client_side_validation: true,
|
|
73
|
-
required:
|
|
82
|
+
required: false,
|
|
83
|
+
read_only: true,
|
|
74
84
|
serialized_name: 'location',
|
|
75
85
|
type: {
|
|
76
86
|
name: 'String'
|
|
@@ -79,6 +89,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
79
89
|
tags: {
|
|
80
90
|
client_side_validation: true,
|
|
81
91
|
required: false,
|
|
92
|
+
read_only: true,
|
|
82
93
|
serialized_name: 'tags',
|
|
83
94
|
type: {
|
|
84
95
|
name: 'Dictionary',
|
|
@@ -8,27 +8,27 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
8
8
|
#
|
|
9
9
|
# SAS token information.
|
|
10
10
|
#
|
|
11
|
-
class
|
|
11
|
+
class SasTokenInformation
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [String]
|
|
15
|
+
# @return [String] The access token for the associated Azure Storage
|
|
16
16
|
# Container.
|
|
17
17
|
attr_accessor :access_token
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
#
|
|
21
|
-
# Mapper for
|
|
21
|
+
# Mapper for SasTokenInformation class as Ruby Hash.
|
|
22
22
|
# This will be used for serialization/deserialization.
|
|
23
23
|
#
|
|
24
24
|
def self.mapper()
|
|
25
25
|
{
|
|
26
26
|
client_side_validation: true,
|
|
27
27
|
required: false,
|
|
28
|
-
serialized_name: '
|
|
28
|
+
serialized_name: 'SasTokenInformation',
|
|
29
29
|
type: {
|
|
30
30
|
name: 'Composite',
|
|
31
|
-
class_name: '
|
|
31
|
+
class_name: 'SasTokenInformation',
|
|
32
32
|
model_properties: {
|
|
33
33
|
access_token: {
|
|
34
34
|
client_side_validation: true,
|
|
@@ -9,15 +9,15 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
9
9
|
# The SAS response that contains the storage account, container and
|
|
10
10
|
# associated SAS token for connection use.
|
|
11
11
|
#
|
|
12
|
-
class
|
|
12
|
+
class SasTokenInformationListResult
|
|
13
13
|
|
|
14
14
|
include MsRestAzure
|
|
15
15
|
|
|
16
16
|
include MsRest::JSONable
|
|
17
|
-
# @return [Array<
|
|
17
|
+
# @return [Array<SasTokenInformation>] The results of the list operation.
|
|
18
18
|
attr_accessor :value
|
|
19
19
|
|
|
20
|
-
# @return [String]
|
|
20
|
+
# @return [String] The link (url) to the next page of results.
|
|
21
21
|
attr_accessor :next_link
|
|
22
22
|
|
|
23
23
|
# return [Proc] with next page method call.
|
|
@@ -26,12 +26,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
26
26
|
#
|
|
27
27
|
# Gets the rest of the items for the request, enabling auto-pagination.
|
|
28
28
|
#
|
|
29
|
-
# @return [Array<
|
|
29
|
+
# @return [Array<SasTokenInformation>] operation results.
|
|
30
30
|
#
|
|
31
31
|
def get_all_items
|
|
32
32
|
items = @value
|
|
33
33
|
page = self
|
|
34
|
-
while page.next_link != nil do
|
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
|
35
35
|
page = page.get_next_page
|
|
36
36
|
items.concat(page.value)
|
|
37
37
|
end
|
|
@@ -41,7 +41,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
41
41
|
#
|
|
42
42
|
# Gets the next page of results.
|
|
43
43
|
#
|
|
44
|
-
# @return [
|
|
44
|
+
# @return [SasTokenInformationListResult] with next page content.
|
|
45
45
|
#
|
|
46
46
|
def get_next_page
|
|
47
47
|
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
|
@@ -53,17 +53,17 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
#
|
|
56
|
-
# Mapper for
|
|
56
|
+
# Mapper for SasTokenInformationListResult class as Ruby Hash.
|
|
57
57
|
# This will be used for serialization/deserialization.
|
|
58
58
|
#
|
|
59
59
|
def self.mapper()
|
|
60
60
|
{
|
|
61
61
|
client_side_validation: true,
|
|
62
62
|
required: false,
|
|
63
|
-
serialized_name: '
|
|
63
|
+
serialized_name: 'SasTokenInformationListResult',
|
|
64
64
|
type: {
|
|
65
65
|
name: 'Composite',
|
|
66
|
-
class_name: '
|
|
66
|
+
class_name: 'SasTokenInformationListResult',
|
|
67
67
|
model_properties: {
|
|
68
68
|
value: {
|
|
69
69
|
client_side_validation: true,
|
|
@@ -75,10 +75,10 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
75
75
|
element: {
|
|
76
76
|
client_side_validation: true,
|
|
77
77
|
required: false,
|
|
78
|
-
serialized_name: '
|
|
78
|
+
serialized_name: 'SasTokenInformationElementType',
|
|
79
79
|
type: {
|
|
80
80
|
name: 'Composite',
|
|
81
|
-
class_name: '
|
|
81
|
+
class_name: 'SasTokenInformation'
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -8,30 +8,26 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
8
8
|
#
|
|
9
9
|
# Azure Storage account information.
|
|
10
10
|
#
|
|
11
|
-
class
|
|
11
|
+
class StorageAccountInformation < SubResource
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [String]
|
|
16
|
-
# account that will be used to connect to it.
|
|
17
|
-
attr_accessor :access_key
|
|
18
|
-
|
|
19
|
-
# @return [String] the optional suffix for the storage account.
|
|
15
|
+
# @return [String] The optional suffix for the storage account.
|
|
20
16
|
attr_accessor :suffix
|
|
21
17
|
|
|
22
18
|
|
|
23
19
|
#
|
|
24
|
-
# Mapper for
|
|
20
|
+
# Mapper for StorageAccountInformation class as Ruby Hash.
|
|
25
21
|
# This will be used for serialization/deserialization.
|
|
26
22
|
#
|
|
27
23
|
def self.mapper()
|
|
28
24
|
{
|
|
29
25
|
client_side_validation: true,
|
|
30
26
|
required: false,
|
|
31
|
-
serialized_name: '
|
|
27
|
+
serialized_name: 'StorageAccountInformation',
|
|
32
28
|
type: {
|
|
33
29
|
name: 'Composite',
|
|
34
|
-
class_name: '
|
|
30
|
+
class_name: 'StorageAccountInformation',
|
|
35
31
|
model_properties: {
|
|
36
32
|
id: {
|
|
37
33
|
client_side_validation: true,
|
|
@@ -44,7 +40,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
44
40
|
},
|
|
45
41
|
name: {
|
|
46
42
|
client_side_validation: true,
|
|
47
|
-
required:
|
|
43
|
+
required: false,
|
|
44
|
+
read_only: true,
|
|
48
45
|
serialized_name: 'name',
|
|
49
46
|
type: {
|
|
50
47
|
name: 'String'
|
|
@@ -59,17 +56,10 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
59
56
|
name: 'String'
|
|
60
57
|
}
|
|
61
58
|
},
|
|
62
|
-
access_key: {
|
|
63
|
-
client_side_validation: true,
|
|
64
|
-
required: true,
|
|
65
|
-
serialized_name: 'properties.accessKey',
|
|
66
|
-
type: {
|
|
67
|
-
name: 'String'
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
59
|
suffix: {
|
|
71
60
|
client_side_validation: true,
|
|
72
61
|
required: false,
|
|
62
|
+
read_only: true,
|
|
73
63
|
serialized_name: 'properties.suffix',
|
|
74
64
|
type: {
|
|
75
65
|
name: 'String'
|
|
@@ -6,17 +6,18 @@
|
|
|
6
6
|
module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
# Azure Storage
|
|
9
|
+
# Azure Storage account list information.
|
|
10
10
|
#
|
|
11
|
-
class
|
|
11
|
+
class StorageAccountInformationListResult
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
15
|
include MsRest::JSONable
|
|
16
|
-
# @return [Array<
|
|
16
|
+
# @return [Array<StorageAccountInformation>] The results of the list
|
|
17
|
+
# operation.
|
|
17
18
|
attr_accessor :value
|
|
18
19
|
|
|
19
|
-
# @return [String]
|
|
20
|
+
# @return [String] The link (url) to the next page of results.
|
|
20
21
|
attr_accessor :next_link
|
|
21
22
|
|
|
22
23
|
# return [Proc] with next page method call.
|
|
@@ -25,12 +26,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
25
26
|
#
|
|
26
27
|
# Gets the rest of the items for the request, enabling auto-pagination.
|
|
27
28
|
#
|
|
28
|
-
# @return [Array<
|
|
29
|
+
# @return [Array<StorageAccountInformation>] operation results.
|
|
29
30
|
#
|
|
30
31
|
def get_all_items
|
|
31
32
|
items = @value
|
|
32
33
|
page = self
|
|
33
|
-
while page.next_link != nil do
|
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
|
34
35
|
page = page.get_next_page
|
|
35
36
|
items.concat(page.value)
|
|
36
37
|
end
|
|
@@ -40,8 +41,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
40
41
|
#
|
|
41
42
|
# Gets the next page of results.
|
|
42
43
|
#
|
|
43
|
-
# @return [
|
|
44
|
-
# page content.
|
|
44
|
+
# @return [StorageAccountInformationListResult] with next page content.
|
|
45
45
|
#
|
|
46
46
|
def get_next_page
|
|
47
47
|
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
|
@@ -53,18 +53,17 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
#
|
|
56
|
-
# Mapper for
|
|
57
|
-
# Ruby Hash.
|
|
56
|
+
# Mapper for StorageAccountInformationListResult class as Ruby Hash.
|
|
58
57
|
# This will be used for serialization/deserialization.
|
|
59
58
|
#
|
|
60
59
|
def self.mapper()
|
|
61
60
|
{
|
|
62
61
|
client_side_validation: true,
|
|
63
62
|
required: false,
|
|
64
|
-
serialized_name: '
|
|
63
|
+
serialized_name: 'StorageAccountInformationListResult',
|
|
65
64
|
type: {
|
|
66
65
|
name: 'Composite',
|
|
67
|
-
class_name: '
|
|
66
|
+
class_name: 'StorageAccountInformationListResult',
|
|
68
67
|
model_properties: {
|
|
69
68
|
value: {
|
|
70
69
|
client_side_validation: true,
|
|
@@ -76,10 +75,10 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
|
76
75
|
element: {
|
|
77
76
|
client_side_validation: true,
|
|
78
77
|
required: false,
|
|
79
|
-
serialized_name: '
|
|
78
|
+
serialized_name: 'StorageAccountInformationElementType',
|
|
80
79
|
type: {
|
|
81
80
|
name: 'Composite',
|
|
82
|
-
class_name: '
|
|
81
|
+
class_name: 'StorageAccountInformation'
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
}
|