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.
Files changed (65) hide show
  1. checksums.yaml +5 -5
  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 +10 -6
  4. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +1 -1
  5. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +1 -1
  6. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +1 -1
  7. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_blob_containers_result.rb +1 -1
  8. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +1 -1
  9. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics.rb +43 -25
  10. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/{account.rb → accounts.rb} +298 -222
  11. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb +176 -206
  12. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +28 -16
  13. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +180 -203
  14. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +171 -201
  15. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/locations.rb +116 -0
  16. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -2
  17. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_with_account_parameters.rb +58 -0
  18. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +3 -4
  19. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb +70 -0
  20. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/capability_information.rb +100 -0
  21. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/check_name_availability_parameters.rb +62 -0
  22. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy.rb +22 -5
  23. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +3 -3
  24. 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
  25. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_data_lake_analytics_account_parameters.rb +285 -0
  26. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_firewall_rule_with_account_parameters.rb +71 -0
  27. 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
  28. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb +59 -0
  29. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +161 -147
  30. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +21 -19
  31. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +5 -5
  32. 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
  33. 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
  34. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +9 -6
  35. 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
  36. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb +74 -0
  37. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{optional_sub_resource.rb → operation.rb} +21 -19
  38. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_display.rb +83 -0
  39. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_list_result.rb +68 -0
  40. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_origin.rb +17 -0
  41. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/resource.rb +18 -7
  42. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{sas_token_info.rb → sas_token_information.rb} +5 -5
  43. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_sas_tokens_result.rb → sas_token_information_list_result.rb} +11 -11
  44. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{storage_account_info.rb → storage_account_information.rb} +8 -18
  45. 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
  46. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/storage_container.rb +2 -11
  47. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_storage_containers_result.rb → storage_container_list_result.rb} +8 -8
  48. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb +6 -5
  49. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/subscription_state.rb +19 -0
  50. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_parameters.rb +91 -0
  51. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_with_account_parameters.rb +103 -0
  52. 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
  53. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_data_lake_store_with_account_parameters.rb +59 -0
  54. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +3 -3
  55. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_with_account_parameters.rb +71 -0
  56. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +3 -4
  57. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_with_account_parameters.rb +72 -0
  58. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/operations.rb +107 -0
  59. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/storage_accounts.rb +416 -464
  60. data/lib/profiles/latest/datalakeanalytics_latest_profile_client.rb +28 -9
  61. data/lib/profiles/latest/datalakeanalytics_module_definition.rb +0 -1
  62. data/lib/profiles/latest/modules/datalakeanalytics_profile_module.rb +222 -135
  63. data/lib/version.rb +1 -1
  64. metadata +37 -19
  65. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +0 -115
@@ -13,29 +13,29 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- # @return [DataLakeAnalyticsAccountStatus] the provisioning status of the
16
+ # @return The unique identifier associated with this Data Lake Analytics
17
+ # account.
18
+ attr_accessor :account_id
19
+
20
+ # @return [DataLakeAnalyticsAccountStatus] The provisioning status of the
17
21
  # Data Lake Analytics account. Possible values include: 'Failed',
18
22
  # 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending',
19
23
  # 'Resuming', 'Deleting', 'Deleted', 'Undeleting', 'Canceled'
20
24
  attr_accessor :provisioning_state
21
25
 
22
- # @return [DataLakeAnalyticsAccountState] the state of the Data Lake
26
+ # @return [DataLakeAnalyticsAccountState] The state of the Data Lake
23
27
  # Analytics account. Possible values include: 'Active', 'Suspended'
24
28
  attr_accessor :state
25
29
 
26
- # @return [DateTime] the account creation time.
30
+ # @return [DateTime] The account creation time.
27
31
  attr_accessor :creation_time
28
32
 
29
- # @return [DateTime] the account last modified time.
33
+ # @return [DateTime] The account last modified time.
30
34
  attr_accessor :last_modified_time
31
35
 
32
- # @return [String] the full CName endpoint for this account.
36
+ # @return [String] The full CName endpoint for this account.
33
37
  attr_accessor :endpoint
34
38
 
35
- # @return The unique identifier associated with this Data Lake Analytics
36
- # account.
37
- attr_accessor :account_id
38
-
39
39
 
40
40
  #
41
41
  # Mapper for DataLakeAnalyticsAccountBasic class as Ruby Hash.
@@ -79,7 +79,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
79
79
  },
80
80
  location: {
81
81
  client_side_validation: true,
82
- required: true,
82
+ required: false,
83
+ read_only: true,
83
84
  serialized_name: 'location',
84
85
  type: {
85
86
  name: 'String'
@@ -88,6 +89,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
88
89
  tags: {
89
90
  client_side_validation: true,
90
91
  required: false,
92
+ read_only: true,
91
93
  serialized_name: 'tags',
92
94
  type: {
93
95
  name: 'Dictionary',
@@ -101,6 +103,15 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
101
103
  }
102
104
  }
103
105
  },
106
+ account_id: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ read_only: true,
110
+ serialized_name: 'properties.accountId',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
104
115
  provisioning_state: {
105
116
  client_side_validation: true,
106
117
  required: false,
@@ -147,15 +158,6 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
147
158
  type: {
148
159
  name: 'String'
149
160
  }
150
- },
151
- account_id: {
152
- client_side_validation: true,
153
- required: false,
154
- read_only: true,
155
- serialized_name: 'properties.accountId',
156
- type: {
157
- name: 'String'
158
- }
159
161
  }
160
162
  }
161
163
  }
@@ -6,18 +6,18 @@
6
6
  module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # DataLakeAnalytics Account list information.
9
+ # Data Lake Analytics account list information.
10
10
  #
11
11
  class DataLakeAnalyticsAccountListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
- # @return [Array<DataLakeAnalyticsAccountBasic>] the results of the list
17
- # operation
16
+ # @return [Array<DataLakeAnalyticsAccountBasic>] The results of the list
17
+ # 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.
@@ -31,7 +31,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
31
31
  def get_all_items
32
32
  items = @value
33
33
  page = self
34
- while page.next_link != nil do
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
35
  page = page.get_next_page
36
36
  items.concat(page.value)
37
37
  end
@@ -8,26 +8,26 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
8
8
  #
9
9
  # Data Lake Store account information.
10
10
  #
11
- class DataLakeStoreAccountInfo < SubResource
11
+ class DataLakeStoreAccountInformation < SubResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the optional suffix for the Data Lake Store account.
15
+ # @return [String] The optional suffix for the Data Lake Store account.
16
16
  attr_accessor :suffix
17
17
 
18
18
 
19
19
  #
20
- # Mapper for DataLakeStoreAccountInfo class as Ruby Hash.
20
+ # Mapper for DataLakeStoreAccountInformation class as Ruby Hash.
21
21
  # This will be used for serialization/deserialization.
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
25
  client_side_validation: true,
26
26
  required: false,
27
- serialized_name: 'DataLakeStoreAccountInfo',
27
+ serialized_name: 'DataLakeStoreAccountInformation',
28
28
  type: {
29
29
  name: 'Composite',
30
- class_name: 'DataLakeStoreAccountInfo',
30
+ class_name: 'DataLakeStoreAccountInformation',
31
31
  model_properties: {
32
32
  id: {
33
33
  client_side_validation: true,
@@ -40,7 +40,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
40
40
  },
41
41
  name: {
42
42
  client_side_validation: true,
43
- required: true,
43
+ required: false,
44
+ read_only: true,
44
45
  serialized_name: 'name',
45
46
  type: {
46
47
  name: 'String'
@@ -58,6 +59,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
58
59
  suffix: {
59
60
  client_side_validation: true,
60
61
  required: false,
62
+ read_only: true,
61
63
  serialized_name: 'properties.suffix',
62
64
  type: {
63
65
  name: 'String'
@@ -6,18 +6,18 @@
6
6
  module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # Data Lake Account list information.
9
+ # Data Lake Store account list information.
10
10
  #
11
- class DataLakeAnalyticsAccountListDataLakeStoreResult
11
+ class DataLakeStoreAccountInformationListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
- # @return [Array<DataLakeStoreAccountInfo>] the results of the list
17
- # operation
16
+ # @return [Array<DataLakeStoreAccountInformation>] The results of the
17
+ # 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,12 +26,12 @@ 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<DataLakeStoreAccountInfo>] operation results.
29
+ # @return [Array<DataLakeStoreAccountInformation>] operation results.
30
30
  #
31
31
  def get_all_items
32
32
  items = @value
33
33
  page = self
34
- while page.next_link != nil do
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
35
  page = page.get_next_page
36
36
  items.concat(page.value)
37
37
  end
@@ -41,8 +41,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
41
41
  #
42
42
  # Gets the next page of results.
43
43
  #
44
- # @return [DataLakeAnalyticsAccountListDataLakeStoreResult] with next
45
- # page content.
44
+ # @return [DataLakeStoreAccountInformationListResult] with next page
45
+ # content.
46
46
  #
47
47
  def get_next_page
48
48
  response = @next_method.call(@next_link).value! unless @next_method.nil?
@@ -54,18 +54,18 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
54
54
  end
55
55
 
56
56
  #
57
- # Mapper for DataLakeAnalyticsAccountListDataLakeStoreResult class as
58
- # Ruby Hash.
57
+ # Mapper for DataLakeStoreAccountInformationListResult class as Ruby
58
+ # Hash.
59
59
  # This will be used for serialization/deserialization.
60
60
  #
61
61
  def self.mapper()
62
62
  {
63
63
  client_side_validation: true,
64
64
  required: false,
65
- serialized_name: 'DataLakeAnalyticsAccountListDataLakeStoreResult',
65
+ serialized_name: 'DataLakeStoreAccountInformationListResult',
66
66
  type: {
67
67
  name: 'Composite',
68
- class_name: 'DataLakeAnalyticsAccountListDataLakeStoreResult',
68
+ class_name: 'DataLakeStoreAccountInformationListResult',
69
69
  model_properties: {
70
70
  value: {
71
71
  client_side_validation: true,
@@ -77,10 +77,10 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
77
77
  element: {
78
78
  client_side_validation: true,
79
79
  required: false,
80
- serialized_name: 'DataLakeStoreAccountInfoElementType',
80
+ serialized_name: 'DataLakeStoreAccountInformationElementType',
81
81
  type: {
82
82
  name: 'Composite',
83
- class_name: 'DataLakeStoreAccountInfo'
83
+ class_name: 'DataLakeStoreAccountInformation'
84
84
  }
85
85
  }
86
86
  }
@@ -6,17 +6,17 @@
6
6
  module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # Data Lake Analytics firewall rule information
9
+ # Data Lake Analytics firewall rule information.
10
10
  #
11
- class FirewallRule < OptionalSubResource
11
+ class FirewallRule < SubResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the start IP address for the firewall rule. This can
15
+ # @return [String] The start IP address for the firewall rule. This can
16
16
  # be either ipv4 or ipv6. Start and End should be in the same protocol.
17
17
  attr_accessor :start_ip_address
18
18
 
19
- # @return [String] the end IP address for the firewall rule. This can be
19
+ # @return [String] The end IP address for the firewall rule. This can be
20
20
  # either ipv4 or ipv6. Start and End should be in the same protocol.
21
21
  attr_accessor :end_ip_address
22
22
 
@@ -46,6 +46,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
46
46
  name: {
47
47
  client_side_validation: true,
48
48
  required: false,
49
+ read_only: true,
49
50
  serialized_name: 'name',
50
51
  type: {
51
52
  name: 'String'
@@ -62,7 +63,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
62
63
  },
63
64
  start_ip_address: {
64
65
  client_side_validation: true,
65
- required: true,
66
+ required: false,
67
+ read_only: true,
66
68
  serialized_name: 'properties.startIpAddress',
67
69
  type: {
68
70
  name: 'String'
@@ -70,7 +72,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
70
72
  },
71
73
  end_ip_address: {
72
74
  client_side_validation: true,
73
- required: true,
75
+ required: false,
76
+ read_only: true,
74
77
  serialized_name: 'properties.endIpAddress',
75
78
  type: {
76
79
  name: 'String'
@@ -8,15 +8,15 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
8
8
  #
9
9
  # Data Lake Analytics firewall rule list information.
10
10
  #
11
- class DataLakeAnalyticsFirewallRuleListResult
11
+ class FirewallRuleListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
- # @return [Array<FirewallRule>] the results of the list operation
16
+ # @return [Array<FirewallRule>] The results of the list operation.
17
17
  attr_accessor :value
18
18
 
19
- # @return [String] the link (url) to the next page of results.
19
+ # @return [String] The link (url) to the next page of results.
20
20
  attr_accessor :next_link
21
21
 
22
22
  # return [Proc] with next page method call.
@@ -30,7 +30,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -40,8 +40,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
40
40
  #
41
41
  # Gets the next page of results.
42
42
  #
43
- # @return [DataLakeAnalyticsFirewallRuleListResult] with next page
44
- # content.
43
+ # @return [FirewallRuleListResult] with next page content.
45
44
  #
46
45
  def get_next_page
47
46
  response = @next_method.call(@next_link).value! unless @next_method.nil?
@@ -53,17 +52,17 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
53
52
  end
54
53
 
55
54
  #
56
- # Mapper for DataLakeAnalyticsFirewallRuleListResult class as Ruby Hash.
55
+ # Mapper for FirewallRuleListResult class as Ruby Hash.
57
56
  # This will be used for serialization/deserialization.
58
57
  #
59
58
  def self.mapper()
60
59
  {
61
60
  client_side_validation: true,
62
61
  required: false,
63
- serialized_name: 'DataLakeAnalyticsFirewallRuleListResult',
62
+ serialized_name: 'FirewallRuleListResult',
64
63
  type: {
65
64
  name: 'Composite',
66
- class_name: 'DataLakeAnalyticsFirewallRuleListResult',
65
+ class_name: 'FirewallRuleListResult',
67
66
  model_properties: {
68
67
  value: {
69
68
  client_side_validation: true,
@@ -0,0 +1,74 @@
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 result information.
10
+ #
11
+ class NameAvailabilityInformation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] The Boolean value of true or false to indicate
16
+ # whether the Data Lake Analytics account name is available or not.
17
+ attr_accessor :name_available
18
+
19
+ # @return [String] The reason why the Data Lake Analytics account name is
20
+ # not available, if nameAvailable is false.
21
+ attr_accessor :reason
22
+
23
+ # @return [String] The message describing why the Data Lake Analytics
24
+ # account name is not available, if nameAvailable is false.
25
+ attr_accessor :message
26
+
27
+
28
+ #
29
+ # Mapper for NameAvailabilityInformation 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: 'NameAvailabilityInformation',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'NameAvailabilityInformation',
40
+ model_properties: {
41
+ name_available: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'nameAvailable',
46
+ type: {
47
+ name: 'Boolean'
48
+ }
49
+ },
50
+ reason: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'reason',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ message: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'message',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -6,58 +6,60 @@
6
6
  module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # The Resource model definition for a nested resource with no required
10
- # properties.
9
+ # An available operation for Data Lake Analytics.
11
10
  #
12
- class OptionalSubResource
11
+ class Operation
13
12
 
14
13
  include MsRestAzure
15
14
 
16
- # @return [String] Resource Id
17
- attr_accessor :id
18
-
19
- # @return [String] Resource name
15
+ # @return [String] The name of the operation.
20
16
  attr_accessor :name
21
17
 
22
- # @return [String] Resource type
23
- attr_accessor :type
18
+ # @return [OperationDisplay] The display information for the operation.
19
+ attr_accessor :display
20
+
21
+ # @return [OperationOrigin] The intended executor of the operation.
22
+ # Possible values include: 'user', 'system', 'user,system'
23
+ attr_accessor :origin
24
24
 
25
25
 
26
26
  #
27
- # Mapper for OptionalSubResource class as Ruby Hash.
27
+ # Mapper for Operation class as Ruby Hash.
28
28
  # This will be used for serialization/deserialization.
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
32
  client_side_validation: true,
33
33
  required: false,
34
- serialized_name: 'OptionalSubResource',
34
+ serialized_name: 'Operation',
35
35
  type: {
36
36
  name: 'Composite',
37
- class_name: 'OptionalSubResource',
37
+ class_name: 'Operation',
38
38
  model_properties: {
39
- id: {
39
+ name: {
40
40
  client_side_validation: true,
41
41
  required: false,
42
42
  read_only: true,
43
- serialized_name: 'id',
43
+ serialized_name: 'name',
44
44
  type: {
45
45
  name: 'String'
46
46
  }
47
47
  },
48
- name: {
48
+ display: {
49
49
  client_side_validation: true,
50
50
  required: false,
51
- serialized_name: 'name',
51
+ read_only: true,
52
+ serialized_name: 'display',
52
53
  type: {
53
- name: 'String'
54
+ name: 'Composite',
55
+ class_name: 'OperationDisplay'
54
56
  }
55
57
  },
56
- type: {
58
+ origin: {
57
59
  client_side_validation: true,
58
60
  required: false,
59
61
  read_only: true,
60
- serialized_name: 'type',
62
+ serialized_name: 'origin',
61
63
  type: {
62
64
  name: 'String'
63
65
  }