Skip to content

Join-VCFFederation

Synopsis

Join an SDDC Manager instance to an existing federation.

Syntax

Join-VCFFederation [-json] <String> [<CommonParameters>]

Description

The Join-VCFFederation cmdlet joins an SDDC Manager instance to an existing federation.

Warning

This API is was deprecated in VMware Cloud Foundation 4.3.0 and removed in VMware Cloud Foundation 4.4.0.

Examples

Example 1

Join-VCFFederation -json (Get-Content -Raw .\samples\federation\joinFederationSpec.json)

This example shows how to join an SDDC Manager instance to an existing federation.

Sample JSON: Join Federation
{
    "controllerFqdn" : "sfo-vcf01.sfo.rainpole.io",
    "joinToken" : "522c566-836b-44c2-bf84-92dcc7e00764",
    "commonName" : "nyc-vcf01.nyc.rainpole.io",
    "memberJoinDetail" : {
      "role" : "MEMBER",
      "fqdn" : "nyc-vcf01.nyc.rainpole.io",
      "siteType" : "DATACENTER",
      "siteName" : "New York Epic Center",
      "country" : "USA",
      "state" : "New York",
      "city" : "New York",
      "coordinate" : {
        "longitude" : -74.006,
        "latitude" : 40.712
      }
    }
  }

Parameters

-json

Specifies the JSON specification to be used.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.