azure_mgmt_subscriptions 0.18.2 → 0.18.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.
- 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/subscription_client.rb +1 -1
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions.rb +44 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/ad_principal.rb +47 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/canceled_subscription_id.rb +47 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/enabled_subscription_id.rb +47 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/error_response.rb +57 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/modern_csp_subscription_creation_parameters.rb +70 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/modern_subscription_creation_parameters.rb +117 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/offer_type.rb +16 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/operation.rb +58 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/operation_display.rb +69 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/operation_list_result.rb +68 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/renamed_subscription_id.rb +47 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/subscription_creation_parameters.rb +115 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/subscription_creation_result.rb +47 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/subscription_name.rb +46 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/module_definition.rb +9 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/operations.rb +110 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/subscription.rb +788 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb +137 -0
- data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/subscription_operation.rb +118 -0
- data/lib/2019-11-01/generated/azure_mgmt_subscriptions/subscription_client.rb +1 -1
- data/lib/azure_mgmt_subscriptions.rb +1 -0
- data/lib/version.rb +1 -1
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d204227166928ebad8444f1f519ba90c768c47daeb3aa6eefde773ef0ab3cc64
|
4
|
+
data.tar.gz: 0be3722fa8a1095f943944b6b76e7c14a45ff4f0381077ce2fb48a1607b3dfcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2226aa231141d05f5e8b0e010859f21cae0837fe1726818f750ff19c8ef79a8903fe50ea572072c2d71d22215994cb1e2ffe44275fbb454335cfcdbd401c3ef
|
7
|
+
data.tar.gz: 3f4de1ab7e9f8091a31cc5ecbc95388c5a8868ff3d865bf34f7713919580a5672396d1c8f1598923dcfcc3a80e45402f75c89dfe4e31e9cf11ed590dd89fce5d
|
@@ -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.3"
|
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.3"
|
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.3"
|
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.3"
|
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.3"
|
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.
|
132
|
+
sdk_information = "#{sdk_information}/0.18.3"
|
133
133
|
add_user_agent_information(sdk_information)
|
134
134
|
end
|
135
135
|
end
|
@@ -0,0 +1,44 @@
|
|
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-10-01-preview/generated/azure_mgmt_subscriptions/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Subscriptions::Mgmt::V2019_10_01_preview
|
23
|
+
autoload :Subscription, '2019-10-01-preview/generated/azure_mgmt_subscriptions/subscription.rb'
|
24
|
+
autoload :SubscriptionOperation, '2019-10-01-preview/generated/azure_mgmt_subscriptions/subscription_operation.rb'
|
25
|
+
autoload :Operations, '2019-10-01-preview/generated/azure_mgmt_subscriptions/operations.rb'
|
26
|
+
autoload :SubscriptionClient, '2019-10-01-preview/generated/azure_mgmt_subscriptions/subscription_client.rb'
|
27
|
+
|
28
|
+
module Models
|
29
|
+
autoload :Operation, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/operation.rb'
|
30
|
+
autoload :OperationListResult, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/operation_list_result.rb'
|
31
|
+
autoload :CanceledSubscriptionId, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/canceled_subscription_id.rb'
|
32
|
+
autoload :AdPrincipal, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/ad_principal.rb'
|
33
|
+
autoload :EnabledSubscriptionId, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/enabled_subscription_id.rb'
|
34
|
+
autoload :SubscriptionCreationResult, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/subscription_creation_result.rb'
|
35
|
+
autoload :OperationDisplay, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/operation_display.rb'
|
36
|
+
autoload :SubscriptionCreationParameters, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/subscription_creation_parameters.rb'
|
37
|
+
autoload :RenamedSubscriptionId, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/renamed_subscription_id.rb'
|
38
|
+
autoload :ModernSubscriptionCreationParameters, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/modern_subscription_creation_parameters.rb'
|
39
|
+
autoload :ErrorResponse, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/error_response.rb'
|
40
|
+
autoload :ModernCspSubscriptionCreationParameters, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/modern_csp_subscription_creation_parameters.rb'
|
41
|
+
autoload :SubscriptionName, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/subscription_name.rb'
|
42
|
+
autoload :OfferType, '2019-10-01-preview/generated/azure_mgmt_subscriptions/models/offer_type.rb'
|
43
|
+
end
|
44
|
+
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_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Active Directory Principal who’ll get owner access on the new
|
10
|
+
# subscription.
|
11
|
+
#
|
12
|
+
class AdPrincipal
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Object id of the Principal
|
17
|
+
attr_accessor :object_id
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for AdPrincipal class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'AdPrincipal',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'AdPrincipal',
|
32
|
+
model_properties: {
|
33
|
+
object_id: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'objectId',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/canceled_subscription_id.rb
ADDED
@@ -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_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The ID of the canceled subscription
|
10
|
+
#
|
11
|
+
class CanceledSubscriptionId
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the canceled subscription
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for CanceledSubscriptionId 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: 'CanceledSubscriptionId',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'CanceledSubscriptionId',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
data/lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/enabled_subscription_id.rb
ADDED
@@ -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_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The ID of the subscriptions that is being enabled
|
10
|
+
#
|
11
|
+
class EnabledSubscriptionId
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the subscriptions that is being enabled
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for EnabledSubscriptionId 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: 'EnabledSubscriptionId',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'EnabledSubscriptionId',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes the format of Error response.
|
10
|
+
#
|
11
|
+
class ErrorResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Error code
|
16
|
+
attr_accessor :code
|
17
|
+
|
18
|
+
# @return [String] Error message indicating why the operation failed.
|
19
|
+
attr_accessor :message
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ErrorResponse 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: 'ErrorResponse',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ErrorResponse',
|
34
|
+
model_properties: {
|
35
|
+
code: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'code',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
message: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'message',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,70 @@
|
|
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_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters required to create a new CSP subscription.
|
10
|
+
#
|
11
|
+
class ModernCspSubscriptionCreationParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The friendly name of the subscription.
|
16
|
+
attr_accessor :display_name
|
17
|
+
|
18
|
+
# @return [String] The SKU ID of the Azure plan. Azure plan determines
|
19
|
+
# the pricing and service-level agreement of the subscription. Use 001
|
20
|
+
# for Microsoft Azure Plan and 002 for Microsoft Azure Plan for DevTest.
|
21
|
+
attr_accessor :sku_id
|
22
|
+
|
23
|
+
# @return [String] Reseller ID, basically MPN Id.
|
24
|
+
attr_accessor :reseller_id
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for ModernCspSubscriptionCreationParameters class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'ModernCspSubscriptionCreationParameters',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'ModernCspSubscriptionCreationParameters',
|
39
|
+
model_properties: {
|
40
|
+
display_name: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'displayName',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
sku_id: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: true,
|
51
|
+
serialized_name: 'skuId',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
reseller_id: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'resellerId',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,117 @@
|
|
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_10_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The parameters required to create a new subscription.
|
10
|
+
#
|
11
|
+
class ModernSubscriptionCreationParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The friendly name of the subscription.
|
16
|
+
attr_accessor :display_name
|
17
|
+
|
18
|
+
# @return [String] The SKU ID of the Azure plan. Azure plan determines
|
19
|
+
# the pricing and service-level agreement of the subscription. Use 001
|
20
|
+
# for Microsoft Azure Plan and 002 for Microsoft Azure Plan for DevTest.
|
21
|
+
attr_accessor :sku_id
|
22
|
+
|
23
|
+
# @return [String] If set, the cost center will show up on the Azure
|
24
|
+
# usage and charges file.
|
25
|
+
attr_accessor :cost_center
|
26
|
+
|
27
|
+
# @return [AdPrincipal] If specified, the AD principal will get owner
|
28
|
+
# access to the subscription, along with the user who is performing the
|
29
|
+
# create subscription operation
|
30
|
+
attr_accessor :owner
|
31
|
+
|
32
|
+
# @return [String] The identifier of the management group to which this
|
33
|
+
# subscription will be associated.
|
34
|
+
attr_accessor :management_group_id
|
35
|
+
|
36
|
+
# @return Additional, untyped parameters to support custom subscription
|
37
|
+
# creation scenarios.
|
38
|
+
attr_accessor :additional_parameters
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for ModernSubscriptionCreationParameters class as Ruby Hash.
|
43
|
+
# This will be used for serialization/deserialization.
|
44
|
+
#
|
45
|
+
def self.mapper()
|
46
|
+
{
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'ModernSubscriptionCreationParameters',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'ModernSubscriptionCreationParameters',
|
53
|
+
model_properties: {
|
54
|
+
display_name: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'displayName',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
sku_id: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: true,
|
65
|
+
serialized_name: 'skuId',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
cost_center: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'costCenter',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
owner: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'owner',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'AdPrincipal'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
management_group_id: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'managementGroupId',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
additional_parameters: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'additionalParameters',
|
99
|
+
type: {
|
100
|
+
name: 'Dictionary',
|
101
|
+
value: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'ObjectElementType',
|
105
|
+
type: {
|
106
|
+
name: 'Object'
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|