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/v1alpha1.getPeering
Explore with Pulumi AI
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/v1alpha1:getPeering
arguments:
# arguments dictionary
The following arguments are supported:
- peering_
id str - project str
getPeering Result
The following output properties are available:
- 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.
- Create
Time string - The time the instance was created.
- Domain
Resource 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.
- Status
Message string - Additional information about the current status of this peering, if available.
- Update
Time string - Last update time.
- 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.
- Create
Time string - The time the instance was created.
- Domain
Resource 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.
- Status
Message string - Additional information about the current status of this peering, if available.
- Update
Time string - Last update time.
- 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.
- create
Time String - The time the instance was created.
- domain
Resource 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.
- status
Message String - Additional information about the current status of this peering, if available.
- update
Time String - Last update time.
- 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.
- create
Time string - The time the instance was created.
- domain
Resource 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.
- status
Message string - Additional information about the current status of this peering, if available.
- update
Time string - Last update time.
- 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.
- 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.
- create
Time String - The time the instance was created.
- domain
Resource 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.
- status
Message String - Additional information about the current status of this peering, if available.
- update
Time 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi