ContainerAppsConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ContainerAppsConfiguration
- com.
Implements
public final class ContainerAppsConfiguration
implements JsonSerializable<ContainerAppsConfiguration>
The ContainerAppsConfiguration model.
Constructor Summary
Constructor | Description |
---|---|
ContainerAppsConfiguration() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
appSubnetResourceId()
Get the app |
String |
controlPlaneSubnetResourceId()
Get the control |
String |
daprAIInstrumentationKey()
Get the dapr |
String |
dockerBridgeCidr()
Get the docker |
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
String |
platformReservedCidr()
Get the platform |
String |
platformReservedDnsIp()
Get the platform |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Container |
withAppSubnetResourceId(String appSubnetResourceId)
Set the app |
Container |
withControlPlaneSubnetResourceId(String controlPlaneSubnetResourceId)
Set the control |
Container |
withDaprAIInstrumentationKey(String daprAIInstrumentationKey)
Set the dapr |
Container |
withDockerBridgeCidr(String dockerBridgeCidr)
Set the docker |
Container |
withPlatformReservedCidr(String platformReservedCidr)
Set the platform |
Container |
withPlatformReservedDnsIp(String platformReservedDnsIp)
Set the platform |
Methods inherited from java.lang.Object
Constructor Details
ContainerAppsConfiguration
public ContainerAppsConfiguration()
Creates an instance of ContainerAppsConfiguration class.
Method Details
appSubnetResourceId
public String appSubnetResourceId()
Get the appSubnetResourceId property: Resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet defined in appSubnetResourceId. Must not overlap with the IP range defined in platformReservedCidr, if defined.
Returns:
controlPlaneSubnetResourceId
public String controlPlaneSubnetResourceId()
Get the controlPlaneSubnetResourceId property: Resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet defined in appSubnetResourceId. Must not overlap with the IP range defined in platformReservedCidr, if defined.
Returns:
daprAIInstrumentationKey
public String daprAIInstrumentationKey()
Get the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.
Returns:
dockerBridgeCidr
public String dockerBridgeCidr()
Get the dockerBridgeCidr property: CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the IP range defined in platformReservedCidr, if defined.
Returns:
fromJson
public static ContainerAppsConfiguration fromJson(JsonReader jsonReader)
Reads an instance of ContainerAppsConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
platformReservedCidr
public String platformReservedCidr()
Get the platformReservedCidr property: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges.
Returns:
platformReservedDnsIp
public String 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:
toJson
validate
public void validate()
Validates the instance.
withAppSubnetResourceId
public ContainerAppsConfiguration withAppSubnetResourceId(String appSubnetResourceId)
Set the appSubnetResourceId property: Resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet defined in appSubnetResourceId. Must not overlap with the IP range defined in platformReservedCidr, if defined.
Parameters:
Returns:
withControlPlaneSubnetResourceId
public ContainerAppsConfiguration withControlPlaneSubnetResourceId(String controlPlaneSubnetResourceId)
Set the controlPlaneSubnetResourceId property: Resource ID of a subnet for control plane infrastructure components. This subnet must be in the same VNET as the subnet defined in appSubnetResourceId. Must not overlap with the IP range defined in platformReservedCidr, if defined.
Parameters:
Returns:
withDaprAIInstrumentationKey
public ContainerAppsConfiguration withDaprAIInstrumentationKey(String daprAIInstrumentationKey)
Set the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.
Parameters:
Returns:
withDockerBridgeCidr
public ContainerAppsConfiguration withDockerBridgeCidr(String dockerBridgeCidr)
Set the dockerBridgeCidr property: CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the IP range defined in platformReservedCidr, if defined.
Parameters:
Returns:
withPlatformReservedCidr
public ContainerAppsConfiguration withPlatformReservedCidr(String platformReservedCidr)
Set the platformReservedCidr property: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. It must not overlap with any other Subnet IP ranges.
Parameters:
Returns:
withPlatformReservedDnsIp
public ContainerAppsConfiguration 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.
Parameters:
Returns:
Applies to
Azure SDK for Java