google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.vmmigration/v1.getTargetProject

Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is global.

Using getTargetProject

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 getTargetProject(args: GetTargetProjectArgs, opts?: InvokeOptions): Promise<GetTargetProjectResult>
function getTargetProjectOutput(args: GetTargetProjectOutputArgs, opts?: InvokeOptions): Output<GetTargetProjectResult>
def get_target_project(location: Optional[str] = None,
                       project: Optional[str] = None,
                       target_project_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetTargetProjectResult
def get_target_project_output(location: Optional[pulumi.Input[str]] = None,
                       project: Optional[pulumi.Input[str]] = None,
                       target_project_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetTargetProjectResult]
func LookupTargetProject(ctx *Context, args *LookupTargetProjectArgs, opts ...InvokeOption) (*LookupTargetProjectResult, error)
func LookupTargetProjectOutput(ctx *Context, args *LookupTargetProjectOutputArgs, opts ...InvokeOption) LookupTargetProjectResultOutput

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

public static class GetTargetProject 
{
    public static Task<GetTargetProjectResult> InvokeAsync(GetTargetProjectArgs args, InvokeOptions? opts = null)
    public static Output<GetTargetProjectResult> Invoke(GetTargetProjectInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTargetProjectResult> getTargetProject(GetTargetProjectArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:vmmigration/v1:getTargetProject
  arguments:
    # arguments dictionary

The following arguments are supported:

Location string
TargetProjectId string
Project string
Location string
TargetProjectId string
Project string
location String
targetProjectId String
project String
location string
targetProjectId string
project string
location String
targetProjectId String
project String

getTargetProject Result

The following output properties are available:

CreateTime string

The time this target project resource was created (not related to when the Compute Engine project it points to was created).

Description string

The target project's description.

Name string

The name of the target project.

Project string

The target project ID (number) or project name.

UpdateTime string

The last time the target project resource was updated.

CreateTime string

The time this target project resource was created (not related to when the Compute Engine project it points to was created).

Description string

The target project's description.

Name string

The name of the target project.

Project string

The target project ID (number) or project name.

UpdateTime string

The last time the target project resource was updated.

createTime String

The time this target project resource was created (not related to when the Compute Engine project it points to was created).

description String

The target project's description.

name String

The name of the target project.

project String

The target project ID (number) or project name.

updateTime String

The last time the target project resource was updated.

createTime string

The time this target project resource was created (not related to when the Compute Engine project it points to was created).

description string

The target project's description.

name string

The name of the target project.

project string

The target project ID (number) or project name.

updateTime string

The last time the target project resource was updated.

create_time str

The time this target project resource was created (not related to when the Compute Engine project it points to was created).

description str

The target project's description.

name str

The name of the target project.

project str

The target project ID (number) or project name.

update_time str

The last time the target project resource was updated.

createTime String

The time this target project resource was created (not related to when the Compute Engine project it points to was created).

description String

The target project's description.

name String

The name of the target project.

project String

The target project ID (number) or project name.

updateTime String

The last time the target project resource was updated.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0