azure_mgmt_datalake_store 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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_store/account.rb +105 -97
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +4 -1
  4. data/lib/2016-11-01/generated/azure_mgmt_datalake_store.rb +28 -12
  5. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/{account.rb → accounts.rb} +491 -402
  6. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +15 -4
  7. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/firewall_rules.rb +171 -201
  8. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/locations.rb +116 -0
  9. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/capability_information.rb +100 -0
  10. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/check_name_availability_parameters.rb +61 -0
  11. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_data_lake_store_account_parameters.rb +216 -0
  12. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_firewall_rule_with_account_parameters.rb +71 -0
  13. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_firewall_rule_parameters.rb +59 -0
  14. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_trusted_id_provider_parameters.rb +47 -0
  15. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_trusted_id_provider_with_account_parameters.rb +60 -0
  16. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb +82 -70
  17. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_basic.rb +21 -19
  18. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_list_result.rb +3 -3
  19. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_rule.rb +8 -5
  20. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_firewall_rule_list_result.rb → firewall_rule_list_result.rb} +7 -7
  21. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{error_details.rb → name_availability_information.rb} +21 -20
  22. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation.rb +72 -0
  23. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_display.rb +83 -0
  24. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_list_result.rb +68 -0
  25. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_origin.rb +17 -0
  26. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/resource.rb +9 -7
  27. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/sub_resource.rb +5 -4
  28. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/subscription_state.rb +19 -0
  29. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider.rb +5 -3
  30. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_trusted_id_provider_list_result.rb → trusted_id_provider_list_result.rb} +7 -8
  31. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_account_update_parameters.rb → update_data_lake_store_account_parameters.rb} +84 -41
  32. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_parameters.rb +3 -3
  33. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_with_account_parameters.rb +71 -0
  34. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_parameters.rb +2 -2
  35. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_with_account_parameters.rb +60 -0
  36. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/operations.rb +107 -0
  37. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb +171 -201
  38. data/lib/profiles/latest/datalakestore_latest_profile_client.rb +28 -9
  39. data/lib/profiles/latest/datalakestore_module_definition.rb +0 -1
  40. data/lib/profiles/latest/modules/datalakestore_profile_module.rb +184 -105
  41. data/lib/version.rb +1 -1
  42. metadata +23 -7
@@ -12,29 +12,29 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [DataLakeStoreAccountStatus] the provisioning status of the
15
+ # @return The unique identifier associated with this Data Lake Store
16
+ # account.
17
+ attr_accessor :account_id
18
+
19
+ # @return [DataLakeStoreAccountStatus] The provisioning status of the
16
20
  # Data Lake Store account. Possible values include: 'Failed', 'Creating',
17
21
  # 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming',
18
22
  # 'Deleting', 'Deleted', 'Undeleting', 'Canceled'
19
23
  attr_accessor :provisioning_state
20
24
 
21
- # @return [DataLakeStoreAccountState] the state of the Data Lake Store
25
+ # @return [DataLakeStoreAccountState] The state of the Data Lake Store
22
26
  # account. Possible values include: 'Active', 'Suspended'
23
27
  attr_accessor :state
24
28
 
25
- # @return [DateTime] the account creation time.
29
+ # @return [DateTime] The account creation time.
26
30
  attr_accessor :creation_time
27
31
 
28
- # @return [DateTime] the account last modified time.
32
+ # @return [DateTime] The account last modified time.
29
33
  attr_accessor :last_modified_time
30
34
 
31
- # @return [String] the full CName endpoint for this account.
35
+ # @return [String] The full CName endpoint for this account.
32
36
  attr_accessor :endpoint
33
37
 
34
- # @return The unique identifier associated with this Data Lake Store
35
- # account.
36
- attr_accessor :account_id
37
-
38
38
 
39
39
  #
40
40
  # Mapper for DataLakeStoreAccountBasic class as Ruby Hash.
@@ -78,7 +78,8 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
78
78
  },
79
79
  location: {
80
80
  client_side_validation: true,
81
- required: true,
81
+ required: false,
82
+ read_only: true,
82
83
  serialized_name: 'location',
83
84
  type: {
84
85
  name: 'String'
@@ -87,6 +88,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
87
88
  tags: {
88
89
  client_side_validation: true,
89
90
  required: false,
91
+ read_only: true,
90
92
  serialized_name: 'tags',
91
93
  type: {
92
94
  name: 'Dictionary',
@@ -100,6 +102,15 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
100
102
  }
101
103
  }
102
104
  },
105
+ account_id: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ read_only: true,
109
+ serialized_name: 'properties.accountId',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
103
114
  provisioning_state: {
104
115
  client_side_validation: true,
105
116
  required: false,
@@ -146,15 +157,6 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
146
157
  type: {
147
158
  name: 'String'
148
159
  }
149
- },
150
- account_id: {
151
- client_side_validation: true,
152
- required: false,
153
- read_only: true,
154
- serialized_name: 'properties.accountId',
155
- type: {
156
- name: 'String'
157
- }
158
160
  }
159
161
  }
