Watch Aspire live streamsDocsTry Aspire

MongoDBRoleDefinitionProxy

Handle
📦 Aspire.Hosting.Azure.Provisioning.CosmosDB v13.6.0-preview.1.26478.8
interface MongoDBRoleDefinitionProxy {
databaseName: BicepValueProxy | string;
definitionType: BicepValueProxy | MongoDBRoleDefinitionType;
readonly id: BicepValueProxy;
readonly name: BicepValueProxy | string;
parent: CosmosDBAccountProxy;
privileges: Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfMongoDBPrivilegeProxy;
roleName: BicepValueProxy | string;
roles: Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfMongoDBRoleProxy;
readonly systemData: CosmosDBSystemDataProxy;
addTo(infrastructure: AzureResourceInfrastructure): void;
clearDatabaseName(): void;
clearDefinitionType(): void;
clearRoleName(): void;
}

Properties

propertydatabaseNameBicepValueProxy | stringget · set
Gets or sets the DatabaseName provisioning property.
propertydefinitionTypeBicepValueProxy | MongoDBRoleDefinitionTypeget · set
Gets or sets the DefinitionType provisioning property.
propertyidBicepValueProxyget
Gets the Id provisioning property.
propertynameBicepValueProxy | stringget
Gets the Name provisioning property.
propertyparentCosmosDBAccountProxyget · set
Gets or sets the Parent provisioning property.
propertyprivilegesAspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfMongoDBPrivilegeProxyget · set
Gets or sets the Privileges provisioning property.
propertyroleNameBicepValueProxy | stringget · set
Gets or sets the RoleName provisioning property.
propertyrolesAspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfMongoDBRoleProxyget · set
Gets or sets the Roles provisioning property.
propertysystemDataCosmosDBSystemDataProxyget
Gets the SystemData provisioning property.

Methods

methodaddTo
Adds this provisioning resource to the Azure resource infrastructure.
addTo(infrastructure: AzureResourceInfrastructure): void
infrastructureAzureResourceInfrastructure
Clears the DatabaseName provisioning property.
clearDatabaseName(): void
Clears the DefinitionType provisioning property.
clearDefinitionType(): void
Clears the RoleName provisioning property.
clearRoleName(): void