azure_mgmt_datalake_analytics 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics.rb +51 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/account.rb +3131 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +131 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +46 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +46 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/azure_async_operation_result.rb +66 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/blob_container.rb +79 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/blob_container_properties.rb +45 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +107 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +110 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +97 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +109 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties.rb +167 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb +16 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb +23 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +56 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info_properties.rb +44 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/error.rb +99 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/error_details.rb +69 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/inner_error.rb +56 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_blob_containers_result.rb +97 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +97 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/operation_status.rb +17 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/sas_token_info.rb +46 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb +57 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/storage_account_properties.rb +55 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/module_definition.rb +9 -0
- data/lib/{generated/azure_mgmt_datalake_analytics/module_definition.rb → 2015-10-01-preview/generated/azure_mgmt_datalake_analytics/version.rb} +3 -3
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics.rb +64 -0
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/account.rb +14 -14
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/compute_policies.rb +8 -8
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +3 -3
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +5 -5
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/firewall_rules.rb +8 -8
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/aadobject_type.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/compute_policy.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/compute_policy_account_create_parameters.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/compute_policy_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/firewall_allow_azure_ips_state.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/firewall_rule.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/firewall_state.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/list_storage_containers_result.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/optional_sub_resource.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/resource.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/sas_token_info.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/storage_account_info.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/storage_container.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/sub_resource.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/tier_type.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +1 -1
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +1 -1
- data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/module_definition.rb +9 -0
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/storage_accounts.rb +11 -11
- data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/version.rb +2 -2
- data/lib/azure_mgmt_datalake_analytics.rb +6 -1
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/datalakeanalytics_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/datalakeanalytics_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/datalakeanalytics_profile_module.rb +178 -0
- data/lib/version.rb +7 -0
- metadata +78 -43
- data/lib/generated/azure_mgmt_datalake_analytics.rb +0 -64
@@ -0,0 +1,131 @@
|
|
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::V2015_10_01_preview
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class DataLakeAnalyticsAccountManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Get subscription credentials which uniquely identify
|
21
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
|
+
# for every service call.
|
23
|
+
attr_accessor :subscription_id
|
24
|
+
|
25
|
+
# @return [String] Client Api Version.
|
26
|
+
attr_reader :api_version
|
27
|
+
|
28
|
+
# @return [String] Gets or sets the preferred language for the response.
|
29
|
+
attr_accessor :accept_language
|
30
|
+
|
31
|
+
# @return [Integer] Gets or sets the retry timeout in seconds for Long
|
32
|
+
# Running Operations. Default value is 30.
|
33
|
+
attr_accessor :long_running_operation_retry_timeout
|
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.
|
37
|
+
attr_accessor :generate_client_request_id
|
38
|
+
|
39
|
+
# @return [Account] account
|
40
|
+
attr_reader :account
|
41
|
+
|
42
|
+
#
|
43
|
+
# Creates initializes a new instance of the DataLakeAnalyticsAccountManagementClient class.
|
44
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
45
|
+
# @param base_url [String] the base URI of the service.
|
46
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
47
|
+
#
|
48
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
49
|
+
super(credentials, options)
|
50
|
+
@base_url = base_url || 'https://management.azure.com'
|
51
|
+
|
52
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
53
|
+
@credentials = credentials
|
54
|
+
|
55
|
+
@account = Account.new(self)
|
56
|
+
@api_version = '2015-10-01-preview'
|
57
|
+
@accept_language = 'en-US'
|
58
|
+
@long_running_operation_retry_timeout = 30
|
59
|
+
@generate_client_request_id = true
|
60
|
+
add_telemetry
|
61
|
+
end
|
62
|
+
|
63
|
+
#
|
64
|
+
# Makes a request and returns the body of the response.
|
65
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
66
|
+
# @param path [String] the path, relative to {base_url}.
|
67
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
68
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
69
|
+
# Example:
|
70
|
+
#
|
71
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
72
|
+
# path = "/path"
|
73
|
+
# options = {
|
74
|
+
# body: request_content,
|
75
|
+
# query_params: {'api-version' => '2016-02-01'}
|
76
|
+
# }
|
77
|
+
# result = @client.make_request(:put, path, options)
|
78
|
+
#
|
79
|
+
def make_request(method, path, options = {})
|
80
|
+
result = make_request_with_http_info(method, path, options)
|
81
|
+
result.body unless result.nil?
|
82
|
+
end
|
83
|
+
|
84
|
+
#
|
85
|
+
# Makes a request and returns the operation response.
|
86
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
87
|
+
# @param path [String] the path, relative to {base_url}.
|
88
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
89
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
90
|
+
#
|
91
|
+
def make_request_with_http_info(method, path, options = {})
|
92
|
+
result = make_request_async(method, path, options).value!
|
93
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
94
|
+
result
|
95
|
+
end
|
96
|
+
|
97
|
+
#
|
98
|
+
# Makes a request asynchronously.
|
99
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
100
|
+
# @param path [String] the path, relative to {base_url}.
|
101
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
102
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
103
|
+
#
|
104
|
+
def make_request_async(method, path, options = {})
|
105
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
106
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
107
|
+
|
108
|
+
request_url = options[:base_url] || @base_url
|
109
|
+
|
110
|
+
request_headers = @request_headers
|
111
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
112
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
113
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
114
|
+
|
115
|
+
super(request_url, method, path, options)
|
116
|
+
end
|
117
|
+
|
118
|
+
|
119
|
+
private
|
120
|
+
#
|
121
|
+
# Adds telemetry information.
|
122
|
+
#
|
123
|
+
def add_telemetry
|
124
|
+
sdk_information = 'azure_mgmt_datalake_analytics'
|
125
|
+
if defined? Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview::VERSION
|
126
|
+
sdk_information = "#{sdk_information}/#{Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview::VERSION}"
|
127
|
+
end
|
128
|
+
add_user_agent_information(sdk_information)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
@@ -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::DataLakeAnalytics::Mgmt::V2015_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Additional Data Lake Store parameters.
|
10
|
+
#
|
11
|
+
class AddDataLakeStoreParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DataLakeStoreAccountInfoProperties] the properties for the
|
16
|
+
# Data Lake Store account being added.
|
17
|
+
attr_accessor :properties
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for AddDataLakeStoreParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'AddDataLakeStoreParameters',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'AddDataLakeStoreParameters',
|
31
|
+
model_properties: {
|
32
|
+
properties: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'properties',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'DataLakeStoreAccountInfoProperties'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -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::DataLakeAnalytics::Mgmt::V2015_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Additional Azure Storage account parameters.
|
10
|
+
#
|
11
|
+
class AddStorageAccountParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [StorageAccountProperties] the properties for the Azure Storage
|
16
|
+
# account being added.
|
17
|
+
attr_accessor :properties
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for AddStorageAccountParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'AddStorageAccountParameters',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'AddStorageAccountParameters',
|
31
|
+
model_properties: {
|
32
|
+
properties: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'properties',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'StorageAccountProperties'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,66 @@
|
|
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::V2015_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response body contains the status of the specified asynchronous
|
10
|
+
# operation, indicating whether it has succeeded, is inprogress, or has
|
11
|
+
# failed. Note that this status is distinct from the HTTP status code
|
12
|
+
# returned for the Get Operation Status operation itself. If the
|
13
|
+
# asynchronous operation succeeded, the response body includes the HTTP
|
14
|
+
# status code for the successful request. If the asynchronous operation
|
15
|
+
# failed, the response body includes the HTTP status code for the failed
|
16
|
+
# request and error information regarding the failure.
|
17
|
+
#
|
18
|
+
class AzureAsyncOperationResult
|
19
|
+
|
20
|
+
include MsRestAzure
|
21
|
+
|
22
|
+
# @return [OperationStatus] the status of the AzureAsuncOperation.
|
23
|
+
# Possible values include: 'InProgress', 'Succeeded', 'Failed'
|
24
|
+
attr_accessor :status
|
25
|
+
|
26
|
+
# @return [Error]
|
27
|
+
attr_accessor :error
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for AzureAsyncOperationResult class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'AzureAsyncOperationResult',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'AzureAsyncOperationResult',
|
41
|
+
model_properties: {
|
42
|
+
status: {
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'status',
|
46
|
+
type: {
|
47
|
+
name: 'Enum',
|
48
|
+
module: 'OperationStatus'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
error: {
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'error',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'Error'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,79 @@
|
|
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::V2015_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Azure Storage blob container information.
|
10
|
+
#
|
11
|
+
class BlobContainer
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] the name of the blob container.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] the unique identifier of the blob container.
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# @return [String] the type of the blob container.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [BlobContainerProperties] the properties of the blob container.
|
25
|
+
attr_accessor :properties
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for BlobContainer class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'BlobContainer',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'BlobContainer',
|
39
|
+
model_properties: {
|
40
|
+
name: {
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
id: {
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'id',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
type: {
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'type',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
properties: {
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'properties',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'BlobContainerProperties'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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::V2015_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Azure Storage blob container properties information.
|
10
|
+
#
|
11
|
+
class BlobContainerProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DateTime] the last modified time of the blob container.
|
16
|
+
attr_accessor :last_modified_time
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for BlobContainerProperties class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
required: false,
|
26
|
+
serialized_name: 'BlobContainerProperties',
|
27
|
+
type: {
|
28
|
+
name: 'Composite',
|
29
|
+
class_name: 'BlobContainerProperties',
|
30
|
+
model_properties: {
|
31
|
+
last_modified_time: {
|
32
|
+
required: false,
|
33
|
+
read_only: true,
|
34
|
+
serialized_name: 'lastModifiedTime',
|
35
|
+
type: {
|
36
|
+
name: 'DateTime'
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,107 @@
|
|
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::V2015_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Data Lake Analytics account object, containing all information
|
10
|
+
# associated with the named Data Lake Analytics account.
|
11
|
+
#
|
12
|
+
class DataLakeAnalyticsAccount
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] the account regional location.
|
17
|
+
attr_accessor :location
|
18
|
+
|
19
|
+
# @return [String] the account name.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [String] the namespace and type of the account.
|
23
|
+
attr_accessor :type
|
24
|
+
|
25
|
+
# @return [String] the account subscription ID.
|
26
|
+
attr_accessor :id
|
27
|
+
|
28
|
+
# @return [Hash{String => String}] the value of custom properties.
|
29
|
+
attr_accessor :tags
|
30
|
+
|
31
|
+
# @return [DataLakeAnalyticsAccountProperties] the properties defined by
|
32
|
+
# Data Lake Analytics all properties are specific to each resource
|
33
|
+
# provider.
|
34
|
+
attr_accessor :properties
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for DataLakeAnalyticsAccount class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'DataLakeAnalyticsAccount',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'DataLakeAnalyticsAccount',
|
48
|
+
model_properties: {
|
49
|
+
location: {
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'location',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
name: {
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'name',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
type: {
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'type',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
id: {
|
72
|
+
required: false,
|
73
|
+
read_only: true,
|
74
|
+
serialized_name: 'id',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
tags: {
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'tags',
|
82
|
+
type: {
|
83
|
+
name: 'Dictionary',
|
84
|
+
value: {
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'StringElementType',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
properties: {
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'properties',
|
96
|
+
type: {
|
97
|
+
name: 'Composite',
|
98
|
+
class_name: 'DataLakeAnalyticsAccountProperties'
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|