Share via


ArmStorageModelFactory.NspAccessRuleProperties Method

Definition

Initializes a new instance of NspAccessRuleProperties.

public static Azure.ResourceManager.Storage.Models.NspAccessRuleProperties NspAccessRuleProperties (Azure.ResourceManager.Storage.Models.NspAccessRuleDirection? direction = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> subscriptions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.NetworkSecurityPerimeter> networkSecurityPerimeters = default, System.Collections.Generic.IEnumerable<string> fullyQualifiedDomainNames = default);
static member NspAccessRuleProperties : Nullable<Azure.ResourceManager.Storage.Models.NspAccessRuleDirection> * seq<string> * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.Storage.Models.NetworkSecurityPerimeter> * seq<string> -> Azure.ResourceManager.Storage.Models.NspAccessRuleProperties
Public Shared Function NspAccessRuleProperties (Optional direction As Nullable(Of NspAccessRuleDirection) = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional subscriptions As IEnumerable(Of SubResource) = Nothing, Optional networkSecurityPerimeters As IEnumerable(Of NetworkSecurityPerimeter) = Nothing, Optional fullyQualifiedDomainNames As IEnumerable(Of String) = Nothing) As NspAccessRuleProperties

Parameters

direction
Nullable<NspAccessRuleDirection>

Direction of Access Rule.

addressPrefixes
IEnumerable<String>

Address prefixes in the CIDR format for inbound rules.

subscriptions
IEnumerable<SubResource>

Subscriptions for inbound rules.

networkSecurityPerimeters
IEnumerable<NetworkSecurityPerimeter>

NetworkSecurityPerimeters for inbound rules.

fullyQualifiedDomainNames
IEnumerable<String>

FQDN for outbound rules.

Returns

A new NspAccessRuleProperties instance for mocking.

Applies to