1. Packages
  2. Azure Classic
  3. API Docs
  4. containerservice
  5. FleetUpdateRun

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.containerservice.FleetUpdateRun

Explore with Pulumi AI

Manages a Kubernetes Fleet Update Run.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = new azure.core.ResourceGroup("example", {
    name: "example-rg",
    location: "westeurope",
});
const exampleKubernetesFleetManager = new azure.containerservice.KubernetesFleetManager("example", {
    location: example.location,
    name: "example",
    resourceGroupName: example.name,
});
const exampleKubernetesCluster = new azure.containerservice.KubernetesCluster("example", {
    name: "example",
    location: example.location,
    resourceGroupName: example.name,
    dnsPrefix: "example",
    defaultNodePool: {
        name: "default",
        nodeCount: 1,
        vmSize: "Standard_DS2_v2",
    },
    identity: {
        type: "SystemAssigned",
    },
});
const exampleFleetMember = new azure.containerservice.FleetMember("example", {
    name: "example",
    kubernetesFleetId: exampleKubernetesFleetManager.id,
    kubernetesClusterId: exampleKubernetesCluster.id,
    group: "example-group",
});
const exampleFleetUpdateRun = new azure.containerservice.FleetUpdateRun("example", {
    name: "example",
    kubernetesFleetManagerId: exampleKubernetesFleetManager.id,
    managedClusterUpdate: {
        upgrade: {
            type: "Full",
            kubernetesVersion: "1.27",
        },
        nodeImageSelection: {
            type: "Latest",
        },
    },
    stages: [{
        name: "example",
        groups: [{
            name: "example-group",
        }],
        afterStageWaitInSeconds: 21,
    }],
});
Copy
import pulumi
import pulumi_azure as azure

example = azure.core.ResourceGroup("example",
    name="example-rg",
    location="westeurope")
example_kubernetes_fleet_manager = azure.containerservice.KubernetesFleetManager("example",
    location=example.location,
    name="example",
    resource_group_name=example.name)
example_kubernetes_cluster = azure.containerservice.KubernetesCluster("example",
    name="example",
    location=example.location,
    resource_group_name=example.name,
    dns_prefix="example",
    default_node_pool={
        "name": "default",
        "node_count": 1,
        "vm_size": "Standard_DS2_v2",
    },
    identity={
        "type": "SystemAssigned",
    })
example_fleet_member = azure.containerservice.FleetMember("example",
    name="example",
    kubernetes_fleet_id=example_kubernetes_fleet_manager.id,
    kubernetes_cluster_id=example_kubernetes_cluster.id,
    group="example-group")
