AfdEndpointProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. AfdEndpointPropertiesUpdateParameters - com.
azure. resourcemanager. cdn. fluent. models. AfdEndpointProperties
- com.
- com.
public final class AfdEndpointProperties
extends AfdEndpointPropertiesUpdateParameters
The JSON object that contains the properties required to create an endpoint.
Constructor Summary
| Constructor | Description |
|---|---|
| AfdEndpointProperties() |
Creates an instance of Afd |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Auto |
autoGeneratedDomainNameLabelScope()
Get the auto |
|
Deployment |
deploymentStatus()
Get the deployment |
|
static
Afd |
fromJson(JsonReader jsonReader)
Reads an instance of Afd |
| String |
hostname()
Get the hostname property: The host name of the endpoint structured as {endpoint |
| String |
profileName()
Get the profile |
|
Afd |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Afd |
withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)
Set the auto |
|
Afd |
withEnabledState(EnabledState enabledState)
Set the enabled |
Methods inherited from AfdEndpointPropertiesUpdateParameters
Methods inherited from java.lang.Object
Constructor Details
AfdEndpointProperties
public AfdEndpointProperties()
Creates an instance of AfdEndpointProperties class.
Method Details
autoGeneratedDomainNameLabelScope
public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()
Get the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.
Returns:
deploymentStatus
public DeploymentStatus deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.
Returns:
fromJson
public static AfdEndpointProperties fromJson(JsonReader jsonReader)
Reads an instance of AfdEndpointProperties from the JsonReader.
Parameters:
Returns:
Throws:
hostname
public String hostname()
Get the hostname property: The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net.
Returns:
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the endpoint.
Overrides:
AfdEndpointProperties.profileName()Returns:
provisioningState
public AfdProvisioningState provisioningState()
Get the provisioningState property: Provisioning status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AfdEndpointProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AfdEndpointProperties.validate()withAutoGeneratedDomainNameLabelScope
public AfdEndpointProperties withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)
Set the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.
Parameters:
Returns:
withEnabledState
public AfdEndpointProperties withEnabledState(EnabledState enabledState)
Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
Overrides:
AfdEndpointProperties.withEnabledState(EnabledState enabledState)Parameters: