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>
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/v1:getImportDataFile
arguments:
# arguments dictionary
The following arguments are supported:
- Import
Data stringFile Id - Import
Job stringId - Location string
- Project string
- Import
Data stringFile Id - Import
Job stringId - Location string
- Project string
- import
Data StringFile Id - import
Job StringId - location String
- project String
- import
Data stringFile Id - import
Job stringId - location string
- project string
- import_
data_ strfile_ id - import_
job_ strid - location str
- project str
- import
Data StringFile Id - import
Job StringId - location String
- project String
getImportDataFile Result
The following output properties are available:
- Create
Time string - The timestamp when the file was created.
- Display
Name 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.
- Upload
File Pulumi.Info Google Native. Migration Center. V1. Outputs. Upload File Info Response - Information about a file that is uploaded to a storage service.
- Create
Time string - The timestamp when the file was created.
- Display
Name 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.
- Upload
File UploadInfo File Info Response - Information about a file that is uploaded to a storage service.
- create
Time String - The timestamp when the file was created.
- display
Name 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.
- upload
File UploadInfo File Info Response - Information about a file that is uploaded to a storage service.
- create
Time string - The timestamp when the file was created.
- display
Name 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.
- upload
File 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 - 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_ Uploadinfo File Info Response - Information about a file that is uploaded to a storage service.
- create
Time String - The timestamp when the file was created.
- display
Name 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.
- upload
File 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 URI.
- Signed
Uri string - Upload URI for the file.
- Uri
Expiration stringTime - Expiration time of the upload URI.
- Headers map[string]string
- The headers that were used to sign the URI.
- Signed
Uri string - Upload URI for the file.
- Uri
Expiration stringTime - Expiration time of the upload URI.
- headers Map<String,String>
- The headers that were used to sign the URI.
- signed
Uri String - Upload URI for the file.
- uri
Expiration StringTime - Expiration time of the upload URI.
- headers {[key: string]: string}
- The headers that were used to sign the URI.
- signed
Uri string - Upload URI for the file.
- uri
Expiration stringTime - Expiration time of the upload URI.
- headers Mapping[str, str]
- The headers that were used to sign the URI.
- 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 URI.
- signed
Uri String - Upload URI for the file.
- uri
Expiration 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