1. Packages
  2. Azure Native
  3. API Docs
  4. containerservice
  5. AutoUpgradeProfile
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.containerservice.AutoUpgradeProfile

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    The AutoUpgradeProfile resource. Azure REST API version: 2024-05-02-preview.

    Example Usage

    Create an AutoUpgradeProfile.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var autoUpgradeProfile = new AzureNative.ContainerService.AutoUpgradeProfile("autoUpgradeProfile", new()
        {
            AutoUpgradeProfileName = "autoupgradeprofile1",
            Channel = "Stable",
            FleetName = "fleet1",
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerservice.NewAutoUpgradeProfile(ctx, "autoUpgradeProfile", &containerservice.AutoUpgradeProfileArgs{
    			AutoUpgradeProfileName: pulumi.String("autoupgradeprofile1"),
    			Channel:                pulumi.String("Stable"),
    			FleetName:              pulumi.String("fleet1"),
    			ResourceGroupName:      pulumi.String("rg1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerservice.AutoUpgradeProfile;
    import com.pulumi.azurenative.containerservice.AutoUpgradeProfileArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var autoUpgradeProfile = new AutoUpgradeProfile("autoUpgradeProfile", AutoUpgradeProfileArgs.builder()
                .autoUpgradeProfileName("autoupgradeprofile1")
                .channel("Stable")
                .fleetName("fleet1")
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    auto_upgrade_profile = azure_native.containerservice.AutoUpgradeProfile("autoUpgradeProfile",
        auto_upgrade_profile_name="autoupgradeprofile1",
        channel="Stable",
        fleet_name="fleet1",
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const autoUpgradeProfile = new azure_native.containerservice.AutoUpgradeProfile("autoUpgradeProfile", {
        autoUpgradeProfileName: "autoupgradeprofile1",
        channel: "Stable",
        fleetName: "fleet1",
        resourceGroupName: "rg1",
    });
    
    resources:
      autoUpgradeProfile:
        type: azure-native:containerservice:AutoUpgradeProfile
        properties:
          autoUpgradeProfileName: autoupgradeprofile1
          channel: Stable
          fleetName: fleet1
          resourceGroupName: rg1
    

    Create AutoUpgradeProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AutoUpgradeProfile(name: string, args: AutoUpgradeProfileArgs, opts?: CustomResourceOptions);
    @overload
    def AutoUpgradeProfile(resource_name: str,
                           args: AutoUpgradeProfileArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutoUpgradeProfile(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           channel: Optional[Union[str, UpgradeChannel]] = None,
                           fleet_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           auto_upgrade_profile_name: Optional[str] = None,
                           disabled: Optional[bool] = None,
                           node_image_selection: Optional[AutoUpgradeNodeImageSelectionArgs] = None,
                           update_strategy_id: Optional[str] = None)
    func NewAutoUpgradeProfile(ctx *Context, name string, args AutoUpgradeProfileArgs, opts ...ResourceOption) (*AutoUpgradeProfile, error)
    public AutoUpgradeProfile(string name, AutoUpgradeProfileArgs args, CustomResourceOptions? opts = null)
    public AutoUpgradeProfile(String name, AutoUpgradeProfileArgs args)
    public AutoUpgradeProfile(String name, AutoUpgradeProfileArgs args, CustomResourceOptions options)
    
    type: azure-native:containerservice:AutoUpgradeProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AutoUpgradeProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AutoUpgradeProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AutoUpgradeProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutoUpgradeProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutoUpgradeProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var autoUpgradeProfileResource = new AzureNative.ContainerService.AutoUpgradeProfile("autoUpgradeProfileResource", new()
    {
        Channel = "string",
        FleetName = "string",
        ResourceGroupName = "string",
        AutoUpgradeProfileName = "string",
        Disabled = false,
        NodeImageSelection = new AzureNative.ContainerService.Inputs.AutoUpgradeNodeImageSelectionArgs
        {
            Type = "string",
        },
        UpdateStrategyId = "string",
    });
    
    example, err := containerservice.NewAutoUpgradeProfile(ctx, "autoUpgradeProfileResource", &containerservice.AutoUpgradeProfileArgs{
    	Channel:                pulumi.String("string"),
    	FleetName:              pulumi.String("string"),
    	ResourceGroupName:      pulumi.String("string"),
    	AutoUpgradeProfileName: pulumi.String("string"),
    	Disabled:               pulumi.Bool(false),
    	NodeImageSelection: &containerservice.AutoUpgradeNodeImageSelectionArgs{
    		Type: pulumi.String("string"),
    	},
    	UpdateStrategyId: pulumi.String("string"),
    })
    
    var autoUpgradeProfileResource = new AutoUpgradeProfile("autoUpgradeProfileResource", AutoUpgradeProfileArgs.builder()
        .channel("string")
        .fleetName("string")
        .resourceGroupName("string")
        .autoUpgradeProfileName("string")
        .disabled(false)
        .nodeImageSelection(AutoUpgradeNodeImageSelectionArgs.builder()
            .type("string")
            .build())
        .updateStrategyId("string")
        .build());
    
    auto_upgrade_profile_resource = azure_native.containerservice.AutoUpgradeProfile("autoUpgradeProfileResource",
        channel="string",
        fleet_name="string",
        resource_group_name="string",
        auto_upgrade_profile_name="string",
        disabled=False,
        node_image_selection={
            "type": "string",
        },
        update_strategy_id="string")
    
    const autoUpgradeProfileResource = new azure_native.containerservice.AutoUpgradeProfile("autoUpgradeProfileResource", {
        channel: "string",
        fleetName: "string",
        resourceGroupName: "string",
        autoUpgradeProfileName: "string",
        disabled: false,
        nodeImageSelection: {
            type: "string",
        },
        updateStrategyId: "string",
    });
    
    type: azure-native:containerservice:AutoUpgradeProfile
    properties:
        autoUpgradeProfileName: string
        channel: string
        disabled: false
        fleetName: string
        nodeImageSelection:
            type: string
        resourceGroupName: string
        updateStrategyId: string
    

    AutoUpgradeProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AutoUpgradeProfile resource accepts the following input properties:

    Channel string | Pulumi.AzureNative.ContainerService.UpgradeChannel
    Configures how auto-upgrade will be run.
    FleetName string
    The name of the Fleet resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AutoUpgradeProfileName string
    The name of the AutoUpgradeProfile resource.
    Disabled bool
    If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule. If set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters. This is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile. By default, this is set to False.
    NodeImageSelection Pulumi.AzureNative.ContainerService.Inputs.AutoUpgradeNodeImageSelection
    The node image upgrade to be applied to the target clusters in auto upgrade.
    UpdateStrategyId string
    The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet.
    Channel string | UpgradeChannel
    Configures how auto-upgrade will be run.
    FleetName string
    The name of the Fleet resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AutoUpgradeProfileName string
    The name of the AutoUpgradeProfile resource.
    Disabled bool
    If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule. If set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters. This is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile. By default, this is set to False.
    NodeImageSelection AutoUpgradeNodeImageSelectionArgs
    The node image upgrade to be applied to the target clusters in auto upgrade.
    UpdateStrategyId string
    The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet.
    channel String | UpgradeChannel
    Configures how auto-upgrade will be run.
    fleetName String
    The name of the Fleet resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    autoUpgradeProfileName String
    The name of the AutoUpgradeProfile resource.
    disabled Boolean
    If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule. If set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters. This is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile. By default, this is set to False.
    nodeImageSelection AutoUpgradeNodeImageSelection
    The node image upgrade to be applied to the target clusters in auto upgrade.
    updateStrategyId String
    The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet.
    channel string | UpgradeChannel
    Configures how auto-upgrade will be run.
    fleetName string
    The name of the Fleet resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    autoUpgradeProfileName string
    The name of the AutoUpgradeProfile resource.
    disabled boolean
    If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule. If set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters. This is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile. By default, this is set to False.
    nodeImageSelection AutoUpgradeNodeImageSelection
    The node image upgrade to be applied to the target clusters in auto upgrade.
    updateStrategyId string
    The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet.
    channel str | UpgradeChannel
    Configures how auto-upgrade will be run.
    fleet_name str
    The name of the Fleet resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    auto_upgrade_profile_name str
    The name of the AutoUpgradeProfile resource.
    disabled bool
    If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule. If set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters. This is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile. By default, this is set to False.
    node_image_selection AutoUpgradeNodeImageSelectionArgs
    The node image upgrade to be applied to the target clusters in auto upgrade.
    update_strategy_id str
    The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet.
    channel String | "rapid" | "stable" | "patch" | "node-image" | "none"
    Configures how auto-upgrade will be run.
    fleetName String
    The name of the Fleet resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    autoUpgradeProfileName String
    The name of the AutoUpgradeProfile resource.
    disabled Boolean
    If set to False: the auto upgrade has effect - target managed clusters will be upgraded on schedule. If set to True: the auto upgrade has no effect - no upgrade will be run on the target managed clusters. This is a boolean and not an enum because enabled/disabled are all available states of the auto upgrade profile. By default, this is set to False.
    nodeImageSelection Property Map
    The node image upgrade to be applied to the target clusters in auto upgrade.
    updateStrategyId String
    The resource id of the UpdateStrategy resource to reference. If not specified, the auto upgrade will run on all clusters which are members of the fleet.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AutoUpgradeProfile resource produces the following output properties:

    ETag string
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the AutoUpgradeProfile resource.
    SystemData Pulumi.AzureNative.ContainerService.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    ETag string
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the AutoUpgradeProfile resource.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    eTag String
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the AutoUpgradeProfile resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    eTag string
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    The provisioning state of the AutoUpgradeProfile resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    e_tag str
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    The provisioning state of the AutoUpgradeProfile resource.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    eTag String
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the AutoUpgradeProfile resource.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    AutoUpgradeNodeImageSelection, AutoUpgradeNodeImageSelectionArgs

    Type string | AutoUpgradeNodeImageSelectionType
    The node image upgrade type.
    type String | AutoUpgradeNodeImageSelectionType
    The node image upgrade type.
    type string | AutoUpgradeNodeImageSelectionType
    The node image upgrade type.
    type str | AutoUpgradeNodeImageSelectionType
    The node image upgrade type.
    type String | "Latest" | "Consistent"
    The node image upgrade type.

    AutoUpgradeNodeImageSelectionResponse, AutoUpgradeNodeImageSelectionResponseArgs

    Type string
    The node image upgrade type.
    Type string
    The node image upgrade type.
    type String
    The node image upgrade type.
    type string
    The node image upgrade type.
    type str
    The node image upgrade type.
    type String
    The node image upgrade type.

    AutoUpgradeNodeImageSelectionType, AutoUpgradeNodeImageSelectionTypeArgs

    Latest
    LatestUse the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions.
    Consistent
    ConsistentThe image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'.
    AutoUpgradeNodeImageSelectionTypeLatest
    LatestUse the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions.
    AutoUpgradeNodeImageSelectionTypeConsistent
    ConsistentThe image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'.
    Latest
    LatestUse the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions.
    Consistent
    ConsistentThe image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'.
    Latest
    LatestUse the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions.
    Consistent
    ConsistentThe image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'.
    LATEST
    LatestUse the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions.
    CONSISTENT
    ConsistentThe image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'.
    "Latest"
    LatestUse the latest image version when upgrading nodes. Clusters may use different image versions (e.g., 'AKSUbuntu-1804gen2containerd-2021.10.12' and 'AKSUbuntu-1804gen2containerd-2021.10.19') because, for example, the latest available version is different in different regions.
    "Consistent"
    ConsistentThe image versions to upgrade nodes to are selected as described below: for each node pool in managed clusters affected by the update run, the system selects the latest image version such that it is available across all other node pools (in all other clusters) of the same image type. As a result, all node pools of the same image type will be upgraded to the same image version. For example, if the latest image version for image type 'AKSUbuntu-1804gen2containerd' is 'AKSUbuntu-1804gen2containerd-2021.10.12' for a node pool in cluster A in region X, and is 'AKSUbuntu-1804gen2containerd-2021.10.17' for a node pool in cluster B in region Y, the system will upgrade both node pools to image version 'AKSUbuntu-1804gen2containerd-2021.10.12'.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UpgradeChannel, UpgradeChannelArgs

    Rapid
    rapidAutomatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1.
    Stable
    stableAutomatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6.
    Patch
    patchAutomatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9.
    Node_image
    node-imageAutomatically upgrade the node image to the latest version available. Microsoft provides patches and new images for image nodes frequently (usually weekly), but your running nodes won't get the new images unless you do a node image upgrade. Turning on the node-image channel will automatically update your node images whenever a new version is available.
    None
    noneDisables auto-upgrades and keeps the cluster at its current version of Kubernetes.
    UpgradeChannelRapid
    rapidAutomatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1.
    UpgradeChannelStable
    stableAutomatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6.
    UpgradeChannelPatch
    patchAutomatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9.
    UpgradeChannel_Node_Image
    node-imageAutomatically upgrade the node image to the latest version available. Microsoft provides patches and new images for image nodes frequently (usually weekly), but your running nodes won't get the new images unless you do a node image upgrade. Turning on the node-image channel will automatically update your node images whenever a new version is available.
    UpgradeChannelNone
    noneDisables auto-upgrades and keeps the cluster at its current version of Kubernetes.
    Rapid
    rapidAutomatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1.
    Stable
    stableAutomatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6.
    Patch
    patchAutomatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9.
    Nodeimage
    node-imageAutomatically upgrade the node image to the latest version available. Microsoft provides patches and new images for image nodes frequently (usually weekly), but your running nodes won't get the new images unless you do a node image upgrade. Turning on the node-image channel will automatically update your node images whenever a new version is available.
    None
    noneDisables auto-upgrades and keeps the cluster at its current version of Kubernetes.
    Rapid
    rapidAutomatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1.
    Stable
    stableAutomatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6.
    Patch
    patchAutomatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9.
    Node_image
    node-imageAutomatically upgrade the node image to the latest version available. Microsoft provides patches and new images for image nodes frequently (usually weekly), but your running nodes won't get the new images unless you do a node image upgrade. Turning on the node-image channel will automatically update your node images whenever a new version is available.
    None
    noneDisables auto-upgrades and keeps the cluster at its current version of Kubernetes.
    RAPID
    rapidAutomatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1.
    STABLE
    stableAutomatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6.
    PATCH
    patchAutomatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9.
    NODE_IMAGE
    node-imageAutomatically upgrade the node image to the latest version available. Microsoft provides patches and new images for image nodes frequently (usually weekly), but your running nodes won't get the new images unless you do a node image upgrade. Turning on the node-image channel will automatically update your node images whenever a new version is available.
    NONE
    noneDisables auto-upgrades and keeps the cluster at its current version of Kubernetes.
    "rapid"
    rapidAutomatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1.
    "stable"
    stableAutomatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6.
    "patch"
    patchAutomatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9.
    "node-image"
    node-imageAutomatically upgrade the node image to the latest version available. Microsoft provides patches and new images for image nodes frequently (usually weekly), but your running nodes won't get the new images unless you do a node image upgrade. Turning on the node-image channel will automatically update your node images whenever a new version is available.
    "none"
    noneDisables auto-upgrades and keeps the cluster at its current version of Kubernetes.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:containerservice:AutoUpgradeProfile autoupgradeprofile1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/autoUpgradeProfiles/{autoUpgradeProfileName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi