azure_mgmt_datalake_analytics 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +1 -3
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -0
  4. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +2 -0
  5. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/azure_async_operation_result.rb +3 -0
  6. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/blob_container.rb +5 -0
  7. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/blob_container_properties.rb +2 -0
  8. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +8 -0
  9. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +5 -0
  10. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +4 -0
  11. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +5 -0
  12. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties.rb +13 -0
  13. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +3 -0
  14. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info_properties.rb +2 -0
  15. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/error.rb +7 -0
  16. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/error_details.rb +4 -0
  17. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/inner_error.rb +3 -0
  18. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_blob_containers_result.rb +4 -0
  19. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +4 -0
  20. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/sas_token_info.rb +2 -0
  21. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb +3 -0
  22. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/storage_account_properties.rb +3 -0
  23. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/account.rb +4 -0
  24. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +1 -3
  25. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +2 -0
  26. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -0
  27. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +3 -0
  28. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy.rb +6 -0
  29. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy_account_create_parameters.rb +6 -0
  30. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy_create_or_update_parameters.rb +5 -0
  31. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +4 -0
  32. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +33 -0
  33. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +13 -0
  34. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +4 -0
  35. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +4 -0
  36. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +4 -0
  37. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +7 -0
  38. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb +15 -0
  39. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb +4 -0
  40. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +5 -0
  41. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +6 -0
  42. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +4 -0
  43. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/list_storage_containers_result.rb +4 -0
  44. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/optional_sub_resource.rb +4 -0
  45. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/resource.rb +7 -0
  46. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/sas_token_info.rb +2 -0
  47. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb +6 -0
  48. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/storage_container.rb +5 -0
  49. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb +4 -0
  50. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +3 -0
  51. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +3 -0
  52. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/storage_accounts.rb +2 -0
  53. data/lib/profiles/latest/datalakeanalytics_latest_profile_client.rb +1 -3
  54. data/lib/version.rb +1 -1
  55. metadata +10 -9
  56. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/version.rb +0 -8
  57. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/version.rb +0 -8
  58. data/lib/profiles/common/configurable.rb +0 -86
  59. data/lib/profiles/common/default.rb +0 -57
@@ -58,6 +58,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
58
58
  #
59
59
  def self.mapper()
60
60
  {
61
+ client_side_validation: true,
61
62
  required: false,
62
63
  serialized_name: 'ListSasTokensResult',
63
64
  type: {
@@ -65,12 +66,14 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
65
66
  class_name: 'ListSasTokensResult',
66
67
  model_properties: {
67
68
  value: {
69
+ client_side_validation: true,
68
70
  required: false,
69
71
  read_only: true,
70
72
  serialized_name: 'value',
71
73
  type: {
72
74
  name: 'Sequence',
73
75
  element: {
76
+ client_side_validation: true,
74
77
  required: false,
75
78
  serialized_name: 'SasTokenInfoElementType',
76
79
  type: {
@@ -81,6 +84,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
81
84
  }
82
85
  },
83
86
  next_link: {
87
+ client_side_validation: true,
84
88
  required: false,
85
89
  read_only: true,
86
90
  serialized_name: 'nextLink',
@@ -58,6 +58,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
58
58
  #
59
59
  def self.mapper()
60
60
  {
61
+ client_side_validation: true,
61
62
  required: false,
62
63
  serialized_name: 'ListStorageContainersResult',
63
64
  type: {
@@ -65,12 +66,14 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
65
66
  class_name: 'ListStorageContainersResult',
66
67
  model_properties: {
67
68
  value: {
69
+ client_side_validation: true,
68
70
  required: false,
69
71
  read_only: true,
70
72
  serialized_name: 'value',
71
73
  type: {
72
74
  name: 'Sequence',
73
75
  element: {
76
+ client_side_validation: true,
74
77
  required: false,
75
78
  serialized_name: 'StorageContainerElementType',
76
79
  type: {
@@ -81,6 +84,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
81
84
  }
82
85
  },
83
86
  next_link: {
87
+ client_side_validation: true,
84
88
  required: false,
85
89
  read_only: true,
86
90
  serialized_name: 'nextLink',
@@ -29,6 +29,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
+ client_side_validation: true,
32
33
  required: false,
33
34
  serialized_name: 'OptionalSubResource',
34
35
  type: {
@@ -36,6 +37,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
36
37
  class_name: 'OptionalSubResource',
37
38
  model_properties: {
38
39
  id: {
40
+ client_side_validation: true,
39
41
  required: false,
40
42
  read_only: true,
41
43
  serialized_name: 'id',
@@ -44,6 +46,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
44
46
  }
45
47
  },
46
48
  name: {
49
+ client_side_validation: true,
47
50
  required: false,
48
51
  serialized_name: 'name',
49
52
  type: {
@@ -51,6 +54,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
51
54
  }
52
55
  },
53
56
  type: {
57
+ client_side_validation: true,
54
58
  required: false,
55
59
  read_only: true,
56
60
  serialized_name: 'type',
@@ -34,6 +34,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
34
34
  #
35
35
  def self.mapper()
36
36
  {
37
+ client_side_validation: true,
37
38
  required: false,
38
39
  serialized_name: 'Resource',
39
40
  type: {
@@ -41,6 +42,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
41
42
  class_name: 'Resource',
42
43
  model_properties: {
43
44
  id: {
45
+ client_side_validation: true,
44
46
  required: false,
45
47
  read_only: true,
46
48
  serialized_name: 'id',
@@ -49,6 +51,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
49
51
  }
50
52
  },
51
53
  name: {
54
+ client_side_validation: true,
52
55
  required: false,
53
56
  read_only: true,
54
57
  serialized_name: 'name',
@@ -57,6 +60,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
57
60
  }
58
61
  },
59
62
  type: {
63
+ client_side_validation: true,
60
64
  required: false,
61
65
  read_only: true,
62
66
  serialized_name: 'type',
@@ -65,6 +69,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
65
69
  }
66
70
  },
67
71
  location: {
72
+ client_side_validation: true,
68
73
  required: true,
69
74
  serialized_name: 'location',
70
75
  type: {
@@ -72,11 +77,13 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
72
77
  }
73
78
  },
74
79
  tags: {
80
+ client_side_validation: true,
75
81
  required: false,
76
82
  serialized_name: 'tags',
77
83
  type: {
78
84
  name: 'Dictionary',
79
85
  value: {
86
+ client_side_validation: true,
80
87
  required: false,
81
88
  serialized_name: 'StringElementType',
82
89
  type: {
@@ -23,6 +23,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'SasTokenInfo',
28
29
  type: {
@@ -30,6 +31,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
30
31
  class_name: 'SasTokenInfo',
31
32
  model_properties: {
32
33
  access_token: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  read_only: true,
35
37
  serialized_name: 'accessToken',
@@ -26,6 +26,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
26
26
  #
27
27
  def self.mapper()
28
28
  {
29
+ client_side_validation: true,
29
30
  required: false,
30
31
  serialized_name: 'StorageAccountInfo',
31
32
  type: {
@@ -33,6 +34,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
33
34
  class_name: 'StorageAccountInfo',
34
35
  model_properties: {
35
36
  id: {
37
+ client_side_validation: true,
36
38
  required: false,
37
39
  read_only: true,
38
40
  serialized_name: 'id',
@@ -41,6 +43,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
41
43
  }
42
44
  },
43
45
  name: {
46
+ client_side_validation: true,
44
47
  required: true,
45
48
  serialized_name: 'name',
46
49
  type: {
@@ -48,6 +51,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
48
51
  }
49
52
  },
50
53
  type: {
54
+ client_side_validation: true,
51
55
  required: false,
52
56
  read_only: true,
53
57
  serialized_name: 'type',
@@ -56,6 +60,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
56
60
  }
57
61
  },
58
62
  access_key: {
63
+ client_side_validation: true,
59
64
  required: true,
60
65
  serialized_name: 'properties.accessKey',
61
66
  type: {
@@ -63,6 +68,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
63
68
  }
64
69
  },
65
70
  suffix: {
71
+ client_side_validation: true,
66
72
  required: false,
67
73
  serialized_name: 'properties.suffix',
68
74
  type: {
@@ -31,6 +31,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
31
31
  #
32
32
  def self.mapper()
33
33
  {
34
+ client_side_validation: true,
34
35
  required: false,
35
36
  serialized_name: 'StorageContainer',
36
37
  type: {
@@ -38,6 +39,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
38
39
  class_name: 'StorageContainer',
39
40
  model_properties: {
40
41
  id: {
42
+ client_side_validation: true,
41
43
  required: false,
42
44
  read_only: true,
43
45
  serialized_name: 'id',
@@ -46,6 +48,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
46
48
  }
47
49
  },
48
50
  name: {
51
+ client_side_validation: true,
49
52
  required: false,
50
53
  read_only: true,
51
54
  serialized_name: 'name',
@@ -54,6 +57,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
54
57
  }
55
58
  },
56
59
  type: {
60
+ client_side_validation: true,
57
61
  required: false,
58
62
  read_only: true,
59
63
  serialized_name: 'type',
@@ -62,6 +66,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
62
66
  }
63
67
  },
64
68
  last_modified_time: {
69
+ client_side_validation: true,
65
70
  required: false,
66
71
  read_only: true,
67
72
  serialized_name: 'properties.lastModifiedTime',
@@ -28,6 +28,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'SubResource',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
35
36
  class_name: 'SubResource',
36
37
  model_properties: {
37
38
  id: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  read_only: true,
40
42
  serialized_name: 'id',
@@ -43,6 +45,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
43
45
  }
44
46
  },
45
47
  name: {
48
+ client_side_validation: true,
46
49
  required: true,
47
50
  serialized_name: 'name',
48
51
  type: {
@@ -50,6 +53,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
50
53
  }
51
54
  },
52
55
  type: {
56
+ client_side_validation: true,
53
57
  required: false,
54
58
  read_only: true,
55
59
  serialized_name: 'type',
@@ -27,6 +27,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'UpdateFirewallRuleParameters',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
34
35
  class_name: 'UpdateFirewallRuleParameters',
35
36
  model_properties: {
36
37
  start_ip_address: {
38
+ client_side_validation: true,
37
39
  required: false,
38
40
  serialized_name: 'properties.startIpAddress',
39
41
  type: {
@@ -41,6 +43,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
41
43
  }
42
44
  },
43
45
  end_ip_address: {
46
+ client_side_validation: true,
44
47
  required: false,
45
48
  serialized_name: 'properties.endIpAddress',
46
49
  type: {
@@ -27,6 +27,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'UpdateStorageAccountParameters',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
34
35
  class_name: 'UpdateStorageAccountParameters',
35
36
  model_properties: {
36
37
  access_key: {
38
+ client_side_validation: true,
37
39
  required: false,
38
40
  serialized_name: 'properties.accessKey',
39
41
  type: {
@@ -41,6 +43,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
41
43
  }
42
44
  },
43
45
  suffix: {
46
+ client_side_validation: true,
44
47
  required: false,
45
48
  serialized_name: 'properties.suffix',
46
49
  type: {
@@ -881,6 +881,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
881
881
  def list_by_account_async(resource_group_name, account_name, filter = nil, top = nil, skip = nil, select = nil, orderby = nil, count = nil, custom_headers = nil)
882
882
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
883
883
  fail ArgumentError, 'account_name is nil' if account_name.nil?
884
+ fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
885
+ fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '1'" if !skip.nil? && skip < 1
884
886
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
885
887
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
886
888
 
@@ -4,15 +4,13 @@
4
4
 
5
5
  require 'profiles/latest/datalakeanalytics_module_definition'
6
6
  require 'profiles/latest/modules/datalakeanalytics_profile_module'
7
- require 'profiles/common/configurable'
8
- require 'profiles/common/default'
9
7
 
10
8
  module Azure::DataLakeAnalytics::Profiles::Latest::Mgmt
11
9
  #
12
10
  # Client class for the Latest profile SDK.
13
11
  #
14
12
  class Client < DataLakeAnalyticsClass
15
- include Azure::Common::Configurable
13
+ include MsRestAzure::Common::Configurable
16
14
 
17
15
 
18
16
  def initialize(options = {})
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::DataLakeAnalytics::Mgmt
6
- VERSION = '0.15.1'
6
+ VERSION = '0.15.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_datalake_analytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-30 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.9.0
75
+ version: 0.10.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.0
82
+ version: 0.10.0
83
83
  description: Microsoft Azure Resource Provider DataLake Analytics Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com
@@ -115,7 +115,6 @@ files:
115
115
  - lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb
116
116
  - lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/storage_account_properties.rb
117
117
  - lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/module_definition.rb
118
- - lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/version.rb
119
118
  - lib/2016-11-01/generated/azure_mgmt_datalake_analytics.rb
120
119
  - lib/2016-11-01/generated/azure_mgmt_datalake_analytics/account.rb
121
120
  - lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb
@@ -156,11 +155,8 @@ files:
156
155
  - lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb
157
156
  - lib/2016-11-01/generated/azure_mgmt_datalake_analytics/module_definition.rb
158
157
  - lib/2016-11-01/generated/azure_mgmt_datalake_analytics/storage_accounts.rb
159
- - lib/2016-11-01/generated/azure_mgmt_datalake_analytics/version.rb
160
158
  - lib/azure_mgmt_datalake_analytics.rb
161
159
  - lib/module_definition.rb
162
- - lib/profiles/common/configurable.rb
163
- - lib/profiles/common/default.rb
164
160
  - lib/profiles/latest/datalakeanalytics_latest_profile_client.rb
165
161
  - lib/profiles/latest/datalakeanalytics_module_definition.rb
166
162
  - lib/profiles/latest/modules/datalakeanalytics_profile_module.rb
@@ -168,7 +164,12 @@ files:
168
164
  homepage: https://aka.ms/azure-sdk-for-ruby
169
165
  licenses:
170
166
  - MIT
171
- metadata: {}
167
+ metadata:
168
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
169
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
170
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
171
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
172
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_datalake_analytics
172
173
  post_install_message:
173
174
  rdoc_options: []
174
175
  require_paths:
@@ -1,8 +0,0 @@
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
- VERSION = '0.15.1'
8
- end
@@ -1,8 +0,0 @@
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
- VERSION = '0.15.1'
8
- end
@@ -1,86 +0,0 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure::Common
6
- # The Azure::Common::Configurable module provides basic configuration for Azure activities.
7
- module Configurable
8
- # @return [String] Azure tenant id (also known as domain).
9
- attr_accessor :tenant_id
10
-
11
- # @return [String] Azure client id.
12
- attr_accessor :client_id
13
-
14
- # @return [String] Azure secret key.
15
- attr_accessor :client_secret
16
-
17
- # @return [String] Azure subscription id.
18
- attr_accessor :subscription_id
19
-
20
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
- attr_accessor :active_directory_settings
22
-
23
- # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
- attr_accessor :credentials
25
-
26
- class << self
27
- #
28
- # List of configurable keys for {Azure::Common::Client}.
29
- # @return [Array] of option keys.
30
- #
31
- def keys
32
- @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings]
33
- end
34
- end
35
-
36
- #
37
- # Set configuration options using a block.
38
- #
39
- def configure
40
- yield self
41
- end
42
-
43
- #
44
- # Resets the configurable options to provided options or defaults.
45
- # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
- #
47
- def reset!(options = {})
48
- Azure::Common::Configurable.keys.each do |key|
49
- default_value = Azure::Common::Default.options[key]
50
- instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
- end
52
-
53
- fail ArgumentError, 'tenant_id is nil' if self.tenant_id.nil?
54
- fail ArgumentError, 'client_id is nil' if self.client_id.nil?
55
- fail ArgumentError, 'client_secret is nil' if self.client_secret.nil?
56
- fail ArgumentError, 'subscription_id is nil' if self.subscription_id.nil?
57
- fail ArgumentError, 'active_directory_settings is nil' if self.active_directory_settings.nil?
58
-
59
- default_value = MsRest::TokenCredentials.new(
60
- MsRestAzure::ApplicationTokenProvider.new(
61
- self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
62
-
63
- instance_variable_set(:"@credentials", options.fetch(:credentials, default_value))
64
-
65
- self
66
- end
67
-
68
- def config
69
- self
70
- end
71
-
72
- private
73
-
74
- #
75
- # configures configurable options to default values
76
- #
77
- def setup_default_options
78
- opts = {}
79
- Azure::Common::Configurable.keys.map do |key|
80
- opts[key] = Azure::Common::Default.options[key]
81
- end
82
-
83
- opts
84
- end
85
- end
86
- end