Add-ServiceFabricNodeTags
Lägger till en lista med taggar på den angivna noden.
Syntax
Add-ServiceFabricNodeTags
-NodeName <String>
-NodeTagsList <System.Collections.Generic.List`1[System.String]>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
Du kan aktivera smart placering av noder i Service Fabric-klustret genom att definiera nodtaggar.
Parametrar
-NodeName
Nodens namn.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NodeTagsList
Lista över nodtaggar.
Type: | System.Collections.Generic.List`1[System.String] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TimeoutSec
Anger tidsgränsen i sekunder för åtgärden.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indata
None
Utdata
System.Object