com.pulumi.gcp.activedirectory.kotlin.PeeringArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.activedirectory.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.activedirectory.PeeringArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* ## Example Usage
* ### Active Directory Peering Basic
*
* ```yaml
* 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.
* @property authorizedNetwork 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.
* @property domainResource 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}
* @property labels 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.
* @property peeringId - - -
* @property project The ID of the project in which the resource belongs.
* If it is not provided, the provider project is used.
* @property status The current state of this Peering.
* @property statusMessage Additional information about the current status of this peering, if available.
*/
public data class PeeringArgs(
public val authorizedNetwork: Output? = null,
public val domainResource: Output? = null,
public val labels: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy