Share via


ArmContainerInstanceModelFactory.NGroupData Method

Definition

Initializes a new instance of NGroupData.

public static Azure.ResourceManager.ContainerInstance.NGroupData NGroupData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupElasticProfile elasticProfile = default, int? placementFaultDomainCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfileStub> containerGroupProfiles = default, Azure.ResourceManager.ContainerInstance.Models.NGroupProvisioningState? provisioningState = default, Azure.ResourceManager.ContainerInstance.Models.NGroupUpdateProfile updateProfile = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member NGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupElasticProfile * Nullable<int> * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfileStub> * Nullable<Azure.ResourceManager.ContainerInstance.Models.NGroupProvisioningState> * Azure.ResourceManager.ContainerInstance.Models.NGroupUpdateProfile * seq<string> -> Azure.ResourceManager.ContainerInstance.NGroupData
Public Shared Function NGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional elasticProfile As ContainerGroupElasticProfile = Nothing, Optional placementFaultDomainCount As Nullable(Of Integer) = Nothing, Optional containerGroupProfiles As IEnumerable(Of ContainerGroupProfileStub) = Nothing, Optional provisioningState As Nullable(Of NGroupProvisioningState) = Nothing, Optional updateProfile As NGroupUpdateProfile = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As NGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
ManagedServiceIdentity

The identity of the NGroup, if configured.

elasticProfile
ContainerGroupElasticProfile

The elastic profile.

placementFaultDomainCount
Nullable<Int32>

Provides options w.r.t allocation and management w.r.t certain placement policies. These utilize capabilities provided by the underlying Azure infrastructure. They are typically used for high availability scenarios. E.g., distributing CGs across fault domains.

containerGroupProfiles
IEnumerable<ContainerGroupProfileStub>

The Container Group Profiles that could be used in the NGroups resource.

provisioningState
Nullable<NGroupProvisioningState>

The provisioning state, which only appears in the response.

updateProfile
NGroupUpdateProfile

Used by the customer to specify the way to update the Container Groups in NGroup.

zones
IEnumerable<String>

The zones for the container group.

Returns

A new NGroupData instance for mocking.

Applies to