azure_mgmt_subscriptions 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-06-01/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
  3. data/lib/2017-11-01-preview/generated/azure_mgmt_subscriptions/subscription_definitions_client.rb +1 -1
  4. data/lib/2018-03-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
  5. data/lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
  6. data/lib/2019-03-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
  7. data/lib/2019-06-01/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
  8. data/lib/2019-11-01/generated/azure_mgmt_subscriptions.rb +48 -0
  9. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location.rb +109 -0
  10. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location_list_result.rb +55 -0
  11. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location_metadata.rb +129 -0
  12. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/managed_by_tenant.rb +47 -0
  13. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation.rb +58 -0
  14. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation_display.rb +80 -0
  15. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/operation_list_result.rb +100 -0
  16. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/paired_region.rb +72 -0
  17. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/region_category.rb +16 -0
  18. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/region_type.rb +16 -0
  19. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/spending_limit.rb +17 -0
  20. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription.rb +164 -0
  21. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_list_result.rb +98 -0
  22. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_policies.rb +76 -0
  23. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_state.rb +19 -0
  24. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_category.rb +17 -0
  25. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb +131 -0
  26. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_list_result.rb +98 -0
  27. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/module_definition.rb +9 -0
  28. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/operations.rb +222 -0
  29. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/subscription_client.rb +136 -0
  30. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/subscriptions.rb +409 -0
  31. data/lib/2019-11-01/generated/azure_mgmt_subscriptions/tenants.rb +222 -0
  32. data/lib/azure_mgmt_subscriptions.rb +1 -0
  33. data/lib/profiles/latest/modules/subscriptions_profile_module.rb +62 -34
  34. data/lib/version.rb +1 -1
  35. metadata +26 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fac6395b0efbcf07f11d9e30f7b3a631343c2619ad61587c6de46e7fec4fc23e
4
- data.tar.gz: b0535c8215b00c6de88829cf52e25c41d9599df8c3aaae2353a1c186be9a7670
3
+ metadata.gz: d91f97deb318c7564d0be5c1bf56d54c7883fe9345cbcad4a683781ceff06994
4
+ data.tar.gz: e3119189414ba04c5b4c284bffcf0516fda475e805b32cadb0aea728ac0d044c
5
5
  SHA512:
6
- metadata.gz: 35fac80b82e03956ecb86065f63228749652bede4ccba6037deec840745534dbcba3e5f93f4fb4f74645420b324c26e7a1207d5f9f64572577420bd916706490
7
- data.tar.gz: 8943370e0e1816f149aa1cdb4cd7afabdc0f0352fba3276bb6f244293d031625a31cf83672ee6ef926a8efa1fde4a46ee57d3ea769f24d5be9afd9ca6e7875df
6
+ metadata.gz: 682160f5e1f5a646b4407574de6733e82af9b2fe1b1300d726775a5ff7d393e6936cffe724a43649a19b2caff1e8a7bb343dbb4f830415e8ed91541667815a03
7
+ data.tar.gz: 7c81d5c9d001924a09223bdac736e73899df7ec2a91fbf262508262bfd7ab1406bb7a8938ebba7d09e5ff6980f774b51ebca022a08f5a0923035ae838e49eb86
@@ -129,7 +129,7 @@ module Azure::Subscriptions::Mgmt::V2016_06_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_subscriptions'
132
- sdk_information = "#{sdk_information}/0.18.1"
132
+ sdk_information = "#{sdk_information}/0.18.2"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -127,7 +127,7 @@ module Azure::Subscriptions::Mgmt::V2017_11_01_preview
127
127
  #
128
128
  def add_telemetry
129
129
  sdk_information = 'azure_mgmt_subscriptions'
130
- sdk_information = "#{sdk_information}/0.18.1"
130
+ sdk_information = "#{sdk_information}/0.18.2"
131
131
  add_user_agent_information(sdk_information)
132
132
  end
133
133
  end
