Class: Azure::CDN::Mgmt::V2020_09_01::Models::AFDEndpoint
- Inherits:
-
TrackedResource
- Object
- Resource
- TrackedResource
- Azure::CDN::Mgmt::V2020_09_01::Models::AFDEndpoint
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint.rb
Overview
CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format <endpointname>.azureedge.net.
Instance Attribute Summary collapse
-
#deployment_status ⇒ DeploymentStatus
‘InProgress’, ‘Succeeded’, ‘Failed’.
-
#enabled_state ⇒ EnabledState
values are ‘Enabled’ or ‘Disabled’.
-
#host_name ⇒ String
endpointName.DNSZone, e.g.
-
#origin_response_timeout_seconds ⇒ Integer
origin.
-
#provisioning_state ⇒ AfdProvisioningState
include: ‘Succeeded’, ‘Failed’, ‘Updating’, ‘Deleting’, ‘Creating’.
Attributes inherited from TrackedResource
#location, #system_data, #tags
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AFDEndpoint class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#deployment_status ⇒ DeploymentStatus
‘InProgress’, ‘Succeeded’, ‘Failed’
33 34 35 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint.rb', line 33 def deployment_status @deployment_status end |
#enabled_state ⇒ EnabledState
values are ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
25 26 27 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint.rb', line 25 def enabled_state @enabled_state end |
#host_name ⇒ String
endpointName.DNSZone, e.g. contoso.azureedge.net
37 38 39 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint.rb', line 37 def host_name @host_name end |
#origin_response_timeout_seconds ⇒ Integer
origin. When timeout is reached, the request fails and returns.
20 21 22 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint.rb', line 20 def origin_response_timeout_seconds @origin_response_timeout_seconds end |
#provisioning_state ⇒ AfdProvisioningState
include: ‘Succeeded’, ‘Failed’, ‘Updating’, ‘Deleting’, ‘Creating’
29 30 31 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint.rb', line 29 def provisioning_state @provisioning_state end |
Class Method Details
.mapper ⇒ Object
Mapper for AFDEndpoint class as Ruby Hash. This will be used for serialization/deserialization.
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 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AFDEndpoint', type: { name: 'Composite', class_name: 'AFDEndpoint', 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' } } } }, system_data: { client_side_validation: true, required: false, read_only: true, serialized_name: 'systemData', type: { name: 'Composite', class_name: 'SystemData' } }, origin_response_timeout_seconds: { client_side_validation: true, required: false, serialized_name: 'properties.originResponseTimeoutSeconds', constraints: { InclusiveMinimum: 16 }, type: { name: 'Number' } }, enabled_state: { client_side_validation: true, required: false, serialized_name: 'properties.enabledState', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, deployment_status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.deploymentStatus', type: { name: 'String' } }, host_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hostName', type: { name: 'String' } } } } } end |