public class OriginInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
OriginInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: Origin is enabled for load balancing or not.
|
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.
|
PrivateEndpointStatus |
privateEndpointStatus()
Get the privateEndpointStatus property: The approval status for the connection to the Private Link.
|
String |
privateLinkAlias()
Get the privateLinkAlias property: The Alias of the Private Link resource.
|
String |
privateLinkApprovalMessage()
Get the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect
to the Private Link.
|
String |
privateLinkLocation()
Get the privateLinkLocation property: The location of the Private Link resource.
|
String |
privateLinkResourceId()
Get the privateLinkResourceId property: The Resource Id of the Private Link resource.
|
String |
provisioningState()
Get the provisioningState property: Provisioning status of the origin.
|
OriginResourceState |
resourceState()
Get the resourceState property: Resource status of the origin.
|
void |
validate()
Validates the instance.
|
Integer |
weight()
Get the weight property: Weight of the origin in given origin group for load balancing.
|
OriginInner |
withEnabled(Boolean enabled)
Set the enabled property: Origin is enabled for load balancing or not.
|
OriginInner |
withHostname(String hostname)
Set the hostname property: The address of the origin.
|
OriginInner |
withHttpPort(Integer httpPort)
Set the httpPort property: The value of the HTTP port.
|
OriginInner |
withHttpsPort(Integer httpsPort)
Set the httpsPort property: The value of the HTTPS port.
|
OriginInner |
withOriginHostHeader(String originHostHeader)
Set the originHostHeader property: The host header value sent to the origin with each request.
|
OriginInner |
withPriority(Integer priority)
Set the priority property: Priority of origin in given origin group for load balancing.
|
OriginInner |
withPrivateLinkAlias(String privateLinkAlias)
Set the privateLinkAlias property: The Alias of the Private Link resource.
|
OriginInner |
withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
Set the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect
to the Private Link.
|
OriginInner |
withPrivateLinkLocation(String privateLinkLocation)
Set the privateLinkLocation property: The location of the Private Link resource.
|
OriginInner |
withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The Resource Id of the Private Link resource.
|
OriginInner |
withWeight(Integer weight)
Set the weight property: Weight of the origin in given origin group for load balancing.
|
public String hostname()
public OriginInner withHostname(String hostname)
hostname - the hostname value to set.public Integer httpPort()
public OriginInner withHttpPort(Integer httpPort)
httpPort - the httpPort value to set.public Integer httpsPort()
public OriginInner withHttpsPort(Integer httpsPort)
httpsPort - the httpsPort value to set.public String originHostHeader()
public OriginInner withOriginHostHeader(String originHostHeader)
originHostHeader - the originHostHeader value to set.public Integer priority()
public OriginInner withPriority(Integer priority)
priority - the priority value to set.public Integer weight()
public OriginInner withWeight(Integer weight)
weight - the weight value to set.public Boolean enabled()
public OriginInner withEnabled(Boolean enabled)
enabled - the enabled value to set.public String privateLinkAlias()
public OriginInner withPrivateLinkAlias(String privateLinkAlias)
privateLinkAlias - the privateLinkAlias value to set.public String privateLinkResourceId()
public OriginInner withPrivateLinkResourceId(String privateLinkResourceId)
privateLinkResourceId - the privateLinkResourceId value to set.public String privateLinkLocation()
public OriginInner withPrivateLinkLocation(String privateLinkLocation)
privateLinkLocation - the privateLinkLocation value to set.public String privateLinkApprovalMessage()
public OriginInner withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
privateLinkApprovalMessage - the privateLinkApprovalMessage value to set.public OriginResourceState resourceState()
public String provisioningState()
public PrivateEndpointStatus privateEndpointStatus()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.