Class: Azure::CDN::Mgmt::V2017_04_02::Models::CustomDomain

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

Overview

Friendly domain name mapping to the endpoint hostname that the customer provides 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:



27
28
29
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 27

def custom_https_provisioning_state
  @custom_https_provisioning_state
end

#custom_https_provisioning_substateCustomHttpsProvisioningSubstate

the progress of custom HTTPS enabling/disabling process step by step. Possible values include: ‘SubmittingDomainControlValidationRequest’, ‘PendingDomainControlValidationREquestApproval’, ‘DomainControlValidationRequestApproved’, ‘DomainControlValidationRequestRejected’, ‘DomainControlValidationRequestTimedOut’, ‘IssuingCertificate’, ‘DeployingCertificate’, ‘CertificateDeployed’, ‘DeletingCertificate’, ‘CertificateDeleted’

Returns:



38
39
40
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 38

def custom_https_provisioning_substate
  @custom_https_provisioning_substate
end

#host_nameString

name.

Returns:

  • (String)

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



18
19
20
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 18

def host_name
  @host_name
end

#provisioning_stateString

Returns Provisioning status of the custom domain.

Returns:

  • (String)

    Provisioning status of the custom domain.



47
48
49
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 47

def provisioning_state
  @provisioning_state
end

#resource_stateCustomDomainResourceState

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

Returns:



22
23
24
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 22

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



44
45
46
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 44

def validation_data
  @validation_data
end

Class Method Details

.mapperObject

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



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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# File 'lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb', line 54

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'
          }
        },
        custom_https_provisioning_substate: {
          required: false,
          read_only: true,
          serialized_name: 'properties.customHttpsProvisioningSubstate',
          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