Get-​Service​Fabric​Service​Group​Member​Type

Gets member types of Service Fabric service groups.

Syntax

Get-ServiceFabricServiceGroupMemberType
   [-ApplicationTypeName] <String>
   [-ApplicationTypeVersion] <String>
   [[-ServiceGroupTypeName] <String>]
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

The Get-ServiceFabricServiceGroupMemberType cmdlet gets member types of Service Fabric service groups.

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 a service group member types

PS C:\> Get-ServiceFabricServiceGroupMemberType -ApplicationTypeName "CalcApp" -ApplicationTypeVersion "1.0"

This command gets Service Fabric service group member types for the application type named CalcApp and application type version 1.0.

Required Parameters

-ApplicationTypeName

Specifies the name of a Service Fabric application type. The cmdlet gets types for the application type that this parameter specifies.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ApplicationTypeVersion

Specifies the version of a Service Fabric application type. The cmdlet gets types for the application version that this parameter specifies.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-ServiceGroupTypeName

Specifies the name of a service group type.

Type:String
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

This cmdlet accepts the name of a Service Fabric application type, an application type version, or the name of a service group.

Outputs

System.Object

This cmdlet returns a list of System.Fabric.Query.ServiceGroupMemberType objects that represent Service Fabric service group member types.