azure-native.databoxedge.Share
Explore with Pulumi AI
Represents a share 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
SharePut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var share = new AzureNative.DataBoxEdge.Share("share", new()
    {
        AccessProtocol = AzureNative.DataBoxEdge.ShareAccessProtocol.SMB,
        AzureContainerInfo = new AzureNative.DataBoxEdge.Inputs.AzureContainerInfoArgs
        {
            ContainerName = "testContainerSMB",
            DataFormat = AzureNative.DataBoxEdge.AzureContainerDataFormat.BlockBlob,
            StorageAccountCredentialId = "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
        },
        DataPolicy = AzureNative.DataBoxEdge.DataPolicy.Cloud,
        Description = "",
        DeviceName = "testedgedevice",
        MonitoringStatus = AzureNative.DataBoxEdge.MonitoringStatus.Enabled,
        Name = "smbshare",
        ResourceGroupName = "GroupForEdgeAutomation",
        ShareStatus = "Online",
        UserAccessRights = new[]
        {
            new AzureNative.DataBoxEdge.Inputs.UserAccessRightArgs
            {
                AccessType = AzureNative.DataBoxEdge.ShareAccessType.Change,
                UserId = "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
            },
        },
    });
});
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.NewShare(ctx, "share", &databoxedge.ShareArgs{
			AccessProtocol: pulumi.String(databoxedge.ShareAccessProtocolSMB),
			AzureContainerInfo: &databoxedge.AzureContainerInfoArgs{
				ContainerName:              pulumi.String("testContainerSMB"),
				DataFormat:                 pulumi.String(databoxedge.AzureContainerDataFormatBlockBlob),
				StorageAccountCredentialId: pulumi.String("/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1"),
			},
			DataPolicy:        pulumi.String(databoxedge.DataPolicyCloud),
			Description:       pulumi.String(""),
			DeviceName:        pulumi.String("testedgedevice"),
			MonitoringStatus:  pulumi.String(databoxedge.MonitoringStatusEnabled),
			Name:              pulumi.String("smbshare"),
			ResourceGroupName: pulumi.String("GroupForEdgeAutomation"),
			ShareStatus:       pulumi.String("Online"),
			UserAccessRights: databoxedge.UserAccessRightArray{
				&databoxedge.UserAccessRightArgs{
					AccessType: pulumi.String(databoxedge.ShareAccessTypeChange),
					UserId:     pulumi.String("/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2"),
				},
			},
		})
		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.Share;
import com.pulumi.azurenative.databoxedge.ShareArgs;
import com.pulumi.azurenative.databoxedge.inputs.AzureContainerInfoArgs;
import com.pulumi.azurenative.databoxedge.inputs.UserAccessRightArgs;
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 share = new Share("share", ShareArgs.builder()
            .accessProtocol("SMB")
            .azureContainerInfo(AzureContainerInfoArgs.builder()
                .containerName("testContainerSMB")
                .dataFormat("BlockBlob")
                .storageAccountCredentialId("/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1")
                .build())
            .dataPolicy("Cloud")
            .description("")
            .deviceName("testedgedevice")
            .monitoringStatus("Enabled")
            .name("smbshare")
            .resourceGroupName("GroupForEdgeAutomation")
            .shareStatus("Online")
            .userAccessRights(UserAccessRightArgs.builder()
                .accessType("Change")
                .userId("/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2")
                .build())
            .build());
    }
}
import pulumi
import pulumi_azure_native as azure_native
share = azure_native.databoxedge.Share("share",
    access_protocol=azure_native.databoxedge.ShareAccessProtocol.SMB,
    azure_container_info={
        "container_name": "testContainerSMB",
        "data_format": azure_native.databoxedge.AzureContainerDataFormat.BLOCK_BLOB,
        "storage_account_credential_id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
    },
    data_policy=azure_native.databoxedge.DataPolicy.CLOUD,
    description="",
    device_name="testedgedevice",
    monitoring_status=azure_native.databoxedge.MonitoringStatus.ENABLED,
    name="smbshare",
    resource_group_name="GroupForEdgeAutomation",
    share_status="Online",
    user_access_rights=[{
        "access_type": azure_native.databoxedge.ShareAccessType.CHANGE,
        "user_id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
    }])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const share = new azure_native.databoxedge.Share("share", {
    accessProtocol: azure_native.databoxedge.ShareAccessProtocol.SMB,
    azureContainerInfo: {
        containerName: "testContainerSMB",
        dataFormat: azure_native.databoxedge.AzureContainerDataFormat.BlockBlob,
        storageAccountCredentialId: "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
    },
    dataPolicy: azure_native.databoxedge.DataPolicy.Cloud,
    description: "",
    deviceName: "testedgedevice",
    monitoringStatus: azure_native.databoxedge.MonitoringStatus.Enabled,
    name: "smbshare",
    resourceGroupName: "GroupForEdgeAutomation",
    shareStatus: "Online",
    userAccessRights: [{
        accessType: azure_native.databoxedge.ShareAccessType.Change,
        userId: "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
    }],
});
resources:
  share:
    type: azure-native:databoxedge:Share
    properties:
      accessProtocol: SMB
      azureContainerInfo:
        containerName: testContainerSMB
        dataFormat: BlockBlob
        storageAccountCredentialId: /subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1
      dataPolicy: Cloud
      description:
      deviceName: testedgedevice
      monitoringStatus: Enabled
      name: smbshare
      resourceGroupName: GroupForEdgeAutomation
      shareStatus: Online
      userAccessRights:
        - accessType: Change
          userId: /subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2
Create Share Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Share(name: string, args: ShareArgs, opts?: CustomResourceOptions);@overload
def Share(resource_name: str,
          args: ShareArgs,
          opts: Optional[ResourceOptions] = None)
@overload
def Share(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          access_protocol: Optional[Union[str, ShareAccessProtocol]] = None,
          device_name: Optional[str] = None,
          monitoring_status: Optional[Union[str, MonitoringStatus]] = None,
          resource_group_name: Optional[str] = None,
          share_status: Optional[Union[str, ShareStatus]] = None,
          azure_container_info: Optional[AzureContainerInfoArgs] = None,
          client_access_rights: Optional[Sequence[ClientAccessRightArgs]] = None,
          data_policy: Optional[Union[str, DataPolicy]] = None,
          description: Optional[str] = None,
          name: Optional[str] = None,
          refresh_details: Optional[RefreshDetailsArgs] = None,
          user_access_rights: Optional[Sequence[UserAccessRightArgs]] = None)func NewShare(ctx *Context, name string, args ShareArgs, opts ...ResourceOption) (*Share, error)public Share(string name, ShareArgs args, CustomResourceOptions? opts = null)type: azure-native:databoxedge:Share
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 ShareArgs
- 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 ShareArgs
- 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 ShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ShareArgs
- 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 shareResource = new AzureNative.DataBoxEdge.Share("shareResource", new()
{
    AccessProtocol = "string",
    DeviceName = "string",
    MonitoringStatus = "string",
    ResourceGroupName = "string",
    ShareStatus = "string",
    AzureContainerInfo = new AzureNative.DataBoxEdge.Inputs.AzureContainerInfoArgs
    {
        ContainerName = "string",
        DataFormat = "string",
        StorageAccountCredentialId = "string",
    },
    ClientAccessRights = new[]
    {
        new AzureNative.DataBoxEdge.Inputs.ClientAccessRightArgs
        {
            AccessPermission = "string",
            Client = "string",
        },
    },
    DataPolicy = "string",
    Description = "string",
    Name = "string",
    RefreshDetails = new AzureNative.DataBoxEdge.Inputs.RefreshDetailsArgs
    {
        ErrorManifestFile = "string",
        InProgressRefreshJobId = "string",
        LastCompletedRefreshJobTimeInUTC = "string",
        LastJob = "string",
    },
    UserAccessRights = new[]
    {
        new AzureNative.DataBoxEdge.Inputs.UserAccessRightArgs
        {
            AccessType = "string",
            UserId = "string",
        },
    },
});
example, err := databoxedge.NewShare(ctx, "shareResource", &databoxedge.ShareArgs{
	AccessProtocol:    pulumi.String("string"),
	DeviceName:        pulumi.String("string"),
	MonitoringStatus:  pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	ShareStatus:       pulumi.String("string"),
	AzureContainerInfo: &databoxedge.AzureContainerInfoArgs{
		ContainerName:              pulumi.String("string"),
		DataFormat:                 pulumi.String("string"),
		StorageAccountCredentialId: pulumi.String("string"),
	},
	ClientAccessRights: databoxedge.ClientAccessRightArray{
		&databoxedge.ClientAccessRightArgs{
			AccessPermission: pulumi.String("string"),
			Client:           pulumi.String("string"),
		},
	},
	DataPolicy:  pulumi.String("string"),
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
	RefreshDetails: &databoxedge.RefreshDetailsArgs{
		ErrorManifestFile:                pulumi.String("string"),
		InProgressRefreshJobId:           pulumi.String("string"),
		LastCompletedRefreshJobTimeInUTC: pulumi.String("string"),
		LastJob:                          pulumi.String("string"),
	},
	UserAccessRights: databoxedge.UserAccessRightArray{
		&databoxedge.UserAccessRightArgs{
			AccessType: pulumi.String("string"),
			UserId:     pulumi.String("string"),
		},
	},
})
var shareResource = new Share("shareResource", ShareArgs.builder()
    .accessProtocol("string")
    .deviceName("string")
    .monitoringStatus("string")
    .resourceGroupName("string")
    .shareStatus("string")
    .azureContainerInfo(AzureContainerInfoArgs.builder()
        .containerName("string")
        .dataFormat("string")
        .storageAccountCredentialId("string")
        .build())
    .clientAccessRights(ClientAccessRightArgs.builder()
        .accessPermission("string")
        .client("string")
        .build())
    .dataPolicy("string")
    .description("string")
    .name("string")
    .refreshDetails(RefreshDetailsArgs.builder()
        .errorManifestFile("string")
        .inProgressRefreshJobId("string")
        .lastCompletedRefreshJobTimeInUTC("string")
        .lastJob("string")
        .build())
    .userAccessRights(UserAccessRightArgs.builder()
        .accessType("string")
        .userId("string")
        .build())
    .build());
