Skip to content
Docs Try Aspire
Docs Try

AzureNspAccessRule Properties

Class Properties 8 members
Represents an access rule configuration for an Azure Network Security Perimeter.
AddressPrefixes Section titled AddressPrefixes List<string>
Gets or initializes the list of inbound address prefixes (CIDR ranges) allowed by this rule.
public List<string> AddressPrefixes { get; init; }
Only applicable for NetworkSecurityPerimeterAccessRuleDirection.Inbound rules.
AddressPrefixReferences Section titled AddressPrefixReferences List<ReferenceExpression>
Gets or initializes the list of inbound address prefixes (CIDR ranges) ApplicationModel.ReferenceExpression values allowed by this rule.
public List<ReferenceExpression> AddressPrefixReferences { get; init; }
Only applicable for NetworkSecurityPerimeterAccessRuleDirection.Inbound rules. Values are resolved at deploy time and combined with AzureNspAccessRule.AddressPrefixes.
Direction Section titled Direction NetworkSecurityPerimeterAccessRuleDirection
Gets or sets the direction of the rule.
public NetworkSecurityPerimeterAccessRuleDirection Direction { get; set; }
FullyQualifiedDomainNameReferences Section titled FullyQualifiedDomainNameReferences List<ReferenceExpression>
Gets or initializes the fully qualified domain name ApplicationModel.ReferenceExpression values allowed by this rule.
public List<ReferenceExpression> FullyQualifiedDomainNameReferences { get; init; }
Only applicable for NetworkSecurityPerimeterAccessRuleDirection.Outbound rules. Values are resolved at deploy time and combined with AzureNspAccessRule.FullyQualifiedDomainNames.
FullyQualifiedDomainNames Section titled FullyQualifiedDomainNames List<string>
Gets or initializes the list of fully qualified domain names (FQDNs) allowed by this rule.
public List<string> FullyQualifiedDomainNames { get; init; }
Only applicable for NetworkSecurityPerimeterAccessRuleDirection.Outbound rules.
Gets or sets the name of the access rule. This name must be unique within the perimeter profile.
public string Name { get; set; }
SubscriptionReferences Section titled SubscriptionReferences List<ReferenceExpression>
Gets or initializes the subscription resource ID ApplicationModel.ReferenceExpression values allowed by this rule.
public List<ReferenceExpression> SubscriptionReferences { get; init; }
Only applicable for NetworkSecurityPerimeterAccessRuleDirection.Inbound rules. Values are resolved at deploy time and combined with AzureNspAccessRule.Subscriptions.
Subscriptions Section titled Subscriptions List<string>
Gets or initializes the list of subscription IDs allowed by this rule.
public List<string> Subscriptions { get; init; }
Only applicable for NetworkSecurityPerimeterAccessRuleDirection.Inbound rules. Subscription IDs should be in the format of a resource ID: /subscriptions/{subscriptionId}.