Watch Aspire live streamsDocsTry Aspire

MongoDBUserDefinitionProxy

Handle
📦 Aspire.Hosting.Azure.Provisioning.CosmosDB v13.6.0-preview.1.26478.8
interface MongoDBUserDefinitionProxy {
customData: BicepValueProxy | string;
databaseName: BicepValueProxy | string;
readonly id: BicepValueProxy;
mechanisms: BicepValueProxy | string;
readonly name: BicepValueProxy | string;
parent: CosmosDBAccountProxy;
password: BicepValueProxy | string;
roles: Aspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfMongoDBRoleProxy;
readonly systemData: CosmosDBSystemDataProxy;
userName: BicepValueProxy | string;
addTo(infrastructure: AzureResourceInfrastructure): void;
clearCustomData(): void;
clearDatabaseName(): void;
clearMechanisms(): void;
clearPassword(): void;
clearUserName(): void;
}

Properties

propertycustomDataBicepValueProxy | stringget · set
Gets or sets the CustomData provisioning property.
propertydatabaseNameBicepValueProxy | stringget · set
Gets or sets the DatabaseName provisioning property.
propertyidBicepValueProxyget
Gets the Id provisioning property.
propertymechanismsBicepValueProxy | stringget · set
Gets or sets the Mechanisms provisioning property.
propertynameBicepValueProxy | stringget
Gets the Name provisioning property.
propertyparentCosmosDBAccountProxyget · set
Gets or sets the Parent provisioning property.
propertypasswordBicepValueProxy | stringget · set
Gets or sets the Password provisioning property.
propertyrolesAspire_Hosting_Azure_Provisioning_CosmosDB_Generated_ListOfMongoDBRoleProxyget · set
Gets or sets the Roles provisioning property.
propertysystemDataCosmosDBSystemDataProxyget
Gets the SystemData provisioning property.
propertyuserNameBicepValueProxy | stringget · set
Gets or sets the UserName provisioning property.

Methods

methodaddTo
Adds this provisioning resource to the Azure resource infrastructure.
addTo(infrastructure: AzureResourceInfrastructure): void
infrastructureAzureResourceInfrastructure
Clears the CustomData provisioning property.
clearCustomData(): void
Clears the DatabaseName provisioning property.
clearDatabaseName(): void
Clears the Mechanisms provisioning property.
clearMechanisms(): void
Clears the Password provisioning property.
clearPassword(): void
Clears the UserName provisioning property.
clearUserName(): void