share_resource = azure_native.databoxedge.Share("shareResource",
    access_protocol="string",
    device_name="string",
    monitoring_status="string",
    resource_group_name="string",
    share_status="string",
    azure_container_info={
        "container_name": "string",
        "data_format": "string",
        "storage_account_credential_id": "string",
    },
    client_access_rights=[{
        "access_permission": "string",
        "client": "string",
    }],
    data_policy="string",
    description="string",
    name="string",
    refresh_details={
        "error_manifest_file": "string",
        "in_progress_refresh_job_id": "string",
        "last_completed_refresh_job_time_in_utc": "string",
        "last_job": "string",
    },
    user_access_rights=[{
        "access_type": "string",
        "user_id": "string",
    }])
const shareResource = new azure_native.databoxedge.Share("shareResource", {
    accessProtocol: "string",
    deviceName: "string",
    monitoringStatus: "string",
    resourceGroupName: "string",
    shareStatus: "string",
    azureContainerInfo: {
        containerName: "string",
        dataFormat: "string",
        storageAccountCredentialId: "string",
    },
    clientAccessRights: [{
        accessPermission: "string",
        client: "string",
    }],
    dataPolicy: "string",
    description: "string",
    name: "string",
    refreshDetails: {
        errorManifestFile: "string",
        inProgressRefreshJobId: "string",
        lastCompletedRefreshJobTimeInUTC: "string",
        lastJob: "string",
    },
    userAccessRights: [{
        accessType: "string",
        userId: "string",
    }],
});
type: azure-native:databoxedge:Share
properties:
    accessProtocol: string
    azureContainerInfo:
        containerName: string
        dataFormat: string
        storageAccountCredentialId: string
    clientAccessRights:
        - accessPermission: string
          client: string
    dataPolicy: string
    description: string
    deviceName: string
    monitoringStatus: string
    name: string
    refreshDetails:
        errorManifestFile: string
        inProgressRefreshJobId: string
        lastCompletedRefreshJobTimeInUTC: string
        lastJob: string
    resourceGroupName: string
    shareStatus: string
    userAccessRights:
        - accessType: string
          userId: string
