Class VnetConfiguration
java.lang.Object
com.azure.resourcemanager.appcontainers.models.VnetConfiguration
Configuration properties for apps environment to join a Virtual Network.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dockerBridgeCidr property: CIDR notation IP range assigned to the Docker bridge, network.Get the infrastructureSubnetId property: Resource ID of a subnet for infrastructure components.internal()
Get the internal property: Boolean indicating the environment only has an internal load balancer.Get the outboundSettings property: Configuration used to control the Environment Egress outbound traffic.Get the platformReservedCidr property: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses.Get the platformReservedDnsIp property: An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.Get the runtimeSubnetId property: Resource ID of a subnet that Container App containers are injected into.void
validate()
Validates the instance.withDockerBridgeCidr
(String dockerBridgeCidr) Set the dockerBridgeCidr property: CIDR notation IP range assigned to the Docker bridge, network.withInfrastructureSubnetId
(String infrastructureSubnetId) Set the infrastructureSubnetId property: Resource ID of a subnet for infrastructure components.withInternal
(Boolean internal) Set the internal property: Boolean indicating the environment only has an internal load balancer.withOutboundSettings
(ManagedEnvironmentOutboundSettings outboundSettings) Set the outboundSettings property: Configuration used to control the Environment Egress outbound traffic.withPlatformReservedCidr
(String platformReservedCidr) Set the platformReservedCidr property: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses.withPlatformReservedDnsIp
(String platformReservedDnsIp) Set the platformReservedDnsIp property: An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.withRuntimeSubnetId
(String runtimeSubnetId) Set the runtimeSubnetId property: Resource ID of a subnet that Container App containers are injected into.
-
Constructor Details
-
VnetConfiguration
public VnetConfiguration()Creates an instance of VnetConfiguration class.
-
-
Method Details
-
internal
Get the internal property: Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide runtimeSubnetId and infrastructureSubnetId if enabling this property.- Returns:
- the internal value.
-
withInternal
Set the internal property: Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide runtimeSubnetId and infrastructureSubnetId if enabling this property.- Parameters:
internal
- the internal value to set.- Returns:
- the VnetConfiguration object itself.
-
infrastructureSubnetId
Get the infrastructureSubnetId property: Resource ID of a subnet for infrastructure components. This subnet must be in the same VNET as the subnet defined in runtimeSubnetId. Must not overlap with any other provided IP ranges.- Returns:
- the infrastructureSubnetId value.
-
withInfrastructureSubnetId
Set the infrastructureSubnetId property: Resource ID of a subnet for infrastructure components. This subnet must be in the same VNET as the subnet defined in runtimeSubnetId. Must not overlap with any other provided IP ranges.- Parameters:
infrastructureSubnetId
- the infrastructureSubnetId value to set.- Returns:
- the VnetConfiguration object itself.
-
runtimeSubnetId
Get the runtimeSubnetId property: Resource ID of a subnet that Container App containers are injected into. This subnet must be in the same VNET as the subnet defined in infrastructureSubnetId. Must not overlap with any other provided IP ranges.- Returns:
- the runtimeSubnetId value.
-
withRuntimeSubnetId
Set the runtimeSubnetId property: Resource ID of a subnet that Container App containers are injected into. This subnet must be in the same VNET as the subnet defined in infrastructureSubnetId. Must not overlap with any other provided IP ranges.- Parameters:
runtimeSubnetId
- the runtimeSubnetId value to set.- Returns:
- the VnetConfiguration object itself.
-
dockerBridgeCidr
Get the dockerBridgeCidr property: CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.- Returns:
- the dockerBridgeCidr value.
-
withDockerBridgeCidr
Set the dockerBridgeCidr property: CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.- Parameters:
dockerBridgeCidr
- the dockerBridgeCidr value to set.- Returns:
- the VnetConfiguration object itself.
-
platformReservedCidr
Get the platformReservedCidr property: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.- Returns:
- the platformReservedCidr value.
-
withPlatformReservedCidr
Set the platformReservedCidr property: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.- Parameters:
platformReservedCidr
- the platformReservedCidr value to set.- Returns:
- the VnetConfiguration object itself.
-
platformReservedDnsIp
Get the platformReservedDnsIp property: An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.- Returns:
- the platformReservedDnsIp value.
-
withPlatformReservedDnsIp
Set the platformReservedDnsIp property: An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.- Parameters:
platformReservedDnsIp
- the platformReservedDnsIp value to set.- Returns:
- the VnetConfiguration object itself.
-
outboundSettings
Get the outboundSettings property: Configuration used to control the Environment Egress outbound traffic.- Returns:
- the outboundSettings value.
-
withOutboundSettings
Set the outboundSettings property: Configuration used to control the Environment Egress outbound traffic.- Parameters:
outboundSettings
- the outboundSettings value to set.- Returns:
- the VnetConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-