example_fleet_update_run = azure.containerservice.FleetUpdateRun("example",
    name="example",
    kubernetes_fleet_manager_id=example_kubernetes_fleet_manager.id,
    managed_cluster_update={
        "upgrade": {
            "type": "Full",
            "kubernetes_version": "1.27",
        },
        "node_image_selection": {
            "type": "Latest",
        },
    },
    stages=[{
        "name": "example",
        "groups": [{
            "name": "example-group",
        }],
        "after_stage_wait_in_seconds": 21,
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerservice"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-rg"),
			Location: pulumi.String("westeurope"),
		})
		if err != nil {
			return err
		}
		exampleKubernetesFleetManager, err := containerservice.NewKubernetesFleetManager(ctx, "example", &containerservice.KubernetesFleetManagerArgs{
			Location:          example.Location,
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleKubernetesCluster, err := containerservice.NewKubernetesCluster(ctx, "example", &containerservice.KubernetesClusterArgs{
			Name:              pulumi.String("example"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			DnsPrefix:         pulumi.String("example"),
			DefaultNodePool: &containerservice.KubernetesClusterDefaultNodePoolArgs{
				Name:      pulumi.String("default"),
				NodeCount: pulumi.Int(1),
				VmSize:    pulumi.String("Standard_DS2_v2"),
			},
			Identity: &containerservice.KubernetesClusterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = containerservice.NewFleetMember(ctx, "example", &containerservice.FleetMemberArgs{
			Name:                pulumi.String("example"),
			KubernetesFleetId:   exampleKubernetesFleetManager.ID(),
			KubernetesClusterId: exampleKubernetesCluster.ID(),
			Group:               pulumi.String("example-group"),
		})
		if err != nil {
			return err
		}
		_, err = containerservice.NewFleetUpdateRun(ctx, "example", &containerservice.FleetUpdateRunArgs{
			Name:                     pulumi.String("example"),
			KubernetesFleetManagerId: exampleKubernetesFleetManager.ID(),
			ManagedClusterUpdate: &containerservice.FleetUpdateRunManagedClusterUpdateArgs{
				Upgrade: &containerservice.FleetUpdateRunManagedClusterUpdateUpgradeArgs{
					Type:              pulumi.String("Full"),
					KubernetesVersion: pulumi.String("1.27"),
				},
				NodeImageSelection: &containerservice.FleetUpdateRunManagedClusterUpdateNodeImageSelectionArgs{
					Type: pulumi.String("Latest"),
				},
			},
			Stages: containerservice.FleetUpdateRunStageArray{
				&containerservice.FleetUpdateRunStageArgs{
					Name: pulumi.String("example"),
					Groups: containerservice.FleetUpdateRunStageGroupArray{
						&containerservice.FleetUpdateRunStageGroupArgs{
							Name: pulumi.String("example-group"),
						},
					},
					AfterStageWaitInSeconds: pulumi.Int(21),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-rg",
        Location = "westeurope",
    });

    var exampleKubernetesFleetManager = new Azure.ContainerService.KubernetesFleetManager("example", new()
    {
        Location = example.Location,
        Name = "example",
        ResourceGroupName = example.Name,
    });

    var exampleKubernetesCluster = new Azure.ContainerService.KubernetesCluster("example", new()
    {
        Name = "example",
        Location = example.Location,
        ResourceGroupName = example.Name,
        DnsPrefix = "example",
        DefaultNodePool = new Azure.ContainerService.Inputs.KubernetesClusterDefaultNodePoolArgs
        {
            Name = "default",
            NodeCount = 1,
            VmSize = "Standard_DS2_v2",
        },
        Identity = new Azure.ContainerService.Inputs.KubernetesClusterIdentityArgs
        {
            Type = "SystemAssigned",
        },
    });

    var exampleFleetMember = new Azure.ContainerService.FleetMember("example", new()
    {
        Name = "example",
        KubernetesFleetId = exampleKubernetesFleetManager.Id,
        KubernetesClusterId = exampleKubernetesCluster.Id,
        Group = "example-group",
    });

    var exampleFleetUpdateRun = new Azure.ContainerService.FleetUpdateRun("example", new()
    {
        Name = "example",
        KubernetesFleetManagerId = exampleKubernetesFleetManager.Id,
        ManagedClusterUpdate = new Azure.ContainerService.Inputs.FleetUpdateRunManagedClusterUpdateArgs
        {
            Upgrade = new Azure.ContainerService.Inputs.FleetUpdateRunManagedClusterUpdateUpgradeArgs
            {
                Type = "Full",
                KubernetesVersion = "1.27",
            },
            NodeImageSelection = new Azure.ContainerService.Inputs.FleetUpdateRunManagedClusterUpdateNodeImageSelectionArgs
            {
                Type = "Latest",
            },
        },
        Stages = new[]
        {
            new Azure.ContainerService.Inputs.FleetUpdateRunStageArgs
            {
                Name = "example",
                Groups = new[]
                {
                    new Azure.ContainerService.Inputs.FleetUpdateRunStageGroupArgs
                    {
                        Name = "example-group",
                    },
                },
                AfterStageWaitInSeconds = 21,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.containerservice.KubernetesFleetManager;
import com.pulumi.azure.containerservice.KubernetesFleetManagerArgs;
import com.pulumi.azure.containerservice.KubernetesCluster;
import com.pulumi.azure.containerservice.KubernetesClusterArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterDefaultNodePoolArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterIdentityArgs;
import com.pulumi.azure.containerservice.FleetMember;
import com.pulumi.azure.containerservice.FleetMemberArgs;
import com.pulumi.azure.containerservice.FleetUpdateRun;
import com.pulumi.azure.containerservice.FleetUpdateRunArgs;
import com.pulumi.azure.containerservice.inputs.FleetUpdateRunManagedClusterUpdateArgs;
import com.pulumi.azure.containerservice.inputs.FleetUpdateRunManagedClusterUpdateUpgradeArgs;
import com.pulumi.azure.containerservice.inputs.FleetUpdateRunManagedClusterUpdateNodeImageSelectionArgs;
import com.pulumi.azure.containerservice.inputs.FleetUpdateRunStageArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-rg")
            .location("westeurope")
            .build());

        var exampleKubernetesFleetManager = new KubernetesFleetManager("exampleKubernetesFleetManager", KubernetesFleetManagerArgs.builder()
            .location(example.location())
            .name("example")
            .resourceGroupName(example.name())
            .build());

        var exampleKubernetesCluster = new KubernetesCluster("exampleKubernetesCluster", KubernetesClusterArgs.builder()
            .name("example")
            .location(example.location())
            .resourceGroupName(example.name())
            .dnsPrefix("example")
            .defaultNodePool(KubernetesClusterDefaultNodePoolArgs.builder()
                .name("default")
                .nodeCount(1)
                .vmSize("Standard_DS2_v2")
                .build())
            .identity(KubernetesClusterIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .build());

        var exampleFleetMember = new FleetMember("exampleFleetMember", FleetMemberArgs.builder()
            .name("example")
            .kubernetesFleetId(exampleKubernetesFleetManager.id())
            .kubernetesClusterId(exampleKubernetesCluster.id())
            .group("example-group")
            .build());

        var exampleFleetUpdateRun = new FleetUpdateRun("exampleFleetUpdateRun", FleetUpdateRunArgs.builder()
            .name("example")
            .kubernetesFleetManagerId(exampleKubernetesFleetManager.id())
            .managedClusterUpdate(FleetUpdateRunManagedClusterUpdateArgs.builder()
                .upgrade(FleetUpdateRunManagedClusterUpdateUpgradeArgs.builder()
                    .type("Full")
                    .kubernetesVersion("1.27")
                    .build())
                .nodeImageSelection(FleetUpdateRunManagedClusterUpdateNodeImageSelectionArgs.builder()
                    .type("Latest")
                    .build())
                .build())
            .stages(FleetUpdateRunStageArgs.builder()
                .name("example")
                .groups(FleetUpdateRunStageGroupArgs.builder()
                    .name("example-group")
                    .build())
                .afterStageWaitInSeconds(21)
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-rg
      location: westeurope
  exampleKubernetesFleetManager:
    type: azure:containerservice:KubernetesFleetManager
    name: example
    properties:
      location: ${example.location}
      name: example
      resourceGroupName: ${example.name}
  exampleKubernetesCluster:
    type: azure:containerservice:KubernetesCluster
    name: example
    properties:
      name: example
      location: ${example.location}
      resourceGroupName: ${example.name}
      dnsPrefix: example
      defaultNodePool:
        name: default
        nodeCount: 1
        vmSize: Standard_DS2_v2
      identity:
        type: SystemAssigned
  exampleFleetMember:
    type: azure:containerservice:FleetMember
    name: example
    properties:
      name: example
      kubernetesFleetId: ${exampleKubernetesFleetManager.id}
      kubernetesClusterId: ${exampleKubernetesCluster.id}
      group: example-group
  exampleFleetUpdateRun:
    type: azure:containerservice:FleetUpdateRun
    name: example
    properties:
      name: example
      kubernetesFleetManagerId: ${exampleKubernetesFleetManager.id}
      managedClusterUpdate:
        upgrade:
          type: Full
          kubernetesVersion: '1.27'
        nodeImageSelection:
          type: Latest
      stages:
        - name: example
          groups:
            - name: example-group
          afterStageWaitInSeconds: 21
Copy

Create FleetUpdateRun Resource

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

Constructor syntax

new FleetUpdateRun(name: string, args: FleetUpdateRunArgs, opts?: CustomResourceOptions);
@overload
def FleetUpdateRun(resource_name: str,
                   args: FleetUpdateRunArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def FleetUpdateRun(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   kubernetes_fleet_manager_id: Optional[str] = None,
                   managed_cluster_update: Optional[FleetUpdateRunManagedClusterUpdateArgs] = None,
                   fleet_update_strategy_id: Optional[str] = None,
                   name: Optional[str] = None,
                   stages: Optional[Sequence[FleetUpdateRunStageArgs]] = None)
func NewFleetUpdateRun(ctx *Context, name string, args FleetUpdateRunArgs, opts ...ResourceOption) (*FleetUpdateRun, error)
public FleetUpdateRun(string name, FleetUpdateRunArgs args, CustomResourceOptions? opts = null)
public FleetUpdateRun(String name, FleetUpdateRunArgs args)
public FleetUpdateRun(String name, FleetUpdateRunArgs args, CustomResourceOptions options)
type: azure:containerservice:FleetUpdateRun
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. FleetUpdateRunArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. FleetUpdateRunArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. FleetUpdateRunArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. FleetUpdateRunArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. FleetUpdateRunArgs
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 fleetUpdateRunResource = new Azure.ContainerService.FleetUpdateRun("fleetUpdateRunResource", new()
{
    KubernetesFleetManagerId = "string",
    ManagedClusterUpdate = new Azure.ContainerService.Inputs.FleetUpdateRunManagedClusterUpdateArgs
    {
        Upgrade = new Azure.ContainerService.Inputs.FleetUpdateRunManagedClusterUpdateUpgradeArgs
        {
            Type = "string",
            KubernetesVersion = "string",
        },
        NodeImageSelection = new Azure.ContainerService.Inputs.FleetUpdateRunManagedClusterUpdateNodeImageSelectionArgs
        {
            Type = "string",
        },
    },
    FleetUpdateStrategyId = "string",
    Name = "string",
    Stages = new[]
    {
        new Azure.ContainerService.Inputs.FleetUpdateRunStageArgs
        {
            Groups = new[]
            {
                new Azure.ContainerService.Inputs.FleetUpdateRunStageGroupArgs
                {
                    Name = "string",
                },
            },
            Name = "string",
            AfterStageWaitInSeconds = 0,
        },
    },
});
Copy
example, err := containerservice.NewFleetUpdateRun(ctx, "fleetUpdateRunResource", &containerservice.FleetUpdateRunArgs{
	KubernetesFleetManagerId: pulumi.String("string"),
	ManagedClusterUpdate: &containerservice.FleetUpdateRunManagedClusterUpdateArgs{
		Upgrade: &containerservice.FleetUpdateRunManagedClusterUpdateUpgradeArgs{
			Type:              pulumi.String("string"),
			KubernetesVersion: pulumi.String("string"),
		},
		NodeImageSelection: &containerservice.FleetUpdateRunManagedClusterUpdateNodeImageSelectionArgs{
			Type: pulumi.String("string"),
		},
	},
	FleetUpdateStrategyId: pulumi.String("string"),
	Name:                  pulumi.String("string"),
	Stages: containerservice.FleetUpdateRunStageArray{
		&containerservice.FleetUpdateRunStageArgs{
			Groups: containerservice.FleetUpdateRunStageGroupArray{
				&containerservice.FleetUpdateRunStageGroupArgs{
					Name: pulumi.String("string"),
				},
			},
			Name:                    pulumi.String("string"),
			AfterStageWaitInSeconds: pulumi.Int(0),
		},
	},
})
Copy
var fleetUpdateRunResource = new FleetUpdateRun("fleetUpdateRunResource", FleetUpdateRunArgs.builder()
    .kubernetesFleetManagerId("string")
    .managedClusterUpdate(FleetUpdateRunManagedClusterUpdateArgs.builder()
        .upgrade(FleetUpdateRunManagedClusterUpdateUpgradeArgs.builder()
            .type("string")
            .kubernetesVersion("string")
            .build())
        .nodeImageSelection(FleetUpdateRunManagedClusterUpdateNodeImageSelectionArgs.builder()
            .type("string")
            .build())
        .build())
    .fleetUpdateStrategyId("string")
    .name("string")
    .stages(FleetUpdateRunStageArgs.builder()
        .groups(FleetUpdateRunStageGroupArgs.builder()
            .name("string")
            .build())
        .name("string")
        .afterStageWaitInSeconds(0)
        .build())
    .build());
Copy
fleet_update_run_resource = azure.containerservice.FleetUpdateRun("fleetUpdateRunResource",
    kubernetes_fleet_manager_id="string",
    managed_cluster_update={
        "upgrade": {
            "type": "string",
            "kubernetes_version": "string",
        },
        "node_image_selection": {
            "type": "string",
        },
    },
    fleet_update_strategy_id="string",
    name="string",
    stages=[{
        "groups": [{
            "name": "string",
        }],
        "name": "string",
        "after_stage_wait_in_seconds": 0,
    }])
Copy
const fleetUpdateRunResource = new azure.containerservice.FleetUpdateRun("fleetUpdateRunResource", {
    kubernetesFleetManagerId: "string",
    managedClusterUpdate: {
        upgrade: {
            type: "string",
            kubernetesVersion: "string",
        },
        nodeImageSelection: {
            type: "string",
        },
    },
    fleetUpdateStrategyId: "string",
    name: "string",
    stages: [{
        groups: [{
            name: "string",
        }],
        name: "string",
        afterStageWaitInSeconds: 0,
    }],
});
Copy
type: azure:containerservice:FleetUpdateRun
properties:
    fleetUpdateStrategyId: string
    kubernetesFleetManagerId: string
    managedClusterUpdate:
        nodeImageSelection:
            type: string
        upgrade:
            kubernetesVersion: string
            type: string
    name: string
    stages:
        - afterStageWaitInSeconds: 0
          groups:
            - name: string
          name: string
Copy

FleetUpdateRun Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The FleetUpdateRun resource accepts the following input properties:

KubernetesFleetManagerId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
ManagedClusterUpdate This property is required. FleetUpdateRunManagedClusterUpdate
A managed_cluster_update block as defined below.
FleetUpdateStrategyId string
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
Name Changes to this property will trigger replacement. string
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
Stages List<FleetUpdateRunStage>
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
KubernetesFleetManagerId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
ManagedClusterUpdate This property is required. FleetUpdateRunManagedClusterUpdateArgs
A managed_cluster_update block as defined below.
FleetUpdateStrategyId string
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
Name Changes to this property will trigger replacement. string
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
Stages []FleetUpdateRunStageArgs
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
kubernetesFleetManagerId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
managedClusterUpdate This property is required. FleetUpdateRunManagedClusterUpdate
A managed_cluster_update block as defined below.
fleetUpdateStrategyId String
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
name Changes to this property will trigger replacement. String
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
stages List<FleetUpdateRunStage>
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
kubernetesFleetManagerId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
managedClusterUpdate This property is required. FleetUpdateRunManagedClusterUpdate
A managed_cluster_update block as defined below.
fleetUpdateStrategyId string
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
name Changes to this property will trigger replacement. string
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
stages FleetUpdateRunStage[]
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
kubernetes_fleet_manager_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
managed_cluster_update This property is required. FleetUpdateRunManagedClusterUpdateArgs
A managed_cluster_update block as defined below.
fleet_update_strategy_id str
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
name Changes to this property will trigger replacement. str
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
stages Sequence[FleetUpdateRunStageArgs]
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
kubernetesFleetManagerId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
managedClusterUpdate This property is required. Property Map
A managed_cluster_update block as defined below.
fleetUpdateStrategyId String
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
name Changes to this property will trigger replacement. String
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
stages List<Property Map>
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing FleetUpdateRun Resource

Get an existing FleetUpdateRun resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FleetUpdateRunState, opts?: CustomResourceOptions): FleetUpdateRun
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        fleet_update_strategy_id: Optional[str] = None,
        kubernetes_fleet_manager_id: Optional[str] = None,
        managed_cluster_update: Optional[FleetUpdateRunManagedClusterUpdateArgs] = None,
        name: Optional[str] = None,
        stages: Optional[Sequence[FleetUpdateRunStageArgs]] = None) -> FleetUpdateRun
func GetFleetUpdateRun(ctx *Context, name string, id IDInput, state *FleetUpdateRunState, opts ...ResourceOption) (*FleetUpdateRun, error)
public static FleetUpdateRun Get(string name, Input<string> id, FleetUpdateRunState? state, CustomResourceOptions? opts = null)
public static FleetUpdateRun get(String name, Output<String> id, FleetUpdateRunState state, CustomResourceOptions options)
resources:  _:    type: azure:containerservice:FleetUpdateRun    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
FleetUpdateStrategyId string
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
KubernetesFleetManagerId Changes to this property will trigger replacement. string
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
ManagedClusterUpdate FleetUpdateRunManagedClusterUpdate
A managed_cluster_update block as defined below.
Name Changes to this property will trigger replacement. string
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
Stages List<FleetUpdateRunStage>
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
FleetUpdateStrategyId string
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
KubernetesFleetManagerId Changes to this property will trigger replacement. string
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
ManagedClusterUpdate FleetUpdateRunManagedClusterUpdateArgs
A managed_cluster_update block as defined below.
Name Changes to this property will trigger replacement. string
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
Stages []FleetUpdateRunStageArgs
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
fleetUpdateStrategyId String
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
kubernetesFleetManagerId Changes to this property will trigger replacement. String
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
managedClusterUpdate FleetUpdateRunManagedClusterUpdate
A managed_cluster_update block as defined below.
name Changes to this property will trigger replacement. String
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
stages List<FleetUpdateRunStage>
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
fleetUpdateStrategyId string
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
kubernetesFleetManagerId Changes to this property will trigger replacement. string
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
managedClusterUpdate FleetUpdateRunManagedClusterUpdate
A managed_cluster_update block as defined below.
name Changes to this property will trigger replacement. string
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
stages FleetUpdateRunStage[]
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
fleet_update_strategy_id str
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
kubernetes_fleet_manager_id Changes to this property will trigger replacement. str
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
managed_cluster_update FleetUpdateRunManagedClusterUpdateArgs
A managed_cluster_update block as defined below.
name Changes to this property will trigger replacement. str
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
stages Sequence[FleetUpdateRunStageArgs]
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.
fleetUpdateStrategyId String
The ID of the Fleet Update Strategy. Only one of fleet_update_strategy_id or stage can be specified.
kubernetesFleetManagerId Changes to this property will trigger replacement. String
The ID of the Fleet Manager. Changing this forces a new Kubernetes Fleet Update Run to be created.
managedClusterUpdate Property Map
A managed_cluster_update block as defined below.
name Changes to this property will trigger replacement. String
The name which should be used for this Kubernetes Fleet Update Run. Changing this forces a new Kubernetes Fleet Update Run to be created.
stages List<Property Map>
One or more stage blocks as defined below. Only one of stage or fleet_update_strategy_id can be specified.

Supporting Types

FleetUpdateRunManagedClusterUpdate
, FleetUpdateRunManagedClusterUpdateArgs

Upgrade This property is required. FleetUpdateRunManagedClusterUpdateUpgrade
A upgrade block as defined below.
NodeImageSelection FleetUpdateRunManagedClusterUpdateNodeImageSelection
A node_image_selection block as defined below.
Upgrade This property is required. FleetUpdateRunManagedClusterUpdateUpgrade
A upgrade block as defined below.
NodeImageSelection FleetUpdateRunManagedClusterUpdateNodeImageSelection
A node_image_selection block as defined below.
upgrade This property is required. FleetUpdateRunManagedClusterUpdateUpgrade
A upgrade block as defined below.
nodeImageSelection FleetUpdateRunManagedClusterUpdateNodeImageSelection
A node_image_selection block as defined below.
upgrade This property is required. FleetUpdateRunManagedClusterUpdateUpgrade
A upgrade block as defined below.
nodeImageSelection FleetUpdateRunManagedClusterUpdateNodeImageSelection
A node_image_selection block as defined below.
upgrade This property is required. FleetUpdateRunManagedClusterUpdateUpgrade
A upgrade block as defined below.
node_image_selection FleetUpdateRunManagedClusterUpdateNodeImageSelection
A node_image_selection block as defined below.
upgrade This property is required. Property Map
A upgrade block as defined below.
nodeImageSelection Property Map
A node_image_selection block as defined below.

FleetUpdateRunManagedClusterUpdateNodeImageSelection
, FleetUpdateRunManagedClusterUpdateNodeImageSelectionArgs

Type This property is required. string
Specifies the node image upgrade type. Possible values are Latest and Consistent.
Type This property is required. string
Specifies the node image upgrade type. Possible values are Latest and Consistent.
type This property is required. String
Specifies the node image upgrade type. Possible values are Latest and Consistent.
type This property is required. string
Specifies the node image upgrade type. Possible values are Latest and Consistent.
type This property is required. str
Specifies the node image upgrade type. Possible values are Latest and Consistent.
type This property is required. String
Specifies the node image upgrade type. Possible values are Latest and Consistent.

FleetUpdateRunManagedClusterUpdateUpgrade
, FleetUpdateRunManagedClusterUpdateUpgradeArgs

Type This property is required. string
Specifies the type of upgrade to perform. Possible values are Full and NodeImageOnly.
KubernetesVersion string
Specifies the Kubernetes version to upgrade the member clusters to. This is required if type is set to Full.
Type This property is required. string
Specifies the type of upgrade to perform. Possible values are Full and NodeImageOnly.
KubernetesVersion string
Specifies the Kubernetes version to upgrade the member clusters to. This is required if type is set to Full.
type This property is required. String
Specifies the type of upgrade to perform. Possible values are Full and NodeImageOnly.
kubernetesVersion String
Specifies the Kubernetes version to upgrade the member clusters to. This is required if type is set to Full.
type This property is required. string
Specifies the type of upgrade to perform. Possible values are Full and NodeImageOnly.
kubernetesVersion string
Specifies the Kubernetes version to upgrade the member clusters to. This is required if type is set to Full.
type This property is required. str
Specifies the type of upgrade to perform. Possible values are Full and NodeImageOnly.
kubernetes_version str
Specifies the Kubernetes version to upgrade the member clusters to. This is required if type is set to Full.
type This property is required. String
Specifies the type of upgrade to perform. Possible values are Full and NodeImageOnly.
kubernetesVersion String
Specifies the Kubernetes version to upgrade the member clusters to. This is required if type is set to Full.

FleetUpdateRunStage
, FleetUpdateRunStageArgs

Groups This property is required. List<FleetUpdateRunStageGroup>
One or more group blocks as defined below.
Name This property is required. string
The name which should be used for this stage.
AfterStageWaitInSeconds int
Specifies the time in seconds to wait at the end of this stage before starting the next one.
Groups This property is required. []FleetUpdateRunStageGroup
One or more group blocks as defined below.
Name This property is required. string
The name which should be used for this stage.
AfterStageWaitInSeconds int
Specifies the time in seconds to wait at the end of this stage before starting the next one.
groups This property is required. List<FleetUpdateRunStageGroup>
One or more group blocks as defined below.
name This property is required. String
The name which should be used for this stage.
afterStageWaitInSeconds Integer
Specifies the time in seconds to wait at the end of this stage before starting the next one.
groups This property is required. FleetUpdateRunStageGroup[]
One or more group blocks as defined below.
name This property is required. string
The name which should be used for this stage.
afterStageWaitInSeconds number
Specifies the time in seconds to wait at the end of this stage before starting the next one.
groups This property is required. Sequence[FleetUpdateRunStageGroup]
One or more group blocks as defined below.
name This property is required. str
The name which should be used for this stage.
after_stage_wait_in_seconds int
Specifies the time in seconds to wait at the end of this stage before starting the next one.
groups This property is required. List<Property Map>
One or more group blocks as defined below.
name This property is required. String
The name which should be used for this stage.
afterStageWaitInSeconds Number
Specifies the time in seconds to wait at the end of this stage before starting the next one.

FleetUpdateRunStageGroup
, FleetUpdateRunStageGroupArgs

Name This property is required. string
The name which should be used for this group.
Name This property is required. string
The name which should be used for this group.
name This property is required. String
The name which should be used for this group.
name This property is required. string
The name which should be used for this group.
name This property is required. str
The name which should be used for this group.
name This property is required. String
The name which should be used for this group.

Import

Kubernetes Fleet Update Runs can be imported using the resource id, e.g.

$ pulumi import azure:containerservice/fleetUpdateRun:FleetUpdateRun example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resourceGroup1/providers/Microsoft.ContainerService/fleets/fleet1/updateRuns/updateRun1
Copy

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

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.