1. Packages
  2. Google Cloud Native
  3. API Docs
  4. managedidentities
  5. managedidentities/v1beta1
  6. getPeering

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/v1beta1.getPeering

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

    Gets details of a single Peering.

    Using getPeering

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPeering(args: GetPeeringArgs, opts?: InvokeOptions): Promise<GetPeeringResult>
    function getPeeringOutput(args: GetPeeringOutputArgs, opts?: InvokeOptions): Output<GetPeeringResult>
    def get_peering(peering_id: Optional[str] = None,
                    project: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetPeeringResult
    def get_peering_output(peering_id: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetPeeringResult]
    func LookupPeering(ctx *Context, args *LookupPeeringArgs, opts ...InvokeOption) (*LookupPeeringResult, error)
    func LookupPeeringOutput(ctx *Context, args *LookupPeeringOutputArgs, opts ...InvokeOption) LookupPeeringResultOutput

    > Note: This function is named LookupPeering in the Go SDK.

    public static class GetPeering 
    {
        public static Task<GetPeeringResult> InvokeAsync(GetPeeringArgs args, InvokeOptions? opts = null)
        public static Output<GetPeeringResult> Invoke(GetPeeringInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPeeringResult> getPeering(GetPeeringArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:managedidentities/v1beta1:getPeering
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PeeringId string
    Project string
    PeeringId string
    Project string
    peeringId String
    project String
    peeringId string
    project string
    peeringId String
    project String

    getPeering Result

    The following output properties are available:

    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.
    CreateTime string
    The time the instance was created.
    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}
    Labels Dictionary<string, string>
    Optional. Resource labels to represent user provided metadata.
    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.
    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.
    CreateTime string
    The time the instance was created.
    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}
    Labels map[string]string
    Optional. Resource labels to represent user provided metadata.
    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.
    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.
    createTime String
    The time the instance was created.
    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}
    labels Map<String,String>
    Optional. Resource labels to represent user provided metadata.
    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.
    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.
    createTime string
    The time the instance was created.
    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}
    labels {[key: string]: string}
    Optional. Resource labels to represent user provided metadata.
    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.
    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.
    create_time str
    The time the instance was created.
    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}
    labels Mapping[str, str]
    Optional. Resource labels to represent user provided metadata.
    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.
    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.
    createTime String
    The time the instance was created.
    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}
    labels Map<String>
    Optional. Resource labels to represent user provided metadata.
    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