ArmStorageModelFactory.NspAccessRuleProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET