Google Native

Pulumi Official
Package maintained by Pulumi
v0.22.0 published on Friday, Jul 29, 2022 by Pulumi

getPeering

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
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0