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.
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, bool? trustedServiceAccessEnabled = 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<bool> * 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 trustedServiceAccessEnabled As Nullable(Of Boolean) = 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
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Value that indicates whether Trusted Service Access is Enabled or not.
- 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.