Class: Azure::CDN::Mgmt::V2016_10_02::Models::CustomDomain

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb

Overview

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

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Instance Attribute Details

#custom_https_provisioning_stateCustomHttpsProvisioningState

Https of the custom domain. Possible values include: ‘Enabling’, ‘Enabled’, ‘Disabling’, ‘Disabled’, ‘Failed’

Returns:



26
27
28
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 26

def custom_https_provisioning_state
  @custom_https_provisioning_state
end

#host_nameString

name.

Returns:

  • (String)

    The host name of the custom domain. Must be a domain



17
18
19
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 17

def host_name
  @host_name
end

#provisioning_stateString

Returns Provisioning status of the custom domain.

Returns:

  • (String)

    Provisioning status of the custom domain.



35
36
37
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 35

def provisioning_state
  @provisioning_state
end

#resource_stateCustomDomainResourceState

domain. Possible values include: ‘Creating’, ‘Active’, ‘Deleting’

Returns:



21
22
23
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 21

def resource_state
  @resource_state
end

#validation_dataString

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.

Returns:

  • (String)

    Special validation or data may be required when



32
33
34
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 32

def validation_data
  @validation_data
end

Class Method Details

.mapperObject

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



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 42

def self.mapper()
  {
    required: false,
    serialized_name: 'CustomDomain',
    type: {
      name: 'Composite',
      class_name: 'CustomDomain',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        },
        host_name: {
          required: true,
          serialized_name: 'properties.hostName',
          type: {
            name: 'String'
          }
        },
        resource_state: {
          required: false,
          read_only: true,
          serialized_name: 'properties.resourceState',
          type: {
            name: 'String'
          }
        },
        custom_https_provisioning_state: {
          required: false,
          read_only: true,
          serialized_name: 'properties.customHttpsProvisioningState',
          type: {
            name: 'String'
          }
        },
        validation_data: {
          required: false,
          serialized_name: 'properties.validationData',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end