1. Packages
  2. Azure Native v1
  3. API Docs
  4. databoxedge
  5. Container
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.databoxedge.Container

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Represents a container on the Data Box Edge/Gateway device. API Version: 2020-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 = "BlockBlob",
            DeviceName = "testedgedevice",
            ResourceGroupName = "GroupForEdgeAutomation",
            StorageAccountName = "storageaccount1",
        });
    
    });
    
    package main
    
    import (
    	databoxedge "github.com/pulumi/pulumi-azure-native-sdk/databoxedge"
    	"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("BlockBlob"),
    			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 pulumi
    import pulumi_azure_native as azure_native
    
    container = azure_native.databoxedge.Container("container",
        container_name="blobcontainer1",
        data_format="BlockBlob",
        device_name="testedgedevice",
        resource_group_name="GroupForEdgeAutomation",
        storage_account_name="storageaccount1")
    
    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: "BlockBlob",
        deviceName: "testedgedevice",
        resourceGroupName: "GroupForEdgeAutomation",
        storageAccountName: "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:         "string",
    	DeviceName:         "string",
    	ResourceGroupName:  "string",
    	StorageAccountName: "string",
    	ContainerName:      "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

    The Container resource accepts the following input properties:

    DataFormat string | Pulumi.AzureNative.DataBoxEdge.AzureContainerDataFormat
    DataFormat for Container
    DeviceName string
    The device name.
    ResourceGroupName string
    The resource group name.
    StorageAccountName string
    The Storage Account Name
    ContainerName string
    The container name.
    DataFormat string | AzureContainerDataFormat
    DataFormat for Container
    DeviceName string
    The device name.
    ResourceGroupName string
    The resource group name.
    StorageAccountName string
    The Storage Account Name
    ContainerName string
    The container name.
    dataFormat String | AzureContainerDataFormat
    DataFormat for Container
    deviceName String
    The device name.
    resourceGroupName String
    The resource group name.
    storageAccountName String
    The Storage Account Name
    containerName String
    The container name.
    dataFormat string | AzureContainerDataFormat
    DataFormat for Container
    deviceName string
    The device name.
    resourceGroupName string
    The resource group name.
    storageAccountName string
    The Storage Account Name
    containerName string
    The container name.
    data_format str | AzureContainerDataFormat
    DataFormat for Container
    device_name str
    The device name.
    resource_group_name str
    The resource group name.
    storage_account_name str
    The Storage Account Name
    container_name str
    The container name.
    dataFormat String | "BlockBlob" | "PageBlob" | "AzureFile"
    DataFormat for Container
    deviceName String
    The device name.
    resourceGroupName String
    The resource group name.
    storageAccountName String
    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.
    CreatedDateTime string
    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.AzureNative.DataBoxEdge.Outputs.RefreshDetailsResponse
    Details of the refresh job on this container.
    SystemData Pulumi.AzureNative.DataBoxEdge.Outputs.SystemDataResponse
    Container in DataBoxEdge Resource
    Type string
    The hierarchical type of the object.
    ContainerStatus string
    Current status of the container.
    CreatedDateTime string
    The UTC time when container got created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The object name.
    RefreshDetails RefreshDetailsResponse
    Details of the refresh job on this container.
    SystemData SystemDataResponse
    Container in DataBoxEdge Resource
    Type string
    The hierarchical type of the object.
    containerStatus String
    Current status of the container.
    createdDateTime String
    The UTC time when container got created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The object name.
    refreshDetails RefreshDetailsResponse
    Details of the refresh job on this container.
    systemData SystemDataResponse
    Container in DataBoxEdge Resource
    type String
    The hierarchical type of the object.
    containerStatus string
    Current status of the container.
    createdDateTime string
    The UTC time when container got created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The object name.
    refreshDetails RefreshDetailsResponse
    Details of the refresh job on this container.
    systemData SystemDataResponse
    Container in DataBoxEdge Resource
    type string
    The hierarchical type of the object.
    container_status str
    Current status of the container.
    created_date_time str
    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 RefreshDetailsResponse
    Details of the refresh job on this container.
    system_data SystemDataResponse
    Container in DataBoxEdge Resource
    type str
    The hierarchical type of the object.
    containerStatus String
    Current status of the container.
    createdDateTime String
    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
    Container in DataBoxEdge Resource
    type String
    The hierarchical type of the object.

    Supporting Types

    AzureContainerDataFormat, AzureContainerDataFormatArgs

    BlockBlob
    BlockBlob
    PageBlob
    PageBlob
    AzureFile
    AzureFile
    AzureContainerDataFormatBlockBlob
    BlockBlob
    AzureContainerDataFormatPageBlob
    PageBlob
    AzureContainerDataFormatAzureFile
    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

    ErrorManifestFile string
    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.
    InProgressRefreshJobId string
    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.
    LastCompletedRefreshJobTimeInUTC string
    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.
    ErrorManifestFile string
    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.
    InProgressRefreshJobId string
    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.
    LastCompletedRefreshJobTimeInUTC string
    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.
    errorManifestFile String
    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.
    inProgressRefreshJobId String
    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.
    lastCompletedRefreshJobTimeInUTC String
    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.
    errorManifestFile string
    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.
    inProgressRefreshJobId string
    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.
    lastCompletedRefreshJobTimeInUTC string
    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_file str
    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_refresh_job_id str
    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_refresh_job_time_in_utc str
    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.
    errorManifestFile String
    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.
    inProgressRefreshJobId String
    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.
    lastCompletedRefreshJobTimeInUTC String
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The type of identity that last modified the resource.
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The type of identity that last modified the resource.
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi