google-native.vmmigration/v1.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/v1: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:
- Target
Project stringId Required. The target_project identifier.
- Description string
The target project's description.
- Location string
- Project string
The target project ID (number) or project name.
- Request
Id 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 stringId Required. The target_project identifier.
- Description string
The target project's description.
- Location string
- Project string
The target project ID (number) or project name.
- Request
Id 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 StringId Required. The target_project identifier.
- description String
The target project's description.
- location String
- project String
The target project ID (number) or project name.
- request
Id 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 stringId Required. The target_project identifier.
- description string
The target project's description.
- location string
- project string
The target project ID (number) or project name.
- request
Id 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_ strid 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).
- target
Project StringId Required. The target_project identifier.
- description String
The target project's description.
- location String
- project String
The target project ID (number) or project name.
- request
Id 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:
- Create
Time 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.
- Update
Time string The last time the target project resource was updated.
- Create
Time 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.
- Update
Time string The last time the target project resource was updated.
- create
Time 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.
- update
Time String The last time the target project resource was updated.
- create
Time 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.
- update
Time 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.
- create
Time 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.
- update
Time String The last time the target project resource was updated.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0