1. Packages
  2. Azure Native
  3. API Docs
  4. databoxedge
  5. Share
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.databoxedge.Share

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    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=azure_native.databoxedge.AzureContainerInfoArgs(
            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=[azure_native.databoxedge.UserAccessRightArgs(
            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)
    public Share(String name, ShareArgs args)
    public Share(String name, ShareArgs args, CustomResourceOptions options)
    
    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=azure_native.databoxedge.AzureContainerInfoArgs(
            container_name="string",
            data_format="string",
            storage_account_credential_id="string",
        ),
        client_access_rights=[azure_native.databoxedge.ClientAccessRightArgs(
            access_permission="string",
            client="string",
        )],
        data_policy="string",
        description="string",
        name="string",
        refresh_details=azure_native.databoxedge.RefreshDetailsArgs(
            error_manifest_file="string",
            in_progress_refresh_job_id="string",
            last_completed_refresh_job_time_in_utc="string",
            last_job="string",
        ),
        user_access_rights=[azure_native.databoxedge.UserAccessRightArgs(
            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

    The Share resource accepts the following input properties:

    AccessProtocol string | Pulumi.AzureNative.DataBoxEdge.ShareAccessProtocol
    Access protocol to be used by the share.
    DeviceName string
    The device name.
    MonitoringStatus string | Pulumi.AzureNative.DataBoxEdge.MonitoringStatus
    Current monitoring status of the share.
    ResourceGroupName string
    The resource group name.
    ShareStatus string | Pulumi.AzureNative.DataBoxEdge.ShareStatus
    Current status of the share.
    AzureContainerInfo Pulumi.AzureNative.DataBoxEdge.Inputs.AzureContainerInfo
    Azure container mapping for the share.
    ClientAccessRights List<Pulumi.AzureNative.DataBoxEdge.Inputs.ClientAccessRight>
    List of IP addresses and corresponding access rights on the share(required for NFS protocol).
    DataPolicy string | Pulumi.AzureNative.DataBoxEdge.DataPolicy
    Data policy of the share.
    Description string
    Description for the share.
    Name string
    The share name.
    RefreshDetails Pulumi.AzureNative.DataBoxEdge.Inputs.RefreshDetails
    Details of the refresh job on this share.
    UserAccessRights List<Pulumi.AzureNative.DataBoxEdge.Inputs.UserAccessRight>
    Mapping of users and corresponding access rights on the share (required for SMB protocol).
    AccessProtocol string | ShareAccessProtocol
    Access protocol to be used by the share.
    DeviceName string
    The device name.
    MonitoringStatus string | MonitoringStatus
    Current monitoring status of the share.
    ResourceGroupName string
    The resource group name.
    ShareStatus string | ShareStatus
    Current status of the share.
    AzureContainerInfo AzureContainerInfoArgs
    Azure container mapping for the share.
    ClientAccessRights []ClientAccessRightArgs
    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 RefreshDetailsArgs
    Details of the refresh job on this share.
    UserAccessRights []UserAccessRightArgs
    Mapping of users and corresponding access rights on the share (required for SMB protocol).
    accessProtocol String | ShareAccessProtocol
    Access protocol to be used by the share.
    deviceName String
    The device name.
    monitoringStatus String | MonitoringStatus
    Current monitoring status of the share.
    resourceGroupName String
    The resource group name.
    shareStatus String | ShareStatus
    Current status of the share.
    azureContainerInfo AzureContainerInfo
    Azure container mapping for the share.
    clientAccessRights List<ClientAccessRight>
    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.
    userAccessRights List<UserAccessRight>
    Mapping of users and corresponding access rights on the share (required for SMB protocol).
    accessProtocol string | ShareAccessProtocol
    Access protocol to be used by the share.
    deviceName string
    The device name.
    monitoringStatus string | MonitoringStatus
    Current monitoring status of the share.
    resourceGroupName string
    The resource group name.
    shareStatus string | ShareStatus
    Current status of the share.
    azureContainerInfo AzureContainerInfo
    Azure container mapping for the share.
    clientAccessRights ClientAccessRight[]
    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.
    userAccessRights UserAccessRight[]
    Mapping of users and corresponding access rights on the share (required for SMB protocol).
    access_protocol str | ShareAccessProtocol
    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_name str
    The resource group name.
    share_status str | ShareStatus
    Current status of the share.
    azure_container_info AzureContainerInfoArgs
    Azure container mapping for the share.
    client_access_rights Sequence[ClientAccessRightArgs]
    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 RefreshDetailsArgs
    Details of the refresh job on this share.
    user_access_rights Sequence[UserAccessRightArgs]
    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.
    resourceGroupName String
    The resource group name.
    shareStatus String | "Offline" | "Unknown" | "OK" | "Updating" | "NeedsAttention"
    Current status of the share.
    azureContainerInfo Property Map
    Azure container mapping for the share.
    clientAccessRights List<Property Map>
    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.
    userAccessRights List<Property Map>
    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.
    ShareMappings List<Pulumi.AzureNative.DataBoxEdge.Outputs.MountPointMapResponse>
    Share mount point to the role.
    SystemData Pulumi.AzureNative.DataBoxEdge.Outputs.SystemDataResponse
    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.
    ShareMappings []MountPointMapResponse
    Share mount point to the role.
    SystemData SystemDataResponse
    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.
    shareMappings List<MountPointMapResponse>
    Share mount point to the role.
    systemData SystemDataResponse
    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.
    shareMappings MountPointMapResponse[]
    Share mount point to the role.
    systemData SystemDataResponse
    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.
    share_mappings Sequence[MountPointMapResponse]
    Share mount point to the role.
    system_data SystemDataResponse
    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.
    shareMappings 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
    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

    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.AzureNative.DataBoxEdge.AzureContainerDataFormat
    Storage format used for the file represented by the share.
    StorageAccountCredentialId string
    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 | AzureContainerDataFormat
    Storage format used for the file represented by the share.
    StorageAccountCredentialId string
    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 | AzureContainerDataFormat
    Storage format used for the file represented by the share.
    storageAccountCredentialId String
    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 | AzureContainerDataFormat
    Storage format used for the file represented by the share.
    storageAccountCredentialId string
    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 | AzureContainerDataFormat
    Storage format used for the file represented by the share.
    storage_account_credential_id str
    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" | "PageBlob" | "AzureFile"
    Storage format used for the file represented by the share.
    storageAccountCredentialId String
    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.
    StorageAccountCredentialId string
    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.
    StorageAccountCredentialId string
    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.
    storageAccountCredentialId String
    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.
    storageAccountCredentialId string
    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_credential_id str
    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.
    storageAccountCredentialId String
    ID of the storage account credential used to access storage.

    ClientAccessRight, ClientAccessRightArgs

    AccessPermission string | Pulumi.AzureNative.DataBoxEdge.ClientPermissionType
    Type of access to be allowed for the client.
    Client string
    IP of the client.
    AccessPermission string | ClientPermissionType
    Type of access to be allowed for the client.
    Client string
    IP of the client.
    accessPermission String | ClientPermissionType
    Type of access to be allowed for the client.
    client String
    IP of the client.
    accessPermission string | ClientPermissionType
    Type of access to be allowed for the client.
    client string
    IP of the client.
    access_permission str | ClientPermissionType
    Type of access to be allowed for the client.
    client str
    IP of the client.
    accessPermission String | "NoAccess" | "ReadOnly" | "ReadWrite"
    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
    ClientPermissionTypeNoAccess
    NoAccess
    ClientPermissionTypeReadOnly
    ReadOnly
    ClientPermissionTypeReadWrite
    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
    DataPolicyCloud
    Cloud
    DataPolicyLocal
    Local
    Cloud
    Cloud
    Local
    Local
    Cloud
    Cloud
    Local
    Local
    CLOUD
    Cloud
    LOCAL
    Local
    "Cloud"
    Cloud
    "Local"
    Local

    MonitoringStatus, MonitoringStatusArgs

    Enabled
    Enabled
    Disabled
    Disabled
    MonitoringStatusEnabled
    Enabled
    MonitoringStatusDisabled
    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.
    ShareId 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.
    ShareId 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.
    shareId 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.
    shareId 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.
    share_id 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.
    shareId String
    ID of the share mounted to the role VM.

    RefreshDetails, RefreshDetailsArgs

    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.

    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.

    ShareAccessProtocol, ShareAccessProtocolArgs

    SMB
    SMB
    NFS
    NFS
    ShareAccessProtocolSMB
    SMB
    ShareAccessProtocolNFS
    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
    ShareAccessTypeChange
    Change
    ShareAccessTypeRead
    Read
    ShareAccessTypeCustom
    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
    ShareStatusOffline
    Offline
    ShareStatusUnknown
    Unknown
    ShareStatusOK
    OK
    ShareStatusUpdating
    Updating
    ShareStatusNeedsAttention
    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.
    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.

    UserAccessRight, UserAccessRightArgs

    AccessType string | Pulumi.AzureNative.DataBoxEdge.ShareAccessType
    Type of access to be allowed for the user.
    UserId string
    User ID (already existing in the device).
    AccessType string | ShareAccessType
    Type of access to be allowed for the user.
    UserId string
    User ID (already existing in the device).
    accessType String | ShareAccessType
    Type of access to be allowed for the user.
    userId String
    User ID (already existing in the device).
    accessType string | ShareAccessType
    Type of access to be allowed for the user.
    userId string
    User ID (already existing in the device).
    access_type str | ShareAccessType
    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
    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.47.1 published on Monday, Jun 24, 2024 by Pulumi