次の方法で共有


ArmNetworkCloudModelFactory.NetworkCloudAgentPoolData Method

Definition

Initializes a new instance of NetworkCloudAgentPoolData.

public static Azure.ResourceManager.NetworkCloud.NetworkCloudAgentPoolData NetworkCloudAgentPoolData (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, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.NetworkCloud.Models.AdministratorConfiguration administratorConfiguration = default, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentConfiguration agentOptions = default, Azure.ResourceManager.NetworkCloud.Models.AttachedNetworkConfiguration attachedNetworkConfiguration = default, System.Collections.Generic.IEnumerable<string> availabilityZones = default, long count = 0, Azure.ResourceManager.NetworkCloud.Models.AgentPoolDetailedStatus? detailedStatus = default, string detailedStatusMessage = default, string kubernetesVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> labels = default, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentPoolMode mode = default, Azure.ResourceManager.NetworkCloud.Models.AgentPoolProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> taints = default, Azure.ResourceManager.NetworkCloud.Models.AgentPoolUpgradeSettings upgradeSettings = default, string vmSkuName = default);
static member NetworkCloudAgentPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation * Azure.ResourceManager.NetworkCloud.Models.AdministratorConfiguration * Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentConfiguration * Azure.ResourceManager.NetworkCloud.Models.AttachedNetworkConfiguration * seq<string> * int64 * Nullable<Azure.ResourceManager.NetworkCloud.Models.AgentPoolDetailedStatus> * string * string * seq<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> * Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentPoolMode * Nullable<Azure.ResourceManager.NetworkCloud.Models.AgentPoolProvisioningState> * seq<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> * Azure.ResourceManager.NetworkCloud.Models.AgentPoolUpgradeSettings * string -> Azure.ResourceManager.NetworkCloud.NetworkCloudAgentPoolData
Public Shared Function NetworkCloudAgentPoolData (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 extendedLocation As ExtendedLocation = Nothing, Optional administratorConfiguration As AdministratorConfiguration = Nothing, Optional agentOptions As NetworkCloudAgentConfiguration = Nothing, Optional attachedNetworkConfiguration As AttachedNetworkConfiguration = Nothing, Optional availabilityZones As IEnumerable(Of String) = Nothing, Optional count As Long = 0, Optional detailedStatus As Nullable(Of AgentPoolDetailedStatus) = Nothing, Optional detailedStatusMessage As String = Nothing, Optional kubernetesVersion As String = Nothing, Optional labels As IEnumerable(Of KubernetesLabel) = Nothing, Optional mode As NetworkCloudAgentPoolMode = Nothing, Optional provisioningState As Nullable(Of AgentPoolProvisioningState) = Nothing, Optional taints As IEnumerable(Of KubernetesLabel) = Nothing, Optional upgradeSettings As AgentPoolUpgradeSettings = Nothing, Optional vmSkuName As String = Nothing) As NetworkCloudAgentPoolData

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.

extendedLocation
ExtendedLocation

The extended location of the cluster associated with the resource.

administratorConfiguration
AdministratorConfiguration

The administrator credentials to be used for the nodes in this agent pool.

agentOptions
NetworkCloudAgentConfiguration

The configurations that will be applied to each agent in this agent pool.

attachedNetworkConfiguration
AttachedNetworkConfiguration

The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.

availabilityZones
IEnumerable<String>

The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.

count
Int64

The number of virtual machines that use this configuration.

detailedStatus
Nullable<AgentPoolDetailedStatus>

The current status of the agent pool.

detailedStatusMessage
String

The descriptive message about the current detailed status.

kubernetesVersion
String

The Kubernetes version running in this agent pool.

labels
IEnumerable<KubernetesLabel>

The labels applied to the nodes in this agent pool.

mode
NetworkCloudAgentPoolMode

The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.

provisioningState
Nullable<AgentPoolProvisioningState>

The provisioning state of the agent pool.

taints
IEnumerable<KubernetesLabel>

The taints applied to the nodes in this agent pool.

upgradeSettings
AgentPoolUpgradeSettings

The configuration of the agent pool.

vmSkuName
String

The name of the VM SKU that determines the size of resources allocated for node VMs.

Returns

A new NetworkCloudAgentPoolData instance for mocking.

Applies to