azure-native.databoxedge.Container
Explore with Pulumi AI
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",
    });
});
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 * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const container = new azure_native.databoxedge.Container("container", {
    containerName: "blobcontainer1",
    dataFormat: azure_native.databoxedge.AzureContainerDataFormat.BlockBlob,
    deviceName: "testedgedevice",
    resourceGroupName: "GroupForEdgeAutomation",
    storageAccountName: "storageaccount1",
});
import pulumi
import pulumi_azure_native as azure_native
container = azure_native.databoxedge.Container("container",
    container_name="blobcontainer1",
    data_format=azure_native.databoxedge.AzureContainerDataFormat.BLOCK_BLOB,
    device_name="testedgedevice",
    resource_group_name="GroupForEdgeAutomation",
    storage_account_name="storageaccount1")
resources:
  container:
    type: azure-native:databoxedge:Container
    properties:
      containerName: blobcontainer1
      dataFormat: BlockBlob
      deviceName: testedgedevice
      resourceGroupName: GroupForEdgeAutomation
      storageAccountName: storageaccount1
Create Container Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Container(name: string, args: ContainerArgs, opts?: CustomResourceOptions);@overload
def Container(resource_name: str,
              args: ContainerArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def Container(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              data_format: Optional[Union[str, AzureContainerDataFormat]] = None,
              device_name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              storage_account_name: Optional[str] = None,
              container_name: Optional[str] = None)func NewContainer(ctx *Context, name string, args ContainerArgs, opts ...ResourceOption) (*Container, error)public Container(string name, ContainerArgs args, CustomResourceOptions? opts = null)
public Container(String name, ContainerArgs args)
public Container(String name, ContainerArgs args, CustomResourceOptions options)
type: azure-native:databoxedge:Container
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ContainerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContainerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ContainerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var containerResource = new AzureNative.DataBoxEdge.Container("containerResource", new()
{
    DataFormat = "string",
    DeviceName = "string",
    ResourceGroupName = "string",
    StorageAccountName = "string",
    ContainerName = "string",
});
example, err := databoxedge.NewContainer(ctx, "containerResource", &databoxedge.ContainerArgs{
	DataFormat:         pulumi.String("string"),
	DeviceName:         pulumi.String("string"),
	ResourceGroupName:  pulumi.String("string"),
	StorageAccountName: pulumi.String("string"),
	ContainerName:      pulumi.String("string"),
})
var containerResource = new Container("containerResource", ContainerArgs.builder()
    .dataFormat("string")
    .deviceName("string")
    .resourceGroupName("string")
    .storageAccountName("string")
    .containerName("string")
    .build());
container_resource = azure_native.databoxedge.Container("containerResource",
    data_format="string",
    device_name="string",
    resource_group_name="string",
    storage_account_name="string",
    container_name="string")
const containerResource = new azure_native.databoxedge.Container("containerResource", {
    dataFormat: "string",
    deviceName: "string",
    resourceGroupName: "string",
    storageAccountName: "string",
    containerName: "string",
});
type: azure-native:databoxedge:Container
properties:
    containerName: string
    dataFormat: string
    deviceName: string
    resourceGroupName: string
    storageAccountName: string
Container Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Container resource accepts the following input properties:
- DataFormat string | Pulumi.Azure Native. Data Box Edge. Azure Container Data Format 
- DataFormat for Container
- DeviceName string
- The device name.
- ResourceGroup stringName 
- The resource group name.
- StorageAccount stringName 
- The Storage Account Name
- ContainerName string
- The container name.
- DataFormat string | AzureContainer Data Format 
- DataFormat for Container
- DeviceName string
- The device name.
- ResourceGroup stringName 
- The resource group name.
- StorageAccount stringName 
- The Storage Account Name
- ContainerName string
- The container name.
- dataFormat String | AzureContainer Data Format 
- DataFormat for Container
- deviceName String
- The device name.
- resourceGroup StringName 
- The resource group name.
- storageAccount StringName 
- The Storage Account Name
- containerName String
- The container name.
- dataFormat string | AzureContainer Data Format 
- DataFormat for Container
- deviceName string
- The device name.
- resourceGroup stringName 
- The resource group name.
- storageAccount stringName 
- The Storage Account Name
- containerName string
- The container name.
- data_format str | AzureContainer Data Format 
- DataFormat for Container
- device_name str
- The device name.
- resource_group_ strname 
- The resource group name.
- storage_account_ strname 
- The Storage Account Name
- container_name str
- The container name.
- dataFormat String | "BlockBlob" | "Page Blob" | "Azure File" 
- DataFormat for Container
- deviceName String
- The device name.
- resourceGroup StringName 
- The resource group name.
- storageAccount StringName 
- The Storage Account Name
- containerName String
- The container name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Container resource produces the following output properties:
- ContainerStatus string
- Current status of the container.
- CreatedDate stringTime 
- The UTC time when container got created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The object name.
- RefreshDetails Pulumi.Azure Native. Data Box Edge. Outputs. Refresh Details Response 
- Details of the refresh job on this container.
- SystemData Pulumi.Azure Native. Data Box Edge. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of Container
- Type string
- The hierarchical type of the object.
- ContainerStatus string
- Current status of the container.
- CreatedDate stringTime 
- The UTC time when container got created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The object name.
- RefreshDetails RefreshDetails Response 
- Details of the refresh job on this container.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of Container
- Type string
- The hierarchical type of the object.
- containerStatus String
- Current status of the container.
- createdDate StringTime 
- The UTC time when container got created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The object name.
- refreshDetails RefreshDetails Response 
- Details of the refresh job on this container.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of Container
- type String
- The hierarchical type of the object.
- containerStatus string
- Current status of the container.
- createdDate stringTime 
- The UTC time when container got created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The object name.
- refreshDetails RefreshDetails Response 
- Details of the refresh job on this container.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of Container
- type string
- The hierarchical type of the object.
- container_status str
- Current status of the container.
- created_date_ strtime 
- The UTC time when container got created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The object name.
- refresh_details RefreshDetails Response 
- Details of the refresh job on this container.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of Container
- type str
- The hierarchical type of the object.
- containerStatus String
- Current status of the container.
- createdDate StringTime 
- The UTC time when container got created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The object name.
- refreshDetails Property Map
- Details of the refresh job on this container.
- systemData Property Map
- Metadata pertaining to creation and last modification of Container
- type String
- The hierarchical type of the object.
Supporting Types
AzureContainerDataFormat, AzureContainerDataFormatArgs        
- BlockBlob 
- BlockBlob
- PageBlob 
- PageBlob
- AzureFile 
- AzureFile
- AzureContainer Data Format Block Blob 
- BlockBlob
- AzureContainer Data Format Page Blob 
- PageBlob
- AzureContainer Data Format Azure File 
- AzureFile
- BlockBlob 
- BlockBlob
- PageBlob 
- PageBlob
- AzureFile 
- AzureFile
- BlockBlob 
- BlockBlob
- PageBlob 
- PageBlob
- AzureFile 
- AzureFile
- BLOCK_BLOB
- BlockBlob
- PAGE_BLOB
- PageBlob
- AZURE_FILE
- AzureFile
- "BlockBlob" 
- BlockBlob
- "PageBlob" 
- PageBlob
- "AzureFile" 
- AzureFile
RefreshDetailsResponse, RefreshDetailsResponseArgs      
- ErrorManifest stringFile 
- Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- InProgress stringRefresh Job Id 
- If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- LastCompleted stringRefresh Job Time In UTC 
- Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- LastJob string
- Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- ErrorManifest stringFile 
- Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- InProgress stringRefresh Job Id 
- If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- LastCompleted stringRefresh Job Time In UTC 
- Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- LastJob string
- Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- errorManifest StringFile 
- Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- inProgress StringRefresh Job Id 
- If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- lastCompleted StringRefresh Job Time In UTC 
- Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- lastJob String
- Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- errorManifest stringFile 
- Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- inProgress stringRefresh Job Id 
- If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- lastCompleted stringRefresh Job Time In UTC 
- Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- lastJob string
- Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error_manifest_ strfile 
- Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in_progress_ strrefresh_ job_ id 
- If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last_completed_ strrefresh_ job_ time_ in_ utc 
- Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last_job str
- Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- errorManifest StringFile 
- Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- inProgress StringRefresh Job Id 
- If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- lastCompleted StringRefresh Job Time In UTC 
- Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- lastJob String
- Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0