Share 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 Share resource accepts the following input properties:
- AccessProtocol string | Pulumi.Azure Native. Data Box Edge. Share Access Protocol 
- Access protocol to be used by the share.
- DeviceName string
- The device name.
- MonitoringStatus string | Pulumi.Azure Native. Data Box Edge. Monitoring Status 
- Current monitoring status of the share.
- ResourceGroup stringName 
- The resource group name.
- 
string | Pulumi.Azure Native. Data Box Edge. Share Status 
- Current status of the share.
- AzureContainer Pulumi.Info Azure Native. Data Box Edge. Inputs. Azure Container Info 
- Azure container mapping for the share.
- ClientAccess List<Pulumi.Rights Azure Native. Data Box Edge. Inputs. Client Access Right> 
- List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- DataPolicy string | Pulumi.Azure Native. Data Box Edge. Data Policy 
- Data policy of the share.
- Description string
- Description for the share.
- Name string
- The share name.
- RefreshDetails Pulumi.Azure Native. Data Box Edge. Inputs. Refresh Details 
- Details of the refresh job on this share.
- UserAccess List<Pulumi.Rights Azure Native. Data Box Edge. Inputs. User Access Right> 
- Mapping of users and corresponding access rights on the share (required for SMB protocol).
- AccessProtocol string | ShareAccess Protocol 
- Access protocol to be used by the share.
- DeviceName string
- The device name.
- MonitoringStatus string | MonitoringStatus 
- Current monitoring status of the share.
- ResourceGroup stringName 
- The resource group name.
- 
string | ShareStatus 
- Current status of the share.
- AzureContainer AzureInfo Container Info Args 
- Azure container mapping for the share.
- ClientAccess []ClientRights Access Right Args 
- List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- DataPolicy string | DataPolicy 
- Data policy of the share.
- Description string
- Description for the share.
- Name string
- The share name.
- RefreshDetails RefreshDetails Args 
- Details of the refresh job on this share.
- UserAccess []UserRights Access Right Args 
- Mapping of users and corresponding access rights on the share (required for SMB protocol).
- accessProtocol String | ShareAccess Protocol 
- Access protocol to be used by the share.
- deviceName String
- The device name.
- monitoringStatus String | MonitoringStatus 
- Current monitoring status of the share.
- resourceGroup StringName 
- The resource group name.
- 
String | ShareStatus 
- Current status of the share.
- azureContainer AzureInfo Container Info 
- Azure container mapping for the share.
- clientAccess List<ClientRights Access Right> 
- List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- dataPolicy String | DataPolicy 
- Data policy of the share.
- description String
- Description for the share.
- name String
- The share name.
- refreshDetails RefreshDetails 
- Details of the refresh job on this share.
- userAccess List<UserRights Access Right> 
- Mapping of users and corresponding access rights on the share (required for SMB protocol).
- accessProtocol string | ShareAccess Protocol 
- Access protocol to be used by the share.
- deviceName string
- The device name.
- monitoringStatus string | MonitoringStatus 
- Current monitoring status of the share.
- resourceGroup stringName 
- The resource group name.
- 
string | ShareStatus 
- Current status of the share.
- azureContainer AzureInfo Container Info 
- Azure container mapping for the share.
- clientAccess ClientRights Access Right[] 
- List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- dataPolicy string | DataPolicy 
- Data policy of the share.
- description string
- Description for the share.
- name string
- The share name.
- refreshDetails RefreshDetails 
- Details of the refresh job on this share.
- userAccess UserRights Access Right[] 
- Mapping of users and corresponding access rights on the share (required for SMB protocol).
- access_protocol str | ShareAccess Protocol 
- Access protocol to be used by the share.
- device_name str
- The device name.
- monitoring_status str | MonitoringStatus 
- Current monitoring status of the share.
- resource_group_ strname 
- The resource group name.
- 
str | ShareStatus 
- Current status of the share.
- azure_container_ Azureinfo Container Info Args 
- Azure container mapping for the share.
- client_access_ Sequence[Clientrights Access Right Args] 
- List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- data_policy str | DataPolicy 
- Data policy of the share.
- description str
- Description for the share.
- name str
- The share name.
- refresh_details RefreshDetails Args 
- Details of the refresh job on this share.
- user_access_ Sequence[Userrights Access Right Args] 
- Mapping of users and corresponding access rights on the share (required for SMB protocol).
- accessProtocol String | "SMB" | "NFS"
- Access protocol to be used by the share.
- deviceName String
- The device name.
- monitoringStatus String | "Enabled" | "Disabled"
- Current monitoring status of the share.
- resourceGroup StringName 
- The resource group name.
- 
String | "Offline" | "Unknown" | "OK" | "Updating" | "NeedsAttention" 
- Current status of the share.
- azureContainer Property MapInfo 
- Azure container mapping for the share.
- clientAccess List<Property Map>Rights 
- List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- dataPolicy String | "Cloud" | "Local"
- Data policy of the share.
- description String
- Description for the share.
- name String
- The share name.
- refreshDetails Property Map
- Details of the refresh job on this share.
- userAccess List<Property Map>Rights 
- Mapping of users and corresponding access rights on the share (required for SMB protocol).
Outputs
All input properties are implicitly available as output properties. Additionally, the Share resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- 
List<Pulumi.Azure Native. Data Box Edge. Outputs. Mount Point Map Response> 
- Share mount point to the role.
- SystemData Pulumi.Azure Native. Data Box Edge. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of Share
- Type string
- The hierarchical type of the object.
- Id string
- The provider-assigned unique ID for this managed resource.
- 
[]MountPoint Map Response 
- Share mount point to the role.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of Share
- Type string
- The hierarchical type of the object.
- id String
- The provider-assigned unique ID for this managed resource.
- 
List<MountPoint Map Response> 
- Share mount point to the role.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of Share
- type String
- The hierarchical type of the object.
- id string
- The provider-assigned unique ID for this managed resource.
- 
MountPoint Map Response[] 
- Share mount point to the role.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of Share
- type string
- The hierarchical type of the object.
- id str
- The provider-assigned unique ID for this managed resource.
- 
Sequence[MountPoint Map Response] 
- Share mount point to the role.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of Share
- type str
- The hierarchical type of the object.
- id String
- The provider-assigned unique ID for this managed resource.
- List<Property Map>
- Share mount point to the role.
- systemData Property Map
- Metadata pertaining to creation and last modification of Share
- 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
AzureContainerInfo, AzureContainerInfoArgs      
- ContainerName string
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- DataFormat string | Pulumi.Azure Native. Data Box Edge. Azure Container Data Format 
- Storage format used for the file represented by the share.
- StorageAccount stringCredential Id 
- ID of the storage account credential used to access storage.
- ContainerName string
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- DataFormat string | AzureContainer Data Format 
- Storage format used for the file represented by the share.
- StorageAccount stringCredential Id 
- ID of the storage account credential used to access storage.
- containerName String
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- dataFormat String | AzureContainer Data Format 
- Storage format used for the file represented by the share.
- storageAccount StringCredential Id 
- ID of the storage account credential used to access storage.
- containerName string
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- dataFormat string | AzureContainer Data Format 
- Storage format used for the file represented by the share.
- storageAccount stringCredential Id 
- ID of the storage account credential used to access storage.
- container_name str
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- data_format str | AzureContainer Data Format 
- Storage format used for the file represented by the share.
- storage_account_ strcredential_ id 
- ID of the storage account credential used to access storage.
- containerName String
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- dataFormat String | "BlockBlob" | "Page Blob" | "Azure File" 
- Storage format used for the file represented by the share.
- storageAccount StringCredential Id 
- ID of the storage account credential used to access storage.
AzureContainerInfoResponse, AzureContainerInfoResponseArgs        
- ContainerName string
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- DataFormat string
- Storage format used for the file represented by the share.
- StorageAccount stringCredential Id 
- ID of the storage account credential used to access storage.
- ContainerName string
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- DataFormat string
- Storage format used for the file represented by the share.
- StorageAccount stringCredential Id 
- ID of the storage account credential used to access storage.
- containerName String
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- dataFormat String
- Storage format used for the file represented by the share.
- storageAccount StringCredential Id 
- ID of the storage account credential used to access storage.
- containerName string
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- dataFormat string
- Storage format used for the file represented by the share.
- storageAccount stringCredential Id 
- ID of the storage account credential used to access storage.
- container_name str
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- data_format str
- Storage format used for the file represented by the share.
- storage_account_ strcredential_ id 
- ID of the storage account credential used to access storage.
- containerName String
- Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- dataFormat String
- Storage format used for the file represented by the share.
- storageAccount StringCredential Id 
- ID of the storage account credential used to access storage.
ClientAccessRight, ClientAccessRightArgs      
- AccessPermission string | Pulumi.Azure Native. Data Box Edge. Client Permission Type 
- Type of access to be allowed for the client.
- Client string
- IP of the client.
- AccessPermission string | ClientPermission Type 
- Type of access to be allowed for the client.
- Client string
- IP of the client.
- accessPermission String | ClientPermission Type 
- Type of access to be allowed for the client.
- client String
- IP of the client.
- accessPermission string | ClientPermission Type 
- Type of access to be allowed for the client.
- client string
- IP of the client.
- access_permission str | ClientPermission Type 
- Type of access to be allowed for the client.
- client str
- IP of the client.
- accessPermission String | "NoAccess" | "Read Only" | "Read Write" 
- Type of access to be allowed for the client.
- client String
- IP of the client.
ClientAccessRightResponse, ClientAccessRightResponseArgs        
- AccessPermission string
- Type of access to be allowed for the client.
- Client string
- IP of the client.
- AccessPermission string
- Type of access to be allowed for the client.
- Client string
- IP of the client.
- accessPermission String
- Type of access to be allowed for the client.
- client String
- IP of the client.
- accessPermission string
- Type of access to be allowed for the client.
- client string
- IP of the client.
- access_permission str
- Type of access to be allowed for the client.
- client str
- IP of the client.
- accessPermission String
- Type of access to be allowed for the client.
- client String
- IP of the client.
ClientPermissionType, ClientPermissionTypeArgs      
- NoAccess 
- NoAccess
- ReadOnly 
- ReadOnly
- ReadWrite 
- ReadWrite
- ClientPermission Type No Access 
- NoAccess
- ClientPermission Type Read Only 
- ReadOnly
- ClientPermission Type Read Write 
- ReadWrite
- NoAccess 
- NoAccess
- ReadOnly 
- ReadOnly
- ReadWrite 
- ReadWrite
- NoAccess 
- NoAccess
- ReadOnly 
- ReadOnly
- ReadWrite 
- ReadWrite
- NO_ACCESS
- NoAccess
- READ_ONLY
- ReadOnly
- READ_WRITE
- ReadWrite
- "NoAccess" 
- NoAccess
- "ReadOnly" 
- ReadOnly
- "ReadWrite" 
- ReadWrite
DataPolicy, DataPolicyArgs    
- Cloud
- Cloud
- Local
- Local
- DataPolicy Cloud 
- Cloud
- DataPolicy Local 
- Local
- Cloud
- Cloud
- Local
- Local
- Cloud
- Cloud
- Local
- Local
- CLOUD
- Cloud
- LOCAL
- Local
- "Cloud"
- Cloud
- "Local"
- Local
MonitoringStatus, MonitoringStatusArgs    
- Enabled
- Enabled
- Disabled
- Disabled
- MonitoringStatus Enabled 
- Enabled
- MonitoringStatus Disabled 
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
MountPointMapResponse, MountPointMapResponseArgs        
- MountPoint string
- Mount point for the share.
- MountType string
- Mounting type.
- RoleId string
- ID of the role to which share is mounted.
- RoleType string
- Role type.
- string
- ID of the share mounted to the role VM.
- MountPoint string
- Mount point for the share.
- MountType string
- Mounting type.
- RoleId string
- ID of the role to which share is mounted.
- RoleType string
- Role type.
- string
- ID of the share mounted to the role VM.
- mountPoint String
- Mount point for the share.
- mountType String
- Mounting type.
- roleId String
- ID of the role to which share is mounted.
- roleType String
- Role type.
- String
- ID of the share mounted to the role VM.
- mountPoint string
- Mount point for the share.
- mountType string
- Mounting type.
- roleId string
- ID of the role to which share is mounted.
- roleType string
- Role type.
- string
- ID of the share mounted to the role VM.
- mount_point str
- Mount point for the share.
- mount_type str
- Mounting type.
- role_id str
- ID of the role to which share is mounted.
- role_type str
- Role type.
- str
- ID of the share mounted to the role VM.
- mountPoint String
- Mount point for the share.
- mountType String
- Mounting type.
- roleId String
- ID of the role to which share is mounted.
- roleType String
- Role type.
- String
- ID of the share mounted to the role VM.
RefreshDetails, RefreshDetailsArgs    
- 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.
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.
ShareAccessProtocol, ShareAccessProtocolArgs      
- SMB
- SMB
- NFS
- NFS
- ShareAccess Protocol SMB 
- SMB
- ShareAccess Protocol NFS 
- NFS
- SMB
- SMB
- NFS
- NFS
- SMB
- SMB
- NFS
- NFS
- SMB
- SMB
- NFS
- NFS
- "SMB"
- SMB
- "NFS"
- NFS
ShareAccessType, ShareAccessTypeArgs      
- Change
- Change
- Read
- Read
- Custom
- Custom
- ShareAccess Type Change 
- Change
- ShareAccess Type Read 
- Read
- ShareAccess Type Custom 
- Custom
- Change
- Change
- Read
- Read
- Custom
- Custom
- Change
- Change
- Read
- Read
- Custom
- Custom
- CHANGE
- Change
- READ
- Read
- CUSTOM
- Custom
- "Change"
- Change
- "Read"
- Read
- "Custom"
- Custom
ShareStatus, ShareStatusArgs    
- Offline
- Offline
- Unknown
- Unknown
- OK
- OK
- Updating
- Updating
- NeedsAttention 
- NeedsAttention
- ShareStatus Offline 
- Offline
- ShareStatus Unknown 
- Unknown
- ShareStatus OK 
- OK
- ShareStatus Updating 
- Updating
- ShareStatus Needs Attention 
- NeedsAttention
- Offline
- Offline
- Unknown
- Unknown
- OK
- OK
- Updating
- Updating
- NeedsAttention 
- NeedsAttention
- Offline
- Offline
- Unknown
- Unknown
- OK
- OK
- Updating
- Updating
- NeedsAttention 
- NeedsAttention
- OFFLINE
- Offline
- UNKNOWN
- Unknown
- OK
- OK
- UPDATING
- Updating
- NEEDS_ATTENTION
- NeedsAttention
- "Offline"
- Offline
- "Unknown"
- Unknown
- "OK"
- OK
- "Updating"
- Updating
- "NeedsAttention" 
- NeedsAttention
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.
UserAccessRight, UserAccessRightArgs      
- AccessType string | Pulumi.Azure Native. Data Box Edge. Share Access Type 
- Type of access to be allowed for the user.
- UserId string
- User ID (already existing in the device).
- AccessType string | ShareAccess Type 
- Type of access to be allowed for the user.
- UserId string
- User ID (already existing in the device).
- accessType String | ShareAccess Type 
- Type of access to be allowed for the user.
- userId String
- User ID (already existing in the device).
- accessType string | ShareAccess Type 
- Type of access to be allowed for the user.
- userId string
- User ID (already existing in the device).
- access_type str | ShareAccess Type 
- Type of access to be allowed for the user.
- user_id str
- User ID (already existing in the device).
- accessType String | "Change" | "Read" | "Custom"
- Type of access to be allowed for the user.
- userId String
- User ID (already existing in the device).
UserAccessRightResponse, UserAccessRightResponseArgs        
- AccessType string
- Type of access to be allowed for the user.
- UserId string
- User ID (already existing in the device).
- AccessType string
- Type of access to be allowed for the user.
- UserId string
- User ID (already existing in the device).
- accessType String
- Type of access to be allowed for the user.
- userId String
- User ID (already existing in the device).
- accessType string
- Type of access to be allowed for the user.
- userId string
- User ID (already existing in the device).
- access_type str
- Type of access to be allowed for the user.
- user_id str
- User ID (already existing in the device).
- accessType String
- Type of access to be allowed for the user.
- userId String
- User ID (already existing in the device).
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:databoxedge:Share smbshare /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0