Get-ServiceFabricDeployedReplicaDetail
Gets information about Service Fabric replicas from a host process.
Syntax
Default (Default)
Get-ServiceFabricDeployedReplicaDetail
[-NodeName] <String>
[-PartitionId] <Guid>
[[-ReplicaOrInstanceId] <Int64>]
[-ReplicatorDetail]
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricDeployedReplicaDetail cmdlet gets information about Service Fabric replicas from the host process in which they run. This provides additional information such as the status of currently executing APIs on the service and details from the Service Fabric replicator about the progress of this replica.
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 Replica Detail for a replica running on a node
PS C:\> Get-ServiceFabricDeployedReplicaDetail -NodeName "DB.41" -PartitionId 7B7D6D73-3D41-42A9-B7DF-B9D93A386BFF -ReplicaOrInstanceId 130705747836122602
This command gets details about a replica running on a node from the service host process.
Example 2: Get Replica Detail for a replica running on a node including the replicator detail
PS C:\> Get-ServiceFabricDeployedReplicaDetail -NodeName "DB.41" -PartitionId 7B7D6D73-3D41-42A9-B7DF-B9D93A386BFF -ReplicaOrInstanceId 130705747836122602 -ReplicatorDetail
This command gets details about the replica and replicator running on a node from the service host process. It also returns additional information from the Service Fabric replicator about the progress of the replica. See ReplicatorStatus Class for more information.
Parameters
-NodeName
Specifies the name of a Service Fabric node. This cmdlet gets details about replicas that run in this node.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-PartitionId
Specifies the ID of a Service Fabric partition. This parameter identifies the partition that has the replica or instance ID.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-ReplicaOrInstanceId
Specifies the Service Fabric service replica or instance ID for which to get information.
Parameter properties
Type: | Int64 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-ReplicatorDetail
Indicates that this cmdlet gets information from the Service Fabric replicator. See RemoteReplicatorStatus Class for details regarding the additional returned information.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 3 |
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.