Condividi tramite


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerUserAssignedIdentity Method

Definition

Initializes a new instance of PostgreSqlFlexibleServerUserAssignedIdentity.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerUserAssignedIdentity PostgreSqlFlexibleServerUserAssignedIdentity(System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Models.UserAssignedIdentity> userAssignedIdentities = default, Guid? principalId = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerIdentityType identityType = default, Guid? tenantId = default);
static member PostgreSqlFlexibleServerUserAssignedIdentity : System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Models.UserAssignedIdentity> * Nullable<Guid> * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerIdentityType * Nullable<Guid> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerUserAssignedIdentity
Public Shared Function PostgreSqlFlexibleServerUserAssignedIdentity (Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional identityType As PostgreSqlFlexibleServerIdentityType = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing) As PostgreSqlFlexibleServerUserAssignedIdentity

Parameters

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

Map of user assigned managed identities.

principalId
Nullable<Guid>

Identifier of the object of the service principal associated to the user assigned managed identity.

identityType
PostgreSqlFlexibleServerIdentityType

Types of identities associated with a server.

tenantId
Nullable<Guid>

Identifier of the tenant of a server.

Returns

A new PostgreSqlFlexibleServerUserAssignedIdentity instance for mocking.

Applies to