addCosmosDBRoleAssignment

Method
📦 Aspire.Hosting.Azure.Provisioning.CosmosDB v17.0.0-preview.1.26567.5
interface AzureResourceInfrastructure {
// ... omitted for brevity
addCosmosDBRoleAssignment(
bicepIdentifier: string,
resourceVersion?: string): CosmosDBRoleAssignmentProxy;
}

Signature

methodaddCosmosDBRoleAssignment
Adds a RoleAssignment provisioning model.
addCosmosDBRoleAssignment(
bicepIdentifier: string,
resourceVersion?: string): CosmosDBRoleAssignmentProxy
bicepIdentifierstringThe bicepIdentifier value.
resourceVersionstringoptionalThe resourceVersion value.
CosmosDBRoleAssignmentProxy

Applies to

This method applies to the following types: