Get-ServiceFabricComposeDeploymentStatus
PREVIEW. Gets all or a specific compose deployment status in the Service Fabric cluster.
Syntax
Default (Default)
Get-ServiceFabricComposeDeploymentStatus
[[-DeploymentName] <String>]
[-MaxResults <Int64>]
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
This cmdlet is in PREVIEW and is subject to change in the next release(s). There is no compatibility guarantee.
The Get-ServiceFabricComposeDeploymentStatus cmdlet gets all or a specific compose deployment status in the Service Fabric cluster. For guidance of Service Fabric compose deployment, please refer to: Compose Deployment support in Service Fabric.
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 all the compose deployment status
PS C:\> Get-ServiceFabricComposeDeploymentStatus
This command gets all the compose deployment status in the cluster.
Example 2: Get the compose deployment status by name
PS C:\> Get-ServiceFabricComposeDeploymentStatus -DeploymentName mydeployment
This command gets the specific compose deployment status with deployment name: mydeployment.
Parameters
-DeploymentName
Specifies the name of compose deployment. The cmdlet gets the compose deployment status that has the specified deployment name. If you do not specify this parameter, this cmdlet gets all the compose deployment status in the cluster.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-MaxResults
The maximum number of results to be returned. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the cmdlet will return with no upper bound.
Parameter properties
Type: | Int64 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.