The fleets/updateStrategies resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.ContainerService/fleets/updateStrategies resource, add the following JSON to your template.
{
"type": "Microsoft.ContainerService/fleets/updateStrategies",
"apiVersion": "2024-02-02-preview",
"name": "string",
"properties": {
"strategy": {
"stages": [
{
"afterStageWaitInSeconds": "int",
"groups": [
{
"name": "string"
}
],
"name": "string"
}
]
}
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.ContainerService/fleets/updateStrategies' |
apiVersion | The resource api version | '2024-02-02-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | The resource-specific properties for this resource. | FleetUpdateStrategyProperties |
Name | Description | Value |
---|---|---|
strategy | Defines the update sequence of the clusters. | UpdateRunStrategy (required) |
Name | Description | Value |
---|---|---|
stages | The list of stages that compose this update run. Min size: 1. | UpdateStage[] (required) |
Name | Description | Value |
---|---|---|
afterStageWaitInSeconds | The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. | int |
groups | Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1. | UpdateGroup[] |
name | The name of the stage. Must be unique within the UpdateRun. | string (required) Constraints: Min length = 1 Max length = 50 Pattern = ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ |
Name | Description | Value |
---|---|---|
name | Name of the group. It must match a group name of an existing fleet member. |
string (required) Constraints: Min length = 1 Max length = 50 Pattern = ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ |