다음을 통해 공유


ArmContainerRegistryModelFactory.ContainerRegistryAgentPoolData Method

Definition

Initializes a new instance of ContainerRegistryAgentPoolData.

public static Azure.ResourceManager.ContainerRegistry.ContainerRegistryAgentPoolData ContainerRegistryAgentPoolData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, int? count = default, string tier = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryOS? os = default, Azure.Core.ResourceIdentifier virtualNetworkSubnetResourceId = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState = default);
static member ContainerRegistryAgentPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<int> * string * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryOS> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState> -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryAgentPoolData
Public Shared Function ContainerRegistryAgentPoolData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional tier As String = Nothing, Optional os As Nullable(Of ContainerRegistryOS) = Nothing, Optional virtualNetworkSubnetResourceId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of ContainerRegistryProvisioningState) = Nothing) As ContainerRegistryAgentPoolData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

count
Nullable<Int32>

The count of agent machine.

tier
String

The Tier of agent machine.

os
Nullable<ContainerRegistryOS>

The OS of agent machine.

virtualNetworkSubnetResourceId
ResourceIdentifier

The Virtual Network Subnet Resource Id of the agent machine.

provisioningState
Nullable<ContainerRegistryProvisioningState>

The provisioning state of this agent pool.

Returns

A new ContainerRegistryAgentPoolData instance for mocking.

Applies to