Share via


@azure/arm-containerservicefleet package

Classes

ContainerServiceFleetClient

Interfaces

APIServerAccessProfile

Access profile for the Fleet hub API server.

AgentProfile

Agent profile for the Fleet hub.

AutoUpgradeNodeImageSelection

The node image upgrade to be applied to the target clusters in auto upgrade.

AutoUpgradeProfile

The AutoUpgradeProfile resource.

AutoUpgradeProfileOperationsGenerateUpdateRunOptionalParams

Optional parameters.

AutoUpgradeProfileOperationsOperations

Interface representing a AutoUpgradeProfileOperations operations.

AutoUpgradeProfileProperties

The properties of the AutoUpgradeProfile.

AutoUpgradeProfileStatus

AutoUpgradeProfileStatus is the status of an auto upgrade profile.

AutoUpgradeProfilesCreateOrUpdateOptionalParams

Optional parameters.

AutoUpgradeProfilesDeleteOptionalParams

Optional parameters.

AutoUpgradeProfilesGetOptionalParams

Optional parameters.

AutoUpgradeProfilesListByFleetOptionalParams

Optional parameters.

AutoUpgradeProfilesOperations

Interface representing a AutoUpgradeProfiles operations.

ContainerServiceFleetClientOptionalParams

Optional parameters for the client.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Common error response for all Azure Resource Manager APIs to return error details for failed operations.

Fleet

The Fleet resource.

FleetCredentialResult

One credential result item.

FleetCredentialResults

The Credential results response.

FleetHubProfile

The FleetHubProfile configures the fleet hub.

FleetMember

A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.

FleetMemberProperties

A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.

FleetMemberStatus

Status information for the fleet member

FleetMemberUpdate

The type used for update operations of the FleetMember.

FleetMemberUpdateProperties

The updatable properties of the FleetMember.

FleetMembersCreateOptionalParams

Optional parameters.

FleetMembersDeleteOptionalParams

Optional parameters.

FleetMembersGetOptionalParams

Optional parameters.

FleetMembersListByFleetOptionalParams

Optional parameters.

FleetMembersOperations

Interface representing a FleetMembers operations.

FleetMembersUpdateAsyncOptionalParams

Optional parameters.

FleetPatch

Properties of a Fleet that can be patched.

FleetProperties

Fleet properties.

FleetStatus

Status information for the fleet.

FleetUpdateStrategiesCreateOrUpdateOptionalParams

Optional parameters.

FleetUpdateStrategiesDeleteOptionalParams

Optional parameters.

FleetUpdateStrategiesGetOptionalParams

Optional parameters.

FleetUpdateStrategiesListByFleetOptionalParams

Optional parameters.

FleetUpdateStrategiesOperations

Interface representing a FleetUpdateStrategies operations.

FleetUpdateStrategy

Defines a multi-stage process to perform update operations across members of a Fleet.

FleetUpdateStrategyProperties

The properties of the UpdateStrategy.

FleetsCreateOptionalParams

Optional parameters.

FleetsDeleteOptionalParams

Optional parameters.

FleetsGetOptionalParams

Optional parameters.

FleetsListByResourceGroupOptionalParams

Optional parameters.

FleetsListBySubscriptionOptionalParams

Optional parameters.

FleetsListCredentialsOptionalParams

Optional parameters.

FleetsOperations

Interface representing a Fleets operations.

FleetsUpdateAsyncOptionalParams

Optional parameters.

Gate

A Gate controls the progression during a staged rollout, e.g. in an Update Run.

GateConfiguration

GateConfiguration is used to define where Gates should be placed within the Update Run.

GatePatch

Patch a Gate resource.

GatePatchProperties

Properties of a Gate that can be patched.

GateProperties

A Gate controls the progression during a staged rollout, e.g. in an Update Run.

GateTarget

The target that the Gate is controlling, e.g. an Update Run. Exactly one of the properties objects will be set.

GatesGetOptionalParams

Optional parameters.

GatesListByFleetOptionalParams

Optional parameters.

GatesOperations

Interface representing a Gates operations.

GatesUpdateOptionalParams

Optional parameters.

GenerateResponse

GenerateResponse is the response of a generate request.

ManagedClusterUpdate

The update to be applied to the ManagedClusters.

ManagedClusterUpgradeSpec

The upgrade to apply to a ManagedCluster.

ManagedServiceIdentity

Managed service identity (system assigned and/or user assigned identities)

MemberUpdateStatus

The status of a member update operation.

NodeImageSelection

The node image upgrade to be applied to the target nodes in update run.

NodeImageSelectionStatus

The node image upgrade specs for the update run.

NodeImageVersion

The node upgrade image version.

Operation

Details of a REST API operation, returned from the Resource Provider Operations API

OperationDisplay

Localized display information for and operation.

OperationsListOptionalParams

Optional parameters.

OperationsOperations

Interface representing a Operations operations.

PageSettings

Options for the byPage method

PagedAsyncIterableIterator

An interface that allows async iterable iteration both to completion and by page.

ProxyResource

The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

Resource

Common fields that are returned in the response for all Azure Resource Manager resources

RestorePollerOptions
SkipProperties

The properties of a skip operation containing multiple skip requests.

SkipTarget

The definition of a single skip request.

SystemData

Metadata pertaining to creation and last modification of the resource.

TrackedResource

The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

UpdateGroup

A group to be updated.

UpdateGroupStatus

The status of a UpdateGroup.

UpdateRun

A multi-stage process to perform update operations across members of a Fleet.

UpdateRunGateStatus

The status of the Gate, as represented in the Update Run.

UpdateRunGateTargetProperties

The properties of the Update Run that the Gate is targeting.

UpdateRunProperties

The properties of the UpdateRun.

UpdateRunStatus

The status of a UpdateRun.

UpdateRunStrategy

Defines the update sequence of the clusters via stages and groups.

Stages within a run are executed sequentially one after another. Groups within a stage are executed in parallel. Member clusters within a group are updated sequentially one after another.

A valid strategy contains no duplicate groups within or across stages.

UpdateRunsCreateOrUpdateOptionalParams

Optional parameters.

UpdateRunsDeleteOptionalParams

Optional parameters.

UpdateRunsGetOptionalParams

Optional parameters.

UpdateRunsListByFleetOptionalParams

Optional parameters.

UpdateRunsOperations

Interface representing a UpdateRuns operations.

UpdateRunsSkipOptionalParams

Optional parameters.

UpdateRunsStartOptionalParams

Optional parameters.

UpdateRunsStopOptionalParams

Optional parameters.

UpdateStage

Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage.

UpdateStageStatus

The status of a UpdateStage.

UpdateStatus

The status for an operation or group of operations.

UserAssignedIdentity

User assigned identity properties

WaitStatus

The status of the wait duration.

Type Aliases

ActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
KnownActionType can be used interchangeably with ActionType, this enum contains the known values that the service supports.

Known values supported by the service

Internal: Actions are for internal-only APIs.

AutoUpgradeLastTriggerStatus

AutoUpgradeLastTriggerStatus is the status of the last AutoUpgrade trigger (attempt to automatically create and start UpdateRun when there are new released versions) of an auto upgrade profile.
KnownAutoUpgradeLastTriggerStatus can be used interchangeably with AutoUpgradeLastTriggerStatus, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: The last AutoUpgrade trigger was succeeded.
Failed: The last AutoUpgrade trigger failed.

AutoUpgradeNodeImageSelectionType

The node image upgrade type.
KnownAutoUpgradeNodeImageSelectionType can be used interchangeably with AutoUpgradeNodeImageSelectionType, this enum contains the known values that the service supports.

Known values supported by the service

Latest: Use 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: The 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'.

AutoUpgradeProfileProvisioningState

The provisioning state of the AutoUpgradeProfile resource.
KnownAutoUpgradeProfileProvisioningState can be used interchangeably with AutoUpgradeProfileProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.

AzureSupportedClouds

The supported values for cloud setting as a string literal type

ContinuablePage

An interface that describes a page of results.

CreatedByType

The kind of entity that created the resource.
<xref:KnowncreatedByType> can be used interchangeably with createdByType, this enum contains the known values that the service supports.

Known values supported by the service

User: The entity was created by a user.
Application: The entity was created by an application.
ManagedIdentity: The entity was created by a managed identity.
Key: The entity was created by a key.

FleetMemberProvisioningState

The provisioning state of the last accepted operation.
KnownFleetMemberProvisioningState can be used interchangeably with FleetMemberProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.
Joining: The provisioning state of a member joining a fleet.
Leaving: The provisioning state of a member leaving a fleet.
Updating: The provisioning state of a member being updated.

FleetProvisioningState

The provisioning state of the last accepted operation.
KnownFleetProvisioningState can be used interchangeably with FleetProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.
Creating: The provisioning state of a fleet being created.
Updating: The provisioning state of a fleet being updated.
Deleting: The provisioning state of a fleet being deleted.

FleetUpdateStrategyProvisioningState

The provisioning state of the UpdateStrategy resource.
KnownFleetUpdateStrategyProvisioningState can be used interchangeably with FleetUpdateStrategyProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.

GateProvisioningState

The provisioning state of the Gate resource.
KnownGateProvisioningState can be used interchangeably with GateProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.

GateState

The state of the Gate.
KnownGateState can be used interchangeably with GateState, this enum contains the known values that the service supports.

Known values supported by the service

Pending: A Pending Gate will continue to block the staged rollout process it is controlling.
Skipped: A Skipped Gate means that the staged rollout process it is controlling was skipped.
Completed: An Completed Gate allows the staged rollout process to continue.

GateType

The type of the Gate determines how it is completed.
KnownGateType can be used interchangeably with GateType, this enum contains the known values that the service supports.

Known values supported by the service

Approval: An approval gate is completed by setting its state to be Completed.

ManagedClusterUpgradeType

The type of upgrade to perform when targeting ManagedClusters.
KnownManagedClusterUpgradeType can be used interchangeably with ManagedClusterUpgradeType, this enum contains the known values that the service supports.

Known values supported by the service

Full: Full upgrades the control plane and all agent pools of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.
NodeImageOnly: NodeImageOnly upgrades only the node images of the target ManagedClusters. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to NOT be set.
ControlPlaneOnly: ControlPlaneOnly upgrades only targets the KubernetesVersion of the ManagedClusters and will not be applied to the AgentPool. Requires the ManagedClusterUpgradeSpec.KubernetesVersion property to be set.

ManagedServiceIdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
KnownManagedServiceIdentityType can be used interchangeably with ManagedServiceIdentityType, this enum contains the known values that the service supports.

Known values supported by the service

None: No managed identity.
SystemAssigned: System assigned managed identity.
UserAssigned: User assigned managed identity.
SystemAssigned, UserAssigned: System and user assigned managed identity.

NodeImageSelectionType

The node image upgrade type.
KnownNodeImageSelectionType can be used interchangeably with NodeImageSelectionType, this enum contains the known values that the service supports.

Known values supported by the service

Latest: Use 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: The 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'.
Custom: Upgrade the nodes to the custom image versions. When set, update run will use node image versions provided in customNodeImageVersions to upgrade the nodes. If set, customNodeImageVersions must not be empty.

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
KnownOrigin can be used interchangeably with Origin, this enum contains the known values that the service supports.

Known values supported by the service

user: Indicates the operation is initiated by a user.
system: Indicates the operation is initiated by a system.
user,system: Indicates the operation is initiated by a user or system.

TargetType

The target type of a skip request.
KnownTargetType can be used interchangeably with TargetType, this enum contains the known values that the service supports.

Known values supported by the service

Member: Skip the update of a member.
Group: Skip the update of a group.
Stage: Skip the update of an entire stage including the after stage wait.
AfterStageWait: Skip the update of the after stage wait of a certain stage.

Timing

Whether the Gate is placed before or after the target.
KnownTiming can be used interchangeably with Timing, this enum contains the known values that the service supports.

Known values supported by the service

Before: The Gate is before the target.
After: The Gate is after the target.

UpdateRunProvisioningState

The provisioning state of the UpdateRun resource.
KnownUpdateRunProvisioningState can be used interchangeably with UpdateRunProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Resource has been created.
Failed: Resource creation failed.
Canceled: Resource creation was canceled.

UpdateState

The state of the UpdateRun, UpdateStage, UpdateGroup, or MemberUpdate.
KnownUpdateState can be used interchangeably with UpdateState, this enum contains the known values that the service supports.

Known values supported by the service

NotStarted: The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has not been started.
Running: The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is running.
Stopping: The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is being stopped.
Stopped: The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has stopped.
Skipped: The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has been skipped.
Failed: The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has failed.
Pending: The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that is pending.
Completed: The state of an UpdateRun/UpdateStage/UpdateGroup/MemberUpdate that has completed.

UpgradeChannel

Configuration of how auto upgrade will be run.
KnownUpgradeChannel can be used interchangeably with UpgradeChannel, this enum contains the known values that the service supports.

Known values supported by the service

Stable: Upgrades the clusters kubernetes version to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster runs version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, the cluster upgrades to 1.18.6.
Rapid: Upgrades the clusters kubernetes version to the latest supported patch release on the latest supported minor version.
NodeImage: Upgrade node image version of the clusters.
TargetKubernetesVersion: Upgrades the clusters Kubernetes version to the latest supported patch version of the specified target Kubernetes version. For information on the behavior of update run for Kubernetes version upgrade, see https://free.blessedness.top/en-us/azure/kubernetes-fleet/update-orchestration?tabs=azure-portal

Enums

AzureClouds

An enum to describe Azure Cloud.

KnownActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

KnownAutoUpgradeLastTriggerStatus

AutoUpgradeLastTriggerStatus is the status of the last AutoUpgrade trigger (attempt to automatically create and start UpdateRun when there are new released versions) of an auto upgrade profile.

KnownAutoUpgradeNodeImageSelectionType

The node image upgrade type.

KnownAutoUpgradeProfileProvisioningState

The provisioning state of the AutoUpgradeProfile resource.

KnownCreatedByType

The kind of entity that created the resource.

KnownFleetMemberProvisioningState

The provisioning state of the last accepted operation.

KnownFleetProvisioningState

The provisioning state of the last accepted operation.

KnownFleetUpdateStrategyProvisioningState

The provisioning state of the UpdateStrategy resource.

KnownGateProvisioningState

The provisioning state of the Gate resource.

KnownGateState

The state of the Gate.

KnownGateType

The type of the Gate determines how it is completed.

KnownManagedClusterUpgradeType

The type of upgrade to perform when targeting ManagedClusters.

KnownManagedServiceIdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

KnownNodeImageSelectionType

The node image upgrade type.

KnownOrigin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

KnownTargetType

The target type of a skip request.

KnownTiming

Whether the Gate is placed before or after the target.

KnownUpdateRunProvisioningState

The provisioning state of the UpdateRun resource.

KnownUpdateState

The state of the UpdateRun, UpdateStage, UpdateGroup, or MemberUpdate.

KnownUpgradeChannel

Configuration of how auto upgrade will be run.

KnownVersions

Azure Kubernetes Fleet Manager api versions.

Functions

restorePoller<TResponse, TResult>(ContainerServiceFleetClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

Function Details

restorePoller<TResponse, TResult>(ContainerServiceFleetClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

function restorePoller<TResponse, TResult>(client: ContainerServiceFleetClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>

Parameters

serializedState

string

sourceOperation

(args: any[]) => PollerLike<OperationState<TResult>, TResult>

Returns

PollerLike<OperationState<TResult>, TResult>