Watch Aspire live streamsDocsTry Aspire

addCosmosDBFirewallRule

Method
📦 Aspire.Hosting.Azure.Provisioning.CosmosDB v13.6.0-preview.1.26478.8
interface AzureResourceInfrastructure {
// ... omitted for brevity
addCosmosDBFirewallRule(
bicepIdentifier: string,
resourceVersion?: string): CosmosDBFirewallRuleProxy;
}

Signature

methodaddCosmosDBFirewallRule
Adds a CosmosDBFirewallRule provisioning model.
addCosmosDBFirewallRule(
bicepIdentifier: string,
resourceVersion?: string): CosmosDBFirewallRuleProxy
bicepIdentifierstring
resourceVersionstringoptional
CosmosDBFirewallRuleProxy

Applies to

This method applies to the following types: