public final class AfdOriginProperties extends AfdOriginUpdatePropertiesParameters
| Constructor and Description |
|---|
AfdOriginProperties() |
| Modifier and Type | Method and Description |
|---|---|
DeploymentStatus |
deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.
|
AfdProvisioningState |
provisioningState()
Get the provisioningState property: Provisioning status.
|
void |
validate()
Validates the instance.
|
AfdOriginProperties |
withAzureOrigin(ResourceReference azureOrigin)
Set the azureOrigin property: Resource reference to the Azure origin resource.
|
AfdOriginProperties |
withEnabledState(EnabledState enabledState)
Set the enabledState property: Whether to enable health probes to be made against backends defined under
backendPools.
|
AfdOriginProperties |
withHostname(String hostname)
Set the hostname property: The address of the origin.
|
AfdOriginProperties |
withHttpPort(Integer httpPort)
Set the httpPort property: The value of the HTTP port.
|
AfdOriginProperties |
withHttpsPort(Integer httpsPort)
Set the httpsPort property: The value of the HTTPS port.
|
AfdOriginProperties |
withOriginHostHeader(String originHostHeader)
Set the originHostHeader property: The host header value sent to the origin with each request.
|
AfdOriginProperties |
withPriority(Integer priority)
Set the priority property: Priority of origin in given origin group for load balancing.
|
AfdOriginProperties |
withSharedPrivateLinkResource(Object sharedPrivateLinkResource)
Set the sharedPrivateLinkResource property: The properties of the private link resource for private origin.
|
AfdOriginProperties |
withWeight(Integer weight)
Set the weight property: Weight of the origin in given origin group for load balancing.
|
azureOrigin, enabledState, hostname, httpPort, httpsPort, originHostHeader, priority, sharedPrivateLinkResource, weightpublic AfdProvisioningState provisioningState()
public DeploymentStatus deploymentStatus()
public AfdOriginProperties withAzureOrigin(ResourceReference azureOrigin)
withAzureOrigin in class AfdOriginUpdatePropertiesParametersazureOrigin - the azureOrigin value to set.public AfdOriginProperties withHostname(String hostname)
withHostname in class AfdOriginUpdatePropertiesParametershostname - the hostname value to set.public AfdOriginProperties withHttpPort(Integer httpPort)
withHttpPort in class AfdOriginUpdatePropertiesParametershttpPort - the httpPort value to set.public AfdOriginProperties withHttpsPort(Integer httpsPort)
withHttpsPort in class AfdOriginUpdatePropertiesParametershttpsPort - the httpsPort value to set.public AfdOriginProperties withOriginHostHeader(String originHostHeader)
withOriginHostHeader in class AfdOriginUpdatePropertiesParametersoriginHostHeader - the originHostHeader value to set.public AfdOriginProperties withPriority(Integer priority)
withPriority in class AfdOriginUpdatePropertiesParameterspriority - the priority value to set.public AfdOriginProperties withWeight(Integer weight)
withWeight in class AfdOriginUpdatePropertiesParametersweight - the weight value to set.public AfdOriginProperties withSharedPrivateLinkResource(Object sharedPrivateLinkResource)
withSharedPrivateLinkResource in class AfdOriginUpdatePropertiesParameterssharedPrivateLinkResource - the sharedPrivateLinkResource value to set.public AfdOriginProperties withEnabledState(EnabledState enabledState)
withEnabledState in class AfdOriginUpdatePropertiesParametersenabledState - the enabledState value to set.public void validate()
validate in class AfdOriginUpdatePropertiesParametersIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.