ArmEventHubsModelFactory.EventHubsNspAccessRuleProperties 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 EventHubsNspAccessRuleProperties.
public static Azure.ResourceManager.EventHubs.Models.EventHubsNspAccessRuleProperties EventHubsNspAccessRuleProperties (Azure.ResourceManager.EventHubs.Models.EventHubsNspAccessRuleDirection? 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.EventHubs.Models.EventHubsNetworkSecurityPerimeter> networkSecurityPerimeters = default, System.Collections.Generic.IEnumerable<string> fullyQualifiedDomainNames = default);
static member EventHubsNspAccessRuleProperties : Nullable<Azure.ResourceManager.EventHubs.Models.EventHubsNspAccessRuleDirection> * seq<string> * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.EventHubs.Models.EventHubsNetworkSecurityPerimeter> * seq<string> -> Azure.ResourceManager.EventHubs.Models.EventHubsNspAccessRuleProperties
Public Shared Function EventHubsNspAccessRuleProperties (Optional direction As Nullable(Of EventHubsNspAccessRuleDirection) = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional subscriptions As IEnumerable(Of SubResource) = Nothing, Optional networkSecurityPerimeters As IEnumerable(Of EventHubsNetworkSecurityPerimeter) = Nothing, Optional fullyQualifiedDomainNames As IEnumerable(Of String) = Nothing) As EventHubsNspAccessRuleProperties
Parameters
- direction
- Nullable<EventHubsNspAccessRuleDirection>
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<EventHubsNetworkSecurityPerimeter>
NetworkSecurityPerimeters for inbound rules.
- fullyQualifiedDomainNames
- IEnumerable<String>
FQDN for outbound rules.
Returns
A new EventHubsNspAccessRuleProperties instance for mocking.