ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithStartingCommandLine<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public static interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithStartingCommandLine<ParentT>

The stage of the container instance definition allowing to specify the starting command line.

Method Summary

Modifier and Type Method and Description
abstract WithContainerInstanceAttach<ParentT> withStartingCommandLine(String executable)

Specifies the starting command line.

abstract WithContainerInstanceAttach<ParentT> withStartingCommandLine(String executable, String[] parameters)

Specifies the starting command lines.

Method Details

withStartingCommandLine

public abstract ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withStartingCommandLine(String executable)

Specifies the starting command line.

Parameters:

executable - the executable or path to the executable that will be called after initializing the container

Returns:

the next stage of the definition

withStartingCommandLine

public abstract ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withStartingCommandLine(String executable, String[] parameters)

Specifies the starting command lines.

Parameters:

executable - the executable which it will call after initializing the container
parameters - the parameter list for the executable to be called

Returns:

the next stage of the definition

Applies to