Class AfdEndpointInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.cdn.fluent.models.AfdEndpointInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class AfdEndpointInner
extends com.azure.core.management.Resource
Azure Front Door endpoint is the entity within a Azure Front Door profile containing configuration information such
as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format
<endpointname>.azureedge.net.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope.Get the deploymentStatus property: The deploymentStatus property.Get the enabledState property: Whether to enable use of this rule.static AfdEndpointInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AfdEndpointInner from the JsonReader.hostname()Get the hostname property: The host name of the endpoint structured as {endpointName}.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.Get the profileName property: The name of the profile which holds the endpoint.Get the provisioningState property: Provisioning status.com.azure.core.management.SystemDataGet the systemData property: Read only system data.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope) Set the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope.withEnabledState(EnabledState enabledState) Set the enabledState property: Whether to enable use of this rule.withLocation(String location) Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AfdEndpointInner
public AfdEndpointInner()Creates an instance of AfdEndpointInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Read only system data.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
hostname
Get the hostname property: The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net.- Returns:
- the hostname value.
-
autoGeneratedDomainNameLabelScope
Get the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.- Returns:
- the autoGeneratedDomainNameLabelScope value.
-
withAutoGeneratedDomainNameLabelScope
public AfdEndpointInner withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope) Set the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.- Parameters:
autoGeneratedDomainNameLabelScope- the autoGeneratedDomainNameLabelScope value to set.- Returns:
- the AfdEndpointInner object itself.
-
provisioningState
Get the provisioningState property: Provisioning status.- Returns:
- the provisioningState value.
-
deploymentStatus
Get the deploymentStatus property: The deploymentStatus property.- Returns:
- the deploymentStatus value.
-
profileName
Get the profileName property: The name of the profile which holds the endpoint.- Returns:
- the profileName value.
-
enabledState
Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.- Returns:
- the enabledState value.
-
withEnabledState
Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.- Parameters:
enabledState- the enabledState value to set.- Returns:
- the AfdEndpointInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
Reads an instance of AfdEndpointInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AfdEndpointInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AfdEndpointInner.
-