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=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)
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:
- Access
Protocol string | Pulumi.Azure Native. Data Box Edge. Share Access Protocol - Access protocol to be used by the share.
- Device
Name string - The device name.
- Monitoring
Status string | Pulumi.Azure Native. Data Box Edge. Monitoring Status - Current monitoring status of the share.
- Resource
Group stringName - The resource group name.
- string | Pulumi.
Azure Native. Data Box Edge. Share Status - Current status of the share.
- Azure
Container Pulumi.Info Azure Native. Data Box Edge. Inputs. Azure Container Info - Azure container mapping for the share.
- Client
Access 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).
- Data
Policy 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.
- Refresh
Details Pulumi.Azure Native. Data Box Edge. Inputs. Refresh Details - Details of the refresh job on this share.
- User
Access 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).
- Access
Protocol string | ShareAccess Protocol - Access protocol to be used by the share.
- Device
Name string - The device name.
- Monitoring
Status string | MonitoringStatus - Current monitoring status of the share.
- Resource
Group stringName - The resource group name.
- string | Share
Status - Current status of the share.
- Azure
Container AzureInfo Container Info Args - Azure container mapping for the share.
- Client
Access []ClientRights Access Right Args - List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- Data
Policy string | DataPolicy - Data policy of the share.
- Description string
- Description for the share.
- Name string
- The share name.
- Refresh
Details RefreshDetails Args - Details of the refresh job on this share.
- User
Access []UserRights Access Right Args - Mapping of users and corresponding access rights on the share (required for SMB protocol).
- access
Protocol String | ShareAccess Protocol - Access protocol to be used by the share.
- device
Name String - The device name.
- monitoring
Status String | MonitoringStatus - Current monitoring status of the share.
- resource
Group StringName - The resource group name.
- String | Share
Status - Current status of the share.
- azure
Container AzureInfo Container Info - Azure container mapping for the share.
- client
Access List<ClientRights Access Right> - List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- data
Policy String | DataPolicy - Data policy of the share.
- description String
- Description for the share.
- name String
- The share name.
- refresh
Details RefreshDetails - Details of the refresh job on this share.
- user
Access List<UserRights Access Right> - Mapping of users and corresponding access rights on the share (required for SMB protocol).
- access
Protocol string | ShareAccess Protocol - Access protocol to be used by the share.
- device
Name string - The device name.
- monitoring
Status string | MonitoringStatus - Current monitoring status of the share.
- resource
Group stringName - The resource group name.
- string | Share
Status - Current status of the share.
- azure
Container AzureInfo Container Info - Azure container mapping for the share.
- client
Access ClientRights Access Right[] - List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- data
Policy string | DataPolicy - Data policy of the share.
- description string
- Description for the share.
- name string
- The share name.
- refresh
Details RefreshDetails - Details of the refresh job on this share.
- user
Access 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 | Share
Status - 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).
- access
Protocol String | "SMB" | "NFS" - Access protocol to be used by the share.
- device
Name String - The device name.
- monitoring
Status String | "Enabled" | "Disabled" - Current monitoring status of the share.
- resource
Group StringName - The resource group name.
- String | "Offline" | "Unknown" | "OK" | "Updating" | "Needs
Attention" - Current status of the share.
- azure
Container Property MapInfo - Azure container mapping for the share.
- client
Access List<Property Map>Rights - List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- data
Policy String | "Cloud" | "Local" - Data policy of the share.
- description String
- Description for the share.
- name String
- The share name.
- refresh
Details Property Map - Details of the refresh job on this share.
- user
Access 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.
- System
Data 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.
- []Mount
Point Map Response - Share mount point to the role.
- System
Data 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<Mount
Point Map Response> - Share mount point to the role.
- system
Data 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.
- Mount
Point Map Response[] - Share mount point to the role.
- system
Data 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[Mount
Point 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.
- system
Data Property Map - Metadata pertaining to creation and last modification of Share
- type String
- The hierarchical type of the object.
Supporting Types
AzureContainerDataFormat, AzureContainerDataFormatArgs
- Block
Blob - BlockBlob
- Page
Blob - PageBlob
- Azure
File - AzureFile
- Azure
Container Data Format Block Blob - BlockBlob
- Azure
Container Data Format Page Blob - PageBlob
- Azure
Container Data Format Azure File - AzureFile
- Block
Blob - BlockBlob
- Page
Blob - PageBlob
- Azure
File - AzureFile
- Block
Blob - BlockBlob
- Page
Blob - PageBlob
- Azure
File - AzureFile
- BLOCK_BLOB
- BlockBlob
- PAGE_BLOB
- PageBlob
- AZURE_FILE
- AzureFile
- "Block
Blob" - BlockBlob
- "Page
Blob" - PageBlob
- "Azure
File" - AzureFile
AzureContainerInfo, AzureContainerInfoArgs
- Container
Name string - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- Data
Format string | Pulumi.Azure Native. Data Box Edge. Azure Container Data Format - Storage format used for the file represented by the share.
- Storage
Account stringCredential Id - ID of the storage account credential used to access storage.
- Container
Name string - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- Data
Format string | AzureContainer Data Format - Storage format used for the file represented by the share.
- Storage
Account stringCredential Id - ID of the storage account credential used to access storage.
- container
Name String - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- data
Format String | AzureContainer Data Format - Storage format used for the file represented by the share.
- storage
Account StringCredential Id - ID of the storage account credential used to access storage.
- container
Name string - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- data
Format string | AzureContainer Data Format - Storage format used for the file represented by the share.
- storage
Account 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.
- container
Name String - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- data
Format String | "BlockBlob" | "Page Blob" | "Azure File" - Storage format used for the file represented by the share.
- storage
Account StringCredential Id - ID of the storage account credential used to access storage.
AzureContainerInfoResponse, AzureContainerInfoResponseArgs
- Container
Name string - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- Data
Format string - Storage format used for the file represented by the share.
- Storage
Account stringCredential Id - ID of the storage account credential used to access storage.
- Container
Name string - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- Data
Format string - Storage format used for the file represented by the share.
- Storage
Account stringCredential Id - ID of the storage account credential used to access storage.
- container
Name String - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- data
Format String - Storage format used for the file represented by the share.
- storage
Account StringCredential Id - ID of the storage account credential used to access storage.
- container
Name string - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- data
Format string - Storage format used for the file represented by the share.
- storage
Account 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.
- container
Name String - Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).
- data
Format String - Storage format used for the file represented by the share.
- storage
Account StringCredential Id - ID of the storage account credential used to access storage.
ClientAccessRight, ClientAccessRightArgs
- Access
Permission 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.
- Access
Permission string | ClientPermission Type - Type of access to be allowed for the client.
- Client string
- IP of the client.
- access
Permission String | ClientPermission Type - Type of access to be allowed for the client.
- client String
- IP of the client.
- access
Permission 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.
- access
Permission String | "NoAccess" | "Read Only" | "Read Write" - Type of access to be allowed for the client.
- client String
- IP of the client.
ClientAccessRightResponse, ClientAccessRightResponseArgs
- Access
Permission string - Type of access to be allowed for the client.
- Client string
- IP of the client.
- Access
Permission string - Type of access to be allowed for the client.
- Client string
- IP of the client.
- access
Permission String - Type of access to be allowed for the client.
- client String
- IP of the client.
- access
Permission 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.
- access
Permission String - Type of access to be allowed for the client.
- client String
- IP of the client.
ClientPermissionType, ClientPermissionTypeArgs
- No
Access - NoAccess
- Read
Only - ReadOnly
- Read
Write - ReadWrite
- Client
Permission Type No Access - NoAccess
- Client
Permission Type Read Only - ReadOnly
- Client
Permission Type Read Write - ReadWrite
- No
Access - NoAccess
- Read
Only - ReadOnly
- Read
Write - ReadWrite
- No
Access - NoAccess
- Read
Only - ReadOnly
- Read
Write - ReadWrite
- NO_ACCESS
- NoAccess
- READ_ONLY
- ReadOnly
- READ_WRITE
- ReadWrite
- "No
Access" - NoAccess
- "Read
Only" - ReadOnly
- "Read
Write" - ReadWrite
DataPolicy, DataPolicyArgs
- Cloud
- Cloud
- Local
- Local
- Data
Policy Cloud - Cloud
- Data
Policy Local - Local
- Cloud
- Cloud
- Local
- Local
- Cloud
- Cloud
- Local
- Local
- CLOUD
- Cloud
- LOCAL
- Local
- "Cloud"
- Cloud
- "Local"
- Local
MonitoringStatus, MonitoringStatusArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Monitoring
Status Enabled - Enabled
- Monitoring
Status Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
MountPointMapResponse, MountPointMapResponseArgs
- Mount
Point string - Mount point for the share.
- Mount
Type string - Mounting type.
- Role
Id string - ID of the role to which share is mounted.
- Role
Type string - Role type.
- string
- ID of the share mounted to the role VM.
- Mount
Point string - Mount point for the share.
- Mount
Type string - Mounting type.
- Role
Id string - ID of the role to which share is mounted.
- Role
Type string - Role type.
- string
- ID of the share mounted to the role VM.
- mount
Point String - Mount point for the share.
- mount
Type String - Mounting type.
- role
Id String - ID of the role to which share is mounted.
- role
Type String - Role type.
- String
- ID of the share mounted to the role VM.
- mount
Point string - Mount point for the share.
- mount
Type string - Mounting type.
- role
Id string - ID of the role to which share is mounted.
- role
Type 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.
- mount
Point String - Mount point for the share.
- mount
Type String - Mounting type.
- role
Id String - ID of the role to which share is mounted.
- role
Type String - Role type.
- String
- ID of the share mounted to the role VM.
RefreshDetails, RefreshDetailsArgs
- Error
Manifest stringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- In
Progress stringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- Last
Completed stringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- Last
Job string - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- Error
Manifest stringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- In
Progress stringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- Last
Completed stringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- Last
Job string - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error
Manifest StringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in
Progress StringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last
Completed StringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last
Job String - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error
Manifest stringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in
Progress stringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last
Completed stringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last
Job string - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error_
manifest_ strfile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in_
progress_ strrefresh_ job_ id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last_
completed_ strrefresh_ job_ time_ in_ utc - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last_
job str - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error
Manifest StringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in
Progress StringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last
Completed StringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last
Job String - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
RefreshDetailsResponse, RefreshDetailsResponseArgs
- Error
Manifest stringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- In
Progress stringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- Last
Completed stringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- Last
Job string - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- Error
Manifest stringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- In
Progress stringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- Last
Completed stringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- Last
Job string - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error
Manifest StringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in
Progress StringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last
Completed StringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last
Job String - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error
Manifest stringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in
Progress stringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last
Completed stringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last
Job string - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error_
manifest_ strfile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in_
progress_ strrefresh_ job_ id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last_
completed_ strrefresh_ job_ time_ in_ utc - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last_
job str - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
- error
Manifest StringFile - Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
- in
Progress StringRefresh Job Id - If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
- last
Completed StringRefresh Job Time In UTC - Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
- last
Job String - Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
ShareAccessProtocol, ShareAccessProtocolArgs
- SMB
- SMB
- NFS
- NFS
- Share
Access Protocol SMB - SMB
- Share
Access 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
- Share
Access Type Change - Change
- Share
Access Type Read - Read
- Share
Access 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
- Needs
Attention - NeedsAttention
- Share
Status Offline - Offline
- Share
Status Unknown - Unknown
- Share
Status OK - OK
- Share
Status Updating - Updating
- Share
Status Needs Attention - NeedsAttention
- Offline
- Offline
- Unknown
- Unknown
- OK
- OK
- Updating
- Updating
- Needs
Attention - NeedsAttention
- Offline
- Offline
- Unknown
- Unknown
- OK
- OK
- Updating
- Updating
- Needs
Attention - NeedsAttention
- OFFLINE
- Offline
- UNKNOWN
- Unknown
- OK
- OK
- UPDATING
- Updating
- NEEDS_ATTENTION
- NeedsAttention
- "Offline"
- Offline
- "Unknown"
- Unknown
- "OK"
- OK
- "Updating"
- Updating
- "Needs
Attention" - NeedsAttention
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAccessRight, UserAccessRightArgs
- Access
Type string | Pulumi.Azure Native. Data Box Edge. Share Access Type - Type of access to be allowed for the user.
- User
Id string - User ID (already existing in the device).
- Access
Type string | ShareAccess Type - Type of access to be allowed for the user.
- User
Id string - User ID (already existing in the device).
- access
Type String | ShareAccess Type - Type of access to be allowed for the user.
- user
Id String - User ID (already existing in the device).
- access
Type string | ShareAccess Type - Type of access to be allowed for the user.
- user
Id 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).
- access
Type String | "Change" | "Read" | "Custom" - Type of access to be allowed for the user.
- user
Id String - User ID (already existing in the device).
UserAccessRightResponse, UserAccessRightResponseArgs
- Access
Type string - Type of access to be allowed for the user.
- User
Id string - User ID (already existing in the device).
- Access
Type string - Type of access to be allowed for the user.
- User
Id string - User ID (already existing in the device).
- access
Type String - Type of access to be allowed for the user.
- user
Id String - User ID (already existing in the device).
- access
Type string - Type of access to be allowed for the user.
- user
Id 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).
- access
Type String - Type of access to be allowed for the user.
- user
Id 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