ApplicationGatewayLoadDistributionTarget Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayLoadDistributionTarget
- com.
- com.
public final class ApplicationGatewayLoadDistributionTarget
extends SubResource
Load Distribution Target of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayLoadDistributionTarget() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
backendAddressPool()
Get the backend |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
name()
Get the name property: Name of the load distribution policy that is unique within an Application Gateway. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Integer |
weightPerServer()
Get the weight |
Application |
withBackendAddressPool(SubResource backendAddressPool)
Set the backend |
Application |
withId(String id) |
Application |
withName(String name)
Set the name property: Name of the load distribution policy that is unique within an Application Gateway. |
Application |
withWeightPerServer(Integer weightPerServer)
Set the weight |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayLoadDistributionTarget
public ApplicationGatewayLoadDistributionTarget()
Creates an instance of ApplicationGatewayLoadDistributionTarget class.
Method Details
backendAddressPool
public SubResource backendAddressPool()
Get the backendAddressPool property: Backend address pool resource of the application gateway.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ApplicationGatewayLoadDistributionTarget fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayLoadDistributionTarget from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the load distribution policy that is unique within an Application Gateway.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayLoadDistributionTarget.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the resource.
Returns:
validate
public void validate()
Validates the instance.
weightPerServer
public Integer weightPerServer()
Get the weightPerServer property: Weight per server. Range between 1 and 100.
Returns:
withBackendAddressPool
public ApplicationGatewayLoadDistributionTarget withBackendAddressPool(SubResource backendAddressPool)
Set the backendAddressPool property: Backend address pool resource of the application gateway.
Parameters:
Returns:
withId
public ApplicationGatewayLoadDistributionTarget withId(String id)
Overrides:
ApplicationGatewayLoadDistributionTarget.withId(String id)Parameters:
withName
public ApplicationGatewayLoadDistributionTarget withName(String name)
Set the name property: Name of the load distribution policy that is unique within an Application Gateway.
Parameters:
Returns:
withWeightPerServer
public ApplicationGatewayLoadDistributionTarget withWeightPerServer(Integer weightPerServer)
Set the weightPerServer property: Weight per server. Range between 1 and 100.
Parameters:
Returns:
Applies to
Azure SDK for Java