ArmBatchModelFactory.BatchAccessRuleProperties 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 BatchAccessRuleProperties.
public static Azure.ResourceManager.Batch.Models.BatchAccessRuleProperties BatchAccessRuleProperties (Azure.ResourceManager.Batch.Models.BatchAccessRuleDirection? 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.Batch.Models.NetworkSecurityPerimeter> networkSecurityPerimeters = default, System.Collections.Generic.IEnumerable<string> fullyQualifiedDomainNames = default, System.Collections.Generic.IEnumerable<string> emailAddresses = default, System.Collections.Generic.IEnumerable<string> phoneNumbers = default);
static member BatchAccessRuleProperties : Nullable<Azure.ResourceManager.Batch.Models.BatchAccessRuleDirection> * seq<string> * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.Batch.Models.NetworkSecurityPerimeter> * seq<string> * seq<string> * seq<string> -> Azure.ResourceManager.Batch.Models.BatchAccessRuleProperties
Public Shared Function BatchAccessRuleProperties (Optional direction As Nullable(Of BatchAccessRuleDirection) = 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, Optional emailAddresses As IEnumerable(Of String) = Nothing, Optional phoneNumbers As IEnumerable(Of String) = Nothing) As BatchAccessRuleProperties
Parameters
- direction
- Nullable<BatchAccessRuleDirection>
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>
Network security perimeters for inbound rules.
- fullyQualifiedDomainNames
- IEnumerable<String>
Fully qualified domain names (FQDN) for outbound rules.
- emailAddresses
- IEnumerable<String>
Email addresses for outbound rules.
- phoneNumbers
- IEnumerable<String>
Phone numbers for outbound rules.
Returns
A new BatchAccessRuleProperties instance for mocking.
Applies to
Azure SDK for .NET