ManagedClusterNatGatewayProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterNatGatewayProfile
- com.
Implements
public final class ManagedClusterNatGatewayProfile
implements JsonSerializable<ManagedClusterNatGatewayProfile>
Profile of the managed cluster NAT gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedClusterNatGatewayProfile() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Resource |
effectiveOutboundIPs()
Get the effective |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| Integer |
idleTimeoutInMinutes()
Get the idle |
|
Managed |
managedOutboundIpProfile()
Get the managed |
|
Managed |
outboundIpPrefixes()
Get the outbound |
|
Managed |
outboundIps()
Get the outbound |
|
Managed |
sku()
Get the sku property: The SKU of the managed cluster NAT Gateway. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idle |
|
Managed |
withManagedOutboundIpProfile(ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile)
Set the managed |
|
Managed |
withOutboundIpPrefixes(ManagedClusterNATGatewayProfileOutboundIpPrefixes outboundIpPrefixes)
Set the outbound |
|
Managed |
withOutboundIps(ManagedClusterNATGatewayProfileOutboundIPs outboundIps)
Set the outbound |
|
Managed |
withSku(ManagedClusterNATGatewaySku sku)
Set the sku property: The SKU of the managed cluster NAT Gateway. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterNatGatewayProfile
public ManagedClusterNatGatewayProfile()
Creates an instance of ManagedClusterNatGatewayProfile class.
Method Details
effectiveOutboundIPs
public List<ResourceReference> effectiveOutboundIPs()
Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.
Returns:
fromJson
public static ManagedClusterNatGatewayProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterNatGatewayProfile from the JsonReader.
Parameters:
Returns:
Throws:
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.
Returns:
managedOutboundIpProfile
public ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile()
Get the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.
Returns:
outboundIpPrefixes
public ManagedClusterNATGatewayProfileOutboundIpPrefixes outboundIpPrefixes()
Get the outboundIpPrefixes property: Desired outbound IP Prefix resources for the managed NAT Gateway. Only compatible with NAT Gateway V2.
Returns:
outboundIps
public ManagedClusterNATGatewayProfileOutboundIPs outboundIps()
Get the outboundIps property: Desired outbound IP resources for the managed NAT Gateway.
Returns:
sku
public ManagedClusterNATGatewaySku sku()
Get the sku property: The SKU of the managed cluster NAT Gateway. Defaults to 'StandardV2' where available in the region, otherwise 'Standard'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdleTimeoutInMinutes
public ManagedClusterNatGatewayProfile withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.
Parameters:
Returns:
withManagedOutboundIpProfile
public ManagedClusterNatGatewayProfile withManagedOutboundIpProfile(ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile)
Set the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.
Parameters:
Returns:
withOutboundIpPrefixes
public ManagedClusterNatGatewayProfile withOutboundIpPrefixes(ManagedClusterNATGatewayProfileOutboundIpPrefixes outboundIpPrefixes)
Set the outboundIpPrefixes property: Desired outbound IP Prefix resources for the managed NAT Gateway. Only compatible with NAT Gateway V2.
Parameters:
Returns:
withOutboundIps
public ManagedClusterNatGatewayProfile withOutboundIps(ManagedClusterNATGatewayProfileOutboundIPs outboundIps)
Set the outboundIps property: Desired outbound IP resources for the managed NAT Gateway.
Parameters:
Returns:
withSku
public ManagedClusterNatGatewayProfile withSku(ManagedClusterNATGatewaySku sku)
Set the sku property: The SKU of the managed cluster NAT Gateway. Defaults to 'StandardV2' where available in the region, otherwise 'Standard'.
Parameters:
Returns: