共用方式為


ContainerGroupIdentity Constructors

Definition

Overloads

ContainerGroupIdentity()

Initializes a new instance of the ContainerGroupIdentity class.

ContainerGroupIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,ContainerGroupIdentityUserAssignedIdentitiesValue>)

Initializes a new instance of the ContainerGroupIdentity class.

ContainerGroupIdentity()

Initializes a new instance of the ContainerGroupIdentity class.

public ContainerGroupIdentity ();
Public Sub New ()

Applies to

ContainerGroupIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,ContainerGroupIdentityUserAssignedIdentitiesValue>)

Initializes a new instance of the ContainerGroupIdentity class.

public ContainerGroupIdentity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupIdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupIdentity : string * string * Nullable<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupIdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupIdentity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, ContainerGroupIdentityUserAssignedIdentitiesValue) = Nothing)

Parameters

principalId
String

The principal id of the container group identity. This property will only be provided for a system assigned identity.

tenantId
String

The tenant id associated with the container group. This property will only be provided for a system assigned identity.

type
Nullable<ResourceIdentityType>

The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'

userAssignedIdentities
IDictionary<String,ContainerGroupIdentityUserAssignedIdentitiesValue>

The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Applies to