1. Packages
  2. Google Cloud Native
  3. API Docs
  4. migrationcenter
  5. migrationcenter/v1alpha1
  6. getImportDataFile

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.migrationcenter/v1alpha1.getImportDataFile

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 an import data file.

    Using getImportDataFile

    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 getImportDataFile(args: GetImportDataFileArgs, opts?: InvokeOptions): Promise<GetImportDataFileResult>
    function getImportDataFileOutput(args: GetImportDataFileOutputArgs, opts?: InvokeOptions): Output<GetImportDataFileResult>
    def get_import_data_file(import_data_file_id: Optional[str] = None,
                             import_job_id: Optional[str] = None,
                             location: Optional[str] = None,
                             project: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetImportDataFileResult
    def get_import_data_file_output(import_data_file_id: Optional[pulumi.Input[str]] = None,
                             import_job_id: Optional[pulumi.Input[str]] = None,
                             location: Optional[pulumi.Input[str]] = None,
                             project: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetImportDataFileResult]
    func LookupImportDataFile(ctx *Context, args *LookupImportDataFileArgs, opts ...InvokeOption) (*LookupImportDataFileResult, error)
    func LookupImportDataFileOutput(ctx *Context, args *LookupImportDataFileOutputArgs, opts ...InvokeOption) LookupImportDataFileResultOutput

    > Note: This function is named LookupImportDataFile in the Go SDK.

    public static class GetImportDataFile 
    {
        public static Task<GetImportDataFileResult> InvokeAsync(GetImportDataFileArgs args, InvokeOptions? opts = null)
        public static Output<GetImportDataFileResult> Invoke(GetImportDataFileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetImportDataFileResult> getImportDataFile(GetImportDataFileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:migrationcenter/v1alpha1:getImportDataFile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ImportDataFileId string
    ImportJobId string
    Location string
    Project string
    ImportDataFileId string
    ImportJobId string
    Location string
    Project string
    importDataFileId String
    importJobId String
    location String
    project String
    importDataFileId string
    importJobId string
    location string
    project string
    importDataFileId String
    importJobId String
    location String
    project String

    getImportDataFile Result

    The following output properties are available:

    CreateTime string
    The timestamp when the file was created.
    DisplayName string
    Optional. User-friendly display name. Maximum length is 256 characters.
    Format string
    The payload format.
    Name string
    The name of the file.
    State string
    The state of the import data file.
    UploadFileInfo Pulumi.GoogleNative.MigrationCenter.V1Alpha1.Outputs.UploadFileInfoResponse
    Information about a file that is uploaded to a storage service.
    CreateTime string
    The timestamp when the file was created.
    DisplayName string
    Optional. User-friendly display name. Maximum length is 256 characters.
    Format string
    The payload format.
    Name string
    The name of the file.
    State string
    The state of the import data file.
    UploadFileInfo UploadFileInfoResponse
    Information about a file that is uploaded to a storage service.
    createTime String
    The timestamp when the file was created.
    displayName String
    Optional. User-friendly display name. Maximum length is 256 characters.
    format String
    The payload format.
    name String
    The name of the file.
    state String
    The state of the import data file.
    uploadFileInfo UploadFileInfoResponse
    Information about a file that is uploaded to a storage service.
    createTime string
    The timestamp when the file was created.
    displayName string
    Optional. User-friendly display name. Maximum length is 256 characters.
    format string
    The payload format.
    name string
    The name of the file.
    state string
    The state of the import data file.
    uploadFileInfo UploadFileInfoResponse
    Information about a file that is uploaded to a storage service.
    create_time str
    The timestamp when the file was created.
    display_name str
    Optional. User-friendly display name. Maximum length is 256 characters.
    format str
    The payload format.
    name str
    The name of the file.
    state str
    The state of the import data file.
    upload_file_info UploadFileInfoResponse
    Information about a file that is uploaded to a storage service.
    createTime String
    The timestamp when the file was created.
    displayName String
    Optional. User-friendly display name. Maximum length is 256 characters.
    format String
    The payload format.
    name String
    The name of the file.
    state String
    The state of the import data file.
    uploadFileInfo Property Map
    Information about a file that is uploaded to a storage service.

    Supporting Types

    UploadFileInfoResponse

    Headers Dictionary<string, string>
    The headers that were used to sign the URL.
    SignedUri string
    Upload URI for the file.
    UriExpirationTime string
    Expiration time of the upload URI.
    Headers map[string]string
    The headers that were used to sign the URL.
    SignedUri string
    Upload URI for the file.
    UriExpirationTime string
    Expiration time of the upload URI.
    headers Map<String,String>
    The headers that were used to sign the URL.
    signedUri String
    Upload URI for the file.
    uriExpirationTime String
    Expiration time of the upload URI.
    headers {[key: string]: string}
    The headers that were used to sign the URL.
    signedUri string
    Upload URI for the file.
    uriExpirationTime string
    Expiration time of the upload URI.
    headers Mapping[str, str]
    The headers that were used to sign the URL.
    signed_uri str
    Upload URI for the file.
    uri_expiration_time str
    Expiration time of the upload URI.
    headers Map<String>
    The headers that were used to sign the URL.
    signedUri String
    Upload URI for the file.
    uriExpirationTime String
    Expiration time of the upload URI.

    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