LoadBalancerInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. LoadBalancerInner
- com.
- com.
- com.
public final class LoadBalancerInner
extends Resource
LoadBalancer resource.
Constructor Summary
| Constructor | Description |
|---|---|
| LoadBalancerInner() |
Creates an instance of Load |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Backend |
backendAddressPools()
Get the backend |
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
Extended |
extendedLocation()
Get the extended |
|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
|
List<Frontend |
frontendIpConfigurations()
Get the frontend |
| String |
id()
Get the id property: Resource ID. |
|
List<Inbound |
inboundNatPools()
Get the inbound |
|
List<Inbound |
inboundNatRules()
Get the inbound |
|
List<Load |
loadBalancingRules()
Get the load |
| String |
name()
Get the name property: The name of the resource. |
|
List<Outbound |
outboundRules()
Get the outbound |
|
List<Probe |
probes()
Get the probes property: Collection of probe objects used in the load balancer. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
|
Load |
scope()
Get the scope property: Indicates the scope of the load balancer: external (Public) or internal (Private). |
|
Load |
sku()
Get the sku property: The load balancer SKU. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Load |
withBackendAddressPools(List<BackendAddressPoolInner> backendAddressPools)
Set the backend |
|
Load |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Load |
withFrontendIpConfigurations(List<FrontendIpConfigurationInner> frontendIpConfigurations)
Set the frontend |
|
Load |
withId(String id)
Set the id property: Resource ID. |
|
Load |
withInboundNatPools(List<InboundNatPool> inboundNatPools)
Set the inbound |
|
Load |
withInboundNatRules(List<InboundNatRuleInner> inboundNatRules)
Set the inbound |
|
Load |
withLoadBalancingRules(List<LoadBalancingRuleInner> loadBalancingRules)
Set the load |
|
Load |
withLocation(String location) |
|
Load |
withOutboundRules(List<OutboundRuleInner> outboundRules)
Set the outbound |
|
Load |
withProbes(List<ProbeInner> probes)
Set the probes property: Collection of probe objects used in the load balancer. |
|
Load |
withScope(LoadBalancerScope scope)
Set the scope property: Indicates the scope of the load balancer: external (Public) or internal (Private). |
|
Load |
withSku(LoadBalancerSku sku)
Set the sku property: The load balancer SKU. |
|
Load |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
LoadBalancerInner
public LoadBalancerInner()
Creates an instance of LoadBalancerInner class.
Method Details
backendAddressPools
public List<BackendAddressPoolInner> backendAddressPools()
Get the backendAddressPools property: Collection of backend address pools used by a load balancer.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the load balancer.
Returns:
fromJson
public static LoadBalancerInner fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerInner from the JsonReader.
Parameters:
Returns:
Throws:
frontendIpConfigurations
public List<FrontendIpConfigurationInner> frontendIpConfigurations()
Get the frontendIpConfigurations property: Object representing the frontend IPs to be used for the load balancer.
Returns:
id
public String id()
Get the id property: Resource ID.
Overrides:
LoadBalancerInner.id()Returns:
inboundNatPools
public List<InboundNatPool> inboundNatPools()
Get the inboundNatPools property: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.
Returns:
inboundNatRules
public List<InboundNatRuleInner> inboundNatRules()
Get the inboundNatRules property: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules.
Returns:
loadBalancingRules
public List<LoadBalancingRuleInner> loadBalancingRules()
Get the loadBalancingRules property: Object collection representing the load balancing rules Gets the provisioning.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
LoadBalancerInner.name()Returns:
outboundRules
public List<OutboundRuleInner> outboundRules()
Get the outboundRules property: The outbound rules.
Returns:
probes
public List<ProbeInner> probes()
Get the probes property: Collection of probe objects used in the load balancer.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the load balancer resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the load balancer resource.
Returns:
scope
public LoadBalancerScope scope()
Get the scope property: Indicates the scope of the load balancer: external (Public) or internal (Private).
Returns:
sku
public LoadBalancerSku sku()
Get the sku property: The load balancer SKU.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LoadBalancerInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
LoadBalancerInner.type()Returns:
validate
public void validate()
Validates the instance.
withBackendAddressPools
public LoadBalancerInner withBackendAddressPools(List<BackendAddressPoolInner> backendAddressPools)
Set the backendAddressPools property: Collection of backend address pools used by a load balancer.
Parameters:
Returns:
withExtendedLocation
public LoadBalancerInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the load balancer.
Parameters:
Returns:
withFrontendIpConfigurations
public LoadBalancerInner withFrontendIpConfigurations(List<FrontendIpConfigurationInner> frontendIpConfigurations)
Set the frontendIpConfigurations property: Object representing the frontend IPs to be used for the load balancer.
Parameters:
Returns:
withId
public LoadBalancerInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withInboundNatPools
public LoadBalancerInner withInboundNatPools(List<InboundNatPool> inboundNatPools)
Set the inboundNatPools property: Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.
Parameters:
Returns:
withInboundNatRules
public LoadBalancerInner withInboundNatRules(List<InboundNatRuleInner> inboundNatRules)
Set the inboundNatRules property: Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules.
Parameters:
Returns:
withLoadBalancingRules
public LoadBalancerInner withLoadBalancingRules(List<LoadBalancingRuleInner> loadBalancingRules)
Set the loadBalancingRules property: Object collection representing the load balancing rules Gets the provisioning.
Parameters:
Returns:
withLocation
public LoadBalancerInner withLocation(String location)
Overrides:
LoadBalancerInner.withLocation(String location)Parameters:
withOutboundRules
public LoadBalancerInner withOutboundRules(List<OutboundRuleInner> outboundRules)
Set the outboundRules property: The outbound rules.
Parameters:
Returns:
withProbes
public LoadBalancerInner withProbes(List<ProbeInner> probes)
Set the probes property: Collection of probe objects used in the load balancer.
Parameters:
Returns:
withScope
public LoadBalancerInner withScope(LoadBalancerScope scope)
Set the scope property: Indicates the scope of the load balancer: external (Public) or internal (Private).
Parameters:
Returns:
withSku
public LoadBalancerInner withSku(LoadBalancerSku sku)
Set the sku property: The load balancer SKU.
Parameters:
Returns:
withTags
public LoadBalancerInner withTags(Map<String,String> tags)
Overrides:
LoadBalancerInner.withTags(Map<String,String> tags)Parameters: