We recommend using Azure Native.
azure.netapp.Volume
Explore with Pulumi AI
Manages a NetApp Volume.
!>IMPORTANT: This resource uses a feature to prevent deletion called prevent_volume_destruction
, defaulting to true
. It is intentionally set to true
to prevent the possibility of accidental data loss. The example in this page shows all possible protection options you can apply, it is using same values as the defaults.
Create Volume Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Volume(name: string, args: VolumeArgs, opts?: CustomResourceOptions);
@overload
def Volume(resource_name: str,
args: VolumeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Volume(resource_name: str,
opts: Optional[ResourceOptions] = None,
pool_name: Optional[str] = None,
volume_path: Optional[str] = None,
subnet_id: Optional[str] = None,
storage_quota_in_gb: Optional[int] = None,
service_level: Optional[str] = None,
resource_group_name: Optional[str] = None,
account_name: Optional[str] = None,
protocols: Optional[Sequence[str]] = None,
smb3_protocol_encryption_enabled: Optional[bool] = None,
key_vault_private_endpoint_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
network_features: Optional[str] = None,
export_policy_rules: Optional[Sequence[VolumeExportPolicyRuleArgs]] = None,
encryption_key_source: Optional[str] = None,
data_protection_snapshot_policy: Optional[VolumeDataProtectionSnapshotPolicyArgs] = None,
security_style: Optional[str] = None,
data_protection_replication: Optional[VolumeDataProtectionReplicationArgs] = None,
kerberos_enabled: Optional[bool] = None,
smb_access_based_enumeration_enabled: Optional[bool] = None,
smb_continuous_availability_enabled: Optional[bool] = None,
smb_non_browsable_enabled: Optional[bool] = None,
snapshot_directory_visible: Optional[bool] = None,
data_protection_backup_policy: Optional[VolumeDataProtectionBackupPolicyArgs] = None,
create_from_snapshot_resource_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
throughput_in_mibps: Optional[float] = None,
azure_vmware_data_store_enabled: Optional[bool] = None,
zone: Optional[str] = None)
func NewVolume(ctx *Context, name string, args VolumeArgs, opts ...ResourceOption) (*Volume, error)
public Volume(string name, VolumeArgs args, CustomResourceOptions? opts = null)
public Volume(String name, VolumeArgs args)
public Volume(String name, VolumeArgs args, CustomResourceOptions options)
type: azure:netapp:Volume
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VolumeArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. VolumeArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VolumeArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VolumeArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. VolumeArgs - 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 azureVolumeResource = new Azure.NetApp.Volume("azureVolumeResource", new()
{
PoolName = "string",
VolumePath = "string",
SubnetId = "string",
StorageQuotaInGb = 0,
ServiceLevel = "string",
ResourceGroupName = "string",
AccountName = "string",
Protocols = new[]
{
"string",
},
Smb3ProtocolEncryptionEnabled = false,
KeyVaultPrivateEndpointId = "string",
Location = "string",
Name = "string",
NetworkFeatures = "string",
ExportPolicyRules = new[]
{
new Azure.NetApp.Inputs.VolumeExportPolicyRuleArgs
{
AllowedClients = new[]
{
"string",
},
RuleIndex = 0,
Kerberos5ReadOnlyEnabled = false,
Kerberos5ReadWriteEnabled = false,
Kerberos5iReadOnlyEnabled = false,
Kerberos5iReadWriteEnabled = false,
Kerberos5pReadOnlyEnabled = false,
Kerberos5pReadWriteEnabled = false,
ProtocolsEnabled = "string",
RootAccessEnabled = false,
UnixReadOnly = false,
UnixReadWrite = false,
},
},
EncryptionKeySource = "string",
DataProtectionSnapshotPolicy = new Azure.NetApp.Inputs.VolumeDataProtectionSnapshotPolicyArgs
{
SnapshotPolicyId = "string",
},
SecurityStyle = "string",
DataProtectionReplication = new Azure.NetApp.Inputs.VolumeDataProtectionReplicationArgs
{
RemoteVolumeLocation = "string",
RemoteVolumeResourceId = "string",
ReplicationFrequency = "string",
EndpointType = "string",
},
KerberosEnabled = false,
SmbAccessBasedEnumerationEnabled = false,
SmbContinuousAvailabilityEnabled = false,
SmbNonBrowsableEnabled = false,
SnapshotDirectoryVisible = false,
DataProtectionBackupPolicy = new Azure.NetApp.Inputs.VolumeDataProtectionBackupPolicyArgs
{
BackupPolicyId = "string",
BackupVaultId = "string",
PolicyEnabled = false,
},
CreateFromSnapshotResourceId = "string",
Tags =
{
{ "string", "string" },
},
ThroughputInMibps = 0,
AzureVmwareDataStoreEnabled = false,
Zone = "string",
});
example, err := netapp.NewVolume(ctx, "azureVolumeResource", &netapp.VolumeArgs{
PoolName: pulumi.String("string"),
VolumePath: pulumi.String("string"),
SubnetId: pulumi.String("string"),
StorageQuotaInGb: pulumi.Int(0),
ServiceLevel: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
AccountName: pulumi.String("string"),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Smb3ProtocolEncryptionEnabled: pulumi.Bool(false),
KeyVaultPrivateEndpointId: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkFeatures: pulumi.String("string"),
ExportPolicyRules: netapp.VolumeExportPolicyRuleArray{
&netapp.VolumeExportPolicyRuleArgs{
AllowedClients: pulumi.StringArray{
pulumi.String("string"),
},
RuleIndex: pulumi.Int(0),
Kerberos5ReadOnlyEnabled: pulumi.Bool(false),
Kerberos5ReadWriteEnabled: pulumi.Bool(false),
Kerberos5iReadOnlyEnabled: pulumi.Bool(false),
Kerberos5iReadWriteEnabled: pulumi.Bool(false),
Kerberos5pReadOnlyEnabled: pulumi.Bool(false),
Kerberos5pReadWriteEnabled: pulumi.Bool(false),
ProtocolsEnabled: pulumi.String("string"),
RootAccessEnabled: pulumi.Bool(false),
UnixReadOnly: pulumi.Bool(false),
UnixReadWrite: pulumi.Bool(false),
},
},
EncryptionKeySource: pulumi.String("string"),
DataProtectionSnapshotPolicy: &netapp.VolumeDataProtectionSnapshotPolicyArgs{
SnapshotPolicyId: pulumi.String("string"),
},
SecurityStyle: pulumi.String("string"),
DataProtectionReplication: &netapp.VolumeDataProtectionReplicationArgs{
RemoteVolumeLocation: pulumi.String("string"),
RemoteVolumeResourceId: pulumi.String("string"),
ReplicationFrequency: pulumi.String("string"),
EndpointType: pulumi.String("string"),
},
KerberosEnabled: pulumi.Bool(false),
SmbAccessBasedEnumerationEnabled: pulumi.Bool(false),
SmbContinuousAvailabilityEnabled: pulumi.Bool(false),
SmbNonBrowsableEnabled: pulumi.Bool(false),
SnapshotDirectoryVisible: pulumi.Bool(false),
DataProtectionBackupPolicy: &netapp.VolumeDataProtectionBackupPolicyArgs{
BackupPolicyId: pulumi.String("string"),
BackupVaultId: pulumi.String("string"),
PolicyEnabled: pulumi.Bool(false),
},
CreateFromSnapshotResourceId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ThroughputInMibps: pulumi.Float64(0),
AzureVmwareDataStoreEnabled: pulumi.Bool(false),
Zone: pulumi.String("string"),
})
var azureVolumeResource = new Volume("azureVolumeResource", VolumeArgs.builder()
.poolName("string")
.volumePath("string")
.subnetId("string")
.storageQuotaInGb(0)
.serviceLevel("string")
.resourceGroupName("string")
.accountName("string")
.protocols("string")
.smb3ProtocolEncryptionEnabled(false)
.keyVaultPrivateEndpointId("string")
.location("string")
.name("string")
.networkFeatures("string")
.exportPolicyRules(VolumeExportPolicyRuleArgs.builder()
.allowedClients("string")
.ruleIndex(0)
.kerberos5ReadOnlyEnabled(false)
.kerberos5ReadWriteEnabled(false)
.kerberos5iReadOnlyEnabled(false)
.kerberos5iReadWriteEnabled(false)
.kerberos5pReadOnlyEnabled(false)
.kerberos5pReadWriteEnabled(false)
.protocolsEnabled("string")
.rootAccessEnabled(false)
.unixReadOnly(false)
.unixReadWrite(false)
.build())
.encryptionKeySource("string")
.dataProtectionSnapshotPolicy(VolumeDataProtectionSnapshotPolicyArgs.builder()
.snapshotPolicyId("string")
.build())
.securityStyle("string")
.dataProtectionReplication(VolumeDataProtectionReplicationArgs.builder()
.remoteVolumeLocation("string")
.remoteVolumeResourceId("string")
.replicationFrequency("string")
.endpointType("string")
.build())
.kerberosEnabled(false)
.smbAccessBasedEnumerationEnabled(false)
.smbContinuousAvailabilityEnabled(false)
.smbNonBrowsableEnabled(false)
.snapshotDirectoryVisible(false)
.dataProtectionBackupPolicy(VolumeDataProtectionBackupPolicyArgs.builder()
.backupPolicyId("string")
.backupVaultId("string")
.policyEnabled(false)
.build())
.createFromSnapshotResourceId("string")
.tags(Map.of("string", "string"))
.throughputInMibps(0)
.azureVmwareDataStoreEnabled(false)
.zone("string")
.build());
azure_volume_resource = azure.netapp.Volume("azureVolumeResource",
pool_name="string",
volume_path="string",
subnet_id="string",
storage_quota_in_gb=0,
service_level="string",
resource_group_name="string",
account_name="string",
protocols=["string"],
smb3_protocol_encryption_enabled=False,
key_vault_private_endpoint_id="string",
location="string",
name="string",
network_features="string",
export_policy_rules=[{
"allowed_clients": ["string"],
"rule_index": 0,
"kerberos5_read_only_enabled": False,
"kerberos5_read_write_enabled": False,
"kerberos5i_read_only_enabled": False,
"kerberos5i_read_write_enabled": False,
"kerberos5p_read_only_enabled": False,
"kerberos5p_read_write_enabled": False,
"protocols_enabled": "string",
"root_access_enabled": False,
"unix_read_only": False,
"unix_read_write": False,
}],
encryption_key_source="string",
data_protection_snapshot_policy={
"snapshot_policy_id": "string",
},
security_style="string",
data_protection_replication={
"remote_volume_location": "string",
"remote_volume_resource_id": "string",
"replication_frequency": "string",
"endpoint_type": "string",
},
kerberos_enabled=False,
smb_access_based_enumeration_enabled=False,
smb_continuous_availability_enabled=False,
smb_non_browsable_enabled=False,
snapshot_directory_visible=False,
data_protection_backup_policy={
"backup_policy_id": "string",
"backup_vault_id": "string",
"policy_enabled": False,
},
create_from_snapshot_resource_id="string",
tags={
"string": "string",
},
throughput_in_mibps=0,
azure_vmware_data_store_enabled=False,
zone="string")
const azureVolumeResource = new azure.netapp.Volume("azureVolumeResource", {
poolName: "string",
volumePath: "string",
subnetId: "string",
storageQuotaInGb: 0,
serviceLevel: "string",
resourceGroupName: "string",
accountName: "string",
protocols: ["string"],
smb3ProtocolEncryptionEnabled: false,
keyVaultPrivateEndpointId: "string",
location: "string",
name: "string",
networkFeatures: "string",
exportPolicyRules: [{
allowedClients: ["string"],
ruleIndex: 0,
kerberos5ReadOnlyEnabled: false,
kerberos5ReadWriteEnabled: false,
kerberos5iReadOnlyEnabled: false,
kerberos5iReadWriteEnabled: false,
kerberos5pReadOnlyEnabled: false,
kerberos5pReadWriteEnabled: false,
protocolsEnabled: "string",
rootAccessEnabled: false,
unixReadOnly: false,
unixReadWrite: false,
}],
encryptionKeySource: "string",
dataProtectionSnapshotPolicy: {
snapshotPolicyId: "string",
},
securityStyle: "string",
dataProtectionReplication: {
remoteVolumeLocation: "string",
remoteVolumeResourceId: "string",
replicationFrequency: "string",
endpointType: "string",
},
kerberosEnabled: false,
smbAccessBasedEnumerationEnabled: false,
smbContinuousAvailabilityEnabled: false,
smbNonBrowsableEnabled: false,
snapshotDirectoryVisible: false,
dataProtectionBackupPolicy: {
backupPolicyId: "string",
backupVaultId: "string",
policyEnabled: false,
},
createFromSnapshotResourceId: "string",
tags: {
string: "string",
},
throughputInMibps: 0,
azureVmwareDataStoreEnabled: false,
zone: "string",
});
type: azure:netapp:Volume
properties:
accountName: string
azureVmwareDataStoreEnabled: false
createFromSnapshotResourceId: string
dataProtectionBackupPolicy:
backupPolicyId: string
backupVaultId: string
policyEnabled: false
dataProtectionReplication:
endpointType: string
remoteVolumeLocation: string
remoteVolumeResourceId: string
replicationFrequency: string
dataProtectionSnapshotPolicy:
snapshotPolicyId: string
encryptionKeySource: string
exportPolicyRules:
- allowedClients:
- string
kerberos5ReadOnlyEnabled: false
kerberos5ReadWriteEnabled: false
kerberos5iReadOnlyEnabled: false
kerberos5iReadWriteEnabled: false
kerberos5pReadOnlyEnabled: false
kerberos5pReadWriteEnabled: false
protocolsEnabled: string
rootAccessEnabled: false
ruleIndex: 0
unixReadOnly: false
unixReadWrite: false
kerberosEnabled: false
keyVaultPrivateEndpointId: string
location: string
name: string
networkFeatures: string
poolName: string
protocols:
- string
resourceGroupName: string
securityStyle: string
serviceLevel: string
smb3ProtocolEncryptionEnabled: false
smbAccessBasedEnumerationEnabled: false
smbContinuousAvailabilityEnabled: false
smbNonBrowsableEnabled: false
snapshotDirectoryVisible: false
storageQuotaInGb: 0
subnetId: string
tags:
string: string
throughputInMibps: 0
volumePath: string
zone: string
Volume Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Volume resource accepts the following input properties:
- Account
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- Pool
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- Service
Level This property is required. Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - Storage
Quota In Gb This property is required. int - The maximum Storage Quota allowed for a file system in Gigabytes.
- Subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - Volume
Path This property is required. Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- Azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - Create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - Data
Protection VolumeBackup Policy Data Protection Backup Policy - A
data_protection_backup_policy
block as defined below. - Data
Protection Replication Changes to this property will trigger replacement.
Data Protection Replication - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - Data
Protection VolumeSnapshot Policy Data Protection Snapshot Policy - A
data_protection_snapshot_policy
block as defined below. - Encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - Export
Policy List<VolumeRules Export Policy Rule> - One or more
export_policy_rule
block defined below. - Kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - Key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - Location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- Network
Features string - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - Protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - Security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - Smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- Smb
Access boolBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - Smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- Smb
Non boolBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - Snapshot
Directory boolVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- Throughput
In doubleMibps - Throughput of this volume in Mibps.
- Zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- Account
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- Pool
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- Service
Level This property is required. Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - Storage
Quota In Gb This property is required. int - The maximum Storage Quota allowed for a file system in Gigabytes.
- Subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - Volume
Path This property is required. Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- Azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - Create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - Data
Protection VolumeBackup Policy Data Protection Backup Policy Args - A
data_protection_backup_policy
block as defined below. - Data
Protection Replication Changes to this property will trigger replacement.
Data Protection Replication Args - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - Data
Protection VolumeSnapshot Policy Data Protection Snapshot Policy Args - A
data_protection_snapshot_policy
block as defined below. - Encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - Export
Policy []VolumeRules Export Policy Rule Args - One or more
export_policy_rule
block defined below. - Kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - Key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - Location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- Network
Features string - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - Protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - Security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - Smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- Smb
Access boolBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - Smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- Smb
Non boolBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - Snapshot
Directory boolVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- map[string]string
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- Throughput
In float64Mibps - Throughput of this volume in Mibps.
- Zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- pool
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- service
Level This property is required. Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - storage
Quota In Gb This property is required. Integer - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - volume
Path This property is required. Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - data
Protection VolumeBackup Policy Data Protection Backup Policy - A
data_protection_backup_policy
block as defined below. - data
Protection Replication Changes to this property will trigger replacement.
Data Protection Replication - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - data
Protection VolumeSnapshot Policy Data Protection Snapshot Policy - A
data_protection_snapshot_policy
block as defined below. - encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - export
Policy List<VolumeRules Export Policy Rule> - One or more
export_policy_rule
block defined below. - kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- network
Features String - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- smb
Access BooleanBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- smb
Non BooleanBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - snapshot
Directory BooleanVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- Map<String,String>
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- throughput
In DoubleMibps - Throughput of this volume in Mibps.
- zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- pool
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- service
Level This property is required. Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - storage
Quota In Gb This property is required. number - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - volume
Path This property is required. Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - data
Protection VolumeBackup Policy Data Protection Backup Policy - A
data_protection_backup_policy
block as defined below. - data
Protection Replication Changes to this property will trigger replacement.
Data Protection Replication - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - data
Protection VolumeSnapshot Policy Data Protection Snapshot Policy - A
data_protection_snapshot_policy
block as defined below. - encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - export
Policy VolumeRules Export Policy Rule[] - One or more
export_policy_rule
block defined below. - kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- network
Features string - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- smb
Access booleanBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- smb
Non booleanBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - snapshot
Directory booleanVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- {[key: string]: string}
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- throughput
In numberMibps - Throughput of this volume in Mibps.
- zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- account_
name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- pool_
name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- service_
level This property is required. Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - storage_
quota_ in_ gb This property is required. int - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet_
id This property is required. Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - volume_
path This property is required. Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- azure_
vmware_ data_ store_ enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - create_
from_ snapshot_ resource_ id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - data_
protection_ Volumebackup_ policy Data Protection Backup Policy Args - A
data_protection_backup_policy
block as defined below. - data_
protection_ replication Changes to this property will trigger replacement.
Data Protection Replication Args - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - data_
protection_ Volumesnapshot_ policy Data Protection Snapshot Policy Args - A
data_protection_snapshot_policy
block as defined below. - encryption_
key_ source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - export_
policy_ Sequence[Volumerules Export Policy Rule Args] - One or more
export_policy_rule
block defined below. - kerberos_
enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - key_
vault_ private_ endpoint_ id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- network_
features str - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - security_
style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - smb3_
protocol_ encryption_ enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- smb_
access_ boolbased_ enumeration_ enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - smb_
continuous_ availability_ enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- smb_
non_ boolbrowsable_ enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - snapshot_
directory_ boolvisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- Mapping[str, str]
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- throughput_
in_ floatmibps - Throughput of this volume in Mibps.
- zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- pool
Name This property is required. Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- service
Level This property is required. Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - storage
Quota In Gb This property is required. Number - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - volume
Path This property is required. Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - data
Protection Property MapBackup Policy - A
data_protection_backup_policy
block as defined below. - data
Protection Replication Changes to this property will trigger replacement.
- A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - data
Protection Property MapSnapshot Policy - A
data_protection_snapshot_policy
block as defined below. - encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - export
Policy List<Property Map>Rules - One or more
export_policy_rule
block defined below. - kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- network
Features String - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- smb
Access BooleanBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- smb
Non BooleanBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - snapshot
Directory BooleanVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- Map<String>
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- throughput
In NumberMibps - Throughput of this volume in Mibps.
- zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
Outputs
All input properties are implicitly available as output properties. Additionally, the Volume resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Ip List<string>Addresses - A list of IPv4 Addresses which should be used to mount the volume.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mount
Ip []stringAddresses - A list of IPv4 Addresses which should be used to mount the volume.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Ip List<String>Addresses - A list of IPv4 Addresses which should be used to mount the volume.
- id string
- The provider-assigned unique ID for this managed resource.
- mount
Ip string[]Addresses - A list of IPv4 Addresses which should be used to mount the volume.
- id str
- The provider-assigned unique ID for this managed resource.
- mount_
ip_ Sequence[str]addresses - A list of IPv4 Addresses which should be used to mount the volume.
- id String
- The provider-assigned unique ID for this managed resource.
- mount
Ip List<String>Addresses - A list of IPv4 Addresses which should be used to mount the volume.
Look up Existing Volume Resource
Get an existing Volume resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VolumeState, opts?: CustomResourceOptions): Volume
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
azure_vmware_data_store_enabled: Optional[bool] = None,
create_from_snapshot_resource_id: Optional[str] = None,
data_protection_backup_policy: Optional[VolumeDataProtectionBackupPolicyArgs] = None,
data_protection_replication: Optional[VolumeDataProtectionReplicationArgs] = None,
data_protection_snapshot_policy: Optional[VolumeDataProtectionSnapshotPolicyArgs] = None,
encryption_key_source: Optional[str] = None,
export_policy_rules: Optional[Sequence[VolumeExportPolicyRuleArgs]] = None,
kerberos_enabled: Optional[bool] = None,
key_vault_private_endpoint_id: Optional[str] = None,
location: Optional[str] = None,
mount_ip_addresses: Optional[Sequence[str]] = None,
name: Optional[str] = None,
network_features: Optional[str] = None,
pool_name: Optional[str] = None,
protocols: Optional[Sequence[str]] = None,
resource_group_name: Optional[str] = None,
security_style: Optional[str] = None,
service_level: Optional[str] = None,
smb3_protocol_encryption_enabled: Optional[bool] = None,
smb_access_based_enumeration_enabled: Optional[bool] = None,
smb_continuous_availability_enabled: Optional[bool] = None,
smb_non_browsable_enabled: Optional[bool] = None,
snapshot_directory_visible: Optional[bool] = None,
storage_quota_in_gb: Optional[int] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
throughput_in_mibps: Optional[float] = None,
volume_path: Optional[str] = None,
zone: Optional[str] = None) -> Volume
func GetVolume(ctx *Context, name string, id IDInput, state *VolumeState, opts ...ResourceOption) (*Volume, error)
public static Volume Get(string name, Input<string> id, VolumeState? state, CustomResourceOptions? opts = null)
public static Volume get(String name, Output<String> id, VolumeState state, CustomResourceOptions options)
resources: _: type: azure:netapp:Volume get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Name Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- Azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - Create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - Data
Protection VolumeBackup Policy Data Protection Backup Policy - A
data_protection_backup_policy
block as defined below. - Data
Protection Replication Changes to this property will trigger replacement.
Data Protection Replication - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - Data
Protection VolumeSnapshot Policy Data Protection Snapshot Policy - A
data_protection_snapshot_policy
block as defined below. - Encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - Export
Policy List<VolumeRules Export Policy Rule> - One or more
export_policy_rule
block defined below. - Kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - Key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - Location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Mount
Ip List<string>Addresses - A list of IPv4 Addresses which should be used to mount the volume.
- Name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- Network
Features string - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - Pool
Name Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- Protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - Resource
Group Name Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- Security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - Service
Level Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - Smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- Smb
Access boolBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - Smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- Smb
Non boolBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - Snapshot
Directory boolVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- Storage
Quota intIn Gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- Subnet
Id Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - Dictionary<string, string>
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- Throughput
In doubleMibps - Throughput of this volume in Mibps.
- Volume
Path Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- Zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- Account
Name Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- Azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - Create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - Data
Protection VolumeBackup Policy Data Protection Backup Policy Args - A
data_protection_backup_policy
block as defined below. - Data
Protection Replication Changes to this property will trigger replacement.
Data Protection Replication Args - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - Data
Protection VolumeSnapshot Policy Data Protection Snapshot Policy Args - A
data_protection_snapshot_policy
block as defined below. - Encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - Export
Policy []VolumeRules Export Policy Rule Args - One or more
export_policy_rule
block defined below. - Kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - Key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - Location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Mount
Ip []stringAddresses - A list of IPv4 Addresses which should be used to mount the volume.
- Name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- Network
Features string - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - Pool
Name Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- Protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - Resource
Group Name Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- Security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - Service
Level Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - Smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- Smb
Access boolBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - Smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- Smb
Non boolBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - Snapshot
Directory boolVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- Storage
Quota intIn Gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- Subnet
Id Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - map[string]string
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- Throughput
In float64Mibps - Throughput of this volume in Mibps.
- Volume
Path Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- Zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- account
Name Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - data
Protection VolumeBackup Policy Data Protection Backup Policy - A
data_protection_backup_policy
block as defined below. - data
Protection Replication Changes to this property will trigger replacement.
Data Protection Replication - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - data
Protection VolumeSnapshot Policy Data Protection Snapshot Policy - A
data_protection_snapshot_policy
block as defined below. - encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - export
Policy List<VolumeRules Export Policy Rule> - One or more
export_policy_rule
block defined below. - kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- mount
Ip List<String>Addresses - A list of IPv4 Addresses which should be used to mount the volume.
- name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- network
Features String - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - pool
Name Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - resource
Group Name Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - service
Level Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- smb
Access BooleanBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- smb
Non BooleanBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - snapshot
Directory BooleanVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- storage
Quota IntegerIn Gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - Map<String,String>
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- throughput
In DoubleMibps - Throughput of this volume in Mibps.
- volume
Path Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- account
Name Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - data
Protection VolumeBackup Policy Data Protection Backup Policy - A
data_protection_backup_policy
block as defined below. - data
Protection Replication Changes to this property will trigger replacement.
Data Protection Replication - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - data
Protection VolumeSnapshot Policy Data Protection Snapshot Policy - A
data_protection_snapshot_policy
block as defined below. - encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - export
Policy VolumeRules Export Policy Rule[] - One or more
export_policy_rule
block defined below. - kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- mount
Ip string[]Addresses - A list of IPv4 Addresses which should be used to mount the volume.
- name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- network
Features string - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - pool
Name Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - resource
Group Name Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - service
Level Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- smb
Access booleanBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- smb
Non booleanBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - snapshot
Directory booleanVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- storage
Quota numberIn Gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - {[key: string]: string}
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- throughput
In numberMibps - Throughput of this volume in Mibps.
- volume
Path Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- account_
name Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- azure_
vmware_ data_ store_ enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - create_
from_ snapshot_ resource_ id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - data_
protection_ Volumebackup_ policy Data Protection Backup Policy Args - A
data_protection_backup_policy
block as defined below. - data_
protection_ replication Changes to this property will trigger replacement.
Data Protection Replication Args - A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - data_
protection_ Volumesnapshot_ policy Data Protection Snapshot Policy Args - A
data_protection_snapshot_policy
block as defined below. - encryption_
key_ source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - export_
policy_ Sequence[Volumerules Export Policy Rule Args] - One or more
export_policy_rule
block defined below. - kerberos_
enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - key_
vault_ private_ endpoint_ id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- mount_
ip_ Sequence[str]addresses - A list of IPv4 Addresses which should be used to mount the volume.
- name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- network_
features str - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - pool_
name Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - resource_
group_ name Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- security_
style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - service_
level Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - smb3_
protocol_ encryption_ enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- smb_
access_ boolbased_ enumeration_ enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - smb_
continuous_ availability_ enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- smb_
non_ boolbrowsable_ enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - snapshot_
directory_ boolvisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- storage_
quota_ intin_ gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet_
id Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - Mapping[str, str]
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- throughput_
in_ floatmibps - Throughput of this volume in Mibps.
- volume_
path Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
- account
Name Changes to this property will trigger replacement.
- The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
- azure
Vmware Data Store Enabled Changes to this property will trigger replacement.
- Is the NetApp Volume enabled for Azure VMware Solution (AVS) datastore purpose. Defaults to
false
. Changing this forces a new resource to be created. - create
From Snapshot Resource Id Changes to this property will trigger replacement.
- Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from:
protocols
,subnet_id
,location
,service_level
,resource_group_name
,account_name
andpool_name
. Changing this forces a new resource to be created. - data
Protection Property MapBackup Policy - A
data_protection_backup_policy
block as defined below. - data
Protection Replication Changes to this property will trigger replacement.
- A
data_protection_replication
block as defined below. Changing this forces a new resource to be created. - data
Protection Property MapSnapshot Policy - A
data_protection_snapshot_policy
block as defined below. - encryption
Key Source Changes to this property will trigger replacement.
- The encryption key source, it can be
Microsoft.NetApp
for platform managed keys orMicrosoft.KeyVault
for customer-managed keys. This is required withkey_vault_private_endpoint_id
. Changing this forces a new resource to be created. - export
Policy List<Property Map>Rules - One or more
export_policy_rule
block defined below. - kerberos
Enabled Changes to this property will trigger replacement.
- Enable to allow Kerberos secured volumes. Requires appropriate export rules as well as the parent
azure.netapp.Account
having a defined AD connection. - key
Vault Private Endpoint Id Changes to this property will trigger replacement.
- The Private Endpoint ID for Key Vault, which is required when using customer-managed keys. This is required with
encryption_key_source
. Changing this forces a new resource to be created. - location
Changes to this property will trigger replacement.
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- mount
Ip List<String>Addresses - A list of IPv4 Addresses which should be used to mount the volume.
- name
Changes to this property will trigger replacement.
- The name of the NetApp Volume. Changing this forces a new resource to be created.
- network
Features String - Indicates which network feature to use, accepted values are
Basic
orStandard
, it defaults toBasic
if not defined. This is a feature in public preview and for more information about it and how to register, please refer to Configure network features for an Azure NetApp Files volume. - pool
Name Changes to this property will trigger replacement.
- The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created.
- protocols
Changes to this property will trigger replacement.
- The target volume protocol expressed as a list. Supported single value include
CIFS
,NFSv3
, orNFSv4.1
. If argument is not defined it will default toNFSv3
. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to Create a dual-protocol volume for Azure NetApp Files document. - resource
Group Name Changes to this property will trigger replacement.
- The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created.
- security
Style Changes to this property will trigger replacement.
- Volume security style, accepted values are
unix
orntfs
. If not provided, single-protocol volume is created defaulting tounix
if it isNFSv3
orNFSv4.1
volume, ifCIFS
, it will default tontfs
. In a dual-protocol volume, if not provided, its value will bentfs
. Changing this forces a new resource to be created. - service
Level Changes to this property will trigger replacement.
- The target performance of the file system. Valid values include
Premium
,Standard
, orUltra
. Changing this forces a new resource to be created. - smb3Protocol
Encryption Enabled Changes to this property will trigger replacement.
- Enable SMB encryption.
- smb
Access BooleanBased Enumeration Enabled - Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share. For instance, if a user doesn't have access to read a file or folder in a share with access-based enumeration enabled, then the file or folder doesn't show up in directory listings. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - smb
Continuous Availability Enabled Changes to this property will trigger replacement.
- Enable SMB Continuous Availability.
- smb
Non BooleanBrowsable Enabled - Limits clients from browsing for an SMB share by hiding the share from view in Windows Explorer or when listing shares in "net view." Only end users that know the absolute paths to the share are able to find the share. Defaults to
false
. For more information, please refer to Understand NAS share permissions in Azure NetApp Files - snapshot
Directory BooleanVisible - Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true.
- storage
Quota NumberIn Gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id Changes to this property will trigger replacement.
- The ID of the Subnet the NetApp Volume resides in, which must have the
Microsoft.NetApp/volumes
delegation. Changing this forces a new resource to be created. - Map<String>
A mapping of tags to assign to the resource.
Note: It is highly recommended to use the lifecycle property as noted in the example since it will prevent an accidental deletion of the volume if the
protocols
argument changes to a different protocol type.- throughput
In NumberMibps - Throughput of this volume in Mibps.
- volume
Path Changes to this property will trigger replacement.
- A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created.
- zone
Changes to this property will trigger replacement.
- Specifies the Availability Zone in which the Volume should be located. Possible values are
1
,2
and3
. Changing this forces a new resource to be created. This feature is currently in preview, for more information on how to enable it, please refer to Manage availability zone volume placement for Azure NetApp Files.
Supporting Types
VolumeDataProtectionBackupPolicy, VolumeDataProtectionBackupPolicyArgs
- Backup
Policy Id This property is required. string - Resource ID of the backup policy to apply to the volume.
- Backup
Vault Id This property is required. string - Resource ID of the backup backup vault to associate this volume to.
- Policy
Enabled bool Enables the backup policy on the volume, defaults to
true
.For more information on Azure NetApp Files Backup feature please see Understand Azure NetApp Files backup
- Backup
Policy Id This property is required. string - Resource ID of the backup policy to apply to the volume.
- Backup
Vault Id This property is required. string - Resource ID of the backup backup vault to associate this volume to.
- Policy
Enabled bool Enables the backup policy on the volume, defaults to
true
.For more information on Azure NetApp Files Backup feature please see Understand Azure NetApp Files backup
- backup
Policy Id This property is required. String - Resource ID of the backup policy to apply to the volume.
- backup
Vault Id This property is required. String - Resource ID of the backup backup vault to associate this volume to.
- policy
Enabled Boolean Enables the backup policy on the volume, defaults to
true
.For more information on Azure NetApp Files Backup feature please see Understand Azure NetApp Files backup
- backup
Policy Id This property is required. string - Resource ID of the backup policy to apply to the volume.
- backup
Vault Id This property is required. string - Resource ID of the backup backup vault to associate this volume to.
- policy
Enabled boolean Enables the backup policy on the volume, defaults to
true
.For more information on Azure NetApp Files Backup feature please see Understand Azure NetApp Files backup
- backup_
policy_ id This property is required. str - Resource ID of the backup policy to apply to the volume.
- backup_
vault_ id This property is required. str - Resource ID of the backup backup vault to associate this volume to.
- policy_
enabled bool Enables the backup policy on the volume, defaults to
true
.For more information on Azure NetApp Files Backup feature please see Understand Azure NetApp Files backup
- backup
Policy Id This property is required. String - Resource ID of the backup policy to apply to the volume.
- backup
Vault Id This property is required. String - Resource ID of the backup backup vault to associate this volume to.
- policy
Enabled Boolean Enables the backup policy on the volume, defaults to
true
.For more information on Azure NetApp Files Backup feature please see Understand Azure NetApp Files backup
VolumeDataProtectionReplication, VolumeDataProtectionReplicationArgs
- Remote
Volume Location This property is required. Changes to this property will trigger replacement.
- Location of the primary volume. Changing this forces a new resource to be created.
- Remote
Volume Resource Id This property is required. string - Resource ID of the primary volume.
- Replication
Frequency This property is required. string Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
A full example of the
data_protection_replication
attribute can be found in the./examples/netapp/volume_crr
directory within the GitHub RepositoryNOTE:
data_protection_replication
can be defined only once per secondary volume, adding a second instance of it is not supported.- Endpoint
Type string - The endpoint type, default value is
dst
for destination.
- Remote
Volume Location This property is required. Changes to this property will trigger replacement.
- Location of the primary volume. Changing this forces a new resource to be created.
- Remote
Volume Resource Id This property is required. string - Resource ID of the primary volume.
- Replication
Frequency This property is required. string Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
A full example of the
data_protection_replication
attribute can be found in the./examples/netapp/volume_crr
directory within the GitHub RepositoryNOTE:
data_protection_replication
can be defined only once per secondary volume, adding a second instance of it is not supported.- Endpoint
Type string - The endpoint type, default value is
dst
for destination.
- remote
Volume Location This property is required. Changes to this property will trigger replacement.
- Location of the primary volume. Changing this forces a new resource to be created.
- remote
Volume Resource Id This property is required. String - Resource ID of the primary volume.
- replication
Frequency This property is required. String Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
A full example of the
data_protection_replication
attribute can be found in the./examples/netapp/volume_crr
directory within the GitHub RepositoryNOTE:
data_protection_replication
can be defined only once per secondary volume, adding a second instance of it is not supported.- endpoint
Type String - The endpoint type, default value is
dst
for destination.
- remote
Volume Location This property is required. Changes to this property will trigger replacement.
- Location of the primary volume. Changing this forces a new resource to be created.
- remote
Volume Resource Id This property is required. string - Resource ID of the primary volume.
- replication
Frequency This property is required. string Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
A full example of the
data_protection_replication
attribute can be found in the./examples/netapp/volume_crr
directory within the GitHub RepositoryNOTE:
data_protection_replication
can be defined only once per secondary volume, adding a second instance of it is not supported.- endpoint
Type string - The endpoint type, default value is
dst
for destination.
- remote_
volume_ location This property is required. Changes to this property will trigger replacement.
- Location of the primary volume. Changing this forces a new resource to be created.
- remote_
volume_ resource_ id This property is required. str - Resource ID of the primary volume.
- replication_
frequency This property is required. str Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
A full example of the
data_protection_replication
attribute can be found in the./examples/netapp/volume_crr
directory within the GitHub RepositoryNOTE:
data_protection_replication
can be defined only once per secondary volume, adding a second instance of it is not supported.- endpoint_
type str - The endpoint type, default value is
dst
for destination.
- remote
Volume Location This property is required. Changes to this property will trigger replacement.
- Location of the primary volume. Changing this forces a new resource to be created.
- remote
Volume Resource Id This property is required. String - Resource ID of the primary volume.
- replication
Frequency This property is required. String Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
A full example of the
data_protection_replication
attribute can be found in the./examples/netapp/volume_crr
directory within the GitHub RepositoryNOTE:
data_protection_replication
can be defined only once per secondary volume, adding a second instance of it is not supported.- endpoint
Type String - The endpoint type, default value is
dst
for destination.
VolumeDataProtectionSnapshotPolicy, VolumeDataProtectionSnapshotPolicyArgs
- Snapshot
Policy Id This property is required. string Resource ID of the snapshot policy to apply to the volume.
A full example of the
data_protection_snapshot_policy
attribute usage can be found in the./examples/netapp/nfsv3_volume_with_snapshot_policy
directory within the GitHub RepositoryNOTE:
data_protection_snapshot_policy
block can be used alone or with data_protection_replication in the primary volume only, if enabling it in the secondary, an error will be thrown.
- Snapshot
Policy Id This property is required. string Resource ID of the snapshot policy to apply to the volume.
A full example of the
data_protection_snapshot_policy
attribute usage can be found in the./examples/netapp/nfsv3_volume_with_snapshot_policy
directory within the GitHub RepositoryNOTE:
data_protection_snapshot_policy
block can be used alone or with data_protection_replication in the primary volume only, if enabling it in the secondary, an error will be thrown.
- snapshot
Policy Id This property is required. String Resource ID of the snapshot policy to apply to the volume.
A full example of the
data_protection_snapshot_policy
attribute usage can be found in the./examples/netapp/nfsv3_volume_with_snapshot_policy
directory within the GitHub RepositoryNOTE:
data_protection_snapshot_policy
block can be used alone or with data_protection_replication in the primary volume only, if enabling it in the secondary, an error will be thrown.
- snapshot
Policy Id This property is required. string Resource ID of the snapshot policy to apply to the volume.
A full example of the
data_protection_snapshot_policy
attribute usage can be found in the./examples/netapp/nfsv3_volume_with_snapshot_policy
directory within the GitHub RepositoryNOTE:
data_protection_snapshot_policy
block can be used alone or with data_protection_replication in the primary volume only, if enabling it in the secondary, an error will be thrown.
- snapshot_
policy_ id This property is required. str Resource ID of the snapshot policy to apply to the volume.
A full example of the
data_protection_snapshot_policy
attribute usage can be found in the./examples/netapp/nfsv3_volume_with_snapshot_policy
directory within the GitHub RepositoryNOTE:
data_protection_snapshot_policy
block can be used alone or with data_protection_replication in the primary volume only, if enabling it in the secondary, an error will be thrown.
- snapshot
Policy Id This property is required. String Resource ID of the snapshot policy to apply to the volume.
A full example of the
data_protection_snapshot_policy
attribute usage can be found in the./examples/netapp/nfsv3_volume_with_snapshot_policy
directory within the GitHub RepositoryNOTE:
data_protection_snapshot_policy
block can be used alone or with data_protection_replication in the primary volume only, if enabling it in the secondary, an error will be thrown.
VolumeExportPolicyRule, VolumeExportPolicyRuleArgs
- Allowed
Clients This property is required. List<string> - A list of allowed clients IPv4 addresses.
- Rule
Index This property is required. int - The index number of the rule.
- Kerberos5Read
Only boolEnabled - Is Kerberos 5 read-only access permitted to this volume?
- Kerberos5Read
Write boolEnabled - Is Kerberos 5 read/write permitted to this volume?
- Kerberos5i
Read boolOnly Enabled - Is Kerberos 5i read-only permitted to this volume?
- Kerberos5i
Read boolWrite Enabled - Is Kerberos 5i read/write permitted to this volume?
- Kerberos5p
Read boolOnly Enabled - Is Kerberos 5p read-only permitted to this volume?
- Kerberos5p
Read boolWrite Enabled - Is Kerberos 5p read/write permitted to this volume?
- Protocols
Enabled string - A list of allowed protocols. Valid values include
CIFS
,NFSv3
, orNFSv4.1
. Only one value is supported at this time. This replaces the previous arguments:cifs_enabled
,nfsv3_enabled
andnfsv4_enabled
. - Root
Access boolEnabled - Is root access permitted to this volume?
- Unix
Read boolOnly - Is the file system on unix read only?
- Unix
Read boolWrite - Is the file system on unix read and write?
- Allowed
Clients This property is required. []string - A list of allowed clients IPv4 addresses.
- Rule
Index This property is required. int - The index number of the rule.
- Kerberos5Read
Only boolEnabled - Is Kerberos 5 read-only access permitted to this volume?
- Kerberos5Read
Write boolEnabled - Is Kerberos 5 read/write permitted to this volume?
- Kerberos5i
Read boolOnly Enabled - Is Kerberos 5i read-only permitted to this volume?
- Kerberos5i
Read boolWrite Enabled - Is Kerberos 5i read/write permitted to this volume?
- Kerberos5p
Read boolOnly Enabled - Is Kerberos 5p read-only permitted to this volume?
- Kerberos5p
Read boolWrite Enabled - Is Kerberos 5p read/write permitted to this volume?
- Protocols
Enabled string - A list of allowed protocols. Valid values include
CIFS
,NFSv3
, orNFSv4.1
. Only one value is supported at this time. This replaces the previous arguments:cifs_enabled
,nfsv3_enabled
andnfsv4_enabled
. - Root
Access boolEnabled - Is root access permitted to this volume?
- Unix
Read boolOnly - Is the file system on unix read only?
- Unix
Read boolWrite - Is the file system on unix read and write?
- allowed
Clients This property is required. List<String> - A list of allowed clients IPv4 addresses.
- rule
Index This property is required. Integer - The index number of the rule.
- kerberos5Read
Only BooleanEnabled - Is Kerberos 5 read-only access permitted to this volume?
- kerberos5Read
Write BooleanEnabled - Is Kerberos 5 read/write permitted to this volume?
- kerberos5i
Read BooleanOnly Enabled - Is Kerberos 5i read-only permitted to this volume?
- kerberos5i
Read BooleanWrite Enabled - Is Kerberos 5i read/write permitted to this volume?
- kerberos5p
Read BooleanOnly Enabled - Is Kerberos 5p read-only permitted to this volume?
- kerberos5p
Read BooleanWrite Enabled - Is Kerberos 5p read/write permitted to this volume?
- protocols
Enabled String - A list of allowed protocols. Valid values include
CIFS
,NFSv3
, orNFSv4.1
. Only one value is supported at this time. This replaces the previous arguments:cifs_enabled
,nfsv3_enabled
andnfsv4_enabled
. - root
Access BooleanEnabled - Is root access permitted to this volume?
- unix
Read BooleanOnly - Is the file system on unix read only?
- unix
Read BooleanWrite - Is the file system on unix read and write?
- allowed
Clients This property is required. string[] - A list of allowed clients IPv4 addresses.
- rule
Index This property is required. number - The index number of the rule.
- kerberos5Read
Only booleanEnabled - Is Kerberos 5 read-only access permitted to this volume?
- kerberos5Read
Write booleanEnabled - Is Kerberos 5 read/write permitted to this volume?
- kerberos5i
Read booleanOnly Enabled - Is Kerberos 5i read-only permitted to this volume?
- kerberos5i
Read booleanWrite Enabled - Is Kerberos 5i read/write permitted to this volume?
- kerberos5p
Read booleanOnly Enabled - Is Kerberos 5p read-only permitted to this volume?
- kerberos5p
Read booleanWrite Enabled - Is Kerberos 5p read/write permitted to this volume?
- protocols
Enabled string - A list of allowed protocols. Valid values include
CIFS
,NFSv3
, orNFSv4.1
. Only one value is supported at this time. This replaces the previous arguments:cifs_enabled
,nfsv3_enabled
andnfsv4_enabled
. - root
Access booleanEnabled - Is root access permitted to this volume?
- unix
Read booleanOnly - Is the file system on unix read only?
- unix
Read booleanWrite - Is the file system on unix read and write?
- allowed_
clients This property is required. Sequence[str] - A list of allowed clients IPv4 addresses.
- rule_
index This property is required. int - The index number of the rule.
- kerberos5_
read_ boolonly_ enabled - Is Kerberos 5 read-only access permitted to this volume?
- kerberos5_
read_ boolwrite_ enabled - Is Kerberos 5 read/write permitted to this volume?
- kerberos5i_
read_ boolonly_ enabled - Is Kerberos 5i read-only permitted to this volume?
- kerberos5i_
read_ boolwrite_ enabled - Is Kerberos 5i read/write permitted to this volume?
- kerberos5p_
read_ boolonly_ enabled - Is Kerberos 5p read-only permitted to this volume?
- kerberos5p_
read_ boolwrite_ enabled - Is Kerberos 5p read/write permitted to this volume?
- protocols_
enabled str - A list of allowed protocols. Valid values include
CIFS
,NFSv3
, orNFSv4.1
. Only one value is supported at this time. This replaces the previous arguments:cifs_enabled
,nfsv3_enabled
andnfsv4_enabled
. - root_
access_ boolenabled - Is root access permitted to this volume?
- unix_
read_ boolonly - Is the file system on unix read only?
- unix_
read_ boolwrite - Is the file system on unix read and write?
- allowed
Clients This property is required. List<String> - A list of allowed clients IPv4 addresses.
- rule
Index This property is required. Number - The index number of the rule.
- kerberos5Read
Only BooleanEnabled - Is Kerberos 5 read-only access permitted to this volume?
- kerberos5Read
Write BooleanEnabled - Is Kerberos 5 read/write permitted to this volume?
- kerberos5i
Read BooleanOnly Enabled - Is Kerberos 5i read-only permitted to this volume?
- kerberos5i
Read BooleanWrite Enabled - Is Kerberos 5i read/write permitted to this volume?
- kerberos5p
Read BooleanOnly Enabled - Is Kerberos 5p read-only permitted to this volume?
- kerberos5p
Read BooleanWrite Enabled - Is Kerberos 5p read/write permitted to this volume?
- protocols
Enabled String - A list of allowed protocols. Valid values include
CIFS
,NFSv3
, orNFSv4.1
. Only one value is supported at this time. This replaces the previous arguments:cifs_enabled
,nfsv3_enabled
andnfsv4_enabled
. - root
Access BooleanEnabled - Is root access permitted to this volume?
- unix
Read BooleanOnly - Is the file system on unix read only?
- unix
Read BooleanWrite - Is the file system on unix read and write?
Import
NetApp Volumes can be imported using the resource id
, e.g.
$ pulumi import azure:netapp/volume:Volume example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.