azure-native.containerservice.UpdateRun
Explore with Pulumi AI
A multi-stage process to perform update operations across members of a Fleet. Azure REST API version: 2023-03-15-preview.
Other available API versions: 2023-06-15-preview, 2023-08-15-preview, 2023-10-15, 2024-02-02-preview, 2024-04-01, 2024-05-02-preview.
Example Usage
Create an UpdateRun.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var updateRun = new AzureNative.ContainerService.UpdateRun("updateRun", new()
{
FleetName = "fleet1",
ManagedClusterUpdate = new AzureNative.ContainerService.Inputs.ManagedClusterUpdateArgs
{
Upgrade = new AzureNative.ContainerService.Inputs.ManagedClusterUpgradeSpecArgs
{
KubernetesVersion = "1.26.1",
Type = AzureNative.ContainerService.ManagedClusterUpgradeType.Full,
},
},
ResourceGroupName = "rg1",
Strategy = new AzureNative.ContainerService.Inputs.UpdateRunStrategyArgs
{
Stages = new[]
{
new AzureNative.ContainerService.Inputs.UpdateStageArgs
{
AfterStageWaitInSeconds = 3600,
Groups = new[]
{
new AzureNative.ContainerService.Inputs.UpdateGroupArgs
{
Name = "group-a",
},
},
Name = "stage1",
},
},
},
UpdateRunName = "run1",
});
});
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.NewUpdateRun(ctx, "updateRun", &containerservice.UpdateRunArgs{
FleetName: pulumi.String("fleet1"),
ManagedClusterUpdate: &containerservice.ManagedClusterUpdateArgs{
Upgrade: &containerservice.ManagedClusterUpgradeSpecArgs{
KubernetesVersion: pulumi.String("1.26.1"),
Type: pulumi.String(containerservice.ManagedClusterUpgradeTypeFull),
},
},
ResourceGroupName: pulumi.String("rg1"),
Strategy: &containerservice.UpdateRunStrategyArgs{
Stages: containerservice.UpdateStageArray{
&containerservice.UpdateStageArgs{
AfterStageWaitInSeconds: pulumi.Int(3600),
Groups: containerservice.UpdateGroupArray{
&containerservice.UpdateGroupArgs{
Name: pulumi.String("group-a"),
},
},
Name: pulumi.String("stage1"),
},
},
},
UpdateRunName: pulumi.String("run1"),
})
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.UpdateRun;
import com.pulumi.azurenative.containerservice.UpdateRunArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterUpdateArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterUpgradeSpecArgs;
import com.pulumi.azurenative.containerservice.inputs.UpdateRunStrategyArgs;
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 updateRun = new UpdateRun("updateRun", UpdateRunArgs.builder()
.fleetName("fleet1")
.managedClusterUpdate(ManagedClusterUpdateArgs.builder()
.upgrade(ManagedClusterUpgradeSpecArgs.builder()
.kubernetesVersion("1.26.1")
.type("Full")
.build())
.build())
.resourceGroupName("rg1")
.strategy(UpdateRunStrategyArgs.builder()
.stages(UpdateStageArgs.builder()
.afterStageWaitInSeconds(3600)
.groups(UpdateGroupArgs.builder()
.name("group-a")
.build())
.name("stage1")
.build())
.build())
.updateRunName("run1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
update_run = azure_native.containerservice.UpdateRun("updateRun",
fleet_name="fleet1",
managed_cluster_update={
"upgrade": {
"kubernetes_version": "1.26.1",
"type": azure_native.containerservice.ManagedClusterUpgradeType.FULL,
},
},
resource_group_name="rg1",
strategy={
"stages": [{
"after_stage_wait_in_seconds": 3600,
"groups": [{
"name": "group-a",
}],
"name": "stage1",
}],
},
update_run_name="run1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const updateRun = new azure_native.containerservice.UpdateRun("updateRun", {
fleetName: "fleet1",
managedClusterUpdate: {
upgrade: {
kubernetesVersion: "1.26.1",
type: azure_native.containerservice.ManagedClusterUpgradeType.Full,
},
},
resourceGroupName: "rg1",
strategy: {
stages: [{
afterStageWaitInSeconds: 3600,
groups: [{
name: "group-a",
}],
name: "stage1",
}],
},
updateRunName: "run1",
});
resources:
updateRun:
type: azure-native:containerservice:UpdateRun
properties:
fleetName: fleet1
managedClusterUpdate:
upgrade:
kubernetesVersion: 1.26.1
type: Full
resourceGroupName: rg1
strategy:
stages:
- afterStageWaitInSeconds: 3600
groups:
- name: group-a
name: stage1
updateRunName: run1
Create UpdateRun Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UpdateRun(name: string, args: UpdateRunArgs, opts?: CustomResourceOptions);
@overload
def UpdateRun(resource_name: str,
args: UpdateRunArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UpdateRun(resource_name: str,
opts: Optional[ResourceOptions] = None,
fleet_name: Optional[str] = None,
managed_cluster_update: Optional[ManagedClusterUpdateArgs] = None,
resource_group_name: Optional[str] = None,
strategy: Optional[UpdateRunStrategyArgs] = None,
update_run_name: Optional[str] = None)
func NewUpdateRun(ctx *Context, name string, args UpdateRunArgs, opts ...ResourceOption) (*UpdateRun, error)
public UpdateRun(string name, UpdateRunArgs args, CustomResourceOptions? opts = null)
public UpdateRun(String name, UpdateRunArgs args)
public UpdateRun(String name, UpdateRunArgs args, CustomResourceOptions options)
type: azure-native:containerservice:UpdateRun
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 UpdateRunArgs
- 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 UpdateRunArgs
- 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 UpdateRunArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UpdateRunArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UpdateRunArgs
- 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 azure_nativeUpdateRunResource = new AzureNative.ContainerService.UpdateRun("azure-nativeUpdateRunResource", new()
{
FleetName = "string",
ManagedClusterUpdate = new AzureNative.ContainerService.Inputs.ManagedClusterUpdateArgs
{
Upgrade = new AzureNative.ContainerService.Inputs.ManagedClusterUpgradeSpecArgs
{
Type = "string",
KubernetesVersion = "string",
},
},
ResourceGroupName = "string",
Strategy = new AzureNative.ContainerService.Inputs.UpdateRunStrategyArgs
{
Stages = new[]
{
new AzureNative.ContainerService.Inputs.UpdateStageArgs
{
Name = "string",
AfterStageWaitInSeconds = 0,
Groups = new[]
{
new AzureNative.ContainerService.Inputs.UpdateGroupArgs
{
Name = "string",
},
},
},
},
},
UpdateRunName = "string",
});
example, err := containerservice.NewUpdateRun(ctx, "azure-nativeUpdateRunResource", &containerservice.UpdateRunArgs{
FleetName: pulumi.String("string"),
ManagedClusterUpdate: &containerservice.ManagedClusterUpdateArgs{
Upgrade: &containerservice.ManagedClusterUpgradeSpecArgs{
Type: pulumi.String("string"),
KubernetesVersion: pulumi.String("string"),
},
},
ResourceGroupName: pulumi.String("string"),
Strategy: &containerservice.UpdateRunStrategyArgs{
Stages: containerservice.UpdateStageArray{
&containerservice.UpdateStageArgs{
Name: pulumi.String("string"),
AfterStageWaitInSeconds: pulumi.Int(0),
Groups: containerservice.UpdateGroupArray{
&containerservice.UpdateGroupArgs{
Name: pulumi.String("string"),
},
},
},
},
},
UpdateRunName: pulumi.String("string"),
})
var azure_nativeUpdateRunResource = new UpdateRun("azure-nativeUpdateRunResource", UpdateRunArgs.builder()
.fleetName("string")
.managedClusterUpdate(ManagedClusterUpdateArgs.builder()
.upgrade(ManagedClusterUpgradeSpecArgs.builder()
.type("string")
.kubernetesVersion("string")
.build())
.build())
.resourceGroupName("string")
.strategy(UpdateRunStrategyArgs.builder()
.stages(UpdateStageArgs.builder()
.name("string")
.afterStageWaitInSeconds(0)
.groups(UpdateGroupArgs.builder()
.name("string")
.build())
.build())
.build())
.updateRunName("string")
.build());
azure_native_update_run_resource = azure_native.containerservice.UpdateRun("azure-nativeUpdateRunResource",
fleet_name="string",
managed_cluster_update={
"upgrade": {
"type": "string",
"kubernetesVersion": "string",
},
},
resource_group_name="string",
strategy={
"stages": [{
"name": "string",
"afterStageWaitInSeconds": 0,
"groups": [{
"name": "string",
}],
}],
},
update_run_name="string")
const azure_nativeUpdateRunResource = new azure_native.containerservice.UpdateRun("azure-nativeUpdateRunResource", {
fleetName: "string",
managedClusterUpdate: {
upgrade: {
type: "string",
kubernetesVersion: "string",
},
},
resourceGroupName: "string",
strategy: {
stages: [{
name: "string",
afterStageWaitInSeconds: 0,
groups: [{
name: "string",
}],
}],
},
updateRunName: "string",
});
type: azure-native:containerservice:UpdateRun
properties:
fleetName: string
managedClusterUpdate:
upgrade:
kubernetesVersion: string
type: string
resourceGroupName: string
strategy:
stages:
- afterStageWaitInSeconds: 0
groups:
- name: string
name: string
updateRunName: string
UpdateRun 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 UpdateRun resource accepts the following input properties:
- Fleet
Name string - The name of the Fleet resource.
- Managed
Cluster Pulumi.Update Azure Native. Container Service. Inputs. Managed Cluster Update - The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Strategy
Pulumi.
Azure Native. Container Service. Inputs. Update Run Strategy - The strategy defines the order in which the clusters will be updated. If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- Update
Run stringName - The name of the UpdateRun resource.
- Fleet
Name string - The name of the Fleet resource.
- Managed
Cluster ManagedUpdate Cluster Update Args - The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Strategy
Update
Run Strategy Args - The strategy defines the order in which the clusters will be updated. If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- Update
Run stringName - The name of the UpdateRun resource.
- fleet
Name String - The name of the Fleet resource.
- managed
Cluster ManagedUpdate Cluster Update - The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- strategy
Update
Run Strategy - The strategy defines the order in which the clusters will be updated. If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- update
Run StringName - The name of the UpdateRun resource.
- fleet
Name string - The name of the Fleet resource.
- managed
Cluster ManagedUpdate Cluster Update - The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- strategy
Update
Run Strategy - The strategy defines the order in which the clusters will be updated. If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- update
Run stringName - The name of the UpdateRun resource.
- fleet_
name str - The name of the Fleet resource.
- managed_
cluster_ Managedupdate Cluster Update Args - The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- strategy
Update
Run Strategy Args - The strategy defines the order in which the clusters will be updated. If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- update_
run_ strname - The name of the UpdateRun resource.
- fleet
Name String - The name of the Fleet resource.
- managed
Cluster Property MapUpdate - The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- strategy Property Map
- The strategy defines the order in which the clusters will be updated. If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members. The strategy of the UpdateRun can be modified until the run is started.
- update
Run StringName - The name of the UpdateRun resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the UpdateRun 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
- Provisioning
State string - The provisioning state of the UpdateRun resource.
- Status
Pulumi.
Azure Native. Container Service. Outputs. Update Run Status Response - The status of the UpdateRun.
- System
Data Pulumi.Azure Native. Container Service. Outputs. System Data Response - 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
- Provisioning
State string - The provisioning state of the UpdateRun resource.
- Status
Update
Run Status Response - The status of the UpdateRun.
- System
Data SystemData Response - 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 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
- provisioning
State String - The provisioning state of the UpdateRun resource.
- status
Update
Run Status Response - The status of the UpdateRun.
- system
Data SystemData Response - 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 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
- provisioning
State string - The provisioning state of the UpdateRun resource.
- status
Update
Run Status Response - The status of the UpdateRun.
- system
Data SystemData Response - 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 UpdateRun resource.
- status
Update
Run Status Response - The status of the UpdateRun.
- system_
data SystemData Response - 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"
- e
Tag 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
- provisioning
State String - The provisioning state of the UpdateRun resource.
- status Property Map
- The status of the UpdateRun.
- system
Data 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
ErrorAdditionalInfoResponse, ErrorAdditionalInfoResponseArgs
ErrorDetailResponse, ErrorDetailResponseArgs
- Additional
Info List<Pulumi.Azure Native. Container Service. Inputs. Error Additional Info Response> - The error additional info.
- Code string
- The error code.
- Details
List<Pulumi.
Azure Native. Container Service. Inputs. Error Detail Response> - The error details.
- Message string
- The error message.
- Target string
- The error target.
- Additional
Info []ErrorAdditional Info Response - The error additional info.
- Code string
- The error code.
- Details
[]Error
Detail Response - The error details.
- Message string
- The error message.
- Target string
- The error target.
- additional
Info List<ErrorAdditional Info Response> - The error additional info.
- code String
- The error code.
- details
List<Error
Detail Response> - The error details.
- message String
- The error message.
- target String
- The error target.
- additional
Info ErrorAdditional Info Response[] - The error additional info.
- code string
- The error code.
- details
Error
Detail Response[] - The error details.
- message string
- The error message.
- target string
- The error target.
- additional_
info Sequence[ErrorAdditional Info Response] - The error additional info.
- code str
- The error code.
- details
Sequence[Error
Detail Response] - The error details.
- message str
- The error message.
- target str
- The error target.
- additional
Info List<Property Map> - The error additional info.
- code String
- The error code.
- details List<Property Map>
- The error details.
- message String
- The error message.
- target String
- The error target.
ManagedClusterUpdate, ManagedClusterUpdateArgs
- Upgrade
Pulumi.
Azure Native. Container Service. Inputs. Managed Cluster Upgrade Spec - The upgrade to apply to the ManagedClusters.
- Upgrade
Managed
Cluster Upgrade Spec - The upgrade to apply to the ManagedClusters.
- upgrade
Managed
Cluster Upgrade Spec - The upgrade to apply to the ManagedClusters.
- upgrade
Managed
Cluster Upgrade Spec - The upgrade to apply to the ManagedClusters.
- upgrade
Managed
Cluster Upgrade Spec - The upgrade to apply to the ManagedClusters.
- upgrade Property Map
- The upgrade to apply to the ManagedClusters.
ManagedClusterUpdateResponse, ManagedClusterUpdateResponseArgs
- Upgrade
Pulumi.
Azure Native. Container Service. Inputs. Managed Cluster Upgrade Spec Response - The upgrade to apply to the ManagedClusters.
- Upgrade
Managed
Cluster Upgrade Spec Response - The upgrade to apply to the ManagedClusters.
- upgrade
Managed
Cluster Upgrade Spec Response - The upgrade to apply to the ManagedClusters.
- upgrade
Managed
Cluster Upgrade Spec Response - The upgrade to apply to the ManagedClusters.
- upgrade
Managed
Cluster Upgrade Spec Response - The upgrade to apply to the ManagedClusters.
- upgrade Property Map
- The upgrade to apply to the ManagedClusters.
ManagedClusterUpgradeSpec, ManagedClusterUpgradeSpecArgs
- Type
string | Pulumi.
Azure Native. Container Service. Managed Cluster Upgrade Type - ManagedClusterUpgradeType is the type of upgrade to be applied.
- Kubernetes
Version string - The Kubernetes version to upgrade the member clusters to.
- Type
string | Managed
Cluster Upgrade Type - ManagedClusterUpgradeType is the type of upgrade to be applied.
- Kubernetes
Version string - The Kubernetes version to upgrade the member clusters to.
- type
String | Managed
Cluster Upgrade Type - ManagedClusterUpgradeType is the type of upgrade to be applied.
- kubernetes
Version String - The Kubernetes version to upgrade the member clusters to.
- type
string | Managed
Cluster Upgrade Type - ManagedClusterUpgradeType is the type of upgrade to be applied.
- kubernetes
Version string - The Kubernetes version to upgrade the member clusters to.
- type
str | Managed
Cluster Upgrade Type - ManagedClusterUpgradeType is the type of upgrade to be applied.
- kubernetes_
version str - The Kubernetes version to upgrade the member clusters to.
- type
String | "Full" | "Node
Image Only" - ManagedClusterUpgradeType is the type of upgrade to be applied.
- kubernetes
Version String - The Kubernetes version to upgrade the member clusters to.
ManagedClusterUpgradeSpecResponse, ManagedClusterUpgradeSpecResponseArgs
- Type string
- ManagedClusterUpgradeType is the type of upgrade to be applied.
- Kubernetes
Version string - The Kubernetes version to upgrade the member clusters to.
- Type string
- ManagedClusterUpgradeType is the type of upgrade to be applied.
- Kubernetes
Version string - The Kubernetes version to upgrade the member clusters to.
- type String
- ManagedClusterUpgradeType is the type of upgrade to be applied.
- kubernetes
Version String - The Kubernetes version to upgrade the member clusters to.
- type string
- ManagedClusterUpgradeType is the type of upgrade to be applied.
- kubernetes
Version string - The Kubernetes version to upgrade the member clusters to.
- type str
- ManagedClusterUpgradeType is the type of upgrade to be applied.
- kubernetes_
version str - The Kubernetes version to upgrade the member clusters to.
- type String
- ManagedClusterUpgradeType is the type of upgrade to be applied.
- kubernetes
Version String - The Kubernetes version to upgrade the member clusters to.
ManagedClusterUpgradeType, ManagedClusterUpgradeTypeArgs
- Full
- FullFull upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.
- Node
Image Only - NodeImageOnlyNodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set.
- Managed
Cluster Upgrade Type Full - FullFull upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.
- Managed
Cluster Upgrade Type Node Image Only - NodeImageOnlyNodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set.
- Full
- FullFull upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.
- Node
Image Only - NodeImageOnlyNodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set.
- Full
- FullFull upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.
- Node
Image Only - NodeImageOnlyNodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set.
- FULL
- FullFull upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.
- NODE_IMAGE_ONLY
- NodeImageOnlyNodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set.
- "Full"
- FullFull upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.
- "Node
Image Only" - NodeImageOnlyNodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set.
MemberUpdateStatusResponse, MemberUpdateStatusResponseArgs
- Cluster
Resource stringId - The Azure resource id of the target Kubernetes cluster.
- Name string
- The name of the FleetMember.
- Operation
Id string - The operation resource id of the latest attempt to perform the operation.
- Status
Pulumi.
Azure Native. Container Service. Inputs. Update Status Response - The status of the MemberUpdate operation.
- Cluster
Resource stringId - The Azure resource id of the target Kubernetes cluster.
- Name string
- The name of the FleetMember.
- Operation
Id string - The operation resource id of the latest attempt to perform the operation.
- Status
Update
Status Response - The status of the MemberUpdate operation.
- cluster
Resource StringId - The Azure resource id of the target Kubernetes cluster.
- name String
- The name of the FleetMember.
- operation
Id String - The operation resource id of the latest attempt to perform the operation.
- status
Update
Status Response - The status of the MemberUpdate operation.
- cluster
Resource stringId - The Azure resource id of the target Kubernetes cluster.
- name string
- The name of the FleetMember.
- operation
Id string - The operation resource id of the latest attempt to perform the operation.
- status
Update
Status Response - The status of the MemberUpdate operation.
- cluster_
resource_ strid - The Azure resource id of the target Kubernetes cluster.
- name str
- The name of the FleetMember.
- operation_
id str - The operation resource id of the latest attempt to perform the operation.
- status
Update
Status Response - The status of the MemberUpdate operation.
- cluster
Resource StringId - The Azure resource id of the target Kubernetes cluster.
- name String
- The name of the FleetMember.
- operation
Id String - The operation resource id of the latest attempt to perform the operation.
- status Property Map
- The status of the MemberUpdate operation.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UpdateGroup, UpdateGroupArgs
- Name string
- Name of the group. It must match a group name of an existing fleet member.
- Name string
- Name of the group. It must match a group name of an existing fleet member.
- name String
- Name of the group. It must match a group name of an existing fleet member.
- name string
- Name of the group. It must match a group name of an existing fleet member.
- name str
- Name of the group. It must match a group name of an existing fleet member.
- name String
- Name of the group. It must match a group name of an existing fleet member.
UpdateGroupResponse, UpdateGroupResponseArgs
- Name string
- Name of the group. It must match a group name of an existing fleet member.
- Name string
- Name of the group. It must match a group name of an existing fleet member.
- name String
- Name of the group. It must match a group name of an existing fleet member.
- name string
- Name of the group. It must match a group name of an existing fleet member.
- name str
- Name of the group. It must match a group name of an existing fleet member.
- name String
- Name of the group. It must match a group name of an existing fleet member.
UpdateGroupStatusResponse, UpdateGroupStatusResponseArgs
- Members
List<Pulumi.
Azure Native. Container Service. Inputs. Member Update Status Response> - The list of member this UpdateGroup updates.
- Name string
- The name of the UpdateGroup.
- Status
Pulumi.
Azure Native. Container Service. Inputs. Update Status Response - The status of the UpdateGroup.
- Members
[]Member
Update Status Response - The list of member this UpdateGroup updates.
- Name string
- The name of the UpdateGroup.
- Status
Update
Status Response - The status of the UpdateGroup.
- members
List<Member
Update Status Response> - The list of member this UpdateGroup updates.
- name String
- The name of the UpdateGroup.
- status
Update
Status Response - The status of the UpdateGroup.
- members
Member
Update Status Response[] - The list of member this UpdateGroup updates.
- name string
- The name of the UpdateGroup.
- status
Update
Status Response - The status of the UpdateGroup.
- members
Sequence[Member
Update Status Response] - The list of member this UpdateGroup updates.
- name str
- The name of the UpdateGroup.
- status
Update
Status Response - The status of the UpdateGroup.
- members List<Property Map>
- The list of member this UpdateGroup updates.
- name String
- The name of the UpdateGroup.
- status Property Map
- The status of the UpdateGroup.
UpdateRunStatusResponse, UpdateRunStatusResponseArgs
- Stages
List<Pulumi.
Azure Native. Container Service. Inputs. Update Stage Status Response> - The stages composing an update run. Stages are run sequentially withing an UpdateRun.
- Status
Pulumi.
Azure Native. Container Service. Inputs. Update Status Response - The status of the UpdateRun.
- Stages
[]Update
Stage Status Response - The stages composing an update run. Stages are run sequentially withing an UpdateRun.
- Status
Update
Status Response - The status of the UpdateRun.
- stages
List<Update
Stage Status Response> - The stages composing an update run. Stages are run sequentially withing an UpdateRun.
- status
Update
Status Response - The status of the UpdateRun.
- stages
Update
Stage Status Response[] - The stages composing an update run. Stages are run sequentially withing an UpdateRun.
- status
Update
Status Response - The status of the UpdateRun.
- stages
Sequence[Update
Stage Status Response] - The stages composing an update run. Stages are run sequentially withing an UpdateRun.
- status
Update
Status Response - The status of the UpdateRun.
- stages List<Property Map>
- The stages composing an update run. Stages are run sequentially withing an UpdateRun.
- status Property Map
- The status of the UpdateRun.
UpdateRunStrategy, UpdateRunStrategyArgs
- Stages
List<Pulumi.
Azure Native. Container Service. Inputs. Update Stage> - The list of stages that compose this update run. Min size: 1.
- Stages
[]Update
Stage - The list of stages that compose this update run. Min size: 1.
- stages
List<Update
Stage> - The list of stages that compose this update run. Min size: 1.
- stages
Update
Stage[] - The list of stages that compose this update run. Min size: 1.
- stages
Sequence[Update
Stage] - The list of stages that compose this update run. Min size: 1.
- stages List<Property Map>
- The list of stages that compose this update run. Min size: 1.
UpdateRunStrategyResponse, UpdateRunStrategyResponseArgs
- Stages
List<Pulumi.
Azure Native. Container Service. Inputs. Update Stage Response> - The list of stages that compose this update run. Min size: 1.
- Stages
[]Update
Stage Response - The list of stages that compose this update run. Min size: 1.
- stages
List<Update
Stage Response> - The list of stages that compose this update run. Min size: 1.
- stages
Update
Stage Response[] - The list of stages that compose this update run. Min size: 1.
- stages
Sequence[Update
Stage Response] - The list of stages that compose this update run. Min size: 1.
- stages List<Property Map>
- The list of stages that compose this update run. Min size: 1.
UpdateStage, UpdateStageArgs
- Name string
- The name of the stage. Must be unique within the UpdateRun.
- After
Stage intWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- Groups
List<Pulumi.
Azure Native. Container Service. Inputs. Update Group> - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- Name string
- The name of the stage. Must be unique within the UpdateRun.
- After
Stage intWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- Groups
[]Update
Group - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- name String
- The name of the stage. Must be unique within the UpdateRun.
- after
Stage IntegerWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- groups
List<Update
Group> - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- name string
- The name of the stage. Must be unique within the UpdateRun.
- after
Stage numberWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- groups
Update
Group[] - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- name str
- The name of the stage. Must be unique within the UpdateRun.
- after_
stage_ intwait_ in_ seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- groups
Sequence[Update
Group] - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- name String
- The name of the stage. Must be unique within the UpdateRun.
- after
Stage NumberWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- groups List<Property Map>
- Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
UpdateStageResponse, UpdateStageResponseArgs
- Name string
- The name of the stage. Must be unique within the UpdateRun.
- After
Stage intWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- Groups
List<Pulumi.
Azure Native. Container Service. Inputs. Update Group Response> - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- Name string
- The name of the stage. Must be unique within the UpdateRun.
- After
Stage intWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- Groups
[]Update
Group Response - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- name String
- The name of the stage. Must be unique within the UpdateRun.
- after
Stage IntegerWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- groups
List<Update
Group Response> - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- name string
- The name of the stage. Must be unique within the UpdateRun.
- after
Stage numberWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- groups
Update
Group Response[] - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- name str
- The name of the stage. Must be unique within the UpdateRun.
- after_
stage_ intwait_ in_ seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- groups
Sequence[Update
Group Response] - Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
- name String
- The name of the stage. Must be unique within the UpdateRun.
- after
Stage NumberWait In Seconds - The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified.
- groups List<Property Map>
- Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1.
UpdateStageStatusResponse, UpdateStageStatusResponseArgs
- After
Stage Pulumi.Wait Status Azure Native. Container Service. Inputs. Wait Status Response - The status of the wait period configured on the UpdateStage.
- Groups
List<Pulumi.
Azure Native. Container Service. Inputs. Update Group Status Response> - The list of groups to be updated as part of this UpdateStage.
- Name string
- The name of the UpdateStage.
- Status
Pulumi.
Azure Native. Container Service. Inputs. Update Status Response - The status of the UpdateStage.
- After
Stage WaitWait Status Status Response - The status of the wait period configured on the UpdateStage.
- Groups
[]Update
Group Status Response - The list of groups to be updated as part of this UpdateStage.
- Name string
- The name of the UpdateStage.
- Status
Update
Status Response - The status of the UpdateStage.
- after
Stage WaitWait Status Status Response - The status of the wait period configured on the UpdateStage.
- groups
List<Update
Group Status Response> - The list of groups to be updated as part of this UpdateStage.
- name String
- The name of the UpdateStage.
- status
Update
Status Response - The status of the UpdateStage.
- after
Stage WaitWait Status Status Response - The status of the wait period configured on the UpdateStage.
- groups
Update
Group Status Response[] - The list of groups to be updated as part of this UpdateStage.
- name string
- The name of the UpdateStage.
- status
Update
Status Response - The status of the UpdateStage.
- after_
stage_ Waitwait_ status Status Response - The status of the wait period configured on the UpdateStage.
- groups
Sequence[Update
Group Status Response] - The list of groups to be updated as part of this UpdateStage.
- name str
- The name of the UpdateStage.
- status
Update
Status Response - The status of the UpdateStage.
- after
Stage Property MapWait Status - The status of the wait period configured on the UpdateStage.
- groups List<Property Map>
- The list of groups to be updated as part of this UpdateStage.
- name String
- The name of the UpdateStage.
- status Property Map
- The status of the UpdateStage.
UpdateStatusResponse, UpdateStatusResponseArgs
- Completed
Time string - The time the operation or group was completed.
- Error
Pulumi.
Azure Native. Container Service. Inputs. Error Detail Response - The error details when a failure is encountered.
- Start
Time string - The time the operation or group was started.
- State string
- The State of the operation or group.
- Completed
Time string - The time the operation or group was completed.
- Error
Error
Detail Response - The error details when a failure is encountered.
- Start
Time string - The time the operation or group was started.
- State string
- The State of the operation or group.
- completed
Time String - The time the operation or group was completed.
- error
Error
Detail Response - The error details when a failure is encountered.
- start
Time String - The time the operation or group was started.
- state String
- The State of the operation or group.
- completed
Time string - The time the operation or group was completed.
- error
Error
Detail Response - The error details when a failure is encountered.
- start
Time string - The time the operation or group was started.
- state string
- The State of the operation or group.
- completed_
time str - The time the operation or group was completed.
- error
Error
Detail Response - The error details when a failure is encountered.
- start_
time str - The time the operation or group was started.
- state str
- The State of the operation or group.
- completed
Time String - The time the operation or group was completed.
- error Property Map
- The error details when a failure is encountered.
- start
Time String - The time the operation or group was started.
- state String
- The State of the operation or group.
WaitStatusResponse, WaitStatusResponseArgs
- Status
Pulumi.
Azure Native. Container Service. Inputs. Update Status Response - The status of the wait duration.
- Wait
Duration intIn Seconds - The wait duration configured in seconds.
- Status
Update
Status Response - The status of the wait duration.
- Wait
Duration intIn Seconds - The wait duration configured in seconds.
- status
Update
Status Response - The status of the wait duration.
- wait
Duration IntegerIn Seconds - The wait duration configured in seconds.
- status
Update
Status Response - The status of the wait duration.
- wait
Duration numberIn Seconds - The wait duration configured in seconds.
- status
Update
Status Response - The status of the wait duration.
- wait_
duration_ intin_ seconds - The wait duration configured in seconds.
- status Property Map
- The status of the wait duration.
- wait
Duration NumberIn Seconds - The wait duration configured in seconds.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:containerservice:UpdateRun run1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0