Udostępnij za pośrednictwem


ArmNetworkModelFactory.AdminRuleGroupData Method

Definition

Initializes a new instance of AdminRuleGroupData.

public static Azure.ResourceManager.Network.AdminRuleGroupData AdminRuleGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> appliesToGroups = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Guid? resourceGuid = default, Azure.ETag? etag = default);
static member AdminRuleGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Guid> * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.AdminRuleGroupData
Public Shared Function AdminRuleGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional appliesToGroups As IEnumerable(Of NetworkManagerSecurityGroupItem) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As AdminRuleGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

A description of the admin rule collection.

appliesToGroups
IEnumerable<NetworkManagerSecurityGroupItem>

Groups for configuration.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the resource.

resourceGuid
Nullable<Guid>

Unique identifier for this resource.

etag
Nullable<ETag>

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

Returns

A new AdminRuleGroupData instance for mocking.

Applies to