ArmContainerInstanceModelFactory.ContainerGroupElasticProfile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupElasticProfile ContainerGroupElasticProfile(int? desiredCount = default, bool? maintainDesiredCount = default, string guidNamingPrefix = default);
static member ContainerGroupElasticProfile : Nullable<int> * Nullable<bool> * string -> Azure.ResourceManager.ContainerInstance.Models.ContainerGroupElasticProfile
Public Shared Function ContainerGroupElasticProfile (Optional desiredCount As Nullable(Of Integer) = Nothing, Optional maintainDesiredCount As Nullable(Of Boolean) = Nothing, Optional guidNamingPrefix As String = Nothing) As ContainerGroupElasticProfile
Parameters
Flag that indicates whether desiredCount should be maintained when customer deletes SPECIFIC container groups (CGs) from the NGroups. In this case, new CGs will be created by NGroup to compensate for the specific deleted ones.
- guidNamingPrefix
- String
The prefix can be used when there are tooling limitations (e.g. on the Azure portal where CGs from multiple NGroups exist in the same RG). The prefix with the suffixed resource name must still follow Azure resource naming guidelines.
Returns
A new ContainerGroupElasticProfile instance for mocking.