Sdílet prostřednictvím


ArmNetworkModelFactory.BaseAdminRuleData Method

Definition

Initializes a new instance of BaseAdminRuleData.

public static Azure.ResourceManager.Network.BaseAdminRuleData BaseAdminRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = default, Azure.ETag? etag = default);
public static Azure.ResourceManager.Network.BaseAdminRuleData BaseAdminRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = "Unknown", Azure.ETag? etag = default);
static member BaseAdminRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.BaseAdminRuleData
Public Shared Function BaseAdminRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As BaseAdminRuleData
Public Shared Function BaseAdminRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = "Unknown", Optional etag As Nullable(Of ETag) = Nothing) As BaseAdminRuleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kind
String

Whether the rule is custom or default.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

Returns

A new BaseAdminRuleData instance for mocking.

Applies to