Class CustomContainer

java.lang.Object
com.azure.resourcemanager.appplatform.models.CustomContainer

public final class CustomContainer extends Object
Custom container payload.
  • Constructor Details

    • CustomContainer

      public CustomContainer()
  • Method Details

    • server

      public String server()
      Get the server property: The name of the registry that contains the container image.
      Returns:
      the server value.
    • withServer

      public CustomContainer withServer(String server)
      Set the server property: The name of the registry that contains the container image.
      Parameters:
      server - the server value to set.
      Returns:
      the CustomContainer object itself.
    • containerImage

      public String containerImage()
      Get the containerImage property: Container image of the custom container. This should be in the form of <repository>:<tag> without the server name of the registry.
      Returns:
      the containerImage value.
    • withContainerImage

      public CustomContainer withContainerImage(String containerImage)
      Set the containerImage property: Container image of the custom container. This should be in the form of <repository>:<tag> without the server name of the registry.
      Parameters:
      containerImage - the containerImage value to set.
      Returns:
      the CustomContainer object itself.
    • command

      public List<String> command()
      Get the command property: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
      Returns:
      the command value.
    • withCommand

      public CustomContainer withCommand(List<String> command)
      Set the command property: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
      Parameters:
      command - the command value to set.
      Returns:
      the CustomContainer object itself.
    • args

      public List<String> args()
      Get the args property: Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
      Returns:
      the args value.
    • withArgs

      public CustomContainer withArgs(List<String> args)
      Set the args property: Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
      Parameters:
      args - the args value to set.
      Returns:
      the CustomContainer object itself.
    • imageRegistryCredential

      public ImageRegistryCredential imageRegistryCredential()
      Get the imageRegistryCredential property: Credential of the image registry.
      Returns:
      the imageRegistryCredential value.
    • withImageRegistryCredential

      public CustomContainer withImageRegistryCredential(ImageRegistryCredential imageRegistryCredential)
      Set the imageRegistryCredential property: Credential of the image registry.
      Parameters:
      imageRegistryCredential - the imageRegistryCredential value to set.
      Returns:
      the CustomContainer object itself.
    • languageFramework

      public String languageFramework()
      Get the languageFramework property: Language framework of the container image uploaded.
      Returns:
      the languageFramework value.
    • withLanguageFramework

      public CustomContainer withLanguageFramework(String languageFramework)
      Set the languageFramework property: Language framework of the container image uploaded.
      Parameters:
      languageFramework - the languageFramework value to set.
      Returns:
      the CustomContainer object itself.
    • validate

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