Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

getReference

Gets a Reference resource.

Using getReference

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 getReference(args: GetReferenceArgs, opts?: InvokeOptions): Promise<GetReferenceResult>
function getReferenceOutput(args: GetReferenceOutputArgs, opts?: InvokeOptions): Output<GetReferenceResult>
def get_reference(environment_id: Optional[str] = None,
                  organization_id: Optional[str] = None,
                  reference_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetReferenceResult
def get_reference_output(environment_id: Optional[pulumi.Input[str]] = None,
                  organization_id: Optional[pulumi.Input[str]] = None,
                  reference_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetReferenceResult]
func LookupReference(ctx *Context, args *LookupReferenceArgs, opts ...InvokeOption) (*LookupReferenceResult, error)
func LookupReferenceOutput(ctx *Context, args *LookupReferenceOutputArgs, opts ...InvokeOption) LookupReferenceResultOutput

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

public static class GetReference 
{
    public static Task<GetReferenceResult> InvokeAsync(GetReferenceArgs args, InvokeOptions? opts = null)
    public static Output<GetReferenceResult> Invoke(GetReferenceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetReferenceResult> getReference(GetReferenceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:apigee/v1:getReference
  arguments:
    # arguments dictionary

The following arguments are supported:

getReference Result

The following output properties are available:

Description string

Optional. A human-readable description of this reference.

Name string

The resource id of this reference. Values must match the regular expression [\w\s-.]+.

Refers string

The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resource_type.

ResourceType string

The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.

Description string

Optional. A human-readable description of this reference.

Name string

The resource id of this reference. Values must match the regular expression [\w\s-.]+.

Refers string

The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resource_type.

ResourceType string

The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.

description String

Optional. A human-readable description of this reference.

name String

The resource id of this reference. Values must match the regular expression [\w\s-.]+.

refers String

The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resource_type.

resourceType String

The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.

description string

Optional. A human-readable description of this reference.

name string

The resource id of this reference. Values must match the regular expression [\w\s-.]+.

refers string

The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resource_type.

resourceType string

The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.

description str

Optional. A human-readable description of this reference.

name str

The resource id of this reference. Values must match the regular expression [\w\s-.]+.

refers str

The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resource_type.

resource_type str

The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.

description String

Optional. A human-readable description of this reference.

name String

The resource id of this reference. Values must match the regular expression [\w\s-.]+.

refers String

The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resource_type.

resourceType String

The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0