ArmNetworkCloudModelFactory.NetworkCloudAgentPoolData Method

Definition

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.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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> labels = default, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentPoolMode mode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> taints = default, Azure.ResourceManager.NetworkCloud.Models.AgentPoolUpgradeSettings upgradeSettings = default, string vmSkuName = default, Azure.ResourceManager.NetworkCloud.Models.AgentPoolDetailedStatus? detailedStatus = default, string detailedStatusMessage = default, string kubernetesVersion = default, Azure.ResourceManager.NetworkCloud.Models.AgentPoolProvisioningState? provisioningState = default, Azure.ETag? eTag = default, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = 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.AdministratorConfiguration * Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentConfiguration * Azure.ResourceManager.NetworkCloud.Models.AttachedNetworkConfiguration * seq<string> * int64 * seq<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> * Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentPoolMode * seq<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> * Azure.ResourceManager.NetworkCloud.Models.AgentPoolUpgradeSettings * string * Nullable<Azure.ResourceManager.NetworkCloud.Models.AgentPoolDetailedStatus> * string * string * Nullable<Azure.ResourceManager.NetworkCloud.Models.AgentPoolProvisioningState> * Nullable<Azure.ETag> * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation -> 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 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 labels As IEnumerable(Of KubernetesLabel) = Nothing, Optional mode As NetworkCloudAgentPoolMode = Nothing, Optional taints As IEnumerable(Of KubernetesLabel) = Nothing, Optional upgradeSettings As AgentPoolUpgradeSettings = Nothing, Optional vmSkuName As String = Nothing, Optional detailedStatus As Nullable(Of AgentPoolDetailedStatus) = Nothing, Optional detailedStatusMessage As String = Nothing, Optional kubernetesVersion As String = Nothing, Optional provisioningState As Nullable(Of AgentPoolProvisioningState) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing) As NetworkCloudAgentPoolData

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.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

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.

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.

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.

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.

provisioningState
Nullable<AgentPoolProvisioningState>

The provisioning state of the agent pool.

eTag
Nullable<ETag>

"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").

extendedLocation
Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation

Returns

A new NetworkCloudAgentPoolData instance for mocking.

Exceptions

vmSkuName is null.

Applies to