google-native.vmmigration/v1.Source
Creates a new Source in a given project and location. Auto-naming is currently not supported for this resource.
Create Source Resource
new Source(name: string, args: SourceArgs, opts?: CustomResourceOptions);
@overload
def Source(resource_name: str,
opts: Optional[ResourceOptions] = None,
aws: Optional[AwsSourceDetailsArgs] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
source_id: Optional[str] = None,
vmware: Optional[VmwareSourceDetailsArgs] = None)
@overload
def Source(resource_name: str,
args: SourceArgs,
opts: Optional[ResourceOptions] = None)
func NewSource(ctx *Context, name string, args SourceArgs, opts ...ResourceOption) (*Source, error)
public Source(string name, SourceArgs args, CustomResourceOptions? opts = null)
public Source(String name, SourceArgs args)
public Source(String name, SourceArgs args, CustomResourceOptions options)
type: google-native:vmmigration/v1:Source
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceArgs
- 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 SourceArgs
- 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 SourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Source 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 Source resource accepts the following input properties:
- Source
Id string Required. The source identifier.
- Aws
Pulumi.
Google Native. VMMigration. V1. Inputs. Aws Source Details Args AWS type source details.
- Description string
User-provided description of the source.
- Labels Dictionary<string, string>
The labels of the source.
- Location string
- Project string
- 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).
- Vmware
Pulumi.
Google Native. VMMigration. V1. Inputs. Vmware Source Details Args Vmware type source details.
- Source
Id string Required. The source identifier.
- Aws
Aws
Source Details Args AWS type source details.
- Description string
User-provided description of the source.
- Labels map[string]string
The labels of the source.
- Location string
- Project string
- 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).
- Vmware
Vmware
Source Details Args Vmware type source details.
- source
Id String Required. The source identifier.
- aws
Aws
Source Details Args AWS type source details.
- description String
User-provided description of the source.
- labels Map<String,String>
The labels of the source.
- location String
- project String
- 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).
- vmware
Vmware
Source Details Args Vmware type source details.
- source
Id string Required. The source identifier.
- aws
Aws
Source Details Args AWS type source details.
- description string
User-provided description of the source.
- labels {[key: string]: string}
The labels of the source.
- location string
- project string
- 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).
- vmware
Vmware
Source Details Args Vmware type source details.
- source_
id str Required. The source identifier.
- aws
Aws
Source Details Args AWS type source details.
- description str
User-provided description of the source.
- labels Mapping[str, str]
The labels of the source.
- location str
- project str
- 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).
- vmware
Vmware
Source Details Args Vmware type source details.
- source
Id String Required. The source identifier.
- aws Property Map
AWS type source details.
- description String
User-provided description of the source.
- labels Map<String>
The labels of the source.
- location String
- project String
- 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).
- vmware Property Map
Vmware type source details.
Outputs
All input properties are implicitly available as output properties. Additionally, the Source resource produces the following output properties:
- Create
Time string The create time timestamp.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The Source name.
- Update
Time string The update time timestamp.
- Create
Time string The create time timestamp.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The Source name.
- Update
Time string The update time timestamp.
- create
Time String The create time timestamp.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The Source name.
- update
Time String The update time timestamp.
- create
Time string The create time timestamp.
- id string
The provider-assigned unique ID for this managed resource.
- name string
The Source name.
- update
Time string The update time timestamp.
- create_
time str The create time timestamp.
- id str
The provider-assigned unique ID for this managed resource.
- name str
The Source name.
- update_
time str The update time timestamp.
- create
Time String The create time timestamp.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The Source name.
- update
Time String The update time timestamp.
Supporting Types
AccessKeyCredentials
- Access
Key stringId AWS access key ID.
- Secret
Access stringKey Input only. AWS secret access key.
- Access
Key stringId AWS access key ID.
- Secret
Access stringKey Input only. AWS secret access key.
- access
Key StringId AWS access key ID.
- secret
Access StringKey Input only. AWS secret access key.
- access
Key stringId AWS access key ID.
- secret
Access stringKey Input only. AWS secret access key.
- access_
key_ strid AWS access key ID.
- secret_
access_ strkey Input only. AWS secret access key.
- access
Key StringId AWS access key ID.
- secret
Access StringKey Input only. AWS secret access key.
AccessKeyCredentialsResponse
- Access
Key stringId AWS access key ID.
- Secret
Access stringKey Input only. AWS secret access key.
- Access
Key stringId AWS access key ID.
- Secret
Access stringKey Input only. AWS secret access key.
- access
Key StringId AWS access key ID.
- secret
Access StringKey Input only. AWS secret access key.
- access
Key stringId AWS access key ID.
- secret
Access stringKey Input only. AWS secret access key.
- access_
key_ strid AWS access key ID.
- secret_
access_ strkey Input only. AWS secret access key.
- access
Key StringId AWS access key ID.
- secret
Access StringKey Input only. AWS secret access key.
AwsSourceDetails
- Access
Key Pulumi.Creds Google Native. VMMigration. V1. Inputs. Access Key Credentials AWS Credentials using access key id and secret.
- Aws
Region string Immutable. The AWS region that the source VMs will be migrated from.
- Inventory
Security List<string>Group Names AWS security group names to limit the scope of the source inventory.
- Inventory
Tag List<Pulumi.List Google Native. VMMigration. V1. Inputs. Tag> AWS resource tags to limit the scope of the source inventory.
- Dictionary<string, string>
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.
- Access
Key AccessCreds Key Credentials AWS Credentials using access key id and secret.
- Aws
Region string Immutable. The AWS region that the source VMs will be migrated from.
- Inventory
Security []stringGroup Names AWS security group names to limit the scope of the source inventory.
- Inventory
Tag []TagList AWS resource tags to limit the scope of the source inventory.
- map[string]string
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.
- access
Key AccessCreds Key Credentials AWS Credentials using access key id and secret.
- aws
Region String Immutable. The AWS region that the source VMs will be migrated from.
- inventory
Security List<String>Group Names AWS security group names to limit the scope of the source inventory.
- inventory
Tag List<Tag>List AWS resource tags to limit the scope of the source inventory.
- Map<String,String>
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.
- access
Key AccessCreds Key Credentials AWS Credentials using access key id and secret.
- aws
Region string Immutable. The AWS region that the source VMs will be migrated from.
- inventory
Security string[]Group Names AWS security group names to limit the scope of the source inventory.
- inventory
Tag Tag[]List AWS resource tags to limit the scope of the source inventory.
- {[key: string]: string}
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.
- access_
key_ Accesscreds Key Credentials AWS Credentials using access key id and secret.
- aws_
region str Immutable. The AWS region that the source VMs will be migrated from.
- inventory_
security_ Sequence[str]group_ names AWS security group names to limit the scope of the source inventory.
- inventory_
tag_ Sequence[Tag]list AWS resource tags to limit the scope of the source inventory.
- Mapping[str, str]
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.
- access
Key Property MapCreds AWS Credentials using access key id and secret.
- aws
Region String Immutable. The AWS region that the source VMs will be migrated from.
- inventory
Security List<String>Group Names AWS security group names to limit the scope of the source inventory.
- inventory
Tag List<Property Map>List AWS resource tags to limit the scope of the source inventory.
- Map<String>
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.
AwsSourceDetailsResponse
- Access
Key Pulumi.Creds Google Native. VMMigration. V1. Inputs. Access Key Credentials Response AWS Credentials using access key id and secret.
- Aws
Region string Immutable. The AWS region that the source VMs will be migrated from.
- Error
Pulumi.
Google Native. VMMigration. V1. Inputs. Status Response Provides details on the state of the Source in case of an error.
- Inventory
Security List<string>Group Names AWS security group names to limit the scope of the source inventory.
- Inventory
Tag List<Pulumi.List Google Native. VMMigration. V1. Inputs. Tag Response> AWS resource tags to limit the scope of the source inventory.
- Dictionary<string, string>
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.- Public
Ip string The source's public IP. All communication initiated by this source will originate from this IP.
- State string
State of the source as determined by the health check.
- Access
Key AccessCreds Key Credentials Response AWS Credentials using access key id and secret.
- Aws
Region string Immutable. The AWS region that the source VMs will be migrated from.
- Error
Status
Response Provides details on the state of the Source in case of an error.
- Inventory
Security []stringGroup Names AWS security group names to limit the scope of the source inventory.
- Inventory
Tag []TagList Response AWS resource tags to limit the scope of the source inventory.
- map[string]string
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.- Public
Ip string The source's public IP. All communication initiated by this source will originate from this IP.
- State string
State of the source as determined by the health check.
- access
Key AccessCreds Key Credentials Response AWS Credentials using access key id and secret.
- aws
Region String Immutable. The AWS region that the source VMs will be migrated from.
- error
Status
Response Provides details on the state of the Source in case of an error.
- inventory
Security List<String>Group Names AWS security group names to limit the scope of the source inventory.
- inventory
Tag List<TagList Response> AWS resource tags to limit the scope of the source inventory.
- Map<String,String>
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.- public
Ip String The source's public IP. All communication initiated by this source will originate from this IP.
- state String
State of the source as determined by the health check.
- access
Key AccessCreds Key Credentials Response AWS Credentials using access key id and secret.
- aws
Region string Immutable. The AWS region that the source VMs will be migrated from.
- error
Status
Response Provides details on the state of the Source in case of an error.
- inventory
Security string[]Group Names AWS security group names to limit the scope of the source inventory.
- inventory
Tag TagList Response[] AWS resource tags to limit the scope of the source inventory.
- {[key: string]: string}
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.- public
Ip string The source's public IP. All communication initiated by this source will originate from this IP.
- state string
State of the source as determined by the health check.
- access_
key_ Accesscreds Key Credentials Response AWS Credentials using access key id and secret.
- aws_
region str Immutable. The AWS region that the source VMs will be migrated from.
- error
Status
Response Provides details on the state of the Source in case of an error.
- inventory_
security_ Sequence[str]group_ names AWS security group names to limit the scope of the source inventory.
- inventory_
tag_ Sequence[Taglist Response] AWS resource tags to limit the scope of the source inventory.
- Mapping[str, str]
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.- public_
ip str The source's public IP. All communication initiated by this source will originate from this IP.
- state str
State of the source as determined by the health check.
- access
Key Property MapCreds AWS Credentials using access key id and secret.
- aws
Region String Immutable. The AWS region that the source VMs will be migrated from.
- error Property Map
Provides details on the state of the Source in case of an error.
- inventory
Security List<String>Group Names AWS security group names to limit the scope of the source inventory.
- inventory
Tag List<Property Map>List AWS resource tags to limit the scope of the source inventory.
- Map<String>
User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix
m2vm
.- public
Ip String The source's public IP. All communication initiated by this source will originate from this IP.
- state String
State of the source as determined by the health check.
StatusResponse
- Code int
The status code, which should be an enum value of google.rpc.Code.
- Details
List<Immutable
Dictionary<string, string>> A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
Tag
TagResponse
VmwareSourceDetails
- Password string
Input only. The credentials password. This is write only and can not be read in a GET operation.
- Thumbprint string
The thumbprint representing the certificate for the vcenter.
- Username string
The credentials username.
- Vcenter
Ip string The ip address of the vcenter this Source represents.
- Password string
Input only. The credentials password. This is write only and can not be read in a GET operation.
- Thumbprint string
The thumbprint representing the certificate for the vcenter.
- Username string
The credentials username.
- Vcenter
Ip string The ip address of the vcenter this Source represents.
- password String
Input only. The credentials password. This is write only and can not be read in a GET operation.
- thumbprint String
The thumbprint representing the certificate for the vcenter.
- username String
The credentials username.
- vcenter
Ip String The ip address of the vcenter this Source represents.
- password string
Input only. The credentials password. This is write only and can not be read in a GET operation.
- thumbprint string
The thumbprint representing the certificate for the vcenter.
- username string
The credentials username.
- vcenter
Ip string The ip address of the vcenter this Source represents.
- password str
Input only. The credentials password. This is write only and can not be read in a GET operation.
- thumbprint str
The thumbprint representing the certificate for the vcenter.
- username str
The credentials username.
- vcenter_
ip str The ip address of the vcenter this Source represents.
- password String
Input only. The credentials password. This is write only and can not be read in a GET operation.
- thumbprint String
The thumbprint representing the certificate for the vcenter.
- username String
The credentials username.
- vcenter
Ip String The ip address of the vcenter this Source represents.
VmwareSourceDetailsResponse
- Password string
Input only. The credentials password. This is write only and can not be read in a GET operation.
- Thumbprint string
The thumbprint representing the certificate for the vcenter.
- Username string
The credentials username.
- Vcenter
Ip string The ip address of the vcenter this Source represents.
- Password string
Input only. The credentials password. This is write only and can not be read in a GET operation.
- Thumbprint string
The thumbprint representing the certificate for the vcenter.
- Username string
The credentials username.
- Vcenter
Ip string The ip address of the vcenter this Source represents.
- password String
Input only. The credentials password. This is write only and can not be read in a GET operation.
- thumbprint String
The thumbprint representing the certificate for the vcenter.
- username String
The credentials username.
- vcenter
Ip String The ip address of the vcenter this Source represents.
- password string
Input only. The credentials password. This is write only and can not be read in a GET operation.
- thumbprint string
The thumbprint representing the certificate for the vcenter.
- username string
The credentials username.
- vcenter
Ip string The ip address of the vcenter this Source represents.
- password str
Input only. The credentials password. This is write only and can not be read in a GET operation.
- thumbprint str
The thumbprint representing the certificate for the vcenter.
- username str
The credentials username.
- vcenter_
ip str The ip address of the vcenter this Source represents.
- password String
Input only. The credentials password. This is write only and can not be read in a GET operation.
- thumbprint String
The thumbprint representing the certificate for the vcenter.
- username String
The credentials username.
- vcenter
Ip String The ip address of the vcenter this Source represents.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0