@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* The agentPool resource definition
*
* Uses Azure REST API version 2022-09-01-preview.
*/
export declare class AgentPool extends pulumi.CustomResource {
/**
* Get an existing AgentPool resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AgentPool;
/**
* Returns true if the given object is an instance of AgentPool. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AgentPool;
/**
* AvailabilityZones - The list of Availability zones to use for nodes. Datacenter racks modelled as zones
*/
readonly availabilityZones: pulumi.Output<string[] | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The underlying cloud infra provider properties.
*/
readonly cloudProviderProfile: pulumi.Output<outputs.hybridcontainerservice.CloudProviderProfileResponse | undefined>;
/**
* Count - Number of agents to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
*/
readonly count: pulumi.Output<number | undefined>;
readonly extendedLocation: pulumi.Output<outputs.hybridcontainerservice.AgentPoolResponseExtendedLocation | undefined>;
/**
* The resource location
*/
readonly location: pulumi.Output<string | undefined>;
/**
* The maximum number of nodes for auto-scaling
*/
readonly maxCount: pulumi.Output<number | undefined>;
/**
* The maximum number of pods that can run on a node.
*/
readonly maxPods: pulumi.Output<number | undefined>;
/**
* The minimum number of nodes for auto-scaling
*/
readonly minCount: pulumi.Output<number | undefined>;
/**
* Mode - AgentPoolMode represents mode of an agent pool. Possible values include: 'System', 'LB', 'User'. Default is 'User'
*/
readonly mode: pulumi.Output<string | undefined>;
/**
* Resource Name
*/
readonly name: pulumi.Output<string>;
/**
* The version of node image
*/
readonly nodeImageVersion: pulumi.Output<string | undefined>;
/**
* NodeLabels - Agent pool node labels to be persisted across all nodes in agent pool.
*/
readonly nodeLabels: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* NodeTaints - Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
*/
readonly nodeTaints: pulumi.Output<string[] | undefined>;
/**
* OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'
*/
readonly osType: pulumi.Output<string | undefined>;
readonly provisioningState: pulumi.Output<string>;
/**
* HybridAKSNodePoolStatus defines the observed state of HybridAKSNodePool
*/
readonly status: pulumi.Output<outputs.hybridcontainerservice.AgentPoolProvisioningStatusResponseStatus | undefined>;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: pulumi.Output<outputs.hybridcontainerservice.SystemDataResponse>;
/**
* Resource tags
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Resource Type
*/
readonly type: pulumi.Output<string>;
/**
* VmSize - The size of the agent pool VMs.
*/
readonly vmSize: pulumi.Output<string | undefined>;
/**
* Create a AgentPool resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: AgentPoolArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a AgentPool resource.
*/
export interface AgentPoolArgs {
/**
* Parameter for the name of the agent pool in the provisioned cluster
*/
agentPoolName?: pulumi.Input<string>;
/**
* AvailabilityZones - The list of Availability zones to use for nodes. Datacenter racks modelled as zones
*/
availabilityZones?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The underlying cloud infra provider properties.
*/
cloudProviderProfile?: pulumi.Input<inputs.hybridcontainerservice.CloudProviderProfileArgs>;
/**
* Count - Number of agents to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
*/
count?: pulumi.Input<number>;
extendedLocation?: pulumi.Input<inputs.hybridcontainerservice.AgentPoolExtendedLocationArgs>;
/**
* The resource location
*/
location?: pulumi.Input<string>;
/**
* The maximum number of nodes for auto-scaling
*/
maxCount?: pulumi.Input<number>;
/**
* The maximum number of pods that can run on a node.
*/
maxPods?: pulumi.Input<number>;
/**
* The minimum number of nodes for auto-scaling
*/
minCount?: pulumi.Input<number>;
/**
* Mode - AgentPoolMode represents mode of an agent pool. Possible values include: 'System', 'LB', 'User'. Default is 'User'
*/
mode?: pulumi.Input<string | enums.hybridcontainerservice.Mode>;
/**
* The version of node image
*/
nodeImageVersion?: pulumi.Input<string>;
/**
* NodeLabels - Agent pool node labels to be persisted across all nodes in agent pool.
*/
nodeLabels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* NodeTaints - Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
*/
nodeTaints?: pulumi.Input<pulumi.Input<string>[]>;
/**
* OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'
*/
osType?: pulumi.Input<string | enums.hybridcontainerservice.OsType>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Parameter for the name of the provisioned cluster
*/
resourceName: pulumi.Input<string>;
/**
* HybridAKSNodePoolStatus defines the observed state of HybridAKSNodePool
*/
status?: pulumi.Input<inputs.hybridcontainerservice.AgentPoolProvisioningStatusStatusArgs>;
/**
* Resource tags
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* VmSize - The size of the agent pool VMs.
*/
vmSize?: pulumi.Input<string>;
}