addSecurityRule

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

Signature

methodaddSecurityRule
Adds a SecurityRule provisioning model.
addSecurityRule(
bicepIdentifier: string,
resourceVersion?: string): SecurityRuleProxy
bicepIdentifierstringThe bicepIdentifier value.
resourceVersionstringoptionalThe resourceVersion value.
SecurityRuleProxy

Applies to

This method applies to the following types: