1. Packages
  2. Google Cloud Native
  3. API Docs
  4. migrationcenter
  5. migrationcenter/v1
  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/v1.getImportDataFile

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 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>
Copy
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]
Copy
func LookupImportDataFile(ctx *Context, args *LookupImportDataFileArgs, opts ...InvokeOption) (*LookupImportDataFileResult, error)
func LookupImportDataFileOutput(ctx *Context, args *LookupImportDataFileOutputArgs, opts ...InvokeOption) LookupImportDataFileResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetImportDataFileResult> getImportDataFile(GetImportDataFileArgs args, InvokeOptions options)
public static Output<GetImportDataFileResult> getImportDataFile(GetImportDataFileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:migrationcenter/v1:getImportDataFile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ImportDataFileId This property is required. string
ImportJobId This property is required. string
Location This property is required. string
Project string
ImportDataFileId This property is required. string
ImportJobId This property is required. string
Location This property is required. string
Project string
importDataFileId This property is required. String
importJobId This property is required. String
location This property is required. String
project String
importDataFileId This property is required. string
importJobId This property is required. string
location This property is required. string
project string
import_data_file_id This property is required. str
import_job_id This property is required. str
location This property is required. str
project str
importDataFileId This property is required. String
importJobId This property is required. String
location This property is required. String
project String

getImportDataFile Result

The following output properties are available:

CreateTime string
The timestamp when the file was created.
DisplayName string
User-friendly display name. Maximum length is 63 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.V1.Outputs.UploadFileInfoResponse
Information about a file that is uploaded to a storage service.
CreateTime string
The timestamp when the file was created.
DisplayName string
User-friendly display name. Maximum length is 63 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
User-friendly display name. Maximum length is 63 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
User-friendly display name. Maximum length is 63 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
User-friendly display name. Maximum length is 63 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
User-friendly display name. Maximum length is 63 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 This property is required. Dictionary<string, string>
The headers that were used to sign the URI.
SignedUri This property is required. string
Upload URI for the file.
UriExpirationTime This property is required. string
Expiration time of the upload URI.
Headers This property is required. map[string]string
The headers that were used to sign the URI.
SignedUri This property is required. string
Upload URI for the file.
UriExpirationTime This property is required. string
Expiration time of the upload URI.
headers This property is required. Map<String,String>
The headers that were used to sign the URI.
signedUri This property is required. String
Upload URI for the file.
uriExpirationTime This property is required. String
Expiration time of the upload URI.
headers This property is required. {[key: string]: string}
The headers that were used to sign the URI.
signedUri This property is required. string
Upload URI for the file.
uriExpirationTime This property is required. string
Expiration time of the upload URI.
headers This property is required. Mapping[str, str]
The headers that were used to sign the URI.
signed_uri This property is required. str
Upload URI for the file.
uri_expiration_time This property is required. str
Expiration time of the upload URI.
headers This property is required. Map<String>
The headers that were used to sign the URI.
signedUri This property is required. String
Upload URI for the file.
uriExpirationTime This property is required. String
Expiration time of the upload URI.

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