Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.getExport
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Gets the details and status of an analytics export job. If the export job is still in progress, its state
is set to “running”. After the export job has completed successfully, its state
is set to “completed”. If the export job fails, its state
is set to failed
.
Using getExport
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 getExport(args: GetExportArgs, opts?: InvokeOptions): Promise<GetExportResult>
function getExportOutput(args: GetExportOutputArgs, opts?: InvokeOptions): Output<GetExportResult>
def get_export(environment_id: Optional[str] = None,
export_id: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExportResult
def get_export_output(environment_id: Optional[pulumi.Input[str]] = None,
export_id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExportResult]
func LookupExport(ctx *Context, args *LookupExportArgs, opts ...InvokeOption) (*LookupExportResult, error)
func LookupExportOutput(ctx *Context, args *LookupExportOutputArgs, opts ...InvokeOption) LookupExportResultOutput
> Note: This function is named LookupExport
in the Go SDK.
public static class GetExport
{
public static Task<GetExportResult> InvokeAsync(GetExportArgs args, InvokeOptions? opts = null)
public static Output<GetExportResult> Invoke(GetExportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExportResult> getExport(GetExportArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:apigee/v1:getExport
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id string - Export
Id string - Organization
Id string
- Environment
Id string - Export
Id string - Organization
Id string
- environment
Id String - export
Id String - organization
Id String
- environment
Id string - export
Id string - organization
Id string
- environment_
id str - export_
id str - organization_
id str
- environment
Id String - export
Id String - organization
Id String
getExport Result
The following output properties are available:
- Created string
Time the export job was created.
- Datastore
Name string Name of the datastore that is the destination of the export job [datastore]
- Description string
Description of the export job.
- Error string
Error is set when export fails
- Execution
Time string Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed since
created
, in seconds. Else, it will set to (updated
-created
), in seconds.- Name string
Display name of the export job.
- Self string
Self link of the export job. A URI that can be used to retrieve the status of an export job. Example:
/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd
- State string
Status of the export job. Valid values include
enqueued
,running
,completed
, andfailed
.- Updated string
Time the export job was last updated.
- Created string
Time the export job was created.
- Datastore
Name string Name of the datastore that is the destination of the export job [datastore]
- Description string
Description of the export job.
- Error string
Error is set when export fails
- Execution
Time string Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed since
created
, in seconds. Else, it will set to (updated
-created
), in seconds.- Name string
Display name of the export job.
- Self string
Self link of the export job. A URI that can be used to retrieve the status of an export job. Example:
/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd
- State string
Status of the export job. Valid values include
enqueued
,running
,completed
, andfailed
.- Updated string
Time the export job was last updated.
- created String
Time the export job was created.
- datastore
Name String Name of the datastore that is the destination of the export job [datastore]
- description String
Description of the export job.
- error String
Error is set when export fails
- execution
Time String Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed since
created
, in seconds. Else, it will set to (updated
-created
), in seconds.- name String
Display name of the export job.
- self String
Self link of the export job. A URI that can be used to retrieve the status of an export job. Example:
/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd
- state String
Status of the export job. Valid values include
enqueued
,running
,completed
, andfailed
.- updated String
Time the export job was last updated.
- created string
Time the export job was created.
- datastore
Name string Name of the datastore that is the destination of the export job [datastore]
- description string
Description of the export job.
- error string
Error is set when export fails
- execution
Time string Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed since
created
, in seconds. Else, it will set to (updated
-created
), in seconds.- name string
Display name of the export job.
- self string
Self link of the export job. A URI that can be used to retrieve the status of an export job. Example:
/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd
- state string
Status of the export job. Valid values include
enqueued
,running
,completed
, andfailed
.- updated string
Time the export job was last updated.
- created str
Time the export job was created.
- datastore_
name str Name of the datastore that is the destination of the export job [datastore]
- description str
Description of the export job.
- error str
Error is set when export fails
- execution_
time str Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed since
created
, in seconds. Else, it will set to (updated
-created
), in seconds.- name str
Display name of the export job.
- self str
Self link of the export job. A URI that can be used to retrieve the status of an export job. Example:
/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd
- state str
Status of the export job. Valid values include
enqueued
,running
,completed
, andfailed
.- updated str
Time the export job was last updated.
- created String
Time the export job was created.
- datastore
Name String Name of the datastore that is the destination of the export job [datastore]
- description String
Description of the export job.
- error String
Error is set when export fails
- execution
Time String Execution time for this export job. If the job is still in progress, it will be set to the amount of time that has elapsed since
created
, in seconds. Else, it will set to (updated
-created
), in seconds.- name String
Display name of the export job.
- self String
Self link of the export job. A URI that can be used to retrieve the status of an export job. Example:
/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd
- state String
Status of the export job. Valid values include
enqueued
,running
,completed
, andfailed
.- updated String
Time the export job was last updated.
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.