class Azure::Subscriptions::Mgmt::V2020_09_01::Models::PutAliasRequestProperties
Put subscription properties.
Attributes
billing_scope[RW]
@return [String] Determines whether subscription is fieldLed, partnerLed or LegacyEA
display_name[RW]
@return [String] The friendly name of the subscription.
subscription_id[RW]
@return [String] This parameter can be used to create alias for existing subscription Id
workload[RW]
@return [Workload] The workload type of the subscription. It can be either Production or DevTest. Possible values include: 'Production', 'DevTest'
Private Class Methods
mapper()
click to toggle source
Mapper for PutAliasRequestProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-09-01/generated/azure_mgmt_subscriptions/models/put_alias_request_properties.rb, line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PutAliasRequestProperties', type: { name: 'Composite', class_name: 'PutAliasRequestProperties', model_properties: { display_name: { client_side_validation: true, required: true, serialized_name: 'displayName', type: { name: 'String' } }, workload: { client_side_validation: true, required: true, serialized_name: 'workload', type: { name: 'String' } }, billing_scope: { client_side_validation: true, required: true, serialized_name: 'billingScope', type: { name: 'String' } }, subscription_id: { client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { name: 'String' } } } } } end