Method: peerings.create

Full name: projects.locations.global.peerings.create

Creates a Peering for Managed AD instance.

HTTP request

POST https://managedidentities.googleapis.com/v1/{parent=projects/*/locations/global}/peerings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource project name and location using the form: projects/{projectId}/locations/global

Authorization requires the following IAM permission on the specified resource parent:

  • managedidentities.peerings.create

Query parameters

Parameters
peeringId

string

Required. Peering Id, unique name to identify peering. It should follow the regex format "^(?:a-z?)$"

Request body

The request body contains an instance of Peering.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.