Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.managedidentities/v1beta1.Peering
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Peering for Managed AD instance. Auto-naming is currently not supported for this resource.
Create Peering Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Peering(name: string, args: PeeringArgs, opts?: CustomResourceOptions);@overload
def Peering(resource_name: str,
            args: PeeringArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Peering(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            authorized_network: Optional[str] = None,
            domain_resource: Optional[str] = None,
            peering_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            project: Optional[str] = None)func NewPeering(ctx *Context, name string, args PeeringArgs, opts ...ResourceOption) (*Peering, error)public Peering(string name, PeeringArgs args, CustomResourceOptions? opts = null)
public Peering(String name, PeeringArgs args)
public Peering(String name, PeeringArgs args, CustomResourceOptions options)
type: google-native:managedidentities/v1beta1:Peering
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PeeringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PeeringArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PeeringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PeeringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PeeringArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplepeeringResourceResourceFromManagedidentitiesv1beta1 = new GoogleNative.Managedidentities.V1Beta1.Peering("examplepeeringResourceResourceFromManagedidentitiesv1beta1", new()
{
    AuthorizedNetwork = "string",
    DomainResource = "string",
    PeeringId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
example, err := managedidentitiesv1beta1.NewPeering(ctx, "examplepeeringResourceResourceFromManagedidentitiesv1beta1", &managedidentitiesv1beta1.PeeringArgs{
	AuthorizedNetwork: pulumi.String("string"),
	DomainResource:    pulumi.String("string"),
	PeeringId:         pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project: pulumi.String("string"),
})
var examplepeeringResourceResourceFromManagedidentitiesv1beta1 = new Peering("examplepeeringResourceResourceFromManagedidentitiesv1beta1", PeeringArgs.builder()
    .authorizedNetwork("string")
    .domainResource("string")
    .peeringId("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .build());
examplepeering_resource_resource_from_managedidentitiesv1beta1 = google_native.managedidentities.v1beta1.Peering("examplepeeringResourceResourceFromManagedidentitiesv1beta1",
    authorized_network="string",
    domain_resource="string",
    peering_id="string",
    labels={
        "string": "string",
    },
    project="string")
const examplepeeringResourceResourceFromManagedidentitiesv1beta1 = new google_native.managedidentities.v1beta1.Peering("examplepeeringResourceResourceFromManagedidentitiesv1beta1", {
    authorizedNetwork: "string",
    domainResource: "string",
    peeringId: "string",
    labels: {
        string: "string",
    },
    project: "string",
});
type: google-native:managedidentities/v1beta1:Peering
properties:
    authorizedNetwork: string
    domainResource: string
    labels:
        string: string
    peeringId: string
    project: string
Peering Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Peering resource accepts the following input properties:
- string
- 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.
- DomainResource string
- Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: projects/{project_id}/locations/global/domains/{domain_name}
- PeeringId string
- Required. Peering Id, unique name to identify peering.
- Labels Dictionary<string, string>
- Optional. Resource labels to represent user provided metadata.
- Project string
- string
- 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.
- DomainResource string
- Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: projects/{project_id}/locations/global/domains/{domain_name}
- PeeringId string
- Required. Peering Id, unique name to identify peering.
- Labels map[string]string
- Optional. Resource labels to represent user provided metadata.
- Project string
- String
- 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.
- domainResource String
- Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: projects/{project_id}/locations/global/domains/{domain_name}
- peeringId String
- Required. Peering Id, unique name to identify peering.
- labels Map<String,String>
- Optional. Resource labels to represent user provided metadata.
- project String
- string
- 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.
- domainResource string
- Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: projects/{project_id}/locations/global/domains/{domain_name}
- peeringId string
- Required. Peering Id, unique name to identify peering.
- labels {[key: string]: string}
- Optional. Resource labels to represent user provided metadata.
- project string
- str
- 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.
- domain_resource str
- Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: projects/{project_id}/locations/global/domains/{domain_name}
- peering_id str
- Required. Peering Id, unique name to identify peering.
- labels Mapping[str, str]
- Optional. Resource labels to represent user provided metadata.
- project str
- String
- 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.
- domainResource String
- Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: projects/{project_id}/locations/global/domains/{domain_name}
- peeringId String
- Required. Peering Id, unique name to identify peering.
- labels Map<String>
- Optional. Resource labels to represent user provided metadata.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Peering resource produces the following output properties:
- CreateTime string
- The time the instance was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Unique name of the peering in this scope including projects and location using the form: projects/{project_id}/locations/global/peerings/{peering_id}.
- State string
- The current state of this Peering.
- StatusMessage string
- Additional information about the current status of this peering, if available.
- UpdateTime string
- Last update time.
- CreateTime string
- The time the instance was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Unique name of the peering in this scope including projects and location using the form: projects/{project_id}/locations/global/peerings/{peering_id}.
- State string
- The current state of this Peering.
- StatusMessage string
- Additional information about the current status of this peering, if available.
- UpdateTime string
- Last update time.
- createTime String
- The time the instance was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Unique name of the peering in this scope including projects and location using the form: projects/{project_id}/locations/global/peerings/{peering_id}.
- state String
- The current state of this Peering.
- statusMessage String
- Additional information about the current status of this peering, if available.
- updateTime String
- Last update time.
- createTime string
- The time the instance was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Unique name of the peering in this scope including projects and location using the form: projects/{project_id}/locations/global/peerings/{peering_id}.
- state string
- The current state of this Peering.
- statusMessage string
- Additional information about the current status of this peering, if available.
- updateTime string
- Last update time.
- create_time str
- The time the instance was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Unique name of the peering in this scope including projects and location using the form: projects/{project_id}/locations/global/peerings/{peering_id}.
- state str
- The current state of this Peering.
- status_message str
- Additional information about the current status of this peering, if available.
- update_time str
- Last update time.
- createTime String
- The time the instance was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Unique name of the peering in this scope including projects and location using the form: projects/{project_id}/locations/global/peerings/{peering_id}.
- state String
- The current state of this Peering.
- statusMessage String
- Additional information about the current status of this peering, if available.
- updateTime String
- Last update time.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.