Interface ContainerGroup.DefinitionStages.WithPrivateImageRegistry

All Known Subinterfaces:
ContainerGroup.Definition, ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume, ContainerGroup.DefinitionStages.WithPublicOrPrivateImageRegistry
Enclosing interface:
ContainerGroup.DefinitionStages

public static interface ContainerGroup.DefinitionStages.WithPrivateImageRegistry
The stage of the container group definition allowing to specify a private image registry.
  • Method Details

    • withPrivateImageRegistry

      ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume withPrivateImageRegistry(String server, String username, String password)
      Specifies the private container image registry server login for the container group.
      Parameters:
      server - Docker image registry server, without protocol such as "http" and "https"
      username - the username for the private registry
      password - the password for the private registry
      Returns:
      the next stage of the definition