New-AzNetAppFilesVolume
Hiermee maakt u een nieuw ANF-volume (Azure NetApp Files).
Syntax
New-AzNetAppFilesVolume
-ResourceGroupName <String>
-Location <String>
-AccountName <String>
-PoolName <String>
-Name <String>
-UsageThreshold <Int64>
-SubnetId <String>
-CreationToken <String>
[-VolumeType <String>]
-ServiceLevel <String>
[-SnapshotId <String>]
[-ExportPolicy <PSNetAppFilesVolumeExportPolicy>]
[-ReplicationObject <PSNetAppFilesReplicationObject>]
[-Snapshot <PSNetAppFilesVolumeSnapshot>]
[-SnapshotPolicyId <String>]
[-Backup <PSNetAppFilesVolumeBackupProperties>]
[-ProtocolType <String[]>]
[-SnapshotDirectoryVisible]
[-BackupId <String>]
[-SecurityStyle <String>]
[-ThroughputMibps <Double>]
[-KerberosEnabled]
[-SmbEncryption]
[-SmbContinuouslyAvailable]
[-LdapEnabled]
[-CoolAccess]
[-CoolnessPeriod <Int32>]
[-CoolAccessRetrievalPolicy <String>]
[-UnixPermission <String>]
[-AvsDataStore <String>]
[-IsDefaultQuotaEnabled]
[-DefaultUserQuotaInKiB <Int64>]
[-DefaultGroupQuotaInKiB <Int64>]
[-NetworkFeature <String>]
[-CapacityPoolResourceId <String>]
[-ProximityPlacementGroup <String>]
[-VolumeSpecName <String>]
[-PlacementRule <System.Collections.Generic.IList`1[Microsoft.Azure.Commands.NetAppFiles.Models.PSKeyValuePairs]>]
[-EnableSubvolume]
[-Zone <String[]>]
[-EncryptionKeySource <String>]
[-KeyVaultPrivateEndpointResourceId <String>]
[-DeleteBaseSnapshot]
[-SmbAccessBasedEnumeration <String>]
[-SmbNonBrowsable <String>]
[-IsLargeVolume]
[-Tag <Hashtable>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzNetAppFilesVolume
-Name <String>
-UsageThreshold <Int64>
-SubnetId <String>
-CreationToken <String>
-ServiceLevel <String>
[-ExportPolicy <PSNetAppFilesVolumeExportPolicy>]
[-ReplicationObject <PSNetAppFilesReplicationObject>]
[-Snapshot <PSNetAppFilesVolumeSnapshot>]
[-SnapshotPolicyId <String>]
[-Backup <PSNetAppFilesVolumeBackupProperties>]
[-ProtocolType <String[]>]
[-SnapshotDirectoryVisible]
[-SecurityStyle <String>]
[-ThroughputMibps <Double>]
[-KerberosEnabled]
[-SmbEncryption]
[-SmbContinuouslyAvailable]
[-LdapEnabled]
[-CoolAccess]
[-CoolnessPeriod <Int32>]
[-CoolAccessRetrievalPolicy <String>]
[-UnixPermission <String>]
[-AvsDataStore <String>]
[-IsDefaultQuotaEnabled]
[-DefaultUserQuotaInKiB <Int64>]
[-DefaultGroupQuotaInKiB <Int64>]
[-NetworkFeature <String>]
[-CapacityPoolResourceId <String>]
[-ProximityPlacementGroup <String>]
[-VolumeSpecName <String>]
[-PlacementRule <System.Collections.Generic.IList`1[Microsoft.Azure.Commands.NetAppFiles.Models.PSKeyValuePairs]>]
[-EnableSubvolume]
[-Zone <String[]>]
[-EncryptionKeySource <String>]
[-KeyVaultPrivateEndpointResourceId <String>]
[-DeleteBaseSnapshot]
[-SmbAccessBasedEnumeration <String>]
[-SmbNonBrowsable <String>]
[-IsLargeVolume]
[-Tag <Hashtable>]
-PoolObject <PSNetAppFilesPool>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Met de cmdlet New-AzNetAppFilesVolume wordt een ANF-volume gemaakt.
Voorbeelden
Voorbeeld 1: Een ANF-volume maken
New-AzNetAppFilesVolume -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -Name "MyAnfVolume" -Location "westus2" -CreationToken "MyAnfVolume" -UsageThreshold 1099511627776 -ServiceLevel "Premium" -SubnetId "/subscriptions/subsId/resourceGroups/MyRG/providers/Microsoft.Network/virtualNetworks/MyVnetName/subnets/MySubNetName"
Location : westus2
Id : /subscriptions/subsId/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount/capacityPools/MyAnfPool/volumes/MyAnfVolume
Name : MyAnfAccount/MyAnfPool/MyAnfVolume
Type : Microsoft.NetApp/netAppAccounts/capacityPools/volumes
Tags :
FileSystemId : 3e2773a7-2a72-d003-0637-1a8b1fa3eaaf
CreationToken : MyAnfVolume
ServiceLevel : Premium
UsageThreshold : 1099511627776
ProvisioningState : Succeeded
SubnetId : /subscriptions/f557b96d-2308-4a18-aae1-b8f7e7e70cc7/resourceGroups/MyRG/providers/Microsoft.Network/virtualNetworks/MyVnetName/subnets/default
Met deze opdracht maakt u het nieuwe ANF-volume 'MyAnfVolume' in de pool 'MyAnfPool'.
Parameters
-AccountName
De naam van het ANF-account
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AvsDataStore
Hiermee geeft u op of het volume is ingeschakeld voor avS-gegevensopslag (Azure VMware Solution) (ingeschakeld, uitgeschakeld)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Backup
Een hashtabelmatrix die het back-upobject vertegenwoordigt
Type: | PSNetAppFilesVolumeBackupProperties |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BackupId
Back-up-id. UUID v4 of resource-id die wordt gebruikt om de back-up te identificeren
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CapacityPoolResourceId
Resource-id van pool die wordt gebruikt bij het maken van een volume via een volumegroep.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CoolAccess
Hiermee geeft u op of Cool Access(tiering) is ingeschakeld voor het volume (standaard false).
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CoolAccessRetrievalPolicy
CoolAccessRetrievalPolicy bepaalt het gedrag voor het ophalen van gegevens van de statische laag naar standard-opslag op basis van het leespatroon voor volumes met statische toegang. De mogelijke waarden voor dit veld zijn: Standaard - Gegevens worden opgehaald van de statische laag naar de standaardopslag bij willekeurige leesbewerkingen. Dit beleid is de standaardinstelling. OnRead: alle clientgestuurde gegevens die worden gelezen, worden opgehaald uit de statische laag naar standaardopslag op zowel sequentiële als willekeurige leesbewerkingen. Nooit: er worden geen clientgestuurde gegevens opgehaald uit de statische laag naar standard-opslag.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CoolnessPeriod
Hiermee geeft u het aantal dagen op waarna gegevens die niet worden geopend door clients worden gelaagd (minimaal 7, maximum 63).
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CreationToken
Een uniek bestandspad voor het volume
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultGroupQuotaInKiB
Standaardgroepquotum voor volume in KiBs. Als isDefaultQuotaEnabled is ingesteld, is de minimumwaarde van 4 KiBs van toepassing.
Type: | Nullable<T>[Int64] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultUserQuotaInKiB
Standaardgebruikersquotum voor volume in KiBs. Als isDefaultQuotaEnabled is ingesteld, is de minimumwaarde van 4 KiBs van toepassing.
Type: | Nullable<T>[Int64] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeleteBaseSnapshot
Indien ingeschakeld (true) wordt de momentopname van het volume dat is gemaakt automatisch verwijderd nadat de bewerking voor het maken van het volume is voltooid. Standaard ingesteld op onwaar
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableSubvolume
Vlag die aangeeft of subvolumebewerkingen zijn ingeschakeld op het volume (ingeschakeld, uitgeschakeld)
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EncryptionKeySource
Bron van sleutel die wordt gebruikt voor het versleutelen van gegevens in volume. Van toepassing als het NetApp-account encryption.keySource = 'Microsoft.KeyVault' heeft. Mogelijke waarden zijn: 'Microsoft.NetApp, Microsoft.KeyVault'
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExportPolicy
Een hashtabelmatrix die het exportbeleid vertegenwoordigt
Type: | PSNetAppFilesVolumeExportPolicy |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IsDefaultQuotaEnabled
Hiermee geeft u op of het standaardquotum is ingeschakeld voor het volume
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IsLargeVolume
Hiermee geeft u op of volume een groot volume of normaal volume is. Standaard ingesteld op onwaar
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-KerberosEnabled
Beschrijven of een volume Kerberos is ingeschakeld
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-KeyVaultPrivateEndpointResourceId
De resource-id van het privé-eindpunt voor KeyVault. Het moet zich in hetzelfde VNET bevinden als het volume. Alleen van toepassing als encryptionKeySource = 'Microsoft.KeyVault'
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LdapEnabled
Hiermee geeft u op of LDAP is ingeschakeld of niet voor een bepaald NFS-volume.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
De locatie van de resource
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
De naam van het ANF-volume
Type: | String |
Aliases: | VolumeName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NetworkFeature
Basic-netwerkfuncties of Standard-functies die beschikbaar zijn voor het volume (Basic, Standard).
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PlacementRule
Toepassingsspecifieke plaatsingsregels voor het specifieke volume.
Type: | IList<T>[PSKeyValuePairs] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PoolName
De naam van de ANF-pool
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PoolObject
De pool voor het nieuwe volumeobject
Type: | PSNetAppFilesPool |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProtocolType
Een hashtabelmatrix die het exportbeleid vertegenwoordigt
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProximityPlacementGroup
Nabijheidsplaatsingsgroep die aan het volume is gekoppeld.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReplicationObject
Een hashtabelmatrix die het replicatieobject vertegenwoordigt
Type: | PSNetAppFilesReplicationObject |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
De resourcegroep van het ANF-account
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SecurityStyle
De beveiligingsstijl van het volume. Mogelijke waarden zijn: 'ntfs', 'unix'
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServiceLevel
Het serviceniveau van het ANF-volume
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SmbAccessBasedEnumeration
Hiermee schakelt u de eigenschap op basis van opsommingsshare voor SMB-shares in. Alleen van toepassing op SMB/DualProtocol-volume
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SmbContinuouslyAvailable
Maakt continu beschikbare share-eigenschap voor SMB-volume mogelijk. Alleen van toepassing op SMB-volume.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SmbEncryption
Hiermee schakelt u versleuteling in voor in-flight smb3-gegevens. Alleen van toepassing op SMB/DualProtocol-volume.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SmbNonBrowsable
Hiermee schakelt u niet-wenkbrauwbare eigenschap in voor SMB-shares. Alleen van toepassing op SMB/DualProtocol-volume
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Snapshot
Een hashtabelmatrix die het momentopnameobject vertegenwoordigt
Type: | PSNetAppFilesVolumeSnapshot |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SnapshotDirectoryVisible
Als dit is ingeschakeld (waar), bevat het volume een map met alleen-lezen.momentopnamen die toegang biedt tot alle momentopnamen van het volume (standaard waar)
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SnapshotId
Volume maken op basis van een momentopname. UUID v4 of resource-id die wordt gebruikt om de momentopname te identificeren
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SnapshotPolicyId
ResourceId voor momentopnamebeleid die wordt gebruikt om een momentopnamebeleid toe te passen op het volume
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubnetId
De Azure-resource-URI voor een gedelegeerd subnet
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Tag
Een hashtabel die resourcetags vertegenwoordigt
Type: | Hashtable |
Aliases: | Tags |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ThroughputMibps
Maximale doorvoer in Mibps die kan worden bereikt door dit volume
Type: | Nullable<T>[Double] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UnixPermission
UNIX-machtigingen voor NFS-volume geaccepteerd in octale 4-cijferige indeling. Het eerste cijfer selecteert de gebruikers-id(4), de groeps-id (2) en plakkenmerken (1). Met het tweede cijfer selecteert u de machtiging voor de eigenaar van het bestand: lezen (4), schrijven (2) en uitvoeren (1). Ten derde selecteert u machtigingen voor andere gebruikers in dezelfde groep. de vierde voor andere gebruikers die zich niet in de groep bevinden. 0755 - geeft lees-/schrijf-/uitvoermachtigingen voor eigenaar en lezen/uitvoeren aan groepen en andere gebruikers.
Type: | String |
Aliases: | UnixPermissions |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UsageThreshold
Het maximale opslagquotum dat is toegestaan voor een bestandssysteem in bytes
Type: | Int64 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumeSpecName
Naam van volumespecificatie is de toepassingsspecifieke aanduiding of id voor het specifieke volume in een volumegroep voor bijvoorbeeld gegevens, logboek.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumeType
Het type ANF-volume
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Zone
Een lijst met Beschikbaarheidszones
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Invoerwaarden
Uitvoerwaarden
Verwante koppelingen
- Get-AzNetAppFilesVolume
- Update-AzNetAppFilesVolume
- Remove-AzNetAppFilesVolume
- Restore-AzNetAppFilesVolume
- Set-AzNetAppFilesVolumePool
- Get-AzNetAppFilesVolumeBackupStatus
- Get-AzNetAppFilesVolumeRestoreStatus
- New-AzNetAppFilesVolumeRestoreStatus
- Approve-AzNetAppFilesReplication
- Inititialize-AzNetAppFilesReplication
- Resume-AzNetAppFilesReplication
- Remove-AzNetAppFilesReplication
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor