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