Watch Aspire live streamsDocsTry Aspire

addSecurityRule

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

Signature

methodaddSecurityRule
Adds a SecurityRule provisioning model.
addSecurityRule(
bicepIdentifier: string,
resourceVersion?: string): SecurityRuleProxy
bicepIdentifierstring
resourceVersionstringoptional
SecurityRuleProxy

Applies to

This method applies to the following types: