@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Container App Job
*
* Uses Azure REST API version 2025-02-02-preview.
*
* Other available API versions: 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise<GetJobResult>;
export interface GetJobArgs {
/**
* Job Name
*/
jobName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Container App Job
*/
export interface GetJobResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Container Apps Job configuration properties.
*/
readonly configuration?: outputs.app.JobConfigurationResponse;
/**
* Resource ID of environment.
*/
readonly environmentId?: string;
/**
* The endpoint of the eventstream of the container apps job.
*/
readonly eventStreamEndpoint: string;
/**
* The complex type of the extended location.
*/
readonly extendedLocation?: outputs.app.ExtendedLocationResponse;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
*/
readonly identity?: outputs.app.ManagedServiceIdentityResponse;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Outbound IP Addresses of a container apps job.
*/
readonly outboundIpAddresses: string[];
/**
* Provisioning state of the Container Apps Job.
*/
readonly provisioningState: string;
/**
* Current running state of the job
*/
readonly runningState: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.app.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Container Apps job definition.
*/
readonly template?: outputs.app.JobTemplateResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Workload profile name to pin for container apps job execution.
*/
readonly workloadProfileName?: string;
}
/**
* Container App Job
*
* Uses Azure REST API version 2025-02-02-preview.
*
* Other available API versions: 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJobResult>;
export interface GetJobOutputArgs {
/**
* Job Name
*/
jobName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}