ArmCosmosDBForPostgreSqlModelFactory.CosmosDBForPostgreSqlRoleData 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.CosmosDBForPostgreSql.CosmosDBForPostgreSqlRoleData CosmosDBForPostgreSqlRoleData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.RoleType? roleType = default, string password = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier objectId = default, Azure.ResourceManager.CosmosDBForPostgreSql.Models.PrincipalType? principalType = default, Azure.Core.ResourceIdentifier tenantId = default);
static member CosmosDBForPostgreSqlRoleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.CosmosDBForPostgreSql.Models.RoleType> * string * Nullable<Azure.ResourceManager.CosmosDBForPostgreSql.Models.CosmosDBForPostgreSqlProvisioningState> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.CosmosDBForPostgreSql.Models.PrincipalType> * Azure.Core.ResourceIdentifier -> 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 roleType As Nullable(Of RoleType) = Nothing, Optional password As String = Nothing, Optional provisioningState As Nullable(Of CosmosDBForPostgreSqlProvisioningState) = Nothing, Optional objectId As ResourceIdentifier = Nothing, Optional principalType As Nullable(Of PrincipalType) = Nothing, Optional tenantId As ResourceIdentifier = Nothing) As CosmosDBForPostgreSqlRoleData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- password
- String
The password of the cluster role. If an identity is used, password will not be required.
- provisioningState
- Nullable<CosmosDBForPostgreSqlProvisioningState>
Provisioning state of the role.
- objectId
- ResourceIdentifier
A type definition that refers the id to an Azure Resource Manager resource.
- principalType
- Nullable<PrincipalType>
Gets or sets the PrincipalType.
- tenantId
- ResourceIdentifier
A type definition that refers the id to an Azure Resource Manager resource.
Returns
A new CosmosDBForPostgreSqlRoleData instance for mocking.