LoadBalancerResourceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. ResourceSettings - com.
azure. resourcemanager. resourcemover. models. LoadBalancerResourceSettings
- com.
- com.
public final class LoadBalancerResourceSettings
extends ResourceSettings
Defines the load balancer resource settings.
Constructor Summary
| Constructor | Description |
|---|---|
| LoadBalancerResourceSettings() |
Creates an instance of Load |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<LBBackend |
backendAddressPools()
Get the backend |
|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
|
List<LBFrontend |
frontendIpConfigurations()
Get the frontend |
| String |
resourceType()
Get the resource |
| String |
sku()
Get the sku property: Gets or sets load balancer sku (Basic/Standard). |
| Map<String,String> |
tags()
Get the tags property: Gets or sets the Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Load |
withBackendAddressPools(List<LBBackendAddressPoolResourceSettings> backendAddressPools)
Set the backend |
|
Load |
withFrontendIpConfigurations(List<LBFrontendIpConfigurationResourceSettings> frontendIpConfigurations)
Set the frontend |
|
Load |
withSku(String sku)
Set the sku property: Gets or sets load balancer sku (Basic/Standard). |
|
Load |
withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags. |
|
Load |
withTargetResourceGroupName(String targetResourceGroupName)
Set the target |
|
Load |
withTargetResourceName(String targetResourceName)
Set the target |
|
Load |
withZones(String zones)
Set the zones property: Gets or sets the csv list of zones common for all frontend IP configurations. |
| String |
zones()
Get the zones property: Gets or sets the csv list of zones common for all frontend IP configurations. |
Methods inherited from ResourceSettings
Methods inherited from java.lang.Object
Constructor Details
LoadBalancerResourceSettings
public LoadBalancerResourceSettings()
Creates an instance of LoadBalancerResourceSettings class.
Method Details
backendAddressPools
public List<LBBackendAddressPoolResourceSettings> backendAddressPools()
Get the backendAddressPools property: Gets or sets the backend address pools of the load balancer.
Returns:
fromJson
public static LoadBalancerResourceSettings fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerResourceSettings from the JsonReader.
Parameters:
Returns:
Throws:
frontendIpConfigurations
public List<LBFrontendIpConfigurationResourceSettings> frontendIpConfigurations()
Get the frontendIpConfigurations property: Gets or sets the frontend IP configurations of the load balancer.
Returns:
resourceType
public String resourceType()
Get the resourceType property: The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
Overrides:
LoadBalancerResourceSettings.resourceType()Returns:
sku
public String sku()
Get the sku property: Gets or sets load balancer sku (Basic/Standard).
Returns:
tags
public Map<String,String> tags()
Get the tags property: Gets or sets the Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LoadBalancerResourceSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
LoadBalancerResourceSettings.validate()withBackendAddressPools
public LoadBalancerResourceSettings withBackendAddressPools(List<LBBackendAddressPoolResourceSettings> backendAddressPools)
Set the backendAddressPools property: Gets or sets the backend address pools of the load balancer.
Parameters:
Returns:
withFrontendIpConfigurations
public LoadBalancerResourceSettings withFrontendIpConfigurations(List<LBFrontendIpConfigurationResourceSettings> frontendIpConfigurations)
Set the frontendIpConfigurations property: Gets or sets the frontend IP configurations of the load balancer.
Parameters:
Returns:
withSku
public LoadBalancerResourceSettings withSku(String sku)
Set the sku property: Gets or sets load balancer sku (Basic/Standard).
Parameters:
Returns:
withTags
public LoadBalancerResourceSettings withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags.
Parameters:
Returns:
withTargetResourceGroupName
public LoadBalancerResourceSettings withTargetResourceGroupName(String targetResourceGroupName)
Set the targetResourceGroupName property: Gets or sets the target resource group name.
Overrides:
LoadBalancerResourceSettings.withTargetResourceGroupName(String targetResourceGroupName)Parameters:
withTargetResourceName
public LoadBalancerResourceSettings withTargetResourceName(String targetResourceName)
Set the targetResourceName property: Gets or sets the target Resource name.
Overrides:
LoadBalancerResourceSettings.withTargetResourceName(String targetResourceName)Parameters:
withZones
public LoadBalancerResourceSettings withZones(String zones)
Set the zones property: Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given precedence only if frontend IP configurations settings are not present.
Parameters:
Returns:
zones
public String zones()
Get the zones property: Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given precedence only if frontend IP configurations settings are not present.
Returns: