Skip to content

Set-VCFFederation

Synopsis

Bootstraps the creation of a federation.

Syntax

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

Description

The Set-VCFFederation cmdlet bootstraps the creation of a federation in SDDC Manager.

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

Set-VCFFederation -json (Get-Content -Raw .\samples\federation\federationSpec.json)

This example shows how to bootstrap the creation of a federation using a JSON specification file.

Sample JSON: Create Federation
{
  "federationName" : "Rainpole",
  "memberJoinDetail" : {
    "role" : "CONTROLLER",
    "fqdn" : "sfo-vcf01.sfo.rainpole.io",
    "siteType" : "DATACENTER",
    "siteName" : "San Francisco",
    "country" : "USA",
    "state" : "CA",
    "city" : "San Francisco",
    "coordinate" : {
      "longitude" : -122.838,
      "latitude" : 37.286
    }
  }
}

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.