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 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)
public static Output<GetImportDataFileResult> getImportDataFile(GetImportDataFileArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:migrationcenter/v1alpha1:getImportDataFile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ImportData stringFile Id 
- ImportJob stringId 
- Location string
- Project string
- ImportData stringFile Id 
- ImportJob stringId 
- Location string
- Project string
- importData StringFile Id 
- importJob StringId 
- location String
- project String
- importData stringFile Id 
- importJob stringId 
- location string
- project string
- import_data_ strfile_ id 
- import_job_ strid 
- location str
- project str
- importData StringFile Id 
- importJob StringId 
- 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.
- UploadFile Pulumi.Info Google Native. Migration Center. V1Alpha1. Outputs. Upload File Info Response 
- 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.
- UploadFile UploadInfo File Info Response 
- 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.
- uploadFile UploadInfo File Info Response 
- 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.
- uploadFile UploadInfo File Info Response 
- 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_ Uploadinfo File Info Response 
- 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.
- uploadFile Property MapInfo 
- 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.
- UriExpiration stringTime 
- 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.
- UriExpiration stringTime 
- 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.
- uriExpiration StringTime 
- 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.
- uriExpiration stringTime 
- 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_ strtime 
- 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.
- uriExpiration StringTime 
- 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