Watch Aspire live streamsDocsTry Aspire

getMongoDBRoleDefinitionByIdentifier

Method
📦 Aspire.Hosting.Azure.Provisioning.CosmosDB v13.6.0-preview.1.26478.8
interface AzureResourceInfrastructure {
// ... omitted for brevity
getMongoDBRoleDefinitionByIdentifier(bicepIdentifier: string): MongoDBRoleDefinitionProxy;
}

Signature

methodgetMongoDBRoleDefinitionByIdentifier
Gets a MongoDBRoleDefinition provisioning resource by its Bicep identifier.
getMongoDBRoleDefinitionByIdentifier(bicepIdentifier: string): MongoDBRoleDefinitionProxy
bicepIdentifierstring
MongoDBRoleDefinitionProxy

Applies to

This method applies to the following types: