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.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics.rb +51 -0
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/account.rb +3131 -0
  4. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +131 -0
  5. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +46 -0
  6. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +46 -0
  7. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/azure_async_operation_result.rb +66 -0
  8. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/blob_container.rb +79 -0
  9. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/blob_container_properties.rb +45 -0
  10. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +107 -0
  11. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +110 -0
  12. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +97 -0
  13. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +109 -0
  14. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties.rb +167 -0
  15. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb +16 -0
  16. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb +23 -0
  17. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +56 -0
  18. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info_properties.rb +44 -0
  19. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/error.rb +99 -0
  20. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/error_details.rb +69 -0
  21. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/inner_error.rb +56 -0
  22. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_blob_containers_result.rb +97 -0
  23. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +97 -0
  24. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/operation_status.rb +17 -0
  25. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/sas_token_info.rb +46 -0
  26. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb +57 -0
  27. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/storage_account_properties.rb +55 -0
  28. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/module_definition.rb +9 -0
  29. data/lib/{generated/azure_mgmt_datalake_analytics/module_definition.rb → 2015-10-01-preview/generated/azure_mgmt_datalake_analytics/version.rb} +3 -3
  30. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics.rb +64 -0
  31. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/account.rb +14 -14
  32. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/compute_policies.rb +8 -8
  33. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +3 -3
  34. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +5 -5
  35. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/firewall_rules.rb +8 -8
  36. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/aadobject_type.rb +1 -1
  37. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +1 -1
  38. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +1 -1
  39. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/compute_policy.rb +1 -1
  40. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/compute_policy_account_create_parameters.rb +1 -1
  41. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/compute_policy_create_or_update_parameters.rb +1 -1
  42. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +1 -1
  43. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +1 -1
  44. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +1 -1
  45. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +1 -1
  46. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +1 -1
  47. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +1 -1
  48. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +1 -1
  49. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb +1 -1
  50. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb +1 -1
  51. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb +1 -1
  52. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb +1 -1
  53. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +1 -1
  54. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/firewall_allow_azure_ips_state.rb +1 -1
  55. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/firewall_rule.rb +1 -1
  56. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/firewall_state.rb +1 -1
  57. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +1 -1
  58. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/list_storage_containers_result.rb +1 -1
  59. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/optional_sub_resource.rb +1 -1
  60. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/resource.rb +1 -1
  61. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/sas_token_info.rb +1 -1
  62. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/storage_account_info.rb +1 -1
  63. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/storage_container.rb +1 -1
  64. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/sub_resource.rb +1 -1
  65. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/tier_type.rb +1 -1
  66. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +1 -1
  67. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +1 -1
  68. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/module_definition.rb +9 -0
  69. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/storage_accounts.rb +11 -11
  70. data/lib/{generated → 2016-11-01/generated}/azure_mgmt_datalake_analytics/version.rb +2 -2
  71. data/lib/azure_mgmt_datalake_analytics.rb +6 -1
  72. data/lib/module_definition.rb +8 -0
  73. data/lib/profiles/common/configurable.rb +73 -0
  74. data/lib/profiles/common/default.rb +68 -0
  75. data/lib/profiles/latest/datalakeanalytics_latest_profile_client.rb +33 -0
  76. data/lib/profiles/latest/datalakeanalytics_module_definition.rb +9 -0
  77. data/lib/profiles/latest/modules/datalakeanalytics_profile_module.rb +178 -0
  78. data/lib/version.rb +7 -0
  79. metadata +78 -43
  80. data/lib/generated/azure_mgmt_datalake_analytics.rb +0 -64
@@ -0,0 +1,16 @@
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
+ # Defines values for DataLakeAnalyticsAccountState
10
+ #
11
+ module DataLakeAnalyticsAccountState
12
+ Active = "active"
13
+ Suspended = "suspended"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,23 @@
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
+ # Defines values for DataLakeAnalyticsAccountStatus
10
+ #
11
+ module DataLakeAnalyticsAccountStatus
12
+ Failed = "Failed"
13
+ Creating = "Creating"
14
+ Running = "Running"
15
+ Succeeded = "Succeeded"
16
+ Patching = "Patching"
17
+ Suspending = "Suspending"
18
+ Resuming = "Resuming"
19
+ Deleting = "Deleting"
20
+ Deleted = "Deleted"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,56 @@
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
+ # Data Lake Store account information.
10
+ #
11
+ class DataLakeStoreAccountInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the account name of the Data Lake Store account.
16
+ attr_accessor :name
17
+
18
+ # @return [DataLakeStoreAccountInfoProperties] the properties associated
19
+ # with this Data Lake Store account.
20
+ attr_accessor :properties
21
+
22
+
23
+ #
24
+ # Mapper for DataLakeStoreAccountInfo class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'DataLakeStoreAccountInfo',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'DataLakeStoreAccountInfo',
34
+ model_properties: {
35
+ name: {
36
+ required: true,
37
+ serialized_name: 'name',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ properties: {
43
+ required: false,
44
+ serialized_name: 'properties',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'DataLakeStoreAccountInfoProperties'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,44 @@
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
+ # Data Lake Store account properties information.
10
+ #
11
+ class DataLakeStoreAccountInfoProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the optional suffix for the Data Lake Store account.
16
+ attr_accessor :suffix
17
+
18
+
19
+ #
20
+ # Mapper for DataLakeStoreAccountInfoProperties class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'DataLakeStoreAccountInfoProperties',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'DataLakeStoreAccountInfoProperties',
30
+ model_properties: {
31
+ suffix: {
32
+ required: false,
33
+ serialized_name: 'suffix',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,99 @@
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
+ # Generic resource error information.
10
+ #
11
+ class Error
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the HTTP status code or error code associated with
16
+ # this error
17
+ attr_accessor :code
18
+
19
+ # @return [String] the error message to display.
20
+ attr_accessor :message
21
+
22
+ # @return [String] the target of the error.
23
+ attr_accessor :target
24
+
25
+ # @return [Array<ErrorDetails>] the list of error details
26
+ attr_accessor :details
27
+
28
+ # @return [InnerError] the inner exceptions or errors, if any
29
+ attr_accessor :inner_error
30
+
31
+
32
+ #
33
+ # Mapper for Error class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'Error',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Error',
43
+ model_properties: {
44
+ code: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'code',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ message: {
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'message',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ target: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'target',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ details: {
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'details',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ required: false,
76
+ serialized_name: 'ErrorDetailsElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'ErrorDetails'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ inner_error: {
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'innerError',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'InnerError'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,69 @@
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
+ # Generic resource error details information.
10
+ #
11
+ class ErrorDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the HTTP status code or error code associated with
16
+ # this error
17
+ attr_accessor :code
18
+
19
+ # @return [String] the error message localized based on Accept-Language
20
+ attr_accessor :message
21
+
22
+ # @return [String] the target of the particular error (for example, the
23
+ # name of the property in error).
24
+ attr_accessor :target
25
+
26
+
27
+ #
28
+ # Mapper for ErrorDetails class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'ErrorDetails',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ErrorDetails',
38
+ model_properties: {
39
+ code: {
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'code',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ message: {
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'message',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ target: {
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'target',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,56 @@
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
+ # Generic resource inner error information.
10
+ #
11
+ class InnerError
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the stack trace for the error
16
+ attr_accessor :trace
17
+
18
+ # @return [String] the context for the error message
19
+ attr_accessor :context
20
+
21
+
22
+ #
23
+ # Mapper for InnerError class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'InnerError',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'InnerError',
33
+ model_properties: {
34
+ trace: {
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'trace',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ context: {
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'context',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,97 @@
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 list of blob containers associated with the storage account attached
10
+ # to the Data Lake Analytics account.
11
+ #
12
+ class ListBlobContainersResult
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<BlobContainer>] the results of the list operation
18
+ attr_accessor :value
19
+
20
+ # @return [String] the link (url) to the next page of results.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<BlobContainer>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [ListBlobContainersResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for ListBlobContainersResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'ListBlobContainersResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ListBlobContainersResult',
66
+ model_properties: {
67
+ value: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ required: false,
75
+ serialized_name: 'BlobContainerElementType',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'BlobContainer'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ next_link: {
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'nextLink',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end