160
162
  }
@@ -13,11 +13,11 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
- # @return [Array<DataLakeStoreAccountBasic>] the results of the list
17
- # operation
16
+ # @return [Array<DataLakeStoreAccountBasic>] 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.
@@ -6,17 +6,17 @@
6
6
  module Azure::DataLakeStore::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # Data Lake Store firewall rule information
9
+ # Data Lake Store firewall rule information.
10
10
  #
11
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::DataLakeStore::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::DataLakeStore::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::DataLakeStore::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::DataLakeStore::Mgmt::V2016_11_01
8
8
  #
9
9
  # Data Lake Store firewall rule list information.
10
10
  #
11
- class DataLakeStoreFirewallRuleListResult
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.
@@ -40,7 +40,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
40
40
  #
41
41
  # Gets the next page of results.
42
42
  #
43
- # @return [DataLakeStoreFirewallRuleListResult] with next page content.
43
+ # @return [FirewallRuleListResult] with next page content.
44
44
  #
45
45
  def get_next_page
46
46
  response = @next_method.call(@next_link).value! unless @next_method.nil?
@@ -52,17 +52,17 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
52
52
  end
53
53
 
54
54
  #
55
- # Mapper for DataLakeStoreFirewallRuleListResult class as Ruby Hash.
55
+ # Mapper for FirewallRuleListResult class as Ruby Hash.
56
56
  # This will be used for serialization/deserialization.
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
60
  client_side_validation: true,
61
61
  required: false,
62
- serialized_name: 'DataLakeStoreFirewallRuleListResult',
62
+ serialized_name: 'FirewallRuleListResult',
63
63
  type: {
64
64
  name: 'Composite',
65
- class_name: 'DataLakeStoreFirewallRuleListResult',
65
+ class_name: 'FirewallRuleListResult',
66
66
  model_properties: {
67
67
  value: {
68
68
  client_side_validation: true,
@@ -6,60 +6,61 @@
6
6
  module Azure::DataLakeStore::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # Data Lake Store error details information
9
+ # Data Lake Store account name availability result information.
10
10
  #
11
- class ErrorDetails
11
+ class NameAvailabilityInformation
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the HTTP status code or error code associated with
16
- # this error
17
- attr_accessor :code
15
+ # @return [Boolean] The Boolean value of true or false to indicate
16
+ # whether the Data Lake Store account name is available or not.
17
+ attr_accessor :name_available
18
18
 
19
- # @return [String] the error message localized based on Accept-Language
20
- attr_accessor :message
19
+ # @return [String] The reason why the Data Lake Store account name is not
20
+ # available, if nameAvailable is false.
21
+ attr_accessor :reason
21
22
 
22
- # @return [String] the target of the particular error (for example, the
23
- # name of the property in error).
24
- attr_accessor :target
23
+ # @return [String] The message describing why the Data Lake Store account
24
+ # name is not available, if nameAvailable is false.
25
+ attr_accessor :message
25
26
 
26
27
 
27
28
  #
28
- # Mapper for ErrorDetails class as Ruby Hash.
29
+ # Mapper for NameAvailabilityInformation class as Ruby Hash.
29
30
  # This will be used for serialization/deserialization.
30
31
  #
31
32
  def self.mapper()
32
33
  {
33
34
  client_side_validation: true,
34
35
  required: false,
35
- serialized_name: 'ErrorDetails',
36
+ serialized_name: 'NameAvailabilityInformation',
36
37
  type: {
37
38
  name: 'Composite',
38
- class_name: 'ErrorDetails',
39
+ class_name: 'NameAvailabilityInformation',
39
40
  model_properties: {
40
- code: {
41
+ name_available: {
41
42
  client_side_validation: true,
42
43
  required: false,
43
44
  read_only: true,
44
- serialized_name: 'code',
45
+ serialized_name: 'nameAvailable',
45
46
  type: {
46
- name: 'String'
47
+ name: 'Boolean'
47
48
  }
48
49
  },
49
- message: {
50
+ reason: {
50
51
  client_side_validation: true,
51
52
  required: false,
52
53
  read_only: true,
53
- serialized_name: 'message',
54
+ serialized_name: 'reason',
54
55
  type: {
55
56
  name: 'String'
56
57
  }
57
58
  },
58
- target: {
59
+ message: {
59
60
  client_side_validation: true,
60
61
  required: false,
61
62
  read_only: true,
62
- serialized_name: 'target',
63
+ serialized_name: 'message',
63
64
  type: {
64
65
  name: 'String'
65
66
  }
@@ -0,0 +1,72 @@
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::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # An available operation for Data Lake Store.
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the operation.
16
+ attr_accessor :name
17
+
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
+
25
+
26
+ #
27
+ # Mapper for Operation class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'Operation',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Operation',
38
+ model_properties: {
39
+ name: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'name',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ display: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'display',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'OperationDisplay'
55
+ }
56
+ },
57
+ origin: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'origin',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -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::DataLakeStore::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::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The list of available operations for Data Lake Store.
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