class Azure::Subscriptions::Mgmt::V2019_10_01_preview::Models::SubscriptionCreationParameters
Subscription
Creation Parameters required to create a new Azure
subscription.
Attributes
@return Additional, untyped parameters to support custom subscription creation scenarios.
@return [String] The display name of the subscription.
@return [String] The Management Group Id.
@return [OfferType] The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available. Only valid when creating a subscription in a enrollment account scope. Possible values include: 'MS-AZR-0017P', 'MS-AZR-0148P'
@return [Array<AdPrincipal>] The list of principals that should be granted Owner access on the subscription. Principals should be of type User, Service Principal or Security Group.
Public Class Methods
Mapper for SubscriptionCreationParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-10-01-preview/generated/azure_mgmt_subscriptions/models/subscription_creation_parameters.rb, line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SubscriptionCreationParameters', type: { name: 'Composite', class_name: 'SubscriptionCreationParameters', model_properties: { display_name: { client_side_validation: true, required: false, serialized_name: 'displayName', type: { name: 'String' } }, management_group_id: { client_side_validation: true, required: false, serialized_name: 'managementGroupId', type: { name: 'String' } }, owners: { client_side_validation: true, required: false, serialized_name: 'owners', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AdPrincipalElementType', type: { name: 'Composite', class_name: 'AdPrincipal' } } } }, offer_type: { client_side_validation: true, required: false, serialized_name: 'offerType', type: { name: 'String' } }, additional_parameters: { client_side_validation: true, required: false, serialized_name: 'additionalParameters', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } } } } } end