Dela via


Extensions.UpgradeComposeDeploymentAsync Method

Definition

Overloads

UpgradeComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, ComposeDeploymentUpgradeDescription)

Starts the upgrade for the compose deployment identified by the deployment name, in the cluster.

UpgradeComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, ComposeDeploymentUpgradeDescription, TimeSpan, CancellationToken)

Starts the upgrade for the compose deployment identified by the deployment name, in the cluster.

UpgradeComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, ComposeDeploymentUpgradeDescription)

Starts the upgrade for the compose deployment identified by the deployment name, in the cluster.

public static System.Threading.Tasks.Task UpgradeComposeDeploymentAsync (this System.Fabric.FabricClient.ComposeDeploymentClient client, Microsoft.ServiceFabric.Preview.Client.Description.ComposeDeploymentUpgradeDescription upgradeDescription);
static member UpgradeComposeDeploymentAsync : System.Fabric.FabricClient.ComposeDeploymentClient * Microsoft.ServiceFabric.Preview.Client.Description.ComposeDeploymentUpgradeDescription -> System.Threading.Tasks.Task
<Extension()>
Public Function UpgradeComposeDeploymentAsync (client As FabricClient.ComposeDeploymentClient, upgradeDescription As ComposeDeploymentUpgradeDescription) As Task

Parameters

Returns

Applies to

UpgradeComposeDeploymentAsync(FabricClient+ComposeDeploymentClient, ComposeDeploymentUpgradeDescription, TimeSpan, CancellationToken)

Starts the upgrade for the compose deployment identified by the deployment name, in the cluster.

public static System.Threading.Tasks.Task UpgradeComposeDeploymentAsync (this System.Fabric.FabricClient.ComposeDeploymentClient client, Microsoft.ServiceFabric.Preview.Client.Description.ComposeDeploymentUpgradeDescription upgradeDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
static member UpgradeComposeDeploymentAsync : System.Fabric.FabricClient.ComposeDeploymentClient * Microsoft.ServiceFabric.Preview.Client.Description.ComposeDeploymentUpgradeDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpgradeComposeDeploymentAsync (client As FabricClient.ComposeDeploymentClient, upgradeDescription As ComposeDeploymentUpgradeDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

timeout
TimeSpan
cancellationToken
CancellationToken

Returns

Applies to