azure_mgmt_datalake_analytics 0.15.2 → 0.16.0

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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/account.rb +174 -160
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +4 -1
  4. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics.rb +43 -25
  5. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/{account.rb → accounts.rb} +298 -222
  6. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb +176 -206
  7. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +22 -11
  8. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +180 -203
  9. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +171 -201
  10. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/locations.rb +116 -0
  11. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -2
  12. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_with_account_parameters.rb +58 -0
  13. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +3 -4
  14. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb +70 -0
  15. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/capability_information.rb +100 -0
  16. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/check_name_availability_parameters.rb +62 -0
  17. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy.rb +22 -5
  18. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +2 -2
  19. 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
  20. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_data_lake_analytics_account_parameters.rb +285 -0
  21. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_firewall_rule_with_account_parameters.rb +71 -0
  22. 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
  23. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb +59 -0
  24. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +161 -147
  25. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +21 -19
  26. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +4 -4
  27. 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
  28. 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} +14 -14
  29. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +9 -6
  30. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_firewall_rule_list_result.rb → firewall_rule_list_result.rb} +7 -8
  31. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb +74 -0
  32. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{optional_sub_resource.rb → operation.rb} +21 -19
  33. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_display.rb +83 -0
  34. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_list_result.rb +68 -0
  35. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_origin.rb +17 -0
  36. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/resource.rb +9 -7
  37. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{sas_token_info.rb → sas_token_information.rb} +5 -5
  38. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_sas_tokens_result.rb → sas_token_information_list_result.rb} +10 -10
  39. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{storage_account_info.rb → storage_account_information.rb} +8 -18
  40. 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} +12 -13
  41. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/storage_container.rb +2 -11
  42. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_storage_containers_result.rb → storage_container_list_result.rb} +7 -7
  43. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb +6 -5
  44. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/subscription_state.rb +19 -0
  45. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_parameters.rb +91 -0
  46. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_with_account_parameters.rb +103 -0
  47. 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} +117 -75
  48. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_data_lake_store_with_account_parameters.rb +59 -0
  49. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +3 -3
  50. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_with_account_parameters.rb +71 -0
  51. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +3 -4
  52. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_with_account_parameters.rb +72 -0
  53. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/operations.rb +107 -0
  54. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/storage_accounts.rb +416 -464
  55. data/lib/profiles/latest/datalakeanalytics_latest_profile_client.rb +28 -9
  56. data/lib/profiles/latest/datalakeanalytics_module_definition.rb +0 -1
  57. data/lib/profiles/latest/modules/datalakeanalytics_profile_module.rb +222 -135
  58. data/lib/version.rb +1 -1
  59. metadata +34 -16
  60. 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,25 +6,25 @@
6
6
  module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # The Resource model definition.
9
+ # The resource model definition.
10
10
  #
11
11
  class Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Resource Id
15
+ # @return [String] The resource identifer.
16
16
  attr_accessor :id
17
17
 
18
- # @return [String] Resource name
18
+ # @return [String] The resource name.
19
19
  attr_accessor :name
20
20
 
21
- # @return [String] Resource type
21
+ # @return [String] The resource type.
22
22
  attr_accessor :type
23
23
 
24
- # @return [String] Resource location
24
+ # @return [String] The resource location.
25
25
  attr_accessor :location
26
26
 
27
- # @return [Hash{String => String}] Resource tags
27
+ # @return [Hash{String => String}] The resource tags.
28
28
  attr_accessor :tags
29
29
 
30
30
 
@@ -70,7 +70,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
70
70
  },
71
71
  location: {
72
72
  client_side_validation: true,
73
- required: true,
73
+ required: false,
74
+ read_only: true,
74
75
  serialized_name: 'location',
75
76
  type: {
76
77
  name: 'String'
@@ -79,6 +80,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
79
80
  tags: {
80
81
  client_side_validation: true,
81
82
  required: false,
83
+ read_only: true,
82
84
  serialized_name: 'tags',
83
85
  type: {
84
86
  name: 'Dictionary',
@@ -8,27 +8,27 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
8
8
  #
9
9
  # SAS token information.
10
10
  #
11
- class SasTokenInfo
11
+ class SasTokenInformation
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the access token for the associated Azure Storage
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 SasTokenInfo class as Ruby Hash.
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: 'SasTokenInfo',
28
+ serialized_name: 'SasTokenInformation',
29
29
  type: {
30
30
  name: 'Composite',
31
- class_name: 'SasTokenInfo',
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 ListSasTokensResult
12
+ class SasTokenInformationListResult
13
13
 
14
14
  include MsRestAzure
15
15
 
16
16
  include MsRest::JSONable
17
- # @return [Array<SasTokenInfo>]
17
+ # @return [Array<SasTokenInformation>] The results of the list operation.
18
18
  attr_accessor :value
19
19
 
20
- # @return [String] the link (url) to the next page of results.
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,7 +26,7 @@ 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<SasTokenInfo>] operation results.
29
+ # @return [Array<SasTokenInformation>] operation results.
30
30
  #
31
31
  def get_all_items
32
32
  items = @value
@@ -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 [ListSasTokensResult] with next page content.
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 ListSasTokensResult class as Ruby Hash.
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: 'ListSasTokensResult',
63
+ serialized_name: 'SasTokenInformationListResult',
64
64
  type: {
65
65
  name: 'Composite',
66
- class_name: 'ListSasTokensResult',
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: 'SasTokenInfoElementType',
78
+ serialized_name: 'SasTokenInformationElementType',
79
79
  type: {
80
80
  name: 'Composite',
81
- class_name: 'SasTokenInfo'
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 StorageAccountInfo < SubResource
11
+ class StorageAccountInformation < SubResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the access key associated with this Azure Storage
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 StorageAccountInfo class as Ruby Hash.
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: 'StorageAccountInfo',
27
+ serialized_name: 'StorageAccountInformation',
32
28
  type: {
33
29
  name: 'Composite',
34
- class_name: 'StorageAccountInfo',
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: true,
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 Account list information.
9
+ # Azure Storage account list information.
10
10
  #
11
- class DataLakeAnalyticsAccountListStorageAccountsResult
11
+ class StorageAccountInformationListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
- # @return [Array<StorageAccountInfo>] the results of the list operation
16
+ # @return [Array<StorageAccountInformation>] The results of the list
17
+ # operation.
17
18
  attr_accessor :value
18
19
 
19
- # @return [String] the link (url) to the next page of results.
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,7 +26,7 @@ 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<StorageAccountInfo>] operation results.
29
+ # @return [Array<StorageAccountInformation>] operation results.
29
30
  #
30
31
  def get_all_items
31
32
  items = @value
@@ -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 [DataLakeAnalyticsAccountListStorageAccountsResult] with next
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 DataLakeAnalyticsAccountListStorageAccountsResult class as
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: 'DataLakeAnalyticsAccountListStorageAccountsResult',
63
+ serialized_name: 'StorageAccountInformationListResult',
65
64
  type: {
66
65
  name: 'Composite',
67
- class_name: 'DataLakeAnalyticsAccountListStorageAccountsResult',
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: 'StorageAccountInfoElementType',
78
+ serialized_name: 'StorageAccountInformationElementType',
80
79
  type: {
81
80
  name: 'Composite',
82
- class_name: 'StorageAccountInfo'
81
+ class_name: 'StorageAccountInformation'
83
82
  }
84
83
  }
85
84
  }