Class: Azure::CDN::Mgmt::V2016_10_02::Models::CustomDomain
- 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
-
#custom_https_provisioning_state ⇒ CustomHttpsProvisioningState
Https of the custom domain.
-
#host_name ⇒ String
name.
-
#provisioning_state ⇒ String
Provisioning status of the custom domain.
-
#resource_state ⇒ CustomDomainResourceState
domain.
-
#validation_data ⇒ String
delivering CDN to some regions due to local compliance reasons.
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CustomDomain class as Ruby Hash.
Instance Attribute Details
#custom_https_provisioning_state ⇒ CustomHttpsProvisioningState
Https of the custom domain. Possible values include: ‘Enabling’, ‘Enabled’, ‘Disabling’, ‘Disabled’, ‘Failed’
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_name ⇒ String
name.
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_state ⇒ String
Returns 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_state ⇒ CustomDomainResourceState
domain. Possible values include: ‘Creating’, ‘Active’, ‘Deleting’
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_data ⇒ String
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.
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
.mapper ⇒ Object
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 |