Sha256: 0cf1aa74dc1058ee64d6a32185f289f3841863851df2ab4b8a8c0baf84c16580

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::CDN::Mgmt::V2015_06_01
  module Models
    #
    # Profile properties required for profile creation.
    #
    class ProfileCreateParameters

      include MsRestAzure

      # @return [String] Profile location
      attr_accessor :location

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

      # @return [Sku] Profile SKU
      attr_accessor :sku


      #
      # Mapper for ProfileCreateParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ProfileCreateParameters',
          type: {
            name: 'Composite',
            class_name: 'ProfileCreateParameters',
            model_properties: {
              location: {
                required: true,
                serialized_name: 'location',
                type: {
                  name: 'String'
                }
              },
              tags: {
                required: false,
                serialized_name: 'tags',
                type: {
                  name: 'Dictionary',
                  value: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              sku: {
                required: true,
                serialized_name: 'properties.sku',
                type: {
                  name: 'Composite',
                  class_name: 'Sku'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.15.1 lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb
azure_mgmt_cdn-0.15.0 lib/2015-06-01/generated/azure_mgmt_cdn/models/profile_create_parameters.rb