Add-ServiceFabricNodeTags

Adds a list of tags on the specified node.

Syntax

Add-ServiceFabricNodeTags
   -NodeName <String>
   -NodeTagsList <System.Collections.Generic.List`1[System.String]>
   [-TimeoutSec <Int32>]
   [<CommonParameters>]

Description

You can enable smart placement of nodes in your Service Fabric cluster by defining node tags.

Parameters

-NodeName

The name of the node.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-NodeTagsList

List of node tags.

Type:System.Collections.Generic.List`1[System.String]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
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

None

Outputs

System.Object