UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

150 lines (149 loc) 5.78 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns an auto export job. * * Uses Azure REST API version 2024-07-01. */ export declare function getAutoExportJob(args: GetAutoExportJobArgs, opts?: pulumi.InvokeOptions): Promise<GetAutoExportJobResult>; export interface GetAutoExportJobArgs { /** * Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. */ amlFilesystemName: string; /** * Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. */ autoExportJobName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * An auto export job instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md */ export interface GetAutoExportJobResult { /** * The administrative status of the auto export job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto export job. By default it is set to 'Enable'. */ readonly adminStatus?: string; /** * An array of blob paths/prefixes that get auto exported to the cluster namespace. It has '/' as the default value. Number of maximum allowed paths for now is 1. */ readonly autoExportPrefixes?: string[]; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Files discovered for export in current iteration. It may increase while more export items are found. */ readonly currentIterationFilesDiscovered: number; /** * Files that have been exported in current iteration. */ readonly currentIterationFilesExported: number; /** * Files failed to export in current iteration. */ readonly currentIterationFilesFailed: number; /** * Data (in MiB) discovered for export in current iteration. It may increase while more export items are found. */ readonly currentIterationMiBDiscovered: number; /** * Data (in MiB) that have been exported in current iteration. */ readonly currentIterationMiBExported: number; /** * Number of iterations completed since the start of the export. */ readonly exportIterationCount: number; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The time (in UTC) of the last completed auto export job. */ readonly lastCompletionTimeUTC: string; /** * The time (in UTC) the latest auto export job started. */ readonly lastStartedTimeUTC: string; /** * Time (in UTC) of the last successfully completed export iteration. Look at logging container for details. */ readonly lastSuccessfulIterationCompletionTimeUTC: string; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * ARM provisioning state. */ readonly provisioningState: string; /** * The operational state of auto export. InProgress indicates the export is running. Disabling indicates the user has requested to disable the export but the disabling is still in progress. Disabled indicates auto export has been disabled. DisableFailed indicates the disabling has failed. Failed means the export was unable to continue, due to a fatal error. */ readonly state?: string; /** * Server-defined status code for auto export job. */ readonly statusCode: string; /** * Server-defined status message for auto export job. */ readonly statusMessage: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.storagecache.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Total files exported since the start of the export. This is accumulative, some files may be counted repeatedly. */ readonly totalFilesExported: number; /** * Total files failed to be export since the last successfully completed iteration. This is accumulative, some files may be counted repeatedly. */ readonly totalFilesFailed: number; /** * Total data (in MiB) exported since the start of the export. This is accumulative, some files may be counted repeatedly. */ readonly totalMiBExported: number; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Returns an auto export job. * * Uses Azure REST API version 2024-07-01. */ export declare function getAutoExportJobOutput(args: GetAutoExportJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAutoExportJobResult>; export interface GetAutoExportJobOutputArgs { /** * Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. */ amlFilesystemName: pulumi.Input<string>; /** * Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric. */ autoExportJobName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }