Auto Export Job
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.
Example Usage
autoExportJobs_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var autoExportJob = new AzureNative.StorageCache.AutoExportJob("autoExportJob", new()
{
AmlFilesystemName = "fs1",
AutoExportJobName = "job1",
AutoExportPrefixes = new[]
{
"/",
},
Location = "eastus",
ResourceGroupName = "scgroup",
Tags =
{
{ "Dept", "ContosoAds" },
},
});
});
package main
import (
storagecache "github.com/pulumi/pulumi-azure-native-sdk/storagecache/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storagecache.NewAutoExportJob(ctx, "autoExportJob", &storagecache.AutoExportJobArgs{
AmlFilesystemName: pulumi.String("fs1"),
AutoExportJobName: pulumi.String("job1"),
AutoExportPrefixes: pulumi.StringArray{
pulumi.String("/"),
},
Location: pulumi.String("eastus"),
ResourceGroupName: pulumi.String("scgroup"),
Tags: pulumi.StringMap{
"Dept": pulumi.String("ContosoAds"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storagecache.AutoExportJob;
import com.pulumi.azurenative.storagecache.AutoExportJobArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var autoExportJob = new AutoExportJob("autoExportJob", AutoExportJobArgs.builder()
.amlFilesystemName("fs1")
.autoExportJobName("job1")
.autoExportPrefixes("/")
.location("eastus")
.resourceGroupName("scgroup")
.tags(Map.of("Dept", "ContosoAds"))
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storagecache:AutoExportJob job1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}
Properties
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'.
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.
The Azure API version of the resource.
Files discovered for export in current iteration. It may increase while more export items are found.
Files that have been exported in current iteration.
Files failed to export in current iteration.
Data (in MiB) discovered for export in current iteration. It may increase while more export items are found.
Data (in MiB) that have been exported in current iteration.
Number of iterations completed since the start of the export.
The time (in UTC) of the last completed auto export job.
The time (in UTC) the latest auto export job started.
Time (in UTC) of the last successfully completed export iteration. Look at logging container for details.
ARM provisioning state.
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.
Server-defined status code for auto export job.
Server-defined status message for auto export job.
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Total files exported since the start of the export. This is accumulative, some files may be counted repeatedly.
Total files failed to be export since the last successfully completed iteration. This is accumulative, some files may be counted repeatedly.
Total data (in MiB) exported since the start of the export. This is accumulative, some files may be counted repeatedly.