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,116 @@
|
|
|
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
|
+
#
|
|
8
|
+
# Creates an Azure Data Lake Analytics account management client.
|
|
9
|
+
#
|
|
10
|
+
class Locations
|
|
11
|
+
include MsRestAzure
|
|
12
|
+
|
|
13
|
+
#
|
|
14
|
+
# Creates and initializes a new instance of the Locations class.
|
|
15
|
+
# @param client service class for accessing basic functionality.
|
|
16
|
+
#
|
|
17
|
+
def initialize(client)
|
|
18
|
+
@client = client
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# @return [DataLakeAnalyticsAccountManagementClient] reference to the DataLakeAnalyticsAccountManagementClient
|
|
22
|
+
attr_reader :client
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
# Gets subscription-level properties and limits for Data Lake Analytics
|
|
26
|
+
# specified by resource location.
|
|
27
|
+
#
|
|
28
|
+
# @param location [String] The resource location without whitespace.
|
|
29
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
30
|
+
# will be added to the HTTP request.
|
|
31
|
+
#
|
|
32
|
+
# @return [CapabilityInformation] operation results.
|
|
33
|
+
#
|
|
34
|
+
def get_capability(location, custom_headers:nil)
|
|
35
|
+
response = get_capability_async(location, custom_headers:custom_headers).value!
|
|
36
|
+
response.body unless response.nil?
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
#
|
|
40
|
+
# Gets subscription-level properties and limits for Data Lake Analytics
|
|
41
|
+
# specified by resource location.
|
|
42
|
+
#
|
|
43
|
+
# @param location [String] The resource location without whitespace.
|
|
44
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
45
|
+
# will be added to the HTTP request.
|
|
46
|
+
#
|
|
47
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
48
|
+
#
|
|
49
|
+
def get_capability_with_http_info(location, custom_headers:nil)
|
|
50
|
+
get_capability_async(location, custom_headers:custom_headers).value!
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
#
|
|
54
|
+
# Gets subscription-level properties and limits for Data Lake Analytics
|
|
55
|
+
# specified by resource location.
|
|
56
|
+
#
|
|
57
|
+
# @param location [String] The resource location without whitespace.
|
|
58
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
59
|
+
# to the HTTP request.
|
|
60
|
+
#
|
|
61
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
62
|
+
#
|
|
63
|
+
def get_capability_async(location, custom_headers:nil)
|
|
64
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
|
65
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
|
66
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
request_headers = {}
|
|
70
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
71
|
+
|
|
72
|
+
# Set Headers
|
|
73
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
74
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
75
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/capability'
|
|
76
|
+
|
|
77
|
+
request_url = @base_url || @client.base_url
|
|
78
|
+
|
|
79
|
+
options = {
|
|
80
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
81
|
+
path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
|
|
82
|
+
query_params: {'api-version' => @client.api_version},
|
|
83
|
+
headers: request_headers.merge(custom_headers || {}),
|
|
84
|
+
base_url: request_url
|
|
85
|
+
}
|
|
86
|
+
promise = @client.make_request_async(:get, path_template, options)
|
|
87
|
+
|
|
88
|
+
promise = promise.then do |result|
|
|
89
|
+
http_response = result.response
|
|
90
|
+
status_code = http_response.status
|
|
91
|
+
response_content = http_response.body
|
|
92
|
+
unless status_code == 200 || status_code == 404
|
|
93
|
+
error_model = JSON.load(response_content)
|
|
94
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
98
|
+
# Deserialize Response
|
|
99
|
+
if status_code == 200
|
|
100
|
+
begin
|
|
101
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
102
|
+
result_mapper = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation.mapper()
|
|
103
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
104
|
+
rescue Exception => e
|
|
105
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
result
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
promise.execute
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
end
|
|
116
|
+
end
|
data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
#
|
|
9
|
+
# The parameters used to add a new Data Lake Store account.
|
|
10
10
|
#
|
|
11
11
|
class AddDataLakeStoreParameters
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [String]
|
|
15
|
+
# @return [String] The optional suffix for the Data Lake Store account.
|
|
16
16
|
attr_accessor :suffix
|
|
17
17
|
|
|
18
18
|
|
|
@@ -0,0 +1,58 @@
|
|
|
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 parameters used to add a new Data Lake Store account while creating a
|
|
10
|
+
# new Data Lake Analytics account.
|
|
11
|
+
#
|
|
12
|
+
class AddDataLakeStoreWithAccountParameters
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [String] The unique name of the Data Lake Store account to add.
|
|
17
|
+
attr_accessor :name
|
|
18
|
+
|
|
19
|
+
# @return [String] The optional suffix for the Data Lake Store account.
|
|
20
|
+
attr_accessor :suffix
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#
|
|
24
|
+
# Mapper for AddDataLakeStoreWithAccountParameters class as Ruby Hash.
|
|
25
|
+
# This will be used for serialization/deserialization.
|
|
26
|
+
#
|
|
27
|
+
def self.mapper()
|
|
28
|
+
{
|
|
29
|
+
client_side_validation: true,
|
|
30
|
+
required: false,
|
|
31
|
+
serialized_name: 'AddDataLakeStoreWithAccountParameters',
|
|
32
|
+
type: {
|
|
33
|
+
name: 'Composite',
|
|
34
|
+
class_name: 'AddDataLakeStoreWithAccountParameters',
|
|
35
|
+
model_properties: {
|
|
36
|
+
name: {
|
|
37
|
+
client_side_validation: true,
|
|
38
|
+
required: true,
|
|
39
|
+
serialized_name: 'name',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'String'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
suffix: {
|
|
45
|
+
client_side_validation: true,
|
|
46
|
+
required: false,
|
|
47
|
+
serialized_name: 'properties.suffix',
|
|
48
|
+
type: {
|
|
49
|
+
name: 'String'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb
CHANGED
|
@@ -6,18 +6,17 @@
|
|
|
6
6
|
module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
|
|
7
7
|
module Models
|
|
8
8
|
#
|
|
9
|
-
#
|
|
10
|
-
# Lake Analytics account.
|
|
9
|
+
# The parameters used to add a new Azure Storage account.
|
|
11
10
|
#
|
|
12
11
|
class AddStorageAccountParameters
|
|
13
12
|
|
|
14
13
|
include MsRestAzure
|
|
15
14
|
|
|
16
|
-
# @return [String]
|
|
15
|
+
# @return [String] The access key associated with this Azure Storage
|
|
17
16
|
# account that will be used to connect to it.
|
|
18
17
|
attr_accessor :access_key
|
|
19
18
|
|
|
20
|
-
# @return [String]
|
|
19
|
+
# @return [String] The optional suffix for the storage account.
|
|
21
20
|
attr_accessor :suffix
|
|
22
21
|
|
|
23
22
|
|
|
@@ -0,0 +1,70 @@
|
|
|
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 parameters used to add a new Azure Storage account while creating a
|
|
10
|
+
# new Data Lake Analytics account.
|
|
11
|
+
#
|
|
12
|
+
class AddStorageAccountWithAccountParameters
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [String] The unique name of the Azure Storage account to add.
|
|
17
|
+
attr_accessor :name
|
|
18
|
+
|
|
19
|
+
# @return [String] The access key associated with this Azure Storage
|
|
20
|
+
# account that will be used to connect to it.
|
|
21
|
+
attr_accessor :access_key
|
|
22
|
+
|
|
23
|
+
# @return [String] The optional suffix for the storage account.
|
|
24
|
+
attr_accessor :suffix
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# Mapper for AddStorageAccountWithAccountParameters class as Ruby Hash.
|
|
29
|
+
# This will be used for serialization/deserialization.
|
|
30
|
+
#
|
|
31
|
+
def self.mapper()
|
|
32
|
+
{
|
|
33
|
+
client_side_validation: true,
|
|
34
|
+
required: false,
|
|
35
|
+
serialized_name: 'AddStorageAccountWithAccountParameters',
|
|
36
|
+
type: {
|
|
37
|
+
name: 'Composite',
|
|
38
|
+
class_name: 'AddStorageAccountWithAccountParameters',
|
|
39
|
+
model_properties: {
|
|
40
|
+
name: {
|
|
41
|
+
client_side_validation: true,
|
|
42
|
+
required: true,
|
|
43
|
+
serialized_name: 'name',
|
|
44
|
+
type: {
|
|
45
|
+
name: 'String'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
access_key: {
|
|
49
|
+
client_side_validation: true,
|
|
50
|
+
required: true,
|
|
51
|
+
serialized_name: 'properties.accessKey',
|
|
52
|
+
type: {
|
|
53
|
+
name: 'String'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
suffix: {
|
|
57
|
+
client_side_validation: true,
|
|
58
|
+
required: false,
|
|
59
|
+
serialized_name: 'properties.suffix',
|
|
60
|
+
type: {
|
|
61
|
+
name: 'String'
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
# Subscription-level properties and limits for Data Lake Analytics.
|
|
10
|
+
#
|
|
11
|
+
class CapabilityInformation
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return The subscription credentials that uniquely identifies the
|
|
16
|
+
# subscription.
|
|
17
|
+
attr_accessor :subscription_id
|
|
18
|
+
|
|
19
|
+
# @return [SubscriptionState] The subscription state. Possible values
|
|
20
|
+
# include: 'Registered', 'Suspended', 'Deleted', 'Unregistered', 'Warned'
|
|
21
|
+
attr_accessor :state
|
|
22
|
+
|
|
23
|
+
# @return [Integer] The maximum supported number of accounts under this
|
|
24
|
+
# subscription.
|
|
25
|
+
attr_accessor :max_account_count
|
|
26
|
+
|
|
27
|
+
# @return [Integer] The current number of accounts under this
|
|
28
|
+
# subscription.
|
|
29
|
+
attr_accessor :account_count
|
|
30
|
+
|
|
31
|
+
# @return [Boolean] The Boolean value of true or false to indicate the
|
|
32
|
+
# maintenance state.
|
|
33
|
+
attr_accessor :migration_state
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
#
|
|
37
|
+
# Mapper for CapabilityInformation class as Ruby Hash.
|
|
38
|
+
# This will be used for serialization/deserialization.
|
|
39
|
+
#
|
|
40
|
+
def self.mapper()
|
|
41
|
+
{
|
|
42
|
+
client_side_validation: true,
|
|
43
|
+
required: false,
|
|
44
|
+
serialized_name: 'CapabilityInformation',
|
|
45
|
+
type: {
|
|
46
|
+
name: 'Composite',
|
|
47
|
+
class_name: 'CapabilityInformation',
|
|
48
|
+
model_properties: {
|
|
49
|
+
subscription_id: {
|
|
50
|
+
client_side_validation: true,
|
|
51
|
+
required: false,
|
|
52
|
+
read_only: true,
|
|
53
|
+
serialized_name: 'subscriptionId',
|
|
54
|
+
type: {
|
|
55
|
+
name: 'String'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
state: {
|
|
59
|
+
client_side_validation: true,
|
|
60
|
+
required: false,
|
|
61
|
+
read_only: true,
|
|
62
|
+
serialized_name: 'state',
|
|
63
|
+
type: {
|
|
64
|
+
name: 'String'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
max_account_count: {
|
|
68
|
+
client_side_validation: true,
|
|
69
|
+
required: false,
|
|
70
|
+
read_only: true,
|
|
71
|
+
serialized_name: 'maxAccountCount',
|
|
72
|
+
type: {
|
|
73
|
+
name: 'Number'
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
account_count: {
|
|
77
|
+
client_side_validation: true,
|
|
78
|
+
required: false,
|
|
79
|
+
read_only: true,
|
|
80
|
+
serialized_name: 'accountCount',
|
|
81
|
+
type: {
|
|
82
|
+
name: 'Number'
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
migration_state: {
|
|
86
|
+
client_side_validation: true,
|
|
87
|
+
required: false,
|
|
88
|
+
read_only: true,
|
|
89
|
+
serialized_name: 'migrationState',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'Boolean'
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
# Data Lake Analytics account name availability check parameters.
|
|
10
|
+
#
|
|
11
|
+
class CheckNameAvailabilityParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] The Data Lake Analytics name to check availability
|
|
16
|
+
# for.
|
|
17
|
+
attr_accessor :name
|
|
18
|
+
|
|
19
|
+
# @return [String] The resource type. Note: This should not be set by the
|
|
20
|
+
# user, as the constant value is Microsoft.DataLakeAnalytics/accounts.
|
|
21
|
+
# Default value: 'Microsoft.DataLakeAnalytics/accounts' .
|
|
22
|
+
attr_accessor :type
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
#
|
|
26
|
+
# Mapper for CheckNameAvailabilityParameters 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: 'CheckNameAvailabilityParameters',
|
|
34
|
+
type: {
|
|
35
|
+
name: 'Composite',
|
|
36
|
+
class_name: 'CheckNameAvailabilityParameters',
|
|
37
|
+
model_properties: {
|
|
38
|
+
name: {
|
|
39
|
+
client_side_validation: true,
|
|
40
|
+
required: true,
|
|
41
|
+
serialized_name: 'name',
|
|
42
|
+
type: {
|
|
43
|
+
name: 'String'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
type: {
|
|
47
|
+
client_side_validation: true,
|
|
48
|
+
required: true,
|
|
49
|
+
is_constant: true,
|
|
50
|
+
serialized_name: 'type',
|
|
51
|
+
default_value: 'Microsoft.DataLakeAnalytics/accounts',
|
|
52
|
+
type: {
|
|
53
|
+
name: 'String'
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|