azure-native.databoxedge.Container
Explore with Pulumi AI
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:
- Data
Format string | Pulumi.Azure Native. Data Box Edge. Azure Container Data Format - DataFormat for Container
- Device
Name string - The device name.
- Resource
Group stringName - The resource group name.
- Storage
Account stringName - The Storage Account Name
- Container
Name string - The container name.
- Data
Format string | AzureContainer Data Format - DataFormat for Container
- Device
Name string - The device name.
- Resource
Group stringName - The resource group name.
- Storage
Account stringName - The Storage Account Name
- Container
Name string - The container name.
- data
Format String | AzureContainer Data Format - DataFormat for Container
- device
Name String - The device name.
- resource
Group StringName - The resource group name.
- storage
Account StringName - The Storage Account Name
- container
Name String - The container name.
- data
Format string | AzureContainer Data Format - DataFormat for Container
- device
Name string - The device name.
- resource
Group stringName - The resource group name.
- storage
Account stringName - The Storage Account Name
- container
Name 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.
- data
Format String | "BlockBlob" | "Page Blob" | "Azure File" - DataFormat for Container
- device
Name String - The device name.
- resource
Group StringName - The resource group name.
- storage
Account StringName - The Storage Account Name
- container
Name String - The container name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Container resource produces the following output properties:
- Container
Status string - Current status of the container.
- Created
Date stringTime - The UTC time when container got created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The object name.
- Refresh
Details Pulumi.Azure Native. Data Box Edge. Outputs. Refresh Details Response - Details of the refresh job on this container.
- System
Data Pulumi.Azure Native. Data Box Edge. Outputs. System Data Response - Container in DataBoxEdge Resource
- Type string
- The hierarchical type of the object.
- Container
Status string - Current status of the container.
- Created
Date stringTime - The UTC time when container got created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The object name.
- Refresh
Details RefreshDetails Response - Details of the refresh job on this container.
- System
Data SystemData Response - Container in DataBoxEdge Resource
- Type string
- The hierarchical type of the object.
- container
Status String - Current status of the container.
- created
Date StringTime - The UTC time when container got created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The object name.
- refresh
Details RefreshDetails Response - Details of the refresh job on this container.
- system
Data SystemData Response - Container in DataBoxEdge Resource
- type String
- The hierarchical type of the object.
- container
Status string - Current status of the container.
- created
Date stringTime - The UTC time when container got created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The object name.
- refresh
Details RefreshDetails Response - Details of the refresh job on this container.
- system
Data SystemData Response - Container in DataBoxEdge Resource
- 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 - Container in DataBoxEdge Resource
- type str
- The hierarchical type of the object.
- container
Status String - Current status of the container.
- created
Date StringTime - The UTC time when container got created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The object name.
- refresh
Details Property Map - Details of the refresh job on this container.
- system
Data Property Map - Container in DataBoxEdge Resource
- type String
- The hierarchical type of the object.
Supporting Types
AzureContainerDataFormat, AzureContainerDataFormatArgs
- Block
Blob - BlockBlob
- Page
Blob - PageBlob
- Azure
File - AzureFile
- Azure
Container Data Format Block Blob - BlockBlob
- Azure
Container Data Format Page Blob - PageBlob
- Azure
Container Data Format Azure File - AzureFile
- Block
Blob - BlockBlob
- Page
Blob - PageBlob
- Azure
File - AzureFile
- Block
Blob - BlockBlob
- Page
Blob - PageBlob
- Azure
File - AzureFile
- BLOCK_BLOB
- BlockBlob
- PAGE_BLOB
- PageBlob
- AZURE_FILE
- AzureFile
- "Block
Blob" - BlockBlob
- "Page
Blob" - PageBlob
- "Azure
File" - AzureFile
RefreshDetailsResponse, RefreshDetailsResponseArgs
- Error
Manifest 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.
- In
Progress 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.
- Last
Completed 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.
- Last
Job 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 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.
- In
Progress 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.
- Last
Completed 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.
- Last
Job 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 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.
- in
Progress 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.
- last
Completed 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.
- last
Job 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 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.
- in
Progress 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.
- last
Completed 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.
- last
Job 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.
- error
Manifest 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.
- in
Progress 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.
- last
Completed 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.
- last
Job 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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 type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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/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