Interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithStartingCommandLine<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.ContainerInstanceDefinition<ParentT>
,ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
,ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT>
- Enclosing interface:
- ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages
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 TypeMethodDescriptionContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withStartingCommandLine
(String executable) Specifies the starting command line.ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withStartingCommandLine
(String executable, String... parameters) Specifies the starting command lines.
-
Method Details
-
withStartingCommandLine
@Beta(V1_11_0) 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 containerparameters
- the parameter list for the executable to be called- Returns:
- the next stage of the definition
-
withStartingCommandLine
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
-