语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmNetworkModelFactory.NetworkGroupStaticMemberData Method

Definition

Initializes a new instance of NetworkGroupStaticMemberData.

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

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.

resourceId
ResourceIdentifier

Resource Id.

region
String

Resource region.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the scope assignment resource.

etag
Nullable<ETag>

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

Returns

A new NetworkGroupStaticMemberData instance for mocking.

Applies to