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

170 lines (169 loc) 7.59 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * 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 * * Uses Azure REST API version 2024-07-01. */ export declare class AutoExportJob extends pulumi.CustomResource { /** * Get an existing AutoExportJob resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AutoExportJob; /** * Returns true if the given object is an instance of AutoExportJob. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AutoExportJob; /** * 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: pulumi.Output<string | undefined>; /** * 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: pulumi.Output<string[] | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Files discovered for export in current iteration. It may increase while more export items are found. */ readonly currentIterationFilesDiscovered: pulumi.Output<number>; /** * Files that have been exported in current iteration. */ readonly currentIterationFilesExported: pulumi.Output<number>; /** * Files failed to export in current iteration. */ readonly currentIterationFilesFailed: pulumi.Output<number>; /** * Data (in MiB) discovered for export in current iteration. It may increase while more export items are found. */ readonly currentIterationMiBDiscovered: pulumi.Output<number>; /** * Data (in MiB) that have been exported in current iteration. */ readonly currentIterationMiBExported: pulumi.Output<number>; /** * Number of iterations completed since the start of the export. */ readonly exportIterationCount: pulumi.Output<number>; /** * The time (in UTC) of the last completed auto export job. */ readonly lastCompletionTimeUTC: pulumi.Output<string>; /** * The time (in UTC) the latest auto export job started. */ readonly lastStartedTimeUTC: pulumi.Output<string>; /** * Time (in UTC) of the last successfully completed export iteration. Look at logging container for details. */ readonly lastSuccessfulIterationCompletionTimeUTC: pulumi.Output<string>; /** * The geo-location where the resource lives */ readonly location: pulumi.Output<string>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * ARM provisioning state. */ readonly provisioningState: pulumi.Output<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: pulumi.Output<string | undefined>; /** * Server-defined status code for auto export job. */ readonly statusCode: pulumi.Output<string>; /** * Server-defined status message for auto export job. */ readonly statusMessage: pulumi.Output<string>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.storagecache.SystemDataResponse>; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Total files exported since the start of the export. This is accumulative, some files may be counted repeatedly. */ readonly totalFilesExported: pulumi.Output<number>; /** * Total files failed to be export since the last successfully completed iteration. This is accumulative, some files may be counted repeatedly. */ readonly totalFilesFailed: pulumi.Output<number>; /** * Total data (in MiB) exported since the start of the export. This is accumulative, some files may be counted repeatedly. */ readonly totalMiBExported: pulumi.Output<number>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Create a AutoExportJob resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AutoExportJobArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AutoExportJob resource. */ export interface AutoExportJobArgs { /** * 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'. */ adminStatus?: pulumi.Input<string | enums.storagecache.AutoExportJobAdminStatus>; /** * 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>; /** * 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. */ autoExportPrefixes?: pulumi.Input<pulumi.Input<string>[]>; /** * The geo-location where the resource lives */ location?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<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. */ state?: pulumi.Input<string | enums.storagecache.AutoExportStatusType>; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }