Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

Container

Represents a container on the Data Box Edge/Gateway device. API Version: 2020-12-01.

Example Usage

ContainerPut

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var container = new AzureNative.DataBoxEdge.Container("container", new AzureNative.DataBoxEdge.ContainerArgs
        {
            ContainerName = "blobcontainer1",
            DataFormat = "BlockBlob",
            DeviceName = "testedgedevice",
            ResourceGroupName = "GroupForEdgeAutomation",
            StorageAccountName = "storageaccount1",
        });
    }

}
package main

import (
	databoxedge "github.com/pulumi/pulumi-azure-native/sdk/go/azure/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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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 a 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

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

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

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

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0