AzureNspAccessRule
Class sealed net8.0
Represents an access rule configuration for an Azure Network Security Perimeter.
namespace Aspire.Hosting.Azure;
public sealed class AzureNspAccessRule{ // ...} 9 members
Remarks
Section titled Remarks Access rules control how traffic flows into and out of the network security perimeter. Inbound rules specify which external sources (IP ranges or subscriptions) can access resources within the perimeter. Outbound rules specify which external destinations (FQDNs) resources within the perimeter can communicate with.
Constructors1
Section titled ConstructorsProperties8
Section titled PropertiesAddressPrefixesget; initList<string> Gets or initializes the list of inbound address prefixes (CIDR ranges) allowed by this rule.
AddressPrefixReferencesget; initList<ReferenceExpression> Gets or initializes the list of inbound address prefixes (CIDR ranges)
ApplicationModel.ReferenceExpression values allowed by this rule. Directionget; setNetworkSecurityPerimeterAccessRuleDirection Gets or sets the direction of the rule.
FullyQualifiedDomainNameReferencesget; initList<ReferenceExpression> Gets or initializes the fully qualified domain name
ApplicationModel.ReferenceExpression values allowed by this rule. FullyQualifiedDomainNamesget; initList<string> Gets or initializes the list of fully qualified domain names (FQDNs) allowed by this rule.
Nameget; setstring Gets or sets the name of the access rule. This name must be unique within the perimeter profile.
SubscriptionReferencesget; initList<ReferenceExpression> Gets or initializes the subscription resource ID
ApplicationModel.ReferenceExpression values allowed by this rule. Subscriptionsget; initList<string> Gets or initializes the list of subscription IDs allowed by this rule.