Interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithCpuCoreCount<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.WithCpuCoreCount<ParentT>
The stage of the container instance definition allowing to specify the number of CPU cores.
The CPU cores can be specified as a fraction, i.e. 1.5 represents one and a half atomic CPU cores will be assigned to this container instance.
-
Method Summary
Modifier and TypeMethodDescriptionContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>withCpuCoreCount(double cpuCoreCount) Specifies the number of CPU cores assigned to this container instance.
-
Method Details
-
withCpuCoreCount
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withCpuCoreCount(double cpuCoreCount) Specifies the number of CPU cores assigned to this container instance.- Parameters:
cpuCoreCount- the number of CPU cores- Returns:
- the next stage of the definition
-