Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.vmmigration/v1alpha1.getSource
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single Source.
Using getSource
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 getSource(args: GetSourceArgs, opts?: InvokeOptions): Promise<GetSourceResult>
function getSourceOutput(args: GetSourceOutputArgs, opts?: InvokeOptions): Output<GetSourceResult>
def get_source(location: Optional[str] = None,
project: Optional[str] = None,
source_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSourceResult
def get_source_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
source_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSourceResult]
func LookupSource(ctx *Context, args *LookupSourceArgs, opts ...InvokeOption) (*LookupSourceResult, error)
func LookupSourceOutput(ctx *Context, args *LookupSourceOutputArgs, opts ...InvokeOption) LookupSourceResultOutput
> Note: This function is named LookupSource
in the Go SDK.
public static class GetSource
{
public static Task<GetSourceResult> InvokeAsync(GetSourceArgs args, InvokeOptions? opts = null)
public static Output<GetSourceResult> Invoke(GetSourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSourceResult> getSource(GetSourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:vmmigration/v1alpha1:getSource
arguments:
# arguments dictionary
The following arguments are supported:
getSource Result
The following output properties are available:
- Aws
Pulumi.
Google Native. VMMigration. V1Alpha1. Outputs. Aws Source Details Response - AWS type source details.
- Azure
Pulumi.
Google Native. VMMigration. V1Alpha1. Outputs. Azure Source Details Response - Azure type source details.
- Create
Time string - The create time timestamp.
- Description string
- User-provided description of the source.
- Encryption
Pulumi.
Google Native. VMMigration. V1Alpha1. Outputs. Encryption Response - Optional. Immutable. The encryption details of the source data stored by the service.
- Error
Pulumi.
Google Native. VMMigration. V1Alpha1. Outputs. Status Response - Provides details on the state of the Source in case of an error.
- Labels Dictionary<string, string>
- The labels of the source.
- Name string
- The Source name.
- Update
Time string - The update time timestamp.
- Vmware
Pulumi.
Google Native. VMMigration. V1Alpha1. Outputs. Vmware Source Details Response - Vmware type source details.
- Aws
Aws
Source Details Response - AWS type source details.
- Azure
Azure
Source Details Response - Azure type source details.
- Create
Time string - The create time timestamp.
- Description string
- User-provided description of the source.
- Encryption
Encryption
Response - Optional. Immutable. The encryption details of the source data stored by the service.
- Error
Status
Response - Provides details on the state of the Source in case of an error.
- Labels map[string]string
- The labels of the source.
- Name string
- The Source name.
- Update
Time string - The update time timestamp.
- Vmware
Vmware
Source Details Response - Vmware type source details.
- aws
Aws
Source Details Response - AWS type source details.
- azure
Azure
Source Details Response - Azure type source details.
- create
Time String - The create time timestamp.
- description String
- User-provided description of the source.
- encryption
Encryption
Response - Optional. Immutable. The encryption details of the source data stored by the service.
- error
Status
Response - Provides details on the state of the Source in case of an error.
- labels Map<String,String>
- The labels of the source.
- name String
- The Source name.
- update
Time String - The update time timestamp.
- vmware
Vmware
Source Details Response - Vmware type source details.
- aws
Aws
Source Details Response - AWS type source details.
- azure
Azure
Source Details Response - Azure type source details.
- create
Time string - The create time timestamp.
- description string
- User-provided description of the source.
- encryption
Encryption
Response - Optional. Immutable. The encryption details of the source data stored by the service.
- error
Status
Response - Provides details on the state of the Source in case of an error.
- labels {[key: string]: string}
- The labels of the source.
- name string
- The Source name.
- update
Time string - The update time timestamp.
- vmware
Vmware
Source Details Response - Vmware type source details.
- aws
Aws
Source Details Response - AWS type source details.
- azure
Azure
Source Details Response - Azure type source details.
- create_
time str - The create time timestamp.
- description str
- User-provided description of the source.
- encryption
Encryption
Response - Optional. Immutable. The encryption details of the source data stored by the service.
- error
Status
Response - Provides details on the state of the Source in case of an error.
- labels Mapping[str, str]
- The labels of the source.
- name str
- The Source name.
- update_
time str - The update time timestamp.
- vmware
Vmware
Source Details Response - Vmware type source details.
- aws Property Map
- AWS type source details.
- azure Property Map
- Azure type source details.
- create
Time String - The create time timestamp.
- description String
- User-provided description of the source.
- encryption Property Map
- Optional. Immutable. The encryption details of the source data stored by the service.
- error Property Map
- Provides details on the state of the Source in case of an error.
- labels Map<String>
- The labels of the source.
- name String
- The Source name.
- update
Time String - The update time timestamp.
- vmware Property Map
- Vmware type source details.
Supporting Types
AccessKeyCredentialsResponse
- Access
Key stringId - AWS access key ID.
- Secret
Access stringKey - Input only. AWS secret access key.
- Session
Token string - Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
- Access
Key stringId - AWS access key ID.
- Secret
Access stringKey - Input only. AWS secret access key.
- Session
Token string - Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
- access
Key StringId - AWS access key ID.
- secret
Access StringKey - Input only. AWS secret access key.
- session
Token String - Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
- access
Key stringId - AWS access key ID.
- secret
Access stringKey - Input only. AWS secret access key.
- session
Token string - Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
- access_
key_ strid - AWS access key ID.
- secret_
access_ strkey - Input only. AWS secret access key.
- session_
token str - Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
- access
Key StringId - AWS access key ID.
- secret
Access StringKey - Input only. AWS secret access key.
- session
Token String - Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
AwsSourceDetailsResponse
- Access
Key Pulumi.Creds Google Native. VMMigration. V1Alpha1. 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. V1Alpha1. 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. V1Alpha1. 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.
AzureSourceDetailsResponse
- Azure
Location string - Immutable. The Azure location (region) that the source VMs will be migrated from.
- Client
Secret Pulumi.Creds Google Native. VMMigration. V1Alpha1. Inputs. Client Secret Credentials Response - Azure Credentials using tenant ID, client ID and secret.
- Error
Pulumi.
Google Native. VMMigration. V1Alpha1. Inputs. Status Response - Provides details on the state of the Source in case of an error.
- Dictionary<string, string>
- User specified tags to add to every M2VM generated resource in Azure. 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
m4ce
orm2vm
. - Resource
Group stringId - The ID of the Azure resource group that contains all resources related to the migration process of this source.
- State string
- State of the source as determined by the health check.
- Subscription
Id string - Immutable. Azure subscription ID.
- Azure
Location string - Immutable. The Azure location (region) that the source VMs will be migrated from.
- Client
Secret ClientCreds Secret Credentials Response - Azure Credentials using tenant ID, client ID and secret.
- Error
Status
Response - Provides details on the state of the Source in case of an error.
- map[string]string
- User specified tags to add to every M2VM generated resource in Azure. 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
m4ce
orm2vm
. - Resource
Group stringId - The ID of the Azure resource group that contains all resources related to the migration process of this source.
- State string
- State of the source as determined by the health check.
- Subscription
Id string - Immutable. Azure subscription ID.
- azure
Location String - Immutable. The Azure location (region) that the source VMs will be migrated from.
- client
Secret ClientCreds Secret Credentials Response - Azure Credentials using tenant ID, client ID and secret.
- error
Status
Response - Provides details on the state of the Source in case of an error.
- Map<String,String>
- User specified tags to add to every M2VM generated resource in Azure. 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
m4ce
orm2vm
. - resource
Group StringId - The ID of the Azure resource group that contains all resources related to the migration process of this source.
- state String
- State of the source as determined by the health check.
- subscription
Id String - Immutable. Azure subscription ID.
- azure
Location string - Immutable. The Azure location (region) that the source VMs will be migrated from.
- client
Secret ClientCreds Secret Credentials Response - Azure Credentials using tenant ID, client ID and secret.
- error
Status
Response - Provides details on the state of the Source in case of an error.
- {[key: string]: string}
- User specified tags to add to every M2VM generated resource in Azure. 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
m4ce
orm2vm
. - resource
Group stringId - The ID of the Azure resource group that contains all resources related to the migration process of this source.
- state string
- State of the source as determined by the health check.
- subscription
Id string - Immutable. Azure subscription ID.
- azure_
location str - Immutable. The Azure location (region) that the source VMs will be migrated from.
- client_
secret_ Clientcreds Secret Credentials Response - Azure Credentials using tenant ID, client ID and secret.
- error
Status
Response - Provides details on the state of the Source in case of an error.
- Mapping[str, str]
- User specified tags to add to every M2VM generated resource in Azure. 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
m4ce
orm2vm
. - resource_
group_ strid - The ID of the Azure resource group that contains all resources related to the migration process of this source.
- state str
- State of the source as determined by the health check.
- subscription_
id str - Immutable. Azure subscription ID.
- azure
Location String - Immutable. The Azure location (region) that the source VMs will be migrated from.
- client
Secret Property MapCreds - Azure Credentials using tenant ID, client ID and secret.
- error Property Map
- Provides details on the state of the Source in case of an error.
- Map<String>
- User specified tags to add to every M2VM generated resource in Azure. 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
m4ce
orm2vm
. - resource
Group StringId - The ID of the Azure resource group that contains all resources related to the migration process of this source.
- state String
- State of the source as determined by the health check.
- subscription
Id String - Immutable. Azure subscription ID.
ClientSecretCredentialsResponse
- Client
Id string - Azure client ID.
- Client
Secret string - Input only. Azure client secret.
- Tenant
Id string - Azure tenant ID.
- Client
Id string - Azure client ID.
- Client
Secret string - Input only. Azure client secret.
- Tenant
Id string - Azure tenant ID.
- client
Id String - Azure client ID.
- client
Secret String - Input only. Azure client secret.
- tenant
Id String - Azure tenant ID.
- client
Id string - Azure client ID.
- client
Secret string - Input only. Azure client secret.
- tenant
Id string - Azure tenant ID.
- client_
id str - Azure client ID.
- client_
secret str - Input only. Azure client secret.
- tenant_
id str - Azure tenant ID.
- client
Id String - Azure client ID.
- client
Secret String - Input only. Azure client secret.
- tenant
Id String - Azure tenant ID.
EncryptionResponse
- Kms
Key string - The name of the encryption key that is stored in Google Cloud KMS.
- Kms
Key string - The name of the encryption key that is stored in Google Cloud KMS.
- kms
Key String - The name of the encryption key that is stored in Google Cloud KMS.
- kms
Key string - The name of the encryption key that is stored in Google Cloud KMS.
- kms_
key str - The name of the encryption key that is stored in Google Cloud KMS.
- kms
Key String - The name of the encryption key that is stored in Google Cloud KMS.
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.
TagResponse
VmwareSourceDetailsResponse
- Password string
- Input only. The credentials password. This is write only and can not be read in a GET operation.
- Resolved
Vcenter stringHost - The hostname of the vcenter.
- 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.
- Resolved
Vcenter stringHost - The hostname of the vcenter.
- 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.
- resolved
Vcenter StringHost - The hostname of the vcenter.
- 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.
- resolved
Vcenter stringHost - The hostname of the vcenter.
- 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.
- resolved_
vcenter_ strhost - The hostname of the vcenter.
- 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.
- resolved
Vcenter StringHost - The hostname of the vcenter.
- 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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi