azure_mgmt_subscriptions 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-06-01/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2017-11-01-preview/generated/azure_mgmt_subscriptions/subscription_definitions_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2019-03-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions.rb +43 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/location.rb +108 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/location_list_result.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/managed_by_tenant.rb +47 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/operation.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/operation_display.rb +80 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/operation_list_result.rb +100 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/spending_limit.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/subscription.rb +145 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/subscription_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/subscription_policies.rb +76 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/subscription_state.rb +19 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb +61 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/models/tenant_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/operations.rb +222 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/subscription_client.rb +136 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/subscriptions.rb +409 -0
- data/lib/2019-06-01/generated/azure_mgmt_subscriptions/tenants.rb +222 -0
- data/lib/azure_mgmt_subscriptions.rb +1 -0
- data/lib/profiles/latest/modules/subscriptions_profile_module.rb +68 -56
- data/lib/version.rb +1 -1
- metadata +21 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fac6395b0efbcf07f11d9e30f7b3a631343c2619ad61587c6de46e7fec4fc23e
|
4
|
+
data.tar.gz: b0535c8215b00c6de88829cf52e25c41d9599df8c3aaae2353a1c186be9a7670
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35fac80b82e03956ecb86065f63228749652bede4ccba6037deec840745534dbcba3e5f93f4fb4f74645420b324c26e7a1207d5f9f64572577420bd916706490
|
7
|
+
data.tar.gz: 8943370e0e1816f149aa1cdb4cd7afabdc0f0352fba3276bb6f244293d031625a31cf83672ee6ef926a8efa1fde4a46ee57d3ea769f24d5be9afd9ca6e7875df
|
@@ -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.
|
132
|
+
sdk_information = "#{sdk_information}/0.18.1"
|
133
133
|
add_user_agent_information(sdk_information)
|
134
134
|
end
|
135
135
|
end
|
data/lib/2017-11-01-preview/generated/azure_mgmt_subscriptions/subscription_definitions_client.rb
CHANGED
@@ -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.
|
130
|
+
sdk_information = "#{sdk_information}/0.18.1"
|
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.
|
129
|
+
sdk_information = "#{sdk_information}/0.18.1"
|
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.
|
130
|
+
sdk_information = "#{sdk_information}/0.18.1"
|
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.
|
125
|
+
sdk_information = "#{sdk_information}/0.18.1"
|
126
126
|
add_user_agent_information(sdk_information)
|
127
127
|
end
|
128
128
|
end
|
@@ -0,0 +1,43 @@
|
|
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-06-01/generated/azure_mgmt_subscriptions/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Subscriptions::Mgmt::V2019_06_01
|
23
|
+
autoload :Operations, '2019-06-01/generated/azure_mgmt_subscriptions/operations.rb'
|
24
|
+
autoload :Subscriptions, '2019-06-01/generated/azure_mgmt_subscriptions/subscriptions.rb'
|
25
|
+
autoload :Tenants, '2019-06-01/generated/azure_mgmt_subscriptions/tenants.rb'
|
26
|
+
autoload :SubscriptionClient, '2019-06-01/generated/azure_mgmt_subscriptions/subscription_client.rb'
|
27
|
+
|
28
|
+
module Models
|
29
|
+
autoload :SubscriptionListResult, '2019-06-01/generated/azure_mgmt_subscriptions/models/subscription_list_result.rb'
|
30
|
+
autoload :TenantIdDescription, '2019-06-01/generated/azure_mgmt_subscriptions/models/tenant_id_description.rb'
|
31
|
+
autoload :LocationListResult, '2019-06-01/generated/azure_mgmt_subscriptions/models/location_list_result.rb'
|
32
|
+
autoload :TenantListResult, '2019-06-01/generated/azure_mgmt_subscriptions/models/tenant_list_result.rb'
|
33
|
+
autoload :ManagedByTenant, '2019-06-01/generated/azure_mgmt_subscriptions/models/managed_by_tenant.rb'
|
34
|
+
autoload :OperationDisplay, '2019-06-01/generated/azure_mgmt_subscriptions/models/operation_display.rb'
|
35
|
+
autoload :Location, '2019-06-01/generated/azure_mgmt_subscriptions/models/location.rb'
|
36
|
+
autoload :Operation, '2019-06-01/generated/azure_mgmt_subscriptions/models/operation.rb'
|
37
|
+
autoload :Subscription, '2019-06-01/generated/azure_mgmt_subscriptions/models/subscription.rb'
|
38
|
+
autoload :OperationListResult, '2019-06-01/generated/azure_mgmt_subscriptions/models/operation_list_result.rb'
|
39
|
+
autoload :SubscriptionPolicies, '2019-06-01/generated/azure_mgmt_subscriptions/models/subscription_policies.rb'
|
40
|
+
autoload :SubscriptionState, '2019-06-01/generated/azure_mgmt_subscriptions/models/subscription_state.rb'
|
41
|
+
autoload :SpendingLimit, '2019-06-01/generated/azure_mgmt_subscriptions/models/spending_limit.rb'
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,108 @@
|
|
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_06_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 latitude of the location.
|
29
|
+
attr_accessor :latitude
|
30
|
+
|
31
|
+
# @return [String] The longitude of the location.
|
32
|
+
attr_accessor :longitude
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for Location class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'Location',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'Location',
|
47
|
+
model_properties: {
|
48
|
+
id: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'id',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
subscription_id: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'subscriptionId',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
name: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'name',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
display_name: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'displayName',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
latitude: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'latitude',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
longitude: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'longitude',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
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_06_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,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_06_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
|
@@ -0,0 +1,58 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Microsoft.Resources operation
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationDisplay] The object that represents the operation.
|
19
|
+
attr_accessor :display
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for Operation 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: 'Operation',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'Operation',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
display: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'display',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'OperationDisplay'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,80 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The object that represents the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Service provider: Microsoft.Resources
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Resource on which the operation is performed: Profile,
|
19
|
+
# endpoint, etc.
|
20
|
+
attr_accessor :resource
|
21
|
+
|
22
|
+
# @return [String] Operation type: Read, write, delete, etc.
|
23
|
+
attr_accessor :operation
|
24
|
+
|
25
|
+
# @return [String] Description of the operation.
|
26
|
+
attr_accessor :description
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'Operation_display',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'OperationDisplay',
|
41
|
+
model_properties: {
|
42
|
+
provider: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'provider',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
resource: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'resource',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
operation: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'operation',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
description: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'description',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|