Google Native

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

TargetProject

Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is global. Auto-naming is currently not supported for this resource.

Create TargetProject Resource

new TargetProject(name: string, args: TargetProjectArgs, opts?: CustomResourceOptions);
@overload
def TargetProject(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  description: Optional[str] = None,
                  location: Optional[str] = None,
                  project: Optional[str] = None,
                  request_id: Optional[str] = None,
                  target_project_id: Optional[str] = None)
@overload
def TargetProject(resource_name: str,
                  args: TargetProjectArgs,
                  opts: Optional[ResourceOptions] = None)
func NewTargetProject(ctx *Context, name string, args TargetProjectArgs, opts ...ResourceOption) (*TargetProject, error)
public TargetProject(string name, TargetProjectArgs args, CustomResourceOptions? opts = null)
public TargetProject(String name, TargetProjectArgs args)
public TargetProject(String name, TargetProjectArgs args, CustomResourceOptions options)
type: google-native:vmmigration/v1alpha1:TargetProject
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TargetProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args TargetProjectArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TargetProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TargetProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TargetProjectArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TargetProject Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The TargetProject resource accepts the following input properties:

TargetProjectId string

Required. The target_project identifier.

Description string

The target project's description.

Location string
Project string

The target project ID (number) or project name.

RequestId string

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

TargetProjectId string

Required. The target_project identifier.

Description string

The target project's description.

Location string
Project string

The target project ID (number) or project name.

RequestId string

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

targetProjectId String

Required. The target_project identifier.

description String

The target project's description.

location String
project String

The target project ID (number) or project name.

requestId String

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

targetProjectId string

Required. The target_project identifier.

description string

The target project's description.

location string
project string

The target project ID (number) or project name.

requestId string

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

target_project_id str

Required. The target_project identifier.

description str

The target project's description.

location str
project str

The target project ID (number) or project name.

request_id str

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

targetProjectId String

Required. The target_project identifier.

description String

The target project's description.

location String
project String

The target project ID (number) or project name.

requestId String

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Outputs

All input properties are implicitly available as output properties. Additionally, the TargetProject resource produces the following output properties:

CreateTime string

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the target project.

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).

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the target project.

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).

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the target project.

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).

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the target project.

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).

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the target project.

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).

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the target project.

updateTime String

The last time the target project resource was updated.

Package Details

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