Watch Aspire live streamsDocsTry Aspire

CosmosDBServiceProxy

Handle
📦 Aspire.Hosting.Azure.Provisioning.CosmosDB v13.6.0-preview.1.26478.8
interface CosmosDBServiceProxy {
readonly id: BicepValueProxy;
instanceCount: BicepValueProxy | number;
instanceSize: BicepValueProxy | CosmosDBServiceSize;
name: BicepValueProxy | string;
parent: CosmosDBAccountProxy;
readonly properties: CosmosDBServicePropertiesProxy;
serviceType: BicepValueProxy | CosmosDBServiceType;
readonly systemData: CosmosDBSystemDataProxy;
addTo(infrastructure: AzureResourceInfrastructure): void;
clearInstanceCount(): void;
clearInstanceSize(): void;
clearName(): void;
clearServiceType(): void;
}

Properties

propertyidBicepValueProxyget
Gets the Id provisioning property.
propertyinstanceCountBicepValueProxy | numberget · set
Gets or sets the InstanceCount provisioning property.
propertyinstanceSizeBicepValueProxy | CosmosDBServiceSizeget · set
Gets or sets the InstanceSize provisioning property.
propertynameBicepValueProxy | stringget · set
Gets or sets the Name provisioning property.
propertyparentCosmosDBAccountProxyget · set
Gets or sets the Parent provisioning property.
propertypropertiesCosmosDBServicePropertiesProxyget
Gets the Properties provisioning property.
propertyserviceTypeBicepValueProxy | CosmosDBServiceTypeget · set
Gets or sets the ServiceType 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 InstanceCount provisioning property.
clearInstanceCount(): void
Clears the InstanceSize provisioning property.
clearInstanceSize(): void
methodclearName
Clears the Name provisioning property.
clearName(): void
Clears the ServiceType provisioning property.
clearServiceType(): void