PeeringArgs

data class PeeringArgs(val authorizedNetwork: Output<String>? = null, val domainResource: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val peeringId: Output<String>? = null, val project: Output<String>? = null, val status: Output<String>? = null, val statusMessage: Output<String>? = null) : ConvertibleToJava<PeeringArgs>

Example Usage

Active Directory Peering Basic

resources:
ad-domain-peering:
type: gcp:activedirectory:Peering
properties:
domainResource: ${["ad-domain"].name}
peeringId: ad-domain-peering
authorizedNetwork: ${["peered-network"].id}
deletionProtection: false
labels:
foo: bar
ad-domain:
type: gcp:activedirectory:Domain
properties:
domainName: ad.test.hashicorptest.com
locations:
- us-central1
reservedIpRange: 192.168.255.0/24
authorizedNetworks:
- ${["source-network"].id}
deletionProtection: false
peered-network:
type: gcp:compute:Network
properties:
project: ${compute.project}
name: ad-peered-network
source-network:
type: gcp:compute:Network
properties:
name: ad-network
compute:
type: gcp:projects:Service
properties:
project: ${["peered-project"].projectId}
service: compute.googleapis.com
peered-project:
type: gcp:organizations:Project
properties:
name: my-peered-project
projectId: my-peered-project
orgId: '123456789'
billingAccount: 000000-0000000-0000000-000000
deletionPolicy: DELETE

Import

This resource does not support import.

Constructors

Link copied to clipboard
constructor(authorizedNetwork: Output<String>? = null, domainResource: Output<String>? = null, labels: Output<Map<String, String>>? = null, peeringId: Output<String>? = null, project: Output<String>? = null, status: Output<String>? = null, statusMessage: Output<String>? = null)

Properties

Link copied to clipboard
val authorizedNetwork: Output<String>? = null

The full names of the Google Compute Engine networks to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail.

Link copied to clipboard
val domainResource: Output<String>? = null

Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form projects/{projectId}/locations/global/domains/{domainName}

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Resource labels that can contain user-provided metadata Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Link copied to clipboard
val peeringId: Output<String>? = null
Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val status: Output<String>? = null

The current state of this Peering.

Link copied to clipboard
val statusMessage: Output<String>? = null

Additional information about the current status of this peering, if available.

Functions

Link copied to clipboard
open override fun toJava(): PeeringArgs