1. Packages
  2. Google Cloud Native
  3. API Docs
  4. managedidentities
  5. managedidentities/v1
  6. Peering

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.managedidentities/v1.Peering

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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/v1: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 peeringResource = new GoogleNative.Managedidentities.V1.Peering("peeringResource", new()
    {
        AuthorizedNetwork = "string",
        DomainResource = "string",
        PeeringId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Project = "string",
    });
    
    example, err := managedidentities.NewPeering(ctx, "peeringResource", &managedidentities.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 peeringResource = new Peering("peeringResource", PeeringArgs.builder()
        .authorizedNetwork("string")
        .domainResource("string")
        .peeringId("string")
        .labels(Map.of("string", "string"))
        .project("string")
        .build());
    
    peering_resource = google_native.managedidentities.v1.Peering("peeringResource",
        authorized_network="string",
        domain_resource="string",
        peering_id="string",
        labels={
            "string": "string",
        },
        project="string")
    
    const peeringResource = new google_native.managedidentities.v1.Peering("peeringResource", {
        authorizedNetwork: "string",
        domainResource: "string",
        peeringId: "string",
        labels: {
            string: "string",
        },
        project: "string",
    });
    
    type: google-native:managedidentities/v1: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

    The Peering resource accepts the following input properties:

    AuthorizedNetwork 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. It should follow the regex format "^(?:a-z?)$"
    Labels Dictionary<string, string>
    Optional. Resource labels to represent user-provided metadata.
    Project string
    AuthorizedNetwork 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. It should follow the regex format "^(?:a-z?)$"
    Labels map[string]string
    Optional. Resource labels to represent user-provided metadata.
    Project string
    authorizedNetwork 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. It should follow the regex format "^(?:a-z?)$"
    labels Map<String,String>
    Optional. Resource labels to represent user-provided metadata.
    project String
    authorizedNetwork 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. It should follow the regex format "^(?:a-z?)$"
    labels {[key: string]: string}
    Optional. Resource labels to represent user-provided metadata.
    project string
    authorized_network 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. It should follow the regex format "^(?:a-z?)$"
    labels Mapping[str, str]
    Optional. Resource labels to represent user-provided metadata.
    project str
    authorizedNetwork 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. It should follow the regex format "^(?:a-z?)$"
    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi