ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlRoleData Method

Definition

Initializes a new instance of CosmosDBForPostgreSqlRoleData.

public static Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlRoleData CosmosDBForPostgreSqlRoleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string password = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlProvisioningState? provisioningState = default);
static member CosmosDBForPostgreSqlRoleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlProvisioningState> -> Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlRoleData
Public Shared Function CosmosDBForPostgreSqlRoleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional password As String = Nothing, Optional provisioningState As Nullable(Of CosmosDBForPostgreSqlProvisioningState) = Nothing) As CosmosDBForPostgreSqlRoleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

password
String

The password of the cluster role.

provisioningState
Nullable<CosmosDBForPostgreSqlProvisioningState>

Provisioning state of the role.

Returns

A new CosmosDBForPostgreSqlRoleData instance for mocking.

Applies to