1. Packages
  2. Google Cloud Native
  3. API Docs
  4. vmmigration
  5. vmmigration/v1
  6. getSource

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/v1.getSource

Explore with Pulumi AI

google-native logo

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/v1:getSource
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    SourceId string
    Project string
    Location string
    SourceId string
    Project string
    location String
    sourceId String
    project String
    location string
    sourceId string
    project string
    location String
    sourceId String
    project String

    getSource Result

    The following output properties are available:

    Aws Pulumi.GoogleNative.VMMigration.V1.Outputs.AwsSourceDetailsResponse
    AWS type source details.
    Azure Pulumi.GoogleNative.VMMigration.V1.Outputs.AzureSourceDetailsResponse
    Azure type source details.
    CreateTime string
    The create time timestamp.
    Description string
    User-provided description of the source.
    Encryption Pulumi.GoogleNative.VMMigration.V1.Outputs.EncryptionResponse
    Optional. Immutable. The encryption details of the source data stored by the service.
    Labels Dictionary<string, string>
    The labels of the source.
    Name string
    The Source name.
    UpdateTime string
    The update time timestamp.
    Vmware Pulumi.GoogleNative.VMMigration.V1.Outputs.VmwareSourceDetailsResponse
    Vmware type source details.
    Aws AwsSourceDetailsResponse
    AWS type source details.
    Azure AzureSourceDetailsResponse
    Azure type source details.
    CreateTime string
    The create time timestamp.
    Description string
    User-provided description of the source.
    Encryption EncryptionResponse
    Optional. Immutable. The encryption details of the source data stored by the service.
    Labels map[string]string
    The labels of the source.
    Name string
    The Source name.
    UpdateTime string
    The update time timestamp.
    Vmware VmwareSourceDetailsResponse
    Vmware type source details.
    aws AwsSourceDetailsResponse
    AWS type source details.
    azure AzureSourceDetailsResponse
    Azure type source details.
    createTime String
    The create time timestamp.
    description String
    User-provided description of the source.
    encryption EncryptionResponse
    Optional. Immutable. The encryption details of the source data stored by the service.
    labels Map<String,String>
    The labels of the source.
    name String
    The Source name.
    updateTime String
    The update time timestamp.
    vmware VmwareSourceDetailsResponse
    Vmware type source details.
    aws AwsSourceDetailsResponse
    AWS type source details.
    azure AzureSourceDetailsResponse
    Azure type source details.
    createTime string
    The create time timestamp.
    description string
    User-provided description of the source.
    encryption EncryptionResponse
    Optional. Immutable. The encryption details of the source data stored by the service.
    labels {[key: string]: string}
    The labels of the source.
    name string
    The Source name.
    updateTime string
    The update time timestamp.
    vmware VmwareSourceDetailsResponse
    Vmware type source details.
    aws AwsSourceDetailsResponse
    AWS type source details.
    azure AzureSourceDetailsResponse
    Azure type source details.
    create_time str
    The create time timestamp.
    description str
    User-provided description of the source.
    encryption EncryptionResponse
    Optional. Immutable. The encryption details of the source data stored by the service.
    labels Mapping[str, str]
    The labels of the source.
    name str
    The Source name.
    update_time str
    The update time timestamp.
    vmware VmwareSourceDetailsResponse
    Vmware type source details.
    aws Property Map
    AWS type source details.
    azure Property Map
    Azure type source details.
    createTime 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.
    labels Map<String>
    The labels of the source.
    name String
    The Source name.
    updateTime String
    The update time timestamp.
    vmware Property Map
    Vmware type source details.

    Supporting Types

    AccessKeyCredentialsResponse

    AccessKeyId string
    AWS access key ID.
    SecretAccessKey string
    Input only. AWS secret access key.
    SessionToken string
    Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
    AccessKeyId string
    AWS access key ID.
    SecretAccessKey string
    Input only. AWS secret access key.
    SessionToken string
    Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
    accessKeyId String
    AWS access key ID.
    secretAccessKey String
    Input only. AWS secret access key.
    sessionToken String
    Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
    accessKeyId string
    AWS access key ID.
    secretAccessKey string
    Input only. AWS secret access key.
    sessionToken string
    Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
    access_key_id str
    AWS access key ID.
    secret_access_key str
    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.
    accessKeyId String
    AWS access key ID.
    secretAccessKey String
    Input only. AWS secret access key.
    sessionToken String
    Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.

    AwsSourceDetailsResponse

    AccessKeyCreds Pulumi.GoogleNative.VMMigration.V1.Inputs.AccessKeyCredentialsResponse
    AWS Credentials using access key id and secret.
    AwsRegion string
    Immutable. The AWS region that the source VMs will be migrated from.
    Error Pulumi.GoogleNative.VMMigration.V1.Inputs.StatusResponse
    Provides details on the state of the Source in case of an error.
    InventorySecurityGroupNames List<string>
    AWS security group names to limit the scope of the source inventory.
    InventoryTagList List<Pulumi.GoogleNative.VMMigration.V1.Inputs.TagResponse>
    AWS resource tags to limit the scope of the source inventory.
    MigrationResourcesUserTags 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.
    PublicIp 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.
    AccessKeyCreds AccessKeyCredentialsResponse
    AWS Credentials using access key id and secret.
    AwsRegion string
    Immutable. The AWS region that the source VMs will be migrated from.
    Error StatusResponse
    Provides details on the state of the Source in case of an error.
    InventorySecurityGroupNames []string
    AWS security group names to limit the scope of the source inventory.
    InventoryTagList []TagResponse
    AWS resource tags to limit the scope of the source inventory.
    MigrationResourcesUserTags 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.
    PublicIp 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.
    accessKeyCreds AccessKeyCredentialsResponse
    AWS Credentials using access key id and secret.
    awsRegion String
    Immutable. The AWS region that the source VMs will be migrated from.
    error StatusResponse
    Provides details on the state of the Source in case of an error.
    inventorySecurityGroupNames List<String>
    AWS security group names to limit the scope of the source inventory.
    inventoryTagList List<TagResponse>
    AWS resource tags to limit the scope of the source inventory.
    migrationResourcesUserTags 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.
    publicIp 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.
    accessKeyCreds AccessKeyCredentialsResponse
    AWS Credentials using access key id and secret.
    awsRegion string
    Immutable. The AWS region that the source VMs will be migrated from.
    error StatusResponse
    Provides details on the state of the Source in case of an error.
    inventorySecurityGroupNames string[]
    AWS security group names to limit the scope of the source inventory.
    inventoryTagList TagResponse[]
    AWS resource tags to limit the scope of the source inventory.
    migrationResourcesUserTags {[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.
    publicIp 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_creds AccessKeyCredentialsResponse
    AWS Credentials using access key id and secret.
    aws_region str
    Immutable. The AWS region that the source VMs will be migrated from.
    error StatusResponse
    Provides details on the state of the Source in case of an error.
    inventory_security_group_names Sequence[str]
    AWS security group names to limit the scope of the source inventory.
    inventory_tag_list Sequence[TagResponse]
    AWS resource tags to limit the scope of the source inventory.
    migration_resources_user_tags 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.
    accessKeyCreds Property Map
    AWS Credentials using access key id and secret.
    awsRegion 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.
    inventorySecurityGroupNames List<String>
    AWS security group names to limit the scope of the source inventory.
    inventoryTagList List<Property Map>
    AWS resource tags to limit the scope of the source inventory.
    migrationResourcesUserTags 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.
    publicIp 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

    AzureLocation string
    Immutable. The Azure location (region) that the source VMs will be migrated from.
    ClientSecretCreds Pulumi.GoogleNative.VMMigration.V1.Inputs.ClientSecretCredentialsResponse
    Azure Credentials using tenant ID, client ID and secret.
    Error Pulumi.GoogleNative.VMMigration.V1.Inputs.StatusResponse
    Provides details on the state of the Source in case of an error.
    MigrationResourcesUserTags 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 or m2vm.
    ResourceGroupId string
    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.
    SubscriptionId string
    Immutable. Azure subscription ID.
    AzureLocation string
    Immutable. The Azure location (region) that the source VMs will be migrated from.
    ClientSecretCreds ClientSecretCredentialsResponse
    Azure Credentials using tenant ID, client ID and secret.
    Error StatusResponse
    Provides details on the state of the Source in case of an error.
    MigrationResourcesUserTags 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 or m2vm.
    ResourceGroupId string
    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.
    SubscriptionId string
    Immutable. Azure subscription ID.
    azureLocation String
    Immutable. The Azure location (region) that the source VMs will be migrated from.
    clientSecretCreds ClientSecretCredentialsResponse
    Azure Credentials using tenant ID, client ID and secret.
    error StatusResponse
    Provides details on the state of the Source in case of an error.
    migrationResourcesUserTags 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 or m2vm.
    resourceGroupId String
    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.
    subscriptionId String
    Immutable. Azure subscription ID.
    azureLocation string
    Immutable. The Azure location (region) that the source VMs will be migrated from.
    clientSecretCreds ClientSecretCredentialsResponse
    Azure Credentials using tenant ID, client ID and secret.
    error StatusResponse
    Provides details on the state of the Source in case of an error.
    migrationResourcesUserTags {[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 or m2vm.
    resourceGroupId string
    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.
    subscriptionId string
    Immutable. Azure subscription ID.
    azure_location str
    Immutable. The Azure location (region) that the source VMs will be migrated from.
    client_secret_creds ClientSecretCredentialsResponse
    Azure Credentials using tenant ID, client ID and secret.
    error StatusResponse
    Provides details on the state of the Source in case of an error.
    migration_resources_user_tags 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 or m2vm.
    resource_group_id str
    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.
    azureLocation String
    Immutable. The Azure location (region) that the source VMs will be migrated from.
    clientSecretCreds Property Map
    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.
    migrationResourcesUserTags 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 or m2vm.
    resourceGroupId String
    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.
    subscriptionId String
    Immutable. Azure subscription ID.

    ClientSecretCredentialsResponse

    ClientId string
    Azure client ID.
    ClientSecret string
    Input only. Azure client secret.
    TenantId string
    Azure tenant ID.
    ClientId string
    Azure client ID.
    ClientSecret string
    Input only. Azure client secret.
    TenantId string
    Azure tenant ID.
    clientId String
    Azure client ID.
    clientSecret String
    Input only. Azure client secret.
    tenantId String
    Azure tenant ID.
    clientId string
    Azure client ID.
    clientSecret string
    Input only. Azure client secret.
    tenantId string
    Azure tenant ID.
    client_id str
    Azure client ID.
    client_secret str
    Input only. Azure client secret.
    tenant_id str
    Azure tenant ID.
    clientId String
    Azure client ID.
    clientSecret String
    Input only. Azure client secret.
    tenantId String
    Azure tenant ID.

    EncryptionResponse

    KmsKey string
    The name of the encryption key that is stored in Google Cloud KMS.
    KmsKey string
    The name of the encryption key that is stored in Google Cloud KMS.
    kmsKey String
    The name of the encryption key that is stored in Google Cloud KMS.
    kmsKey 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.
    kmsKey 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<ImmutableDictionary<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

    Key string
    Key of tag.
    Value string
    Value of tag.
    Key string
    Key of tag.
    Value string
    Value of tag.
    key String
    Key of tag.
    value String
    Value of tag.
    key string
    Key of tag.
    value string
    Value of tag.
    key str
    Key of tag.
    value str
    Value of tag.
    key String
    Key of tag.
    value String
    Value of tag.

    VmwareSourceDetailsResponse

    Password string
    Input only. The credentials password. This is write only and can not be read in a GET operation.
    ResolvedVcenterHost string
    The hostname of the vcenter.
    Thumbprint string
    The thumbprint representing the certificate for the vcenter.
    Username string
    The credentials username.
    VcenterIp 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.
    ResolvedVcenterHost string
    The hostname of the vcenter.
    Thumbprint string
    The thumbprint representing the certificate for the vcenter.
    Username string
    The credentials username.
    VcenterIp 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.
    resolvedVcenterHost String
    The hostname of the vcenter.
    thumbprint String
    The thumbprint representing the certificate for the vcenter.
    username String
    The credentials username.
    vcenterIp 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.
    resolvedVcenterHost string
    The hostname of the vcenter.
    thumbprint string
    The thumbprint representing the certificate for the vcenter.
    username string
    The credentials username.
    vcenterIp 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_host str
    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.
    resolvedVcenterHost String
    The hostname of the vcenter.
    thumbprint String
    The thumbprint representing the certificate for the vcenter.
    username String
    The credentials username.
    vcenterIp 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-native logo

    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