Container
Represents a container on the Data Box Edge/Gateway device. Uses Azure REST API version 2023-07-01. In version 2.x of the Azure Native provider, it used API version 2022-03-01. Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native databoxedge [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
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",
});
});
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
})
}
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());
}
}
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}
Properties
The Azure API version of the resource.
Current status of the container.
The UTC time when container got created.
DataFormat for Container
Details of the refresh job on this container.
Metadata pertaining to creation and last modification of Container