Język

ArmNetworkModelFactory.AdminRuleGroupData Method

Definition

public static Azure.ResourceManager.Network.AdminRuleGroupData AdminRuleGroupData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, string description, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkManagerSecurityGroupItem> appliesToGroups, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState, Guid? resourceGuid);
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> -> Azure.ResourceManager.Network.AdminRuleGroupData
Public Shared Function AdminRuleGroupData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, description As String, appliesToGroups As IEnumerable(Of NetworkManagerSecurityGroupItem), provisioningState As Nullable(Of NetworkProvisioningState), resourceGuid As Nullable(Of Guid)) As AdminRuleGroupData

Parameters

id
ResourceIdentifier

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.

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.

Returns

A new AdminRuleGroupData instance for mocking.

Applies to