ArmRelayModelFactory.RelayNetworkRuleSetData 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 RelayNetworkRuleSetData.
public static Azure.ResourceManager.Relay.RelayNetworkRuleSetData RelayNetworkRuleSetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Relay.Models.RelayNetworkRuleSetDefaultAction? defaultAction = default, Azure.ResourceManager.Relay.Models.RelayPublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Relay.Models.RelayNetworkRuleSetIPRule> ipRules = default);
static member RelayNetworkRuleSetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Relay.Models.RelayNetworkRuleSetDefaultAction> * Nullable<Azure.ResourceManager.Relay.Models.RelayPublicNetworkAccess> * seq<Azure.ResourceManager.Relay.Models.RelayNetworkRuleSetIPRule> -> Azure.ResourceManager.Relay.RelayNetworkRuleSetData
Public Shared Function RelayNetworkRuleSetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional defaultAction As Nullable(Of RelayNetworkRuleSetDefaultAction) = Nothing, Optional publicNetworkAccess As Nullable(Of RelayPublicNetworkAccess) = Nothing, Optional ipRules As IEnumerable(Of RelayNetworkRuleSetIPRule) = Nothing) As RelayNetworkRuleSetData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- defaultAction
- Nullable<RelayNetworkRuleSetDefaultAction>
Default Action for Network Rule Set.
- publicNetworkAccess
- Nullable<RelayPublicNetworkAccess>
This determines if traffic is allowed over public network. By default it is enabled.
- ipRules
- IEnumerable<RelayNetworkRuleSetIPRule>
List of IpRules.
Returns
A new RelayNetworkRuleSetData instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET