Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.vmmigration/v1alpha1.getTargetProject
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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)
public static Output<GetTargetProjectResult> getTargetProject(GetTargetProjectArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:vmmigration/v1alpha1:getTargetProject
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Location string
- TargetProject stringId 
- Project string
- Location string
- TargetProject stringId 
- Project string
- location String
- targetProject StringId 
- project String
- location string
- targetProject stringId 
- project string
- location str
- target_project_ strid 
- project str
- location String
- targetProject StringId 
- 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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.