public static interface ContainerGroup.DefinitionStages.WithFirstContainerInstance
| Modifier and Type | Method and Description |
|---|---|
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.ContainerInstanceDefinitionBlank<ContainerGroup.DefinitionStages.WithNextContainerInstance> |
defineContainerInstance(String name)
Begins the definition of a container instance.
|
ContainerGroup.DefinitionStages.WithCreate |
withContainerInstance(String imageName)
Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with TCP port 80 opened externally.
|
ContainerGroup.DefinitionStages.WithCreate |
withContainerInstance(String imageName,
int port)
Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with a custom TCP port opened externally.
|
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.ContainerInstanceDefinitionBlank<ContainerGroup.DefinitionStages.WithNextContainerInstance> defineContainerInstance(String name)
name - the name of the container instanceContainerGroup.DefinitionStages.WithCreate withContainerInstance(String imageName)
imageName - the name of the container imageContainerGroup.DefinitionStages.WithCreate withContainerInstance(String imageName, int port)
imageName - the name of the container imageport - the external port to be opened/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/