Get-ServiceFabricComposeDeploymentUpgrade
This cmdlet is in PREVIEW and is subject to change in the next release(s). There is no compatibility guarantee. Gets the status of a Service Fabric compose deployment upgrade.
Syntax
Get-ServiceFabricComposeDeploymentUpgrade
[-DeploymentName] <String>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricComposeDeploymentUpgrade cmdlet gets the status of a Service Fabric compose deployment upgrade.
Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.
Examples
Example 1: Get compose deployment upgrade status
PS C:\> Get-ServiceFabricComposeDeploymentUpgrade -Deployment mydeployment
This command gets the status of the compose deployment upgrade for the specified compose deployment.
Parameters
-DeploymentName
Specifies the name of compose deployment. To get the name of the currently compose deployment, use Get-ServiceFabricComposeDeploymentStatus. The cmdlet removes the compose deployment that has the deployment name that you specify.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.String
Outputs
System.Object