azure_mgmt_datalake_analytics 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +5 -0
- data/azure_mgmt_datalake_analytics.gemspec +34 -0
- data/lib/azure_mgmt_datalake_analytics.rb +4 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account.rb +51 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/account.rb +3209 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/data_lake_analytics_account_management_client.rb +68 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_data_lake_store_parameters.rb +46 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_storage_account_parameters.rb +46 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/azure_async_operation_result.rb +66 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container.rb +79 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container_properties.rb +45 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account.rb +107 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_data_lake_store_result.rb +109 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_storage_accounts_result.rb +108 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_properties.rb +167 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_state.rb +16 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_status.rb +23 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info_properties.rb +44 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/error.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/error_details.rb +69 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/inner_error.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_blob_containers_result.rb +96 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_sas_tokens_result.rb +96 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/operation_status.rb +17 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/sas_token_info.rb +46 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_info.rb +57 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_properties.rb +55 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/module_definition.rb +9 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/version.rb +8 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog.rb +70 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/catalog.rb +5600 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/data_lake_analytics_catalog_management_client.rb +67 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item.rb +54 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item_list.rb +54 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/data_lake_analytics_catalog_secret_create_or_update_parameters.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/ddl_name.rb +78 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/entity_id.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/external_table.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/file_type.rb +16 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/type_field_info.rb +54 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly.rb +138 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_clr.rb +78 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_dependency_info.rb +45 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_file_info.rb +66 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_list.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential.rb +88 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential_list.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database.rb +58 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database_list.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_directed_column.rb +55 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_distribution_info.rb +83 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source.rb +107 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_index.rb +168 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure.rb +89 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema.rb +68 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema_list.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_secret.rb +100 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table.rb +154 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_column.rb +55 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition.rb +128 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics.rb +190 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type.rb +173 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function.rb +88 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type.rb +203 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view.rb +89 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/module_definition.rb +9 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job.rb +48 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/data_lake_analytics_job_management_client.rb +67 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/job.rb +938 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/compile_mode.rb +17 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/diagnostics.rb +102 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_properties.rb +123 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_statement_info.rb +74 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_data_path.rb +74 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_error_details.rb +198 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_info_list_result.rb +107 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_information.rb +245 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_inner_error.rb +162 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_properties.rb +77 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource.rb +68 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource_type.rb +20 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_result.rb +18 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state.rb +24 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state_audit_record.rb +79 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics.rb +65 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics_vertex_stage.rb +262 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_type.rb +16 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/severity_types.rb +17 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/usql_job_properties.rb +231 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/module_definition.rb +9 -0
- metadata +218 -0
data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source_list.rb
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DataLakeAnalytics::Catalog
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Data Lake Analytics catalog U-SQL external datasource item list.
|
10
|
+
#
|
11
|
+
class USqlExternalDataSourceList < CatalogItemList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<USqlExternalDataSource>] the list of external data
|
16
|
+
# sources in the database
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# return [Proc] with next page method call.
|
20
|
+
attr_accessor :next_method
|
21
|
+
|
22
|
+
#
|
23
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
24
|
+
#
|
25
|
+
# @return [Array<USqlExternalDataSource>] operation results.
|
26
|
+
#
|
27
|
+
def get_all_items
|
28
|
+
items = @value
|
29
|
+
page = self
|
30
|
+
while page.next_link != nil do
|
31
|
+
page = page.get_next_page
|
32
|
+
items.concat(page.value)
|
33
|
+
end
|
34
|
+
items
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Gets the next page of results.
|
39
|
+
#
|
40
|
+
# @return [USqlExternalDataSourceList] with next page content.
|
41
|
+
#
|
42
|
+
def get_next_page
|
43
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
44
|
+
unless response.nil?
|
45
|
+
@next_link = response.body.next_link
|
46
|
+
@value = response.body.value
|
47
|
+
self
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Mapper for USqlExternalDataSourceList class as Ruby Hash.
|
53
|
+
# This will be used for serialization/deserialization.
|
54
|
+
#
|
55
|
+
def self.mapper()
|
56
|
+
{
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'USqlExternalDataSourceList',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'USqlExternalDataSourceList',
|
62
|
+
model_properties: {
|
63
|
+
count: {
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'count',
|
66
|
+
type: {
|
67
|
+
name: 'Number'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
next_link: {
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'nextLink',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
value: {
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'value',
|
81
|
+
type: {
|
82
|
+
name: 'Sequence',
|
83
|
+
element: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'USqlExternalDataSourceElementType',
|
86
|
+
type: {
|
87
|
+
name: 'Composite',
|
88
|
+
class_name: 'USqlExternalDataSource'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DataLakeAnalytics::Catalog
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Data Lake Analytics catalog U-SQL table index item.
|
10
|
+
#
|
11
|
+
class USqlIndex
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] the name of the index in the table.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [Array<USqlDirectedColumn>] the list of directed columns in
|
19
|
+
# the index
|
20
|
+
attr_accessor :index_keys
|
21
|
+
|
22
|
+
# @return [Array<String>] the list of columns in the index
|
23
|
+
attr_accessor :columns
|
24
|
+
|
25
|
+
# @return [USqlDistributionInfo] the distributions info of the index
|
26
|
+
attr_accessor :distribution_info
|
27
|
+
|
28
|
+
# @return partition function ID for the index.
|
29
|
+
attr_accessor :partition_function
|
30
|
+
|
31
|
+
# @return [Array<String>] the list of partion keys in the index
|
32
|
+
attr_accessor :partition_key_list
|
33
|
+
|
34
|
+
# @return [Array<String>] the list of full paths to the streams that
|
35
|
+
# contain this index in the DataLake account.
|
36
|
+
attr_accessor :stream_names
|
37
|
+
|
38
|
+
# @return [Boolean] the switch indicating if this index is a columnstore
|
39
|
+
# index.
|
40
|
+
attr_accessor :is_columnstore
|
41
|
+
|
42
|
+
# @return [Integer] the ID of this index within the table.
|
43
|
+
attr_accessor :index_id
|
44
|
+
|
45
|
+
# @return [Boolean] the switch indicating if this index is a unique
|
46
|
+
# index.
|
47
|
+
attr_accessor :is_unique
|
48
|
+
|
49
|
+
|
50
|
+
#
|
51
|
+
# Mapper for USqlIndex class as Ruby Hash.
|
52
|
+
# This will be used for serialization/deserialization.
|
53
|
+
#
|
54
|
+
def self.mapper()
|
55
|
+
{
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'USqlIndex',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'USqlIndex',
|
61
|
+
model_properties: {
|
62
|
+
name: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'name',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
index_keys: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'indexKeys',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'USqlDirectedColumnElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'USqlDirectedColumn'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
columns: {
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'columns',
|
87
|
+
type: {
|
88
|
+
name: 'Sequence',
|
89
|
+
element: {
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'StringElementType',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
distribution_info: {
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'distributionInfo',
|
101
|
+
type: {
|
102
|
+
name: 'Composite',
|
103
|
+
class_name: 'USqlDistributionInfo'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
partition_function: {
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'partitionFunction',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
partition_key_list: {
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'partitionKeyList',
|
116
|
+
type: {
|
117
|
+
name: 'Sequence',
|
118
|
+
element: {
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'StringElementType',
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
},
|
127
|
+
stream_names: {
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'streamNames',
|
130
|
+
type: {
|
131
|
+
name: 'Sequence',
|
132
|
+
element: {
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'StringElementType',
|
135
|
+
type: {
|
136
|
+
name: 'String'
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
},
|
141
|
+
is_columnstore: {
|
142
|
+
required: false,
|
143
|
+
serialized_name: 'isColumnstore',
|
144
|
+
type: {
|
145
|
+
name: 'Boolean'
|
146
|
+
}
|
147
|
+
},
|
148
|
+
index_id: {
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'indexId',
|
151
|
+
type: {
|
152
|
+
name: 'Number'
|
153
|
+
}
|
154
|
+
},
|
155
|
+
is_unique: {
|
156
|
+
required: false,
|
157
|
+
serialized_name: 'isUnique',
|
158
|
+
type: {
|
159
|
+
name: 'Boolean'
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DataLakeAnalytics::Catalog
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Data Lake Analytics catalog U-SQL procedure item.
|
10
|
+
#
|
11
|
+
class USqlProcedure < CatalogItem
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] the name of the database.
|
16
|
+
attr_accessor :database_name
|
17
|
+
|
18
|
+
# @return [String] the name of the schema associated with this procedure
|
19
|
+
# and database.
|
20
|
+
attr_accessor :schema_name
|
21
|
+
|
22
|
+
# @return [String] the name of the procedure.
|
23
|
+
attr_accessor :name
|
24
|
+
|
25
|
+
# @return [String] the defined query of the procedure.
|
26
|
+
attr_accessor :definition
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for USqlProcedure class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'USqlProcedure',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'USqlProcedure',
|
40
|
+
model_properties: {
|
41
|
+
compute_account_name: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'computeAccountName',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
version: {
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'version',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
database_name: {
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'databaseName',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
schema_name: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'schemaName',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
name: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'procName',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
definition: {
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'definition',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DataLakeAnalytics::Catalog
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Data Lake Analytics catalog U-SQL procedure item list.
|
10
|
+
#
|
11
|
+
class USqlProcedureList < CatalogItemList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<USqlProcedure>] the list of procedure in the database
|
16
|
+
# and schema combination
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# return [Proc] with next page method call.
|
20
|
+
attr_accessor :next_method
|
21
|
+
|
22
|
+
#
|
23
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
24
|
+
#
|
25
|
+
# @return [Array<USqlProcedure>] operation results.
|
26
|
+
#
|
27
|
+
def get_all_items
|
28
|
+
items = @value
|
29
|
+
page = self
|
30
|
+
while page.next_link != nil do
|
31
|
+
page = page.get_next_page
|
32
|
+
items.concat(page.value)
|
33
|
+
end
|
34
|
+
items
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Gets the next page of results.
|
39
|
+
#
|
40
|
+
# @return [USqlProcedureList] with next page content.
|
41
|
+
#
|
42
|
+
def get_next_page
|
43
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
44
|
+
unless response.nil?
|
45
|
+
@next_link = response.body.next_link
|
46
|
+
@value = response.body.value
|
47
|
+
self
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Mapper for USqlProcedureList class as Ruby Hash.
|
53
|
+
# This will be used for serialization/deserialization.
|
54
|
+
#
|
55
|
+
def self.mapper()
|
56
|
+
{
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'USqlProcedureList',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'USqlProcedureList',
|
62
|
+
model_properties: {
|
63
|
+
count: {
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'count',
|
66
|
+
type: {
|
67
|
+
name: 'Number'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
next_link: {
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'nextLink',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
value: {
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'value',
|
81
|
+
type: {
|
82
|
+
name: 'Sequence',
|
83
|
+
element: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'USqlProcedureElementType',
|
86
|
+
type: {
|
87
|
+
name: 'Composite',
|
88
|
+
class_name: 'USqlProcedure'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|