1. Packages
  2. Azure Native
  3. API Docs
  4. databoxedge
  5. Container
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.30.0 published on Friday, Feb 23, 2024 by Pulumi

azure-native.databoxedge.Container

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.30.0 published on Friday, Feb 23, 2024 by Pulumi

    Represents a container on the Data Box Edge/Gateway device. Azure REST API version: 2022-03-01. Prior API version in Azure Native 1.x: 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 = "BlockBlob",
            DeviceName = "testedgedevice",
            ResourceGroupName = "GroupForEdgeAutomation",
            StorageAccountName = "storageaccount1",
        });
    
    });
    
    package main
    
    import (
    	"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("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

    new Container(name: string, args: ContainerArgs, opts?: CustomResourceOptions);
    @overload
    def Container(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  container_name: Optional[str] = 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)
    @overload
    def Container(resource_name: str,
                  args: ContainerArgs,
                  opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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
    Metadata pertaining to creation and last modification of Container
    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
    Metadata pertaining to creation and last modification of Container
    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
    Metadata pertaining to creation and last modification of Container
    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
    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_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
    Metadata pertaining to creation and last modification of Container
    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
    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
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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 timestamp of resource last modification (UTC)
    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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.30.0 published on Friday, Feb 23, 2024 by Pulumi