class Azure::CDN::Mgmt::V2016_10_02::Models::CustomDomain

Customer provided domain for branding purposes, e.g. www.contoso.com.

Attributes

custom_https_provisioning_state[RW]

@return [CustomHttpsProvisioningState] Provisioning state of Custom Https of the custom domain. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed'

host_name[RW]

@return [String] The host name of the custom domain. Must be a domain name.

provisioning_state[RW]

@return [String] Provisioning status of the custom domain.

resource_state[RW]

@return [CustomDomainResourceState] Resource status of the custom domain. Possible values include: 'Creating', 'Active', 'Deleting'

validation_data[RW]

@return [String] Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb, line 42
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CustomDomain',
    type: {
      name: 'Composite',
      class_name: 'CustomDomain',
      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'
          }
        },
        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'
                }
            }
          }
        },
        host_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.hostName',
          type: {
            name: 'String'
          }
        },
        resource_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.resourceState',
          type: {
            name: 'String'
          }
        },
        custom_https_provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.customHttpsProvisioningState',
          type: {
            name: 'String'
          }
        },
        validation_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.validationData',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end