class Azure::CDN::Mgmt::V2016_04_02::Models::ProfileCreateParameters

Profile properties required for profile creation.

Attributes

location[RW]

@return [String] Profile location

sku[RW]

@return [Sku] The SKU (pricing tier) of the CDN profile.

tags[RW]

@return [Hash{String => String}] Profile tags

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_create_parameters.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProfileCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'ProfileCreateParameters',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        }
      }
    }
  }
end