AutoExportJob

class AutoExportJob : KotlinCustomResource

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

Link copied to clipboard
val adminStatus: Output<String>?

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'.

Link copied to clipboard

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.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Files discovered for export in current iteration. It may increase while more export items are found.

Link copied to clipboard

Files that have been exported in current iteration.

Link copied to clipboard

Files failed to export in current iteration.

Link copied to clipboard

Data (in MiB) discovered for export in current iteration. It may increase while more export items are found.

Link copied to clipboard

Data (in MiB) that have been exported in current iteration.

Link copied to clipboard

Number of iterations completed since the start of the export.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The time (in UTC) of the last completed auto export job.

Link copied to clipboard

The time (in UTC) the latest auto export job started.

Link copied to clipboard

Time (in UTC) of the last successfully completed export iteration. Look at logging container for details.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

ARM provisioning state.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: 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.

Link copied to clipboard
val statusCode: Output<String>

Server-defined status code for auto export job.

Link copied to clipboard
val statusMessage: Output<String>

Server-defined status message for auto export job.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard

Total files exported since the start of the export. This is accumulative, some files may be counted repeatedly.

Link copied to clipboard

Total files failed to be export since the last successfully completed iteration. This is accumulative, some files may be counted repeatedly.

Link copied to clipboard

Total data (in MiB) exported since the start of the export. This is accumulative, some files may be counted repeatedly.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>