Compartilhar via


ContainerAppsConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ContainerAppsConfiguration

Implements

public final class ContainerAppsConfiguration
implements JsonSerializable<ContainerAppsConfiguration>

The ContainerAppsConfiguration model.

Constructor Summary

Constructor Description
ContainerAppsConfiguration()

Creates an instance of ContainerAppsConfiguration class.

Method Summary

Modifier and Type Method and Description
String appSubnetResourceId()

Get the appSubnetResourceId property: Resource ID of a subnet for control plane infrastructure components.

String controlPlaneSubnetResourceId()

Get the controlPlaneSubnetResourceId property: Resource ID of a subnet for control plane infrastructure components.

String daprAIInstrumentationKey()

Get the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.

String dockerBridgeCidr()

Get the dockerBridgeCidr property: CIDR notation IP range assigned to the Docker bridge network.

static ContainerAppsConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ContainerAppsConfiguration from the JsonReader.

String platformReservedCidr()

Get the platformReservedCidr property: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContainerAppsConfiguration withAppSubnetResourceId(String appSubnetResourceId)

Set the appSubnetResourceId property: Resource ID of a subnet for control plane infrastructure components.

ContainerAppsConfiguration withControlPlaneSubnetResourceId(String controlPlaneSubnetResourceId)

Set the controlPlaneSubnetResourceId property: Resource ID of a subnet for control plane infrastructure components.

ContainerAppsConfiguration withDaprAIInstrumentationKey(String daprAIInstrumentationKey)

Set the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.

ContainerAppsConfiguration withDockerBridgeCidr(String dockerBridgeCidr)

Set the dockerBridgeCidr property: CIDR notation IP range assigned to the Docker bridge network.

ContainerAppsConfiguration withPlatformReservedCidr(String platformReservedCidr)

Set the platformReservedCidr property: IP range in CIDR notation that can be reserved for environment infrastructure IP addresses.

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.

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:

the appSubnetResourceId value.

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:

the controlPlaneSubnetResourceId value.

daprAIInstrumentationKey

public String daprAIInstrumentationKey()

Get the daprAIInstrumentationKey property: Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry.

Returns:

the daprAIInstrumentationKey value.

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:

the dockerBridgeCidr value.

fromJson

public static ContainerAppsConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ContainerAppsConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ContainerAppsConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ContainerAppsConfiguration.

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:

the platformReservedCidr value.

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:

the platformReservedDnsIp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

appSubnetResourceId - the appSubnetResourceId value to set.

Returns:

the ContainerAppsConfiguration object itself.

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:

controlPlaneSubnetResourceId - the controlPlaneSubnetResourceId value to set.

Returns:

the ContainerAppsConfiguration object itself.

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:

daprAIInstrumentationKey - the daprAIInstrumentationKey value to set.

Returns:

the ContainerAppsConfiguration object itself.

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:

dockerBridgeCidr - the dockerBridgeCidr value to set.

Returns:

the ContainerAppsConfiguration object itself.

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:

platformReservedCidr - the platformReservedCidr value to set.

Returns:

the ContainerAppsConfiguration object itself.

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:

platformReservedDnsIp - the platformReservedDnsIp value to set.

Returns:

the ContainerAppsConfiguration object itself.

Applies to