AzureNetworkSecurityGroupResource
Classnet10.0
Represents an Azure Network Security Group resource.
namespace Aspire.Hosting.Azure;
public class AzureNetworkSecurityGroupResource : Aspire.Hosting.Azure.AzureProvisioningResource{ // ...}AzureProvisioningResource
5 members
Remarks
Section titled Remarks A Network Security Group contains security rules that control inbound and outbound network traffic. Use
AzureProvisioningResourceExtensions.ConfigureInfrastructure to configure specific Azure.Provisioning properties. Constructors1
Section titled Constructors Represents an Azure Network Security Group resource.
Properties3
Section titled PropertiesIdgetBicepOutputReference Gets the "id" output reference from the Azure Network Security Group resource.
Gets the modeled security rules, including rules added through subnet shorthand methods.
Methods1
Section titled MethodsProvisionableResource Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource.