Class ContainerAppsConfiguration


  • public final class ContainerAppsConfiguration
    extends Object
    The ContainerAppsConfiguration model.
    • Constructor Detail

      • ContainerAppsConfiguration

        public ContainerAppsConfiguration()
    • Method Detail

      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.