@@ -126,7 +126,7 @@ module Azure::Subscriptions::Mgmt::V2018_03_01_preview
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_subscriptions'
129
- sdk_information = "#{sdk_information}/0.18.1"
129
+ sdk_information = "#{sdk_information}/0.18.2"
130
130
  add_user_agent_information(sdk_information)
131
131
  end
132
132
  end
@@ -127,7 +127,7 @@ module Azure::Subscriptions::Mgmt::V2018_11_01_preview
127
127
  #
128
128
  def add_telemetry
129
129
  sdk_information = 'azure_mgmt_subscriptions'
130
- sdk_information = "#{sdk_information}/0.18.1"
130
+ sdk_information = "#{sdk_information}/0.18.2"
131
131
  add_user_agent_information(sdk_information)
132
132
  end
133
133
  end
@@ -122,7 +122,7 @@ module Azure::Subscriptions::Mgmt::V2019_03_01_preview
122
122
  #
123
123
  def add_telemetry
124
124
  sdk_information = 'azure_mgmt_subscriptions'
125
- sdk_information = "#{sdk_information}/0.18.1"
125
+ sdk_information = "#{sdk_information}/0.18.2"
126
126
  add_user_agent_information(sdk_information)
127
127
  end
128
128
  end
@@ -129,7 +129,7 @@ module Azure::Subscriptions::Mgmt::V2019_06_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_subscriptions'
132
- sdk_information = "#{sdk_information}/0.18.1"
132
+ sdk_information = "#{sdk_information}/0.18.2"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -0,0 +1,48 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2019-11-01/generated/azure_mgmt_subscriptions/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Subscriptions::Mgmt::V2019_11_01
23
+ autoload :Operations, '2019-11-01/generated/azure_mgmt_subscriptions/operations.rb'
24
+ autoload :Subscriptions, '2019-11-01/generated/azure_mgmt_subscriptions/subscriptions.rb'
25
+ autoload :Tenants, '2019-11-01/generated/azure_mgmt_subscriptions/tenants.rb'
26
+ autoload :SubscriptionClient, '2019-11-01/generated/azure_mgmt_subscriptions/subscription_client.rb'
27
+
28
+ module Models
29
+ autoload :Subscription, '2019-11-01/generated/azure_mgmt_subscriptions/models/subscription.rb'
30
+ autoload :SubscriptionListResult, '2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_list_result.rb'
31
+ autoload :LocationMetadata, '2019-11-01/generated/azure_mgmt_subscriptions/models/location_metadata.rb'
32
+ autoload :TenantIdDescription, '2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb'
33
+ autoload :LocationListResult, '2019-11-01/generated/azure_mgmt_subscriptions/models/location_list_result.rb'
34
+ autoload :TenantListResult, '2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_list_result.rb'
35
+ autoload :ManagedByTenant, '2019-11-01/generated/azure_mgmt_subscriptions/models/managed_by_tenant.rb'
36
+ autoload :OperationDisplay, '2019-11-01/generated/azure_mgmt_subscriptions/models/operation_display.rb'
37
+ autoload :Location, '2019-11-01/generated/azure_mgmt_subscriptions/models/location.rb'
38
+ autoload :Operation, '2019-11-01/generated/azure_mgmt_subscriptions/models/operation.rb'
39
+ autoload :PairedRegion, '2019-11-01/generated/azure_mgmt_subscriptions/models/paired_region.rb'
40
+ autoload :OperationListResult, '2019-11-01/generated/azure_mgmt_subscriptions/models/operation_list_result.rb'
41
+ autoload :SubscriptionPolicies, '2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_policies.rb'
42
+ autoload :RegionType, '2019-11-01/generated/azure_mgmt_subscriptions/models/region_type.rb'
43
+ autoload :RegionCategory, '2019-11-01/generated/azure_mgmt_subscriptions/models/region_category.rb'
44
+ autoload :SubscriptionState, '2019-11-01/generated/azure_mgmt_subscriptions/models/subscription_state.rb'
45
+ autoload :SpendingLimit, '2019-11-01/generated/azure_mgmt_subscriptions/models/spending_limit.rb'
46
+ autoload :TenantCategory, '2019-11-01/generated/azure_mgmt_subscriptions/models/tenant_category.rb'
47
+ end
48
+ end
@@ -0,0 +1,109 @@
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::Subscriptions::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # Location information.
10
+ #
11
+ class Location
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The fully qualified ID of the location. For example,
16
+ # /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
17
+ attr_accessor :id
18
+
19
+ # @return [String] The subscription ID.
20
+ attr_accessor :subscription_id
21
+
22
+ # @return [String] The location name.
23
+ attr_accessor :name
24
+
25
+ # @return [String] The display name of the location.
26
+ attr_accessor :display_name
27
+
28
+ # @return [String] The display name of the location and its region.
29
+ attr_accessor :regional_display_name
30
+
31
+ # @return [LocationMetadata] Metadata of the location, such as lat/long,
32
+ # paired region, and others.
33
+ attr_accessor :metadata
34
+
35
+
36
+ #
37
+ # Mapper for Location class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'Location',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'Location',
48
+ model_properties: {
49
+ id: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'id',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ subscription_id: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'subscriptionId',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ name: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'name',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ display_name: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'displayName',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ regional_display_name: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'regionalDisplayName',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ metadata: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'metadata',
98
+ type: {
99
+ name: 'Composite',
100
+ class_name: 'LocationMetadata'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ end
107
+ end
108
+ end
109
+ end
@@ -0,0 +1,55 @@
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::Subscriptions::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # Location list operation response.
10
+ #
11
+ class LocationListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Location>] An array of locations.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for LocationListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'LocationListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'LocationListResult',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'LocationElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Location'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,129 @@
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::Subscriptions::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # Location metadata information
10
+ #
11
+ class LocationMetadata
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [RegionType] The type of the region. Possible values include:
16
+ # 'Physical', 'Logical'
17
+ attr_accessor :region_type
18
+
19
+ # @return [RegionCategory] The category of the region. Possible values
20
+ # include: 'Recommended', 'Other'
21
+ attr_accessor :region_category
22
+
23
+ # @return [String] The geography group of the location.
24
+ attr_accessor :geography_group
25
+
26
+ # @return [String] The longitude of the location.
27
+ attr_accessor :longitude
28
+
29
+ # @return [String] The latitude of the location.
30
+ attr_accessor :latitude
31
+
32
+ # @return [String] The physical location of the Azure location.
33
+ attr_accessor :physical_location
34
+
35
+ # @return [Array<PairedRegion>] The regions paired to this region.
36
+ attr_accessor :paired_region
37
+
38
+
39
+ #
40
+ # Mapper for LocationMetadata class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'LocationMetadata',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'LocationMetadata',
51
+ model_properties: {
52
+ region_type: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'regionType',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ region_category: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'regionCategory',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ geography_group: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'geographyGroup',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ longitude: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ read_only: true,
83
+ serialized_name: 'longitude',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ latitude: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ read_only: true,
92
+ serialized_name: 'latitude',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ physical_location: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'physicalLocation',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ paired_region: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'pairedRegion',
110
+ type: {
111
+ name: 'Sequence',
112
+ element: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'PairedRegionElementType',
116
+ type: {
117
+ name: 'Composite',
118
+ class_name: 'PairedRegion'
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ end
127
+ end
128
+ end
129
+ end
@@ -0,0 +1,47 @@
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::Subscriptions::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # Information about a tenant managing the subscription.
10
+ #
11
+ class ManagedByTenant
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The tenant ID of the managing tenant. This is a GUID.
16
+ attr_accessor :tenant_id
17
+
18
+
19
+ #
20
+ # Mapper for ManagedByTenant class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ManagedByTenant',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ManagedByTenant',
31
+ model_properties: {
32
+ tenant_id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'tenantId',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end