class Azure::ContainerService::Mgmt::V2019_04_30::Models::PurchasePlan

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

Attributes

name[RW]

@return [String] The plan ID.

product[RW]

@return [String] Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

promotion_code[RW]

@return [String] The promotion code.

publisher[RW]

@return [String] The plan ID.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-04-30/generated/azure_mgmt_container_service/models/purchase_plan.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PurchasePlan',
    type: {
      name: 'Composite',
      class_name: 'PurchasePlan',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        product: {
          client_side_validation: true,
          required: false,
          serialized_name: 'product',
          type: {
            name: 'String'
          }
        },
        promotion_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'promotionCode',
          type: {
            name: 'String'
          }
        },
        publisher: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publisher',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end