Delen via


FabricClient.ClusterManagementClient.UpgradeConfigurationAsync Method

Definition

Overloads

UpgradeConfigurationAsync(ConfigurationUpgradeDescription)

Initiate an Upgrade using a cluster configuration file.

UpgradeConfigurationAsync(ConfigurationUpgradeDescription, CancellationToken)

Initiate an Upgrade using a cluster configuration file.

UpgradeConfigurationAsync(ConfigurationUpgradeDescription, TimeSpan)

Initiate an Upgrade using a cluster configuration file.

UpgradeConfigurationAsync(ConfigurationUpgradeDescription, TimeSpan, CancellationToken)

Initiate an Upgrade using a cluster configuration file.

UpgradeConfigurationAsync(ConfigurationUpgradeDescription)

Initiate an Upgrade using a cluster configuration file.

public System.Threading.Tasks.Task UpgradeConfigurationAsync (System.Fabric.Description.ConfigurationUpgradeDescription description);
member this.UpgradeConfigurationAsync : System.Fabric.Description.ConfigurationUpgradeDescription -> System.Threading.Tasks.Task
Public Function UpgradeConfigurationAsync (description As ConfigurationUpgradeDescription) As Task

Parameters

description
ConfigurationUpgradeDescription

Contains: ClusterConfig, HealthCheckRetryTimeout, HealthCheckWaitDuration, HealthCheckStableDuration, UpgradeDomainTimeout, UpgradeTimeout, MaxPercentUnhealthyApplications, MaxPercentUnhealthyNodes, MaxPercentDeltaUnhealthyNodes, MaxPercentUpgradeDomainDeltaUnhealthyNodes

Returns

Task

Applies to

UpgradeConfigurationAsync(ConfigurationUpgradeDescription, CancellationToken)

Initiate an Upgrade using a cluster configuration file.

public System.Threading.Tasks.Task UpgradeConfigurationAsync (System.Fabric.Description.ConfigurationUpgradeDescription description, System.Threading.CancellationToken cancellationToken);
member this.UpgradeConfigurationAsync : System.Fabric.Description.ConfigurationUpgradeDescription * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpgradeConfigurationAsync (description As ConfigurationUpgradeDescription, cancellationToken As CancellationToken) As Task

Parameters

description
ConfigurationUpgradeDescription

Contains: ClusterConfigPath, HealthCheckRetryTimeout, HealthCheckWaitDuration, HealthCheckStableDuration, UpgradeDomainTimeout, UpgradeTimeout, MaxPercentUnhealthyApplications, MaxPercentUnhealthyNodes, MaxPercentDeltaUnhealthyNodes, MaxPercentUpgradeDomainDeltaUnhealthyNodes

cancellationToken
CancellationToken

The cancellation token that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is canceled.

Returns

Task

Applies to

UpgradeConfigurationAsync(ConfigurationUpgradeDescription, TimeSpan)

Initiate an Upgrade using a cluster configuration file.

public System.Threading.Tasks.Task UpgradeConfigurationAsync (System.Fabric.Description.ConfigurationUpgradeDescription description, TimeSpan timeout);
member this.UpgradeConfigurationAsync : System.Fabric.Description.ConfigurationUpgradeDescription * TimeSpan -> System.Threading.Tasks.Task
Public Function UpgradeConfigurationAsync (description As ConfigurationUpgradeDescription, timeout As TimeSpan) As Task

Parameters

description
ConfigurationUpgradeDescription

Contains: ClusterConfig, HealthCheckRetryTimeout, HealthCheckWaitDuration, HealthCheckStableDuration, UpgradeDomainTimeout, UpgradeTimeout, MaxPercentUnhealthyApplications, MaxPercentUnhealthyNodes, MaxPercentDeltaUnhealthyNodes, MaxPercentUpgradeDomainDeltaUnhealthyNodes

timeout
TimeSpan

The timespan that defines the maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException.

Returns

Task

Applies to

UpgradeConfigurationAsync(ConfigurationUpgradeDescription, TimeSpan, CancellationToken)

Initiate an Upgrade using a cluster configuration file.

public System.Threading.Tasks.Task UpgradeConfigurationAsync (System.Fabric.Description.ConfigurationUpgradeDescription description, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.UpgradeConfigurationAsync : System.Fabric.Description.ConfigurationUpgradeDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpgradeConfigurationAsync (description As ConfigurationUpgradeDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

description
ConfigurationUpgradeDescription

Contains: ClusterConfig, HealthCheckRetryTimeout, HealthCheckWaitDuration, HealthCheckStableDuration, UpgradeDomainTimeout, UpgradeTimeout, MaxPercentUnhealthyApplications, MaxPercentUnhealthyNodes, MaxPercentDeltaUnhealthyNodes, MaxPercentUpgradeDomainDeltaUnhealthyNodes

timeout
TimeSpan

The timespan that defines the maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException.

cancellationToken
CancellationToken

The cancellation token that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is canceled.

Returns

Task

Applies to