public class AfdOriginInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
AfdOriginInner() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReference |
azureOrigin()
Get the azureOrigin property: Resource reference to the Azure origin resource.
|
DeploymentStatus |
deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.
|
EnabledState |
enabledState()
Get the enabledState property: Whether to enable health probes to be made against backends defined under
backendPools.
|
String |
hostname()
Get the hostname property: The address of the origin.
|
Integer |
httpPort()
Get the httpPort property: The value of the HTTP port.
|
Integer |
httpsPort()
Get the httpsPort property: The value of the HTTPS port.
|
String |
originHostHeader()
Get the originHostHeader property: The host header value sent to the origin with each request.
|
Integer |
priority()
Get the priority property: Priority of origin in given origin group for load balancing.
|
AfdProvisioningState |
provisioningState()
Get the provisioningState property: Provisioning status.
|
Object |
sharedPrivateLinkResource()
Get the sharedPrivateLinkResource property: The properties of the private link resource for private origin.
|
SystemData |
systemData()
Get the systemData property: Read only system data.
|
void |
validate()
Validates the instance.
|
Integer |
weight()
Get the weight property: Weight of the origin in given origin group for load balancing.
|
AfdOriginInner |
withAzureOrigin(ResourceReference azureOrigin)
Set the azureOrigin property: Resource reference to the Azure origin resource.
|
AfdOriginInner |
withEnabledState(EnabledState enabledState)
Set the enabledState property: Whether to enable health probes to be made against backends defined under
backendPools.
|
AfdOriginInner |
withHostname(String hostname)
Set the hostname property: The address of the origin.
|
AfdOriginInner |
withHttpPort(Integer httpPort)
Set the httpPort property: The value of the HTTP port.
|
AfdOriginInner |
withHttpsPort(Integer httpsPort)
Set the httpsPort property: The value of the HTTPS port.
|
AfdOriginInner |
withOriginHostHeader(String originHostHeader)
Set the originHostHeader property: The host header value sent to the origin with each request.
|
AfdOriginInner |
withPriority(Integer priority)
Set the priority property: Priority of origin in given origin group for load balancing.
|
AfdOriginInner |
withSharedPrivateLinkResource(Object sharedPrivateLinkResource)
Set the sharedPrivateLinkResource property: The properties of the private link resource for private origin.
|
AfdOriginInner |
withWeight(Integer weight)
Set the weight property: Weight of the origin in given origin group for load balancing.
|
public ResourceReference azureOrigin()
public AfdOriginInner withAzureOrigin(ResourceReference azureOrigin)
azureOrigin - the azureOrigin value to set.public String hostname()
public AfdOriginInner withHostname(String hostname)
hostname - the hostname value to set.public Integer httpPort()
public AfdOriginInner withHttpPort(Integer httpPort)
httpPort - the httpPort value to set.public Integer httpsPort()
public AfdOriginInner withHttpsPort(Integer httpsPort)
httpsPort - the httpsPort value to set.public String originHostHeader()
public AfdOriginInner withOriginHostHeader(String originHostHeader)
originHostHeader - the originHostHeader value to set.public Integer priority()
public AfdOriginInner withPriority(Integer priority)
priority - the priority value to set.public Integer weight()
public AfdOriginInner withWeight(Integer weight)
weight - the weight value to set.public Object sharedPrivateLinkResource()
public AfdOriginInner withSharedPrivateLinkResource(Object sharedPrivateLinkResource)
sharedPrivateLinkResource - the sharedPrivateLinkResource value to set.public EnabledState enabledState()
public AfdOriginInner withEnabledState(EnabledState enabledState)
enabledState - the enabledState value to set.public AfdProvisioningState provisioningState()
public DeploymentStatus deploymentStatus()
public SystemData systemData()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.