class Azure::Subscriptions::Mgmt::V2018_11_01_preview::Models::ModernSubscriptionCreationParameters
The parameters required to create a new subscription.
Attributes
@return Additional, untyped parameters to support custom subscription creation scenarios.
@return [String] The ARM ID of the billing profile for which you want to create the subscription.
@return [String] If set, the cost center will show up on the Azure usage and charges file.
@return [String] The friendly name of the subscription.
@return [String] The identifier of the management group to which this subscription will be associated.
@return [AdPrincipal] If specified, the AD principal will get owner access to the subscription, along with the user who is performing the create subscription operation
Private Class Methods
Mapper for ModernSubscriptionCreationParameters class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-11-01-preview/generated/azure_mgmt_subscriptions/models/modern_subscription_creation_parameters.rb, line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ModernSubscriptionCreationParameters', type: { name: 'Composite', class_name: 'ModernSubscriptionCreationParameters', model_properties: { display_name: { client_side_validation: true, required: true, serialized_name: 'displayName', type: { name: 'String' } }, billing_profile_id: { client_side_validation: true, required: true, serialized_name: 'billingProfileId', type: { name: 'String' } }, sku_id: { client_side_validation: true, required: true, serialized_name: 'skuId', type: { name: 'String' } }, cost_center: { client_side_validation: true, required: false, serialized_name: 'costCenter', type: { name: 'String' } }, owner: { client_side_validation: true, required: false, serialized_name: 'owner', type: { name: 'Composite', class_name: 'AdPrincipal' } }, management_group_id: { client_side_validation: true, required: false, serialized_name: 'managementGroupId', 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