Container
Represents a container on the Data Box Edge/Gateway device. Uses Azure REST API version 2022-03-01. In version 1.x of the Azure Native provider, it used API version 2020-12-01. Other available API versions: 2023-01-01-preview, 2023-07-01, 2023-12-01.
Example Usage
ContainerPut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var container = new AzureNative.DataBoxEdge.Container("container", new()
{
ContainerName = "blobcontainer1",
DataFormat = AzureNative.DataBoxEdge.AzureContainerDataFormat.BlockBlob,
DeviceName = "testedgedevice",
ResourceGroupName = "GroupForEdgeAutomation",
StorageAccountName = "storageaccount1",
});
});
Content copied to clipboard
package main
import (
databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databoxedge.NewContainer(ctx, "container", &databoxedge.ContainerArgs{
ContainerName: pulumi.String("blobcontainer1"),
DataFormat: pulumi.String(databoxedge.AzureContainerDataFormatBlockBlob),
DeviceName: pulumi.String("testedgedevice"),
ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
StorageAccountName: pulumi.String("storageaccount1"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.databoxedge.Container;
import com.pulumi.azurenative.databoxedge.ContainerArgs;
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 container = new Container("container", ContainerArgs.builder()
.containerName("blobcontainer1")
.dataFormat("BlockBlob")
.deviceName("testedgedevice")
.resourceGroupName("GroupForEdgeAutomation")
.storageAccountName("storageaccount1")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:databoxedge:Container blobcontainer-5e155efe /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}
Content copied to clipboard
Properties
Link copied to clipboard
Current status of the container.
Link copied to clipboard
The UTC time when container got created.
Link copied to clipboard
DataFormat for Container
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Details of the refresh job on this container.
Link copied to clipboard
Metadata pertaining to creation and last modification of Container