class Azure::Subscriptions::Mgmt::V2017_11_01_preview::Models::SubscriptionDefinition

The subscription definition used to create the subscription.

Attributes

etag[RW]

@return [String] The etag the subscription definition.

id[RW]

@return [String] The resource ID.

name[RW]

@return [String] The name of the resource.

offer_type[RW]

@return [String] The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available.

subscription_display_name[RW]

@return [String] The display name of the subscription.

subscription_id[RW]

@return [String] The ID of the subscription.

type[RW]

@return [String] The type of the resource.

Private Class Methods

mapper() click to toggle source

Mapper for SubscriptionDefinition class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-11-01-preview/generated/azure_mgmt_subscriptions/models/subscription_definition.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SubscriptionDefinition',
    type: {
      name: 'Composite',
      class_name: 'SubscriptionDefinition',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        subscription_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.subscriptionId',
          type: {
            name: 'String'
          }
        },
        subscription_display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subscriptionDisplayName',
          type: {
            name: 'String'
          }
        },
        offer_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.offerType',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end