addNetworkSecurityGroup

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

Signature

methodaddNetworkSecurityGroup
Adds a NetworkSecurityGroup provisioning model.
addNetworkSecurityGroup(
bicepIdentifier: string,
resourceVersion?: string): NetworkSecurityGroupProxy
bicepIdentifierstringThe bicepIdentifier value.
resourceVersionstringoptionalThe resourceVersion value.
NetworkSecurityGroupProxy

Applies to

This method applies to the following types: