diff --git a/sdk/netapp/arm-netapp/CHANGELOG.md b/sdk/netapp/arm-netapp/CHANGELOG.md index 55569f888bf2..6c51cb032280 100644 --- a/sdk/netapp/arm-netapp/CHANGELOG.md +++ b/sdk/netapp/arm-netapp/CHANGELOG.md @@ -1,5 +1,579 @@ # Release History +## 23.0.0-beta.1 (2025-12-09) +Compared with version 22.0.0 + +### Features Added + - Added operation group ActiveDirectoryConfigsOperations + - Added operation group BucketsOperations + - Added operation group CachesOperations + - Added operation group ElasticAccountsOperations + - Added operation group ElasticBackupPoliciesOperations + - Added operation group ElasticBackupsOperations + - Added operation group ElasticBackupVaultsOperations + - Added operation group ElasticCapacityPoolsOperations + - Added operation group ElasticSnapshotPoliciesOperations + - Added operation group ElasticSnapshotsOperations + - Added operation group ElasticVolumesOperations + - Added operation group RansomwareReportsOperations + - Added operation VolumesOperations.listQuotaReport + - Class NetAppManagementClient has a new constructor "constructor(credential: TokenCredential, options?: NetAppManagementClientOptionalParams);" + - Added Interface ActiveDirectoryConfig + - Added Interface ActiveDirectoryConfigProperties + - Added Interface ActiveDirectoryConfigsCreateOrUpdateOptionalParams + - Added Interface ActiveDirectoryConfigsDeleteOptionalParams + - Added Interface ActiveDirectoryConfigsGetOptionalParams + - Added Interface ActiveDirectoryConfigsListByResourceGroupOptionalParams + - Added Interface ActiveDirectoryConfigsListBySubscriptionOptionalParams + - Added Interface ActiveDirectoryConfigsUpdateOptionalParams + - Added Interface ActiveDirectoryConfigUpdate + - Added Interface ActiveDirectoryConfigUpdateProperties + - Added Interface Bucket + - Added Interface BucketCredentialsExpiry + - Added Interface BucketGenerateCredentials + - Added Interface BucketPatch + - Added Interface BucketPatchProperties + - Added Interface BucketProperties + - Added Interface BucketsCreateOrUpdateOptionalParams + - Added Interface BucketsDeleteOptionalParams + - Added Interface BucketServerPatchProperties + - Added Interface BucketServerProperties + - Added Interface BucketsGenerateCredentialsOptionalParams + - Added Interface BucketsGetOptionalParams + - Added Interface BucketsListOptionalParams + - Added Interface BucketsUpdateOptionalParams + - Added Interface Cache + - Added Interface CacheMountTargetProperties + - Added Interface CacheProperties + - Added Interface CachePropertiesExportPolicy + - Added Interface CachesCreateOrUpdateOptionalParams + - Added Interface CachesDeleteOptionalParams + - Added Interface CachesGetOptionalParams + - Added Interface CachesListByCapacityPoolsOptionalParams + - Added Interface CachesListPeeringPassphrasesOptionalParams + - Added Interface CachesPoolChangeOptionalParams + - Added Interface CachesUpdateOptionalParams + - Added Interface CacheUpdate + - Added Interface CacheUpdateProperties + - Added Interface ChangeZoneRequest + - Added Interface CheckElasticResourceAvailabilityResponse + - Added Interface CheckElasticVolumeFilePathAvailabilityRequest + - Added Interface CifsUser + - Added Interface ElasticAccount + - Added Interface ElasticAccountProperties + - Added Interface ElasticAccountsCreateOrUpdateOptionalParams + - Added Interface ElasticAccountsDeleteOptionalParams + - Added Interface ElasticAccountsGetOptionalParams + - Added Interface ElasticAccountsListByResourceGroupOptionalParams + - Added Interface ElasticAccountsListBySubscriptionOptionalParams + - Added Interface ElasticAccountsUpdateOptionalParams + - Added Interface ElasticAccountUpdate + - Added Interface ElasticAccountUpdateProperties + - Added Interface ElasticBackup + - Added Interface ElasticBackupPoliciesCreateOrUpdateOptionalParams + - Added Interface ElasticBackupPoliciesDeleteOptionalParams + - Added Interface ElasticBackupPoliciesGetOptionalParams + - Added Interface ElasticBackupPoliciesListByElasticAccountOptionalParams + - Added Interface ElasticBackupPoliciesUpdateOptionalParams + - Added Interface ElasticBackupPolicy + - Added Interface ElasticBackupPolicyProperties + - Added Interface ElasticBackupPolicyUpdate + - Added Interface ElasticBackupPolicyUpdateProperties + - Added Interface ElasticBackupProperties + - Added Interface ElasticBackupsCreateOrUpdateOptionalParams + - Added Interface ElasticBackupsDeleteOptionalParams + - Added Interface ElasticBackupsGetOptionalParams + - Added Interface ElasticBackupsListByVaultOptionalParams + - Added Interface ElasticBackupsUpdateOptionalParams + - Added Interface ElasticBackupVault + - Added Interface ElasticBackupVaultProperties + - Added Interface ElasticBackupVaultsCreateOrUpdateOptionalParams + - Added Interface ElasticBackupVaultsDeleteOptionalParams + - Added Interface ElasticBackupVaultsGetOptionalParams + - Added Interface ElasticBackupVaultsListByElasticAccountOptionalParams + - Added Interface ElasticBackupVaultsUpdateOptionalParams + - Added Interface ElasticBackupVaultUpdate + - Added Interface ElasticCapacityPool + - Added Interface ElasticCapacityPoolProperties + - Added Interface ElasticCapacityPoolsChangeZoneOptionalParams + - Added Interface ElasticCapacityPoolsCheckVolumeFilePathAvailabilityOptionalParams + - Added Interface ElasticCapacityPoolsCreateOrUpdateOptionalParams + - Added Interface ElasticCapacityPoolsDeleteOptionalParams + - Added Interface ElasticCapacityPoolsGetOptionalParams + - Added Interface ElasticCapacityPoolsListByElasticAccountOptionalParams + - Added Interface ElasticCapacityPoolsUpdateOptionalParams + - Added Interface ElasticCapacityPoolUpdate + - Added Interface ElasticCapacityPoolUpdateProperties + - Added Interface ElasticEncryption + - Added Interface ElasticEncryptionConfiguration + - Added Interface ElasticEncryptionIdentity + - Added Interface ElasticExportPolicy + - Added Interface ElasticExportPolicyRule + - Added Interface ElasticKeyVaultProperties + - Added Interface ElasticMountTargetProperties + - Added Interface ElasticSmbPatchProperties + - Added Interface ElasticSmbProperties + - Added Interface ElasticSnapshot + - Added Interface ElasticSnapshotPoliciesCreateOrUpdateOptionalParams + - Added Interface ElasticSnapshotPoliciesDeleteOptionalParams + - Added Interface ElasticSnapshotPoliciesGetOptionalParams + - Added Interface ElasticSnapshotPoliciesListByElasticAccountOptionalParams + - Added Interface ElasticSnapshotPoliciesListElasticVolumesOptionalParams + - Added Interface ElasticSnapshotPoliciesUpdateOptionalParams + - Added Interface ElasticSnapshotPolicy + - Added Interface ElasticSnapshotPolicyDailySchedule + - Added Interface ElasticSnapshotPolicyHourlySchedule + - Added Interface ElasticSnapshotPolicyMonthlySchedule + - Added Interface ElasticSnapshotPolicyProperties + - Added Interface ElasticSnapshotPolicyUpdate + - Added Interface ElasticSnapshotPolicyUpdateProperties + - Added Interface ElasticSnapshotPolicyWeeklySchedule + - Added Interface ElasticSnapshotProperties + - Added Interface ElasticSnapshotsCreateOrUpdateOptionalParams + - Added Interface ElasticSnapshotsDeleteOptionalParams + - Added Interface ElasticSnapshotsGetOptionalParams + - Added Interface ElasticSnapshotsListByElasticVolumeOptionalParams + - Added Interface ElasticVolume + - Added Interface ElasticVolumeBackupProperties + - Added Interface ElasticVolumeDataProtectionPatchProperties + - Added Interface ElasticVolumeDataProtectionProperties + - Added Interface ElasticVolumeProperties + - Added Interface ElasticVolumeRevert + - Added Interface ElasticVolumesCreateOrUpdateOptionalParams + - Added Interface ElasticVolumesDeleteOptionalParams + - Added Interface ElasticVolumesGetOptionalParams + - Added Interface ElasticVolumesListByElasticPoolOptionalParams + - Added Interface ElasticVolumeSnapshotProperties + - Added Interface ElasticVolumesRevertOptionalParams + - Added Interface ElasticVolumesUpdateOptionalParams + - Added Interface ElasticVolumeUpdate + - Added Interface ElasticVolumeUpdateProperties + - Added Interface FileSystemUser + - Added Interface LdapConfiguration + - Added Interface ListQuotaReportResponse + - Added Interface NfsUser + - Added Interface OriginClusterInformation + - Added Interface PeeringPassphrases + - Added Interface QuotaReport + - Added Interface RansomwareProtectionPatchSettings + - Added Interface RansomwareProtectionSettings + - Added Interface RansomwareReport + - Added Interface RansomwareReportProperties + - Added Interface RansomwareReportsClearSuspectsOptionalParams + - Added Interface RansomwareReportsGetOptionalParams + - Added Interface RansomwareReportsListOptionalParams + - Added Interface RansomwareSuspects + - Added Interface RansomwareSuspectsClearRequest + - Added Interface SecretPassword + - Added Interface SecretPasswordIdentity + - Added Interface SecretPasswordKeyVaultProperties + - Added Interface SmbSettings + - Added Interface SuspectFile + - Added Interface VolumesListQuotaReportOptionalParams + - Interface AccountProperties has a new optional parameter ldapConfiguration + - Interface Backup has a new optional parameter backupId + - Interface Backup has a new optional parameter backupPolicyResourceId + - Interface Backup has a new optional parameter backupType + - Interface Backup has a new optional parameter completionDate + - Interface Backup has a new optional parameter creationDate + - Interface Backup has a new optional parameter failureReason + - Interface Backup has a new optional parameter isLargeVolume + - Interface Backup has a new optional parameter label + - Interface Backup has a new optional parameter provisioningState + - Interface Backup has a new optional parameter size + - Interface Backup has a new optional parameter snapshotCreationDate + - Interface Backup has a new optional parameter snapshotName + - Interface Backup has a new optional parameter useExistingSnapshot + - Interface BackupPatch has a new optional parameter label + - Interface BackupPolicy has a new optional parameter backupPolicyId + - Interface BackupPolicy has a new optional parameter dailyBackupsToKeep + - Interface BackupPolicy has a new optional parameter enabled + - Interface BackupPolicy has a new optional parameter monthlyBackupsToKeep + - Interface BackupPolicy has a new optional parameter provisioningState + - Interface BackupPolicy has a new optional parameter volumeBackups + - Interface BackupPolicy has a new optional parameter volumesAssigned + - Interface BackupPolicy has a new optional parameter weeklyBackupsToKeep + - Interface BackupPolicyPatch has a new optional parameter backupPolicyId + - Interface BackupPolicyPatch has a new optional parameter dailyBackupsToKeep + - Interface BackupPolicyPatch has a new optional parameter enabled + - Interface BackupPolicyPatch has a new optional parameter monthlyBackupsToKeep + - Interface BackupPolicyPatch has a new optional parameter provisioningState + - Interface BackupPolicyPatch has a new optional parameter volumeBackups + - Interface BackupPolicyPatch has a new optional parameter volumesAssigned + - Interface BackupPolicyPatch has a new optional parameter weeklyBackupsToKeep + - Interface BackupVault has a new optional parameter provisioningState + - Interface CapacityPool has a new optional parameter coolAccess + - Interface CapacityPool has a new optional parameter customThroughputMibps + - Interface CapacityPool has a new optional parameter encryptionType + - Interface CapacityPool has a new optional parameter poolId + - Interface CapacityPool has a new optional parameter provisioningState + - Interface CapacityPool has a new optional parameter qosType + - Interface CapacityPool has a new optional parameter totalThroughputMibps + - Interface CapacityPool has a new optional parameter utilizedThroughputMibps + - Interface CapacityPoolPatch has a new optional parameter coolAccess + - Interface CapacityPoolPatch has a new optional parameter customThroughputMibps + - Interface CapacityPoolPatch has a new optional parameter qosType + - Interface CapacityPoolPatch has a new optional parameter size + - Interface GetKeyVaultStatusResponse has a new optional parameter keyName + - Interface GetKeyVaultStatusResponse has a new optional parameter keyVaultPrivateEndpoints + - Interface GetKeyVaultStatusResponse has a new optional parameter keyVaultResourceId + - Interface GetKeyVaultStatusResponse has a new optional parameter keyVaultUri + - Interface NetAppAccount has a new optional parameter activeDirectories + - Interface NetAppAccount has a new optional parameter disableShowmount + - Interface NetAppAccount has a new optional parameter encryption + - Interface NetAppAccount has a new optional parameter ldapConfiguration + - Interface NetAppAccount has a new optional parameter multiAdStatus + - Interface NetAppAccount has a new optional parameter nfsV4IDDomain + - Interface NetAppAccount has a new optional parameter provisioningState + - Interface NetAppAccountPatch has a new optional parameter activeDirectories + - Interface NetAppAccountPatch has a new optional parameter disableShowmount + - Interface NetAppAccountPatch has a new optional parameter encryption + - Interface NetAppAccountPatch has a new optional parameter ldapConfiguration + - Interface NetAppAccountPatch has a new optional parameter multiAdStatus + - Interface NetAppAccountPatch has a new optional parameter nfsV4IDDomain + - Interface NetAppAccountPatch has a new optional parameter provisioningState + - Interface Operation has a new optional parameter serviceSpecification + - Interface QuotaItem has a new optional parameter current + - Interface QuotaItem has a new optional parameter default + - Interface QuotaItem has a new optional parameter usage + - Interface RegionInfoResource has a new optional parameter availabilityZoneMappings + - Interface RegionInfoResource has a new optional parameter storageToNetworkProximity + - Interface ReplicationObject has a new optional parameter externalReplicationSetupInfo + - Interface ReplicationObject has a new optional parameter externalReplicationSetupStatus + - Interface ReplicationObject has a new optional parameter mirrorState + - Interface ReplicationObject has a new optional parameter relationshipStatus + - Interface Snapshot has a new optional parameter created + - Interface Snapshot has a new optional parameter provisioningState + - Interface Snapshot has a new optional parameter snapshotId + - Interface SnapshotPolicy has a new optional parameter dailySchedule + - Interface SnapshotPolicy has a new optional parameter enabled + - Interface SnapshotPolicy has a new optional parameter hourlySchedule + - Interface SnapshotPolicy has a new optional parameter monthlySchedule + - Interface SnapshotPolicy has a new optional parameter provisioningState + - Interface SnapshotPolicy has a new optional parameter weeklySchedule + - Interface SnapshotPolicyPatch has a new optional parameter dailySchedule + - Interface SnapshotPolicyPatch has a new optional parameter enabled + - Interface SnapshotPolicyPatch has a new optional parameter hourlySchedule + - Interface SnapshotPolicyPatch has a new optional parameter monthlySchedule + - Interface SnapshotPolicyPatch has a new optional parameter provisioningState + - Interface SnapshotPolicyPatch has a new optional parameter weeklySchedule + - Interface SubvolumeInfo has a new optional parameter parentPath + - Interface SubvolumeInfo has a new optional parameter path + - Interface SubvolumeInfo has a new optional parameter provisioningState + - Interface SubvolumeInfo has a new optional parameter size + - Interface SubvolumeModel has a new optional parameter accessedTimeStamp + - Interface SubvolumeModel has a new optional parameter bytesUsed + - Interface SubvolumeModel has a new optional parameter changedTimeStamp + - Interface SubvolumeModel has a new optional parameter creationTimeStamp + - Interface SubvolumeModel has a new optional parameter modifiedTimeStamp + - Interface SubvolumeModel has a new optional parameter parentPath + - Interface SubvolumeModel has a new optional parameter path + - Interface SubvolumeModel has a new optional parameter permissions + - Interface SubvolumeModel has a new optional parameter provisioningState + - Interface SubvolumeModel has a new optional parameter size + - Interface SubvolumePatchRequest has a new optional parameter path + - Interface SubvolumePatchRequest has a new optional parameter size + - Interface Volume has a new optional parameter acceptGrowCapacityPoolForShortTermCloneSplit + - Interface Volume has a new optional parameter actualThroughputMibps + - Interface Volume has a new optional parameter avsDataStore + - Interface Volume has a new optional parameter backupId + - Interface Volume has a new optional parameter baremetalTenantId + - Interface Volume has a new optional parameter breakthroughMode + - Interface Volume has a new optional parameter capacityPoolResourceId + - Interface Volume has a new optional parameter cloneProgress + - Interface Volume has a new optional parameter coolAccess + - Interface Volume has a new optional parameter coolAccessRetrievalPolicy + - Interface Volume has a new optional parameter coolAccessTieringPolicy + - Interface Volume has a new optional parameter coolnessPeriod + - Interface Volume has a new optional parameter dataProtection + - Interface Volume has a new optional parameter dataStoreResourceId + - Interface Volume has a new optional parameter defaultGroupQuotaInKiBs + - Interface Volume has a new optional parameter defaultUserQuotaInKiBs + - Interface Volume has a new optional parameter deleteBaseSnapshot + - Interface Volume has a new optional parameter effectiveNetworkFeatures + - Interface Volume has a new optional parameter enableSubvolumes + - Interface Volume has a new optional parameter encrypted + - Interface Volume has a new optional parameter encryptionKeySource + - Interface Volume has a new optional parameter exportPolicy + - Interface Volume has a new optional parameter fileAccessLogs + - Interface Volume has a new optional parameter fileSystemId + - Interface Volume has a new optional parameter inheritedSizeInBytes + - Interface Volume has a new optional parameter isDefaultQuotaEnabled + - Interface Volume has a new optional parameter isLargeVolume + - Interface Volume has a new optional parameter isRestoring + - Interface Volume has a new optional parameter kerberosEnabled + - Interface Volume has a new optional parameter keyVaultPrivateEndpointResourceId + - Interface Volume has a new optional parameter language + - Interface Volume has a new optional parameter largeVolumeType + - Interface Volume has a new optional parameter ldapEnabled + - Interface Volume has a new optional parameter ldapServerType + - Interface Volume has a new optional parameter maximumNumberOfFiles + - Interface Volume has a new optional parameter mountTargets + - Interface Volume has a new optional parameter networkFeatures + - Interface Volume has a new optional parameter networkSiblingSetId + - Interface Volume has a new optional parameter originatingResourceId + - Interface Volume has a new optional parameter placementRules + - Interface Volume has a new optional parameter protocolTypes + - Interface Volume has a new optional parameter provisionedAvailabilityZone + - Interface Volume has a new optional parameter provisioningState + - Interface Volume has a new optional parameter proximityPlacementGroup + - Interface Volume has a new optional parameter securityStyle + - Interface Volume has a new optional parameter serviceLevel + - Interface Volume has a new optional parameter smbAccessBasedEnumeration + - Interface Volume has a new optional parameter smbContinuouslyAvailable + - Interface Volume has a new optional parameter smbEncryption + - Interface Volume has a new optional parameter smbNonBrowsable + - Interface Volume has a new optional parameter snapshotDirectoryVisible + - Interface Volume has a new optional parameter snapshotId + - Interface Volume has a new optional parameter storageToNetworkProximity + - Interface Volume has a new optional parameter t2Network + - Interface Volume has a new optional parameter throughputMibps + - Interface Volume has a new optional parameter unixPermissions + - Interface Volume has a new optional parameter volumeGroupName + - Interface Volume has a new optional parameter volumeSpecName + - Interface Volume has a new optional parameter volumeType + - Interface VolumeGroup has a new optional parameter groupMetaData + - Interface VolumeGroup has a new optional parameter provisioningState + - Interface VolumeGroupDetails has a new optional parameter groupMetaData + - Interface VolumeGroupDetails has a new optional parameter provisioningState + - Interface VolumeGroupDetails has a new optional parameter volumes + - Interface VolumeGroupVolumeProperties has a new optional parameter acceptGrowCapacityPoolForShortTermCloneSplit + - Interface VolumeGroupVolumeProperties has a new optional parameter actualThroughputMibps + - Interface VolumeGroupVolumeProperties has a new optional parameter avsDataStore + - Interface VolumeGroupVolumeProperties has a new optional parameter backupId + - Interface VolumeGroupVolumeProperties has a new optional parameter baremetalTenantId + - Interface VolumeGroupVolumeProperties has a new optional parameter breakthroughMode + - Interface VolumeGroupVolumeProperties has a new optional parameter capacityPoolResourceId + - Interface VolumeGroupVolumeProperties has a new optional parameter cloneProgress + - Interface VolumeGroupVolumeProperties has a new optional parameter coolAccess + - Interface VolumeGroupVolumeProperties has a new optional parameter coolAccessRetrievalPolicy + - Interface VolumeGroupVolumeProperties has a new optional parameter coolAccessTieringPolicy + - Interface VolumeGroupVolumeProperties has a new optional parameter coolnessPeriod + - Interface VolumeGroupVolumeProperties has a new optional parameter dataProtection + - Interface VolumeGroupVolumeProperties has a new optional parameter dataStoreResourceId + - Interface VolumeGroupVolumeProperties has a new optional parameter defaultGroupQuotaInKiBs + - Interface VolumeGroupVolumeProperties has a new optional parameter defaultUserQuotaInKiBs + - Interface VolumeGroupVolumeProperties has a new optional parameter deleteBaseSnapshot + - Interface VolumeGroupVolumeProperties has a new optional parameter effectiveNetworkFeatures + - Interface VolumeGroupVolumeProperties has a new optional parameter enableSubvolumes + - Interface VolumeGroupVolumeProperties has a new optional parameter encrypted + - Interface VolumeGroupVolumeProperties has a new optional parameter encryptionKeySource + - Interface VolumeGroupVolumeProperties has a new optional parameter exportPolicy + - Interface VolumeGroupVolumeProperties has a new optional parameter fileAccessLogs + - Interface VolumeGroupVolumeProperties has a new optional parameter fileSystemId + - Interface VolumeGroupVolumeProperties has a new optional parameter inheritedSizeInBytes + - Interface VolumeGroupVolumeProperties has a new optional parameter isDefaultQuotaEnabled + - Interface VolumeGroupVolumeProperties has a new optional parameter isLargeVolume + - Interface VolumeGroupVolumeProperties has a new optional parameter isRestoring + - Interface VolumeGroupVolumeProperties has a new optional parameter kerberosEnabled + - Interface VolumeGroupVolumeProperties has a new optional parameter keyVaultPrivateEndpointResourceId + - Interface VolumeGroupVolumeProperties has a new optional parameter language + - Interface VolumeGroupVolumeProperties has a new optional parameter largeVolumeType + - Interface VolumeGroupVolumeProperties has a new optional parameter ldapEnabled + - Interface VolumeGroupVolumeProperties has a new optional parameter ldapServerType + - Interface VolumeGroupVolumeProperties has a new optional parameter maximumNumberOfFiles + - Interface VolumeGroupVolumeProperties has a new optional parameter mountTargets + - Interface VolumeGroupVolumeProperties has a new optional parameter networkFeatures + - Interface VolumeGroupVolumeProperties has a new optional parameter networkSiblingSetId + - Interface VolumeGroupVolumeProperties has a new optional parameter originatingResourceId + - Interface VolumeGroupVolumeProperties has a new optional parameter placementRules + - Interface VolumeGroupVolumeProperties has a new optional parameter protocolTypes + - Interface VolumeGroupVolumeProperties has a new optional parameter provisionedAvailabilityZone + - Interface VolumeGroupVolumeProperties has a new optional parameter provisioningState + - Interface VolumeGroupVolumeProperties has a new optional parameter proximityPlacementGroup + - Interface VolumeGroupVolumeProperties has a new optional parameter securityStyle + - Interface VolumeGroupVolumeProperties has a new optional parameter serviceLevel + - Interface VolumeGroupVolumeProperties has a new optional parameter smbAccessBasedEnumeration + - Interface VolumeGroupVolumeProperties has a new optional parameter smbContinuouslyAvailable + - Interface VolumeGroupVolumeProperties has a new optional parameter smbEncryption + - Interface VolumeGroupVolumeProperties has a new optional parameter smbNonBrowsable + - Interface VolumeGroupVolumeProperties has a new optional parameter snapshotDirectoryVisible + - Interface VolumeGroupVolumeProperties has a new optional parameter snapshotId + - Interface VolumeGroupVolumeProperties has a new optional parameter storageToNetworkProximity + - Interface VolumeGroupVolumeProperties has a new optional parameter t2Network + - Interface VolumeGroupVolumeProperties has a new optional parameter throughputMibps + - Interface VolumeGroupVolumeProperties has a new optional parameter unixPermissions + - Interface VolumeGroupVolumeProperties has a new optional parameter volumeGroupName + - Interface VolumeGroupVolumeProperties has a new optional parameter volumeSpecName + - Interface VolumeGroupVolumeProperties has a new optional parameter volumeType + - Interface VolumePatch has a new optional parameter coolAccess + - Interface VolumePatch has a new optional parameter coolAccessRetrievalPolicy + - Interface VolumePatch has a new optional parameter coolAccessTieringPolicy + - Interface VolumePatch has a new optional parameter coolnessPeriod + - Interface VolumePatch has a new optional parameter dataProtection + - Interface VolumePatch has a new optional parameter defaultGroupQuotaInKiBs + - Interface VolumePatch has a new optional parameter defaultUserQuotaInKiBs + - Interface VolumePatch has a new optional parameter exportPolicy + - Interface VolumePatch has a new optional parameter isDefaultQuotaEnabled + - Interface VolumePatch has a new optional parameter protocolTypes + - Interface VolumePatch has a new optional parameter serviceLevel + - Interface VolumePatch has a new optional parameter smbAccessBasedEnumeration + - Interface VolumePatch has a new optional parameter smbNonBrowsable + - Interface VolumePatch has a new optional parameter snapshotDirectoryVisible + - Interface VolumePatch has a new optional parameter throughputMibps + - Interface VolumePatch has a new optional parameter unixPermissions + - Interface VolumePatch has a new optional parameter usageThreshold + - Interface VolumePatchPropertiesDataProtection has a new optional parameter ransomwareProtection + - Interface VolumeProperties has a new optional parameter breakthroughMode + - Interface VolumeProperties has a new optional parameter language + - Interface VolumeProperties has a new optional parameter largeVolumeType + - Interface VolumeProperties has a new optional parameter ldapServerType + - Interface VolumePropertiesDataProtection has a new optional parameter ransomwareProtection + - Interface VolumeQuotaRule has a new optional parameter provisioningState + - Interface VolumeQuotaRule has a new optional parameter quotaSizeInKiBs + - Interface VolumeQuotaRule has a new optional parameter quotaTarget + - Interface VolumeQuotaRule has a new optional parameter quotaType + - Interface VolumeQuotaRulePatch has a new optional parameter provisioningState + - Interface VolumeQuotaRulePatch has a new optional parameter quotaSizeInKiBs + - Interface VolumeQuotaRulePatch has a new optional parameter quotaTarget + - Interface VolumeQuotaRulePatch has a new optional parameter quotaType + - Added Type Alias ActualRansomwareProtectionState + - Added Type Alias BreakthroughMode + - Added Type Alias BucketPatchPermissions + - Added Type Alias BucketPermissions + - Added Type Alias CacheLifeCycleState + - Added Type Alias CacheProvisioningState + - Added Type Alias CheckElasticResourceAvailabilityReason + - Added Type Alias CheckElasticResourceAvailabilityStatus + - Added Type Alias CifsChangeNotifyState + - Added Type Alias CredentialsStatus + - Added Type Alias DayOfWeek + - Added Type Alias DesiredRansomwareProtectionState + - Added Type Alias ElasticBackupPolicyState + - Added Type Alias ElasticBackupType + - Added Type Alias ElasticKeyVaultStatus + - Added Type Alias ElasticNfsv3Access + - Added Type Alias ElasticNfsv4Access + - Added Type Alias ElasticPoolEncryptionKeySource + - Added Type Alias ElasticProtocolType + - Added Type Alias ElasticResourceAvailabilityStatus + - Added Type Alias ElasticRootAccess + - Added Type Alias ElasticServiceLevel + - Added Type Alias ElasticSmbEncryption + - Added Type Alias ElasticUnixAccessRule + - Added Type Alias ElasticVolumePolicyEnforcement + - Added Type Alias ElasticVolumeRestorationState + - Added Type Alias EnableWriteBackState + - Added Type Alias EncryptionState + - Added Type Alias ExternalReplicationSetupStatus + - Added Type Alias GlobalFileLockingState + - Added Type Alias KerberosState + - Added Type Alias LargeVolumeType + - Added Type Alias LdapServerType + - Added Type Alias LdapState + - Added Type Alias PolicyStatus + - Added Type Alias ProtocolTypes + - Added Type Alias RansomwareReportSeverity + - Added Type Alias RansomwareReportState + - Added Type Alias RansomwareSuspectResolution + - Added Type Alias SmbEncryptionState + - Added Type Alias SnapshotDirectoryVisibility + - Added Type Alias SnapshotUsage + - Added Type Alias VolumeLanguage + - Added Type Alias VolumeSize + - Added Enum KnownActualRansomwareProtectionState + - Added Enum KnownBreakthroughMode + - Added Enum KnownBucketPatchPermissions + - Added Enum KnownBucketPermissions + - Added Enum KnownCacheLifeCycleState + - Added Enum KnownCacheProvisioningState + - Added Enum KnownCheckElasticResourceAvailabilityReason + - Added Enum KnownCheckElasticResourceAvailabilityStatus + - Added Enum KnownCifsChangeNotifyState + - Added Enum KnownCredentialsStatus + - Added Enum KnownDayOfWeek + - Added Enum KnownDesiredRansomwareProtectionState + - Added Enum KnownElasticBackupPolicyState + - Added Enum KnownElasticBackupType + - Added Enum KnownElasticKeyVaultStatus + - Added Enum KnownElasticNfsv3Access + - Added Enum KnownElasticNfsv4Access + - Added Enum KnownElasticPoolEncryptionKeySource + - Added Enum KnownElasticProtocolType + - Added Enum KnownElasticResourceAvailabilityStatus + - Added Enum KnownElasticRootAccess + - Added Enum KnownElasticServiceLevel + - Added Enum KnownElasticSmbEncryption + - Added Enum KnownElasticUnixAccessRule + - Added Enum KnownElasticVolumePolicyEnforcement + - Added Enum KnownElasticVolumeRestorationState + - Added Enum KnownEnableWriteBackState + - Added Enum KnownEncryptionState + - Added Enum KnownExternalReplicationSetupStatus + - Added Enum KnownGlobalFileLockingState + - Added Enum KnownKerberosState + - Added Enum KnownLargeVolumeType + - Added Enum KnownLdapServerType + - Added Enum KnownLdapState + - Added Enum KnownPolicyStatus + - Added Enum KnownProtocolTypes + - Added Enum KnownRansomwareReportSeverity + - Added Enum KnownRansomwareReportState + - Added Enum KnownRansomwareSuspectResolution + - Added Enum KnownSmbEncryptionState + - Added Enum KnownSnapshotDirectoryVisibility + - Added Enum KnownSnapshotUsage + - Added Enum KnownVolumeLanguage + - Added Enum KnownVolumeSize + - Enum KnownVersions has a new value V20250701Preview + - Enum KnownVersions has a new value V20250801Preview + - Enum KnownVersions has a new value V20250901Preview + +### Breaking Changes + - Operation BackupPoliciesOperations.create has a new signature + - Operation BackupPoliciesOperations.get has a new signature + - Operation BackupPoliciesOperations.list has a new signature + - Operation BackupsOperations.create has a new signature + - Operation BackupsOperations.get has a new signature + - Operation BackupsOperations.listByVault has a new signature + - Operation BackupsOperations.update has a new signature + - Operation PoolsOperations.createOrUpdate has a new signature + - Operation PoolsOperations.get has a new signature + - Operation PoolsOperations.list has a new signature + - Operation SnapshotPoliciesOperations.create has a new signature + - Operation SnapshotPoliciesOperations.get has a new signature + - Operation SnapshotPoliciesOperations.list has a new signature + - Operation SnapshotPoliciesOperations.listVolumes has a new signature + - Operation SubvolumesOperations.update has a new signature + - Operation VolumesOperations.createOrUpdate has a new signature + - Operation VolumesOperations.get has a new signature + - Operation VolumesOperations.list has a new signature + - Interface Backup has a new required parameter volumeResourceId + - Interface CapacityPool has a new required parameter serviceLevel + - Interface CapacityPool has a new required parameter size + - Interface Volume has a new required parameter creationToken + - Interface Volume has a new required parameter subnetId + - Interface Volume has a new required parameter usageThreshold + - Interface VolumeGroupVolumeProperties has a new required parameter creationToken + - Interface VolumeGroupVolumeProperties has a new required parameter subnetId + - Interface VolumeGroupVolumeProperties has a new required parameter usageThreshold + - Interface Backup no longer has parameter properties + - Interface BackupPatch no longer has parameter properties + - Interface BackupPolicy no longer has parameter properties + - Interface BackupPolicyPatch no longer has parameter properties + - Interface BackupVault no longer has parameter properties + - Interface CapacityPool no longer has parameter properties + - Interface CapacityPoolPatch no longer has parameter properties + - Interface GetKeyVaultStatusResponse no longer has parameter properties + - Interface NetAppAccount no longer has parameter properties + - Interface NetAppAccountPatch no longer has parameter properties + - Interface Operation no longer has parameter properties + - Interface QuotaItem no longer has parameter properties + - Interface RegionInfoResource no longer has parameter properties + - Interface Snapshot no longer has parameter properties + - Interface SnapshotPolicy no longer has parameter properties + - Interface SnapshotPolicyPatch no longer has parameter properties + - Interface SubvolumeInfo no longer has parameter properties + - Interface SubvolumeModel no longer has parameter properties + - Interface SubvolumePatchRequest no longer has parameter properties + - Interface Volume no longer has parameter properties + - Interface VolumeGroup no longer has parameter properties + - Interface VolumeGroupDetails no longer has parameter properties + - Interface VolumeGroupVolumeProperties no longer has parameter properties + - Interface VolumePatch no longer has parameter properties + - Interface VolumeQuotaRule no longer has parameter properties + - Interface VolumeQuotaRulePatch no longer has parameter properties + ## 22.1.0-beta.1 (2025-12-02) Compared with version 22.0.0 diff --git a/sdk/netapp/arm-netapp/metadata.json b/sdk/netapp/arm-netapp/metadata.json index 59ea84494541..7334c8c516c6 100644 --- a/sdk/netapp/arm-netapp/metadata.json +++ b/sdk/netapp/arm-netapp/metadata.json @@ -1,6 +1,6 @@ { "apiVersion": "2025-09-01-preview", - "emitterVersion": "0.46.1", + "emitterVersion": "0.47.0", "crossLanguageDefinitions": { "CrossLanguagePackageId": "Microsoft.NetApp", "CrossLanguageDefinitionId": { diff --git a/sdk/netapp/arm-netapp/package.json b/sdk/netapp/arm-netapp/package.json index 4ab1047e8560..e63ba0ddad8d 100644 --- a/sdk/netapp/arm-netapp/package.json +++ b/sdk/netapp/arm-netapp/package.json @@ -1,6 +1,6 @@ { "name": "@azure/arm-netapp", - "version": "22.1.0-beta.1", + "version": "23.0.0-beta.1", "description": "A generated SDK for NetAppManagementClient.", "engines": { "node": ">=20.0.0" diff --git a/sdk/netapp/arm-netapp/review/arm-netapp-models-node.api.md b/sdk/netapp/arm-netapp/review/arm-netapp-models-node.api.md index 1b75cec643cd..899df8326f91 100644 --- a/sdk/netapp/arm-netapp/review/arm-netapp-models-node.api.md +++ b/sdk/netapp/arm-netapp/review/arm-netapp-models-node.api.md @@ -115,12 +115,25 @@ export type AvsDataStore = string; // @public export interface Backup extends ProxyResource { - properties: BackupProperties; + readonly backupId?: string; + readonly backupPolicyResourceId?: string; + readonly backupType?: BackupType; + readonly completionDate?: Date | null; + readonly creationDate?: Date; + readonly failureReason?: string; + readonly isLargeVolume?: boolean; + label?: string; + readonly provisioningState?: string; + readonly size?: number; + readonly snapshotCreationDate?: Date | null; + snapshotName?: string; + useExistingSnapshot?: boolean; + volumeResourceId: string; } // @public export interface BackupPatch { - properties?: BackupPatchProperties; + label?: string; } // @public @@ -130,18 +143,32 @@ export interface BackupPatchProperties { // @public export interface BackupPolicy extends TrackedResource { + readonly backupPolicyId?: string; + dailyBackupsToKeep?: number; + enabled?: boolean; readonly etag?: string; - properties: BackupPolicyProperties; + monthlyBackupsToKeep?: number; + readonly provisioningState?: string; + readonly volumeBackups?: VolumeBackups[]; + readonly volumesAssigned?: number; + weeklyBackupsToKeep?: number; } // @public export interface BackupPolicyPatch { + readonly backupPolicyId?: string; + dailyBackupsToKeep?: number; + enabled?: boolean; readonly id?: string; location?: string; + monthlyBackupsToKeep?: number; readonly name?: string; - properties?: BackupPolicyProperties; + readonly provisioningState?: string; tags?: Record; readonly type?: string; + readonly volumeBackups?: VolumeBackups[]; + readonly volumesAssigned?: number; + weeklyBackupsToKeep?: number; } // @public @@ -204,7 +231,7 @@ export type BackupType = string; // @public export interface BackupVault extends TrackedResource { - properties?: BackupVaultProperties; + readonly provisioningState?: string; } // @public @@ -233,7 +260,12 @@ export type BreakthroughMode = string; // @public export interface Bucket extends ProxyResource { - properties?: BucketProperties; + fileSystemUser?: FileSystemUser; + path?: string; + permissions?: BucketPermissions; + readonly provisioningState?: NetAppProvisioningState; + server?: BucketServerProperties; + readonly status?: CredentialsStatus; } // @public @@ -250,7 +282,11 @@ export interface BucketGenerateCredentials { // @public export interface BucketPatch extends ProxyResource { - properties?: BucketPatchProperties; + fileSystemUser?: FileSystemUser; + path?: string; + permissions?: BucketPatchPermissions; + readonly provisioningState?: NetAppProvisioningState; + server?: BucketServerPatchProperties; } // @public @@ -366,16 +402,28 @@ export interface CacheUpdateProperties { // @public export interface CapacityPool extends TrackedResource { + coolAccess?: boolean; + customThroughputMibps?: number | null; + encryptionType?: EncryptionType | null; readonly etag?: string; - properties: PoolProperties; + readonly poolId?: string; + readonly provisioningState?: string; + qosType?: QosType; + serviceLevel: ServiceLevel; + size: number; + readonly totalThroughputMibps?: number; + readonly utilizedThroughputMibps?: number; } // @public export interface CapacityPoolPatch { + coolAccess?: boolean; + customThroughputMibps?: number | null; readonly id?: string; location?: string; readonly name?: string; - properties?: PoolPatchProperties; + qosType?: QosType; + size?: number; tags?: Record; readonly type?: string; } @@ -949,7 +997,10 @@ export interface GetGroupIdListForLdapUserResponse { // @public export interface GetKeyVaultStatusResponse { - properties?: GetKeyVaultStatusResponseProperties; + keyName?: string; + keyVaultPrivateEndpoints?: KeyVaultPrivateEndpoint[]; + keyVaultResourceId?: string; + keyVaultUri?: string; } // @public @@ -1758,18 +1809,30 @@ export type MultiAdStatus = string; // @public export interface NetAppAccount extends TrackedResource { + activeDirectories?: ActiveDirectory[]; + readonly disableShowmount?: boolean | null; + encryption?: AccountEncryption; readonly etag?: string; identity?: ManagedServiceIdentity; - properties?: AccountProperties; + ldapConfiguration?: LdapConfiguration; + readonly multiAdStatus?: MultiAdStatus; + nfsV4IDDomain?: string | null; + readonly provisioningState?: string; } // @public export interface NetAppAccountPatch { + activeDirectories?: ActiveDirectory[]; + readonly disableShowmount?: boolean | null; + encryption?: AccountEncryption; readonly id?: string; identity?: ManagedServiceIdentity; + ldapConfiguration?: LdapConfiguration; location?: string; + readonly multiAdStatus?: MultiAdStatus; readonly name?: string; - properties?: AccountProperties; + nfsV4IDDomain?: string | null; + readonly provisioningState?: string; tags?: Record; readonly type?: string; } @@ -1810,7 +1873,7 @@ export interface Operation { display?: OperationDisplay; name?: string; origin?: string; - properties?: OperationProperties; + serviceSpecification?: ServiceSpecification; } // @public @@ -1907,7 +1970,9 @@ export interface QuotaAvailabilityRequest { // @public export interface QuotaItem extends ProxyResource { - properties?: QuotaItemProperties; + readonly current?: number; + readonly default?: number; + readonly usage?: number | null; } // @public @@ -1996,7 +2061,8 @@ export interface RegionInfoAvailabilityZoneMappingsItem { // @public export interface RegionInfoResource extends ProxyResource { - properties?: RegionInfo; + availabilityZoneMappings?: RegionInfoAvailabilityZoneMappingsItem[]; + storageToNetworkProximity?: RegionStorageToNetworkProximity; } // @public @@ -2132,8 +2198,10 @@ export interface SmbSettings { // @public export interface Snapshot extends ProxyResource { + readonly created?: Date; location: string; - properties?: SnapshotProperties; + readonly provisioningState?: string; + readonly snapshotId?: string; } // @public @@ -2145,18 +2213,28 @@ export interface SnapshotPatch { // @public export interface SnapshotPolicy extends TrackedResource { + dailySchedule?: DailySchedule; + enabled?: boolean; readonly etag?: string; - properties: SnapshotPolicyProperties; + hourlySchedule?: HourlySchedule; + monthlySchedule?: MonthlySchedule; + readonly provisioningState?: string; + weeklySchedule?: WeeklySchedule; } // @public export interface SnapshotPolicyPatch { + dailySchedule?: DailySchedule; + enabled?: boolean; + hourlySchedule?: HourlySchedule; readonly id?: string; location?: string; + monthlySchedule?: MonthlySchedule; readonly name?: string; - properties?: SnapshotPolicyProperties; + readonly provisioningState?: string; tags?: Record; readonly type?: string; + weeklySchedule?: WeeklySchedule; } // @public @@ -2193,14 +2271,26 @@ export type SnapshotUsage = string; // @public export interface SubvolumeInfo extends ProxyResource { - properties?: SubvolumeProperties; + parentPath?: string | null; + path?: string; + readonly provisioningState?: string; + size?: number | null; } // @public export interface SubvolumeModel { + accessedTimeStamp?: Date; + bytesUsed?: number; + changedTimeStamp?: Date; + creationTimeStamp?: Date; readonly id?: string; + modifiedTimeStamp?: Date; readonly name?: string; - properties?: SubvolumeModelProperties; + parentPath?: string; + path?: string; + permissions?: string; + provisioningState?: string; + size?: number; readonly type?: string; } @@ -2226,7 +2316,8 @@ export interface SubvolumePatchParams { // @public export interface SubvolumePatchRequest { - properties?: SubvolumePatchParams; + path?: string; + size?: number | null; } // @public @@ -2290,9 +2381,11 @@ export interface UsageProperties { // @public export interface UsageResult { + readonly currentValue?: number; readonly id?: string; + readonly limit?: number; readonly name?: UsageName; - properties?: UsageProperties; + readonly unit?: string; } // @public @@ -2303,8 +2396,69 @@ export interface UserAssignedIdentity { // @public export interface Volume extends TrackedResource { + acceptGrowCapacityPoolForShortTermCloneSplit?: AcceptGrowCapacityPoolForShortTermCloneSplit; + readonly actualThroughputMibps?: number; + avsDataStore?: AvsDataStore; + backupId?: string | null; + readonly baremetalTenantId?: string; + breakthroughMode?: BreakthroughMode; + capacityPoolResourceId?: string; + readonly cloneProgress?: number | null; + coolAccess?: boolean; + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + coolnessPeriod?: number; + creationToken: string; + dataProtection?: VolumePropertiesDataProtection; + readonly dataStoreResourceId?: string[]; + defaultGroupQuotaInKiBs?: number; + defaultUserQuotaInKiBs?: number; + deleteBaseSnapshot?: boolean; + readonly effectiveNetworkFeatures?: NetworkFeatures; + enableSubvolumes?: EnableSubvolumes; + readonly encrypted?: boolean; + encryptionKeySource?: EncryptionKeySource; readonly etag?: string; - properties: VolumeProperties; + exportPolicy?: VolumePropertiesExportPolicy; + readonly fileAccessLogs?: FileAccessLogs; + readonly fileSystemId?: string; + readonly inheritedSizeInBytes?: number | null; + isDefaultQuotaEnabled?: boolean; + isLargeVolume?: boolean; + readonly isRestoring?: boolean; + kerberosEnabled?: boolean; + keyVaultPrivateEndpointResourceId?: string; + language?: VolumeLanguage; + largeVolumeType?: LargeVolumeType; + ldapEnabled?: boolean; + ldapServerType?: LdapServerType; + readonly maximumNumberOfFiles?: number; + readonly mountTargets?: MountTargetProperties[]; + networkFeatures?: NetworkFeatures; + readonly networkSiblingSetId?: string; + readonly originatingResourceId?: string | null; + placementRules?: PlacementKeyValuePairs[]; + protocolTypes?: string[]; + readonly provisionedAvailabilityZone?: string | null; + readonly provisioningState?: string; + proximityPlacementGroup?: string; + securityStyle?: SecurityStyle; + serviceLevel?: ServiceLevel; + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + smbContinuouslyAvailable?: boolean; + smbEncryption?: boolean; + smbNonBrowsable?: SmbNonBrowsable; + snapshotDirectoryVisible?: boolean; + snapshotId?: string | null; + readonly storageToNetworkProximity?: VolumeStorageToNetworkProximity; + subnetId: string; + readonly t2Network?: string; + throughputMibps?: number | null; + unixPermissions?: string | null; + usageThreshold: number; + readonly volumeGroupName?: string; + volumeSpecName?: string; + volumeType?: string; zones?: string[]; } @@ -2328,17 +2482,20 @@ export interface VolumeBackups { // @public export interface VolumeGroup { + groupMetaData?: VolumeGroupMetaData; readonly id?: string; location?: string; readonly name?: string; - properties?: VolumeGroupListProperties; + readonly provisioningState?: string; readonly type?: string; } // @public export interface VolumeGroupDetails extends ProxyResource { + groupMetaData?: VolumeGroupMetaData; location?: string; - properties?: VolumeGroupProperties; + readonly provisioningState?: string; + volumes?: VolumeGroupVolumeProperties[]; } // @public @@ -2365,11 +2522,72 @@ export interface VolumeGroupProperties { // @public export interface VolumeGroupVolumeProperties { + acceptGrowCapacityPoolForShortTermCloneSplit?: AcceptGrowCapacityPoolForShortTermCloneSplit; + readonly actualThroughputMibps?: number; + avsDataStore?: AvsDataStore; + backupId?: string | null; + readonly baremetalTenantId?: string; + breakthroughMode?: BreakthroughMode; + capacityPoolResourceId?: string; + readonly cloneProgress?: number | null; + coolAccess?: boolean; + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + coolnessPeriod?: number; + creationToken: string; + dataProtection?: VolumePropertiesDataProtection; + readonly dataStoreResourceId?: string[]; + defaultGroupQuotaInKiBs?: number; + defaultUserQuotaInKiBs?: number; + deleteBaseSnapshot?: boolean; + readonly effectiveNetworkFeatures?: NetworkFeatures; + enableSubvolumes?: EnableSubvolumes; + readonly encrypted?: boolean; + encryptionKeySource?: EncryptionKeySource; + exportPolicy?: VolumePropertiesExportPolicy; + readonly fileAccessLogs?: FileAccessLogs; + readonly fileSystemId?: string; readonly id?: string; + readonly inheritedSizeInBytes?: number | null; + isDefaultQuotaEnabled?: boolean; + isLargeVolume?: boolean; + readonly isRestoring?: boolean; + kerberosEnabled?: boolean; + keyVaultPrivateEndpointResourceId?: string; + language?: VolumeLanguage; + largeVolumeType?: LargeVolumeType; + ldapEnabled?: boolean; + ldapServerType?: LdapServerType; + readonly maximumNumberOfFiles?: number; + readonly mountTargets?: MountTargetProperties[]; name?: string; - properties: VolumeProperties; + networkFeatures?: NetworkFeatures; + readonly networkSiblingSetId?: string; + readonly originatingResourceId?: string | null; + placementRules?: PlacementKeyValuePairs[]; + protocolTypes?: string[]; + readonly provisionedAvailabilityZone?: string | null; + readonly provisioningState?: string; + proximityPlacementGroup?: string; + securityStyle?: SecurityStyle; + serviceLevel?: ServiceLevel; + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + smbContinuouslyAvailable?: boolean; + smbEncryption?: boolean; + smbNonBrowsable?: SmbNonBrowsable; + snapshotDirectoryVisible?: boolean; + snapshotId?: string | null; + readonly storageToNetworkProximity?: VolumeStorageToNetworkProximity; + subnetId: string; + readonly t2Network?: string; tags?: Record; + throughputMibps?: number | null; readonly type?: string; + unixPermissions?: string | null; + usageThreshold: number; + readonly volumeGroupName?: string; + volumeSpecName?: string; + volumeType?: string; zones?: string[]; } @@ -2378,12 +2596,28 @@ export type VolumeLanguage = string; // @public export interface VolumePatch { + coolAccess?: boolean; + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + coolnessPeriod?: number; + dataProtection?: VolumePatchPropertiesDataProtection; + defaultGroupQuotaInKiBs?: number; + defaultUserQuotaInKiBs?: number; + exportPolicy?: VolumePatchPropertiesExportPolicy; readonly id?: string; + isDefaultQuotaEnabled?: boolean; location?: string; readonly name?: string; - properties?: VolumePatchProperties; + protocolTypes?: string[]; + serviceLevel?: ServiceLevel; + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + smbNonBrowsable?: SmbNonBrowsable; + snapshotDirectoryVisible?: boolean; tags?: Record; + throughputMibps?: number; readonly type?: string; + unixPermissions?: string | null; + usageThreshold?: number; } // @public @@ -2501,12 +2735,18 @@ export interface VolumePropertiesExportPolicy { // @public export interface VolumeQuotaRule extends TrackedResource { - properties?: VolumeQuotaRulesProperties; + readonly provisioningState?: NetAppProvisioningState; + quotaSizeInKiBs?: number; + quotaTarget?: string; + quotaType?: Type; } // @public export interface VolumeQuotaRulePatch { - properties?: VolumeQuotaRulesProperties; + readonly provisioningState?: NetAppProvisioningState; + quotaSizeInKiBs?: number; + quotaTarget?: string; + quotaType?: Type; tags?: Record; } diff --git a/sdk/netapp/arm-netapp/review/arm-netapp-node.api.md b/sdk/netapp/arm-netapp/review/arm-netapp-node.api.md index 33aa1610dfc4..8b3a14ddee3a 100644 --- a/sdk/netapp/arm-netapp/review/arm-netapp-node.api.md +++ b/sdk/netapp/arm-netapp/review/arm-netapp-node.api.md @@ -234,12 +234,25 @@ export type AzureSupportedClouds = `${AzureClouds}`; // @public export interface Backup extends ProxyResource { - properties: BackupProperties; + readonly backupId?: string; + readonly backupPolicyResourceId?: string; + readonly backupType?: BackupType; + readonly completionDate?: Date | null; + readonly creationDate?: Date; + readonly failureReason?: string; + readonly isLargeVolume?: boolean; + label?: string; + readonly provisioningState?: string; + readonly size?: number; + readonly snapshotCreationDate?: Date | null; + snapshotName?: string; + useExistingSnapshot?: boolean; + volumeResourceId: string; } // @public export interface BackupPatch { - properties?: BackupPatchProperties; + label?: string; } // @public @@ -281,18 +294,32 @@ export interface BackupPoliciesUpdateOptionalParams extends OperationOptions { // @public export interface BackupPolicy extends TrackedResource { + readonly backupPolicyId?: string; + dailyBackupsToKeep?: number; + enabled?: boolean; readonly etag?: string; - properties: BackupPolicyProperties; + monthlyBackupsToKeep?: number; + readonly provisioningState?: string; + readonly volumeBackups?: VolumeBackups[]; + readonly volumesAssigned?: number; + weeklyBackupsToKeep?: number; } // @public export interface BackupPolicyPatch { + readonly backupPolicyId?: string; + dailyBackupsToKeep?: number; + enabled?: boolean; readonly id?: string; location?: string; + monthlyBackupsToKeep?: number; readonly name?: string; - properties?: BackupPolicyProperties; + readonly provisioningState?: string; tags?: Record; readonly type?: string; + readonly volumeBackups?: VolumeBackups[]; + readonly volumesAssigned?: number; + weeklyBackupsToKeep?: number; } // @public @@ -429,7 +456,7 @@ export type BackupType = string; // @public export interface BackupVault extends TrackedResource { - properties?: BackupVaultProperties; + readonly provisioningState?: string; } // @public @@ -490,7 +517,12 @@ export type BreakthroughMode = string; // @public export interface Bucket extends ProxyResource { - properties?: BucketProperties; + fileSystemUser?: FileSystemUser; + path?: string; + permissions?: BucketPermissions; + readonly provisioningState?: NetAppProvisioningState; + server?: BucketServerProperties; + readonly status?: CredentialsStatus; } // @public @@ -507,7 +539,11 @@ export interface BucketGenerateCredentials { // @public export interface BucketPatch extends ProxyResource { - properties?: BucketPatchProperties; + fileSystemUser?: FileSystemUser; + path?: string; + permissions?: BucketPatchPermissions; + readonly provisioningState?: NetAppProvisioningState; + server?: BucketServerPatchProperties; } // @public @@ -703,16 +739,28 @@ export interface CacheUpdateProperties { // @public export interface CapacityPool extends TrackedResource { + coolAccess?: boolean; + customThroughputMibps?: number | null; + encryptionType?: EncryptionType | null; readonly etag?: string; - properties: PoolProperties; + readonly poolId?: string; + readonly provisioningState?: string; + qosType?: QosType; + serviceLevel: ServiceLevel; + size: number; + readonly totalThroughputMibps?: number; + readonly utilizedThroughputMibps?: number; } // @public export interface CapacityPoolPatch { + coolAccess?: boolean; + customThroughputMibps?: number | null; readonly id?: string; location?: string; readonly name?: string; - properties?: PoolPatchProperties; + qosType?: QosType; + size?: number; tags?: Record; readonly type?: string; } @@ -1568,7 +1616,10 @@ export interface GetGroupIdListForLdapUserResponse { // @public export interface GetKeyVaultStatusResponse { - properties?: GetKeyVaultStatusResponseProperties; + keyName?: string; + keyVaultPrivateEndpoints?: KeyVaultPrivateEndpoint[]; + keyVaultResourceId?: string; + keyVaultUri?: string; } // @public @@ -2377,24 +2428,37 @@ export type MultiAdStatus = string; // @public export interface NetAppAccount extends TrackedResource { + activeDirectories?: ActiveDirectory[]; + readonly disableShowmount?: boolean | null; + encryption?: AccountEncryption; readonly etag?: string; identity?: ManagedServiceIdentity; - properties?: AccountProperties; + ldapConfiguration?: LdapConfiguration; + readonly multiAdStatus?: MultiAdStatus; + nfsV4IDDomain?: string | null; + readonly provisioningState?: string; } // @public export interface NetAppAccountPatch { + activeDirectories?: ActiveDirectory[]; + readonly disableShowmount?: boolean | null; + encryption?: AccountEncryption; readonly id?: string; identity?: ManagedServiceIdentity; + ldapConfiguration?: LdapConfiguration; location?: string; + readonly multiAdStatus?: MultiAdStatus; readonly name?: string; - properties?: AccountProperties; + nfsV4IDDomain?: string | null; + readonly provisioningState?: string; tags?: Record; readonly type?: string; } // @public (undocumented) export class NetAppManagementClient { + constructor(credential: TokenCredential, options?: NetAppManagementClientOptionalParams); constructor(credential: TokenCredential, subscriptionId: string, options?: NetAppManagementClientOptionalParams); readonly accounts: AccountsOperations; readonly activeDirectoryConfigs: ActiveDirectoryConfigsOperations; @@ -2564,7 +2628,7 @@ export interface Operation { display?: OperationDisplay; name?: string; origin?: string; - properties?: OperationProperties; + serviceSpecification?: ServiceSpecification; } // @public @@ -2714,7 +2778,9 @@ export interface QuotaAvailabilityRequest { // @public export interface QuotaItem extends ProxyResource { - properties?: QuotaItemProperties; + readonly current?: number; + readonly default?: number; + readonly usage?: number | null; } // @public @@ -2823,7 +2889,8 @@ export interface RegionInfoAvailabilityZoneMappingsItem { // @public export interface RegionInfoResource extends ProxyResource { - properties?: RegionInfo; + availabilityZoneMappings?: RegionInfoAvailabilityZoneMappingsItem[]; + storageToNetworkProximity?: RegionStorageToNetworkProximity; } // @public @@ -2969,8 +3036,10 @@ export interface SmbSettings { // @public export interface Snapshot extends ProxyResource { + readonly created?: Date; location: string; - properties?: SnapshotProperties; + readonly provisioningState?: string; + readonly snapshotId?: string; } // @public @@ -3018,18 +3087,28 @@ export interface SnapshotPoliciesUpdateOptionalParams extends OperationOptions { // @public export interface SnapshotPolicy extends TrackedResource { + dailySchedule?: DailySchedule; + enabled?: boolean; readonly etag?: string; - properties: SnapshotPolicyProperties; + hourlySchedule?: HourlySchedule; + monthlySchedule?: MonthlySchedule; + readonly provisioningState?: string; + weeklySchedule?: WeeklySchedule; } // @public export interface SnapshotPolicyPatch { + dailySchedule?: DailySchedule; + enabled?: boolean; + hourlySchedule?: HourlySchedule; readonly id?: string; location?: string; + monthlySchedule?: MonthlySchedule; readonly name?: string; - properties?: SnapshotPolicyProperties; + readonly provisioningState?: string; tags?: Record; readonly type?: string; + weeklySchedule?: WeeklySchedule; } // @public @@ -3104,14 +3183,26 @@ export type SnapshotUsage = string; // @public export interface SubvolumeInfo extends ProxyResource { - properties?: SubvolumeProperties; + parentPath?: string | null; + path?: string; + readonly provisioningState?: string; + size?: number | null; } // @public export interface SubvolumeModel { + accessedTimeStamp?: Date; + bytesUsed?: number; + changedTimeStamp?: Date; + creationTimeStamp?: Date; readonly id?: string; + modifiedTimeStamp?: Date; readonly name?: string; - properties?: SubvolumeModelProperties; + parentPath?: string; + path?: string; + permissions?: string; + provisioningState?: string; + size?: number; readonly type?: string; } @@ -3137,7 +3228,8 @@ export interface SubvolumePatchParams { // @public export interface SubvolumePatchRequest { - properties?: SubvolumePatchParams; + path?: string; + size?: number | null; } // @public @@ -3239,9 +3331,11 @@ export interface UsageProperties { // @public export interface UsageResult { + readonly currentValue?: number; readonly id?: string; + readonly limit?: number; readonly name?: UsageName; - properties?: UsageProperties; + readonly unit?: string; } // @public @@ -3252,8 +3346,69 @@ export interface UserAssignedIdentity { // @public export interface Volume extends TrackedResource { + acceptGrowCapacityPoolForShortTermCloneSplit?: AcceptGrowCapacityPoolForShortTermCloneSplit; + readonly actualThroughputMibps?: number; + avsDataStore?: AvsDataStore; + backupId?: string | null; + readonly baremetalTenantId?: string; + breakthroughMode?: BreakthroughMode; + capacityPoolResourceId?: string; + readonly cloneProgress?: number | null; + coolAccess?: boolean; + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + coolnessPeriod?: number; + creationToken: string; + dataProtection?: VolumePropertiesDataProtection; + readonly dataStoreResourceId?: string[]; + defaultGroupQuotaInKiBs?: number; + defaultUserQuotaInKiBs?: number; + deleteBaseSnapshot?: boolean; + readonly effectiveNetworkFeatures?: NetworkFeatures; + enableSubvolumes?: EnableSubvolumes; + readonly encrypted?: boolean; + encryptionKeySource?: EncryptionKeySource; readonly etag?: string; - properties: VolumeProperties; + exportPolicy?: VolumePropertiesExportPolicy; + readonly fileAccessLogs?: FileAccessLogs; + readonly fileSystemId?: string; + readonly inheritedSizeInBytes?: number | null; + isDefaultQuotaEnabled?: boolean; + isLargeVolume?: boolean; + readonly isRestoring?: boolean; + kerberosEnabled?: boolean; + keyVaultPrivateEndpointResourceId?: string; + language?: VolumeLanguage; + largeVolumeType?: LargeVolumeType; + ldapEnabled?: boolean; + ldapServerType?: LdapServerType; + readonly maximumNumberOfFiles?: number; + readonly mountTargets?: MountTargetProperties[]; + networkFeatures?: NetworkFeatures; + readonly networkSiblingSetId?: string; + readonly originatingResourceId?: string | null; + placementRules?: PlacementKeyValuePairs[]; + protocolTypes?: string[]; + readonly provisionedAvailabilityZone?: string | null; + readonly provisioningState?: string; + proximityPlacementGroup?: string; + securityStyle?: SecurityStyle; + serviceLevel?: ServiceLevel; + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + smbContinuouslyAvailable?: boolean; + smbEncryption?: boolean; + smbNonBrowsable?: SmbNonBrowsable; + snapshotDirectoryVisible?: boolean; + snapshotId?: string | null; + readonly storageToNetworkProximity?: VolumeStorageToNetworkProximity; + subnetId: string; + readonly t2Network?: string; + throughputMibps?: number | null; + unixPermissions?: string | null; + usageThreshold: number; + readonly volumeGroupName?: string; + volumeSpecName?: string; + volumeType?: string; zones?: string[]; } @@ -3277,17 +3432,20 @@ export interface VolumeBackups { // @public export interface VolumeGroup { + groupMetaData?: VolumeGroupMetaData; readonly id?: string; location?: string; readonly name?: string; - properties?: VolumeGroupListProperties; + readonly provisioningState?: string; readonly type?: string; } // @public export interface VolumeGroupDetails extends ProxyResource { + groupMetaData?: VolumeGroupMetaData; location?: string; - properties?: VolumeGroupProperties; + readonly provisioningState?: string; + volumes?: VolumeGroupVolumeProperties[]; } // @public @@ -3340,11 +3498,72 @@ export interface VolumeGroupsOperations { // @public export interface VolumeGroupVolumeProperties { + acceptGrowCapacityPoolForShortTermCloneSplit?: AcceptGrowCapacityPoolForShortTermCloneSplit; + readonly actualThroughputMibps?: number; + avsDataStore?: AvsDataStore; + backupId?: string | null; + readonly baremetalTenantId?: string; + breakthroughMode?: BreakthroughMode; + capacityPoolResourceId?: string; + readonly cloneProgress?: number | null; + coolAccess?: boolean; + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + coolnessPeriod?: number; + creationToken: string; + dataProtection?: VolumePropertiesDataProtection; + readonly dataStoreResourceId?: string[]; + defaultGroupQuotaInKiBs?: number; + defaultUserQuotaInKiBs?: number; + deleteBaseSnapshot?: boolean; + readonly effectiveNetworkFeatures?: NetworkFeatures; + enableSubvolumes?: EnableSubvolumes; + readonly encrypted?: boolean; + encryptionKeySource?: EncryptionKeySource; + exportPolicy?: VolumePropertiesExportPolicy; + readonly fileAccessLogs?: FileAccessLogs; + readonly fileSystemId?: string; readonly id?: string; + readonly inheritedSizeInBytes?: number | null; + isDefaultQuotaEnabled?: boolean; + isLargeVolume?: boolean; + readonly isRestoring?: boolean; + kerberosEnabled?: boolean; + keyVaultPrivateEndpointResourceId?: string; + language?: VolumeLanguage; + largeVolumeType?: LargeVolumeType; + ldapEnabled?: boolean; + ldapServerType?: LdapServerType; + readonly maximumNumberOfFiles?: number; + readonly mountTargets?: MountTargetProperties[]; name?: string; - properties: VolumeProperties; + networkFeatures?: NetworkFeatures; + readonly networkSiblingSetId?: string; + readonly originatingResourceId?: string | null; + placementRules?: PlacementKeyValuePairs[]; + protocolTypes?: string[]; + readonly provisionedAvailabilityZone?: string | null; + readonly provisioningState?: string; + proximityPlacementGroup?: string; + securityStyle?: SecurityStyle; + serviceLevel?: ServiceLevel; + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + smbContinuouslyAvailable?: boolean; + smbEncryption?: boolean; + smbNonBrowsable?: SmbNonBrowsable; + snapshotDirectoryVisible?: boolean; + snapshotId?: string | null; + readonly storageToNetworkProximity?: VolumeStorageToNetworkProximity; + subnetId: string; + readonly t2Network?: string; tags?: Record; + throughputMibps?: number | null; readonly type?: string; + unixPermissions?: string | null; + usageThreshold: number; + readonly volumeGroupName?: string; + volumeSpecName?: string; + volumeType?: string; zones?: string[]; } @@ -3353,12 +3572,28 @@ export type VolumeLanguage = string; // @public export interface VolumePatch { + coolAccess?: boolean; + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + coolnessPeriod?: number; + dataProtection?: VolumePatchPropertiesDataProtection; + defaultGroupQuotaInKiBs?: number; + defaultUserQuotaInKiBs?: number; + exportPolicy?: VolumePatchPropertiesExportPolicy; readonly id?: string; + isDefaultQuotaEnabled?: boolean; location?: string; readonly name?: string; - properties?: VolumePatchProperties; + protocolTypes?: string[]; + serviceLevel?: ServiceLevel; + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + smbNonBrowsable?: SmbNonBrowsable; + snapshotDirectoryVisible?: boolean; tags?: Record; + throughputMibps?: number; readonly type?: string; + unixPermissions?: string | null; + usageThreshold?: number; } // @public @@ -3476,12 +3711,18 @@ export interface VolumePropertiesExportPolicy { // @public export interface VolumeQuotaRule extends TrackedResource { - properties?: VolumeQuotaRulesProperties; + readonly provisioningState?: NetAppProvisioningState; + quotaSizeInKiBs?: number; + quotaTarget?: string; + quotaType?: Type; } // @public export interface VolumeQuotaRulePatch { - properties?: VolumeQuotaRulesProperties; + readonly provisioningState?: NetAppProvisioningState; + quotaSizeInKiBs?: number; + quotaTarget?: string; + quotaType?: Type; tags?: Record; } diff --git a/sdk/netapp/arm-netapp/samples-dev/accountsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/accountsCreateOrUpdateSample.ts index e2676c867e70..75d9f4dc1ece 100644 --- a/sdk/netapp/arm-netapp/samples-dev/accountsCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/accountsCreateOrUpdateSample.ts @@ -14,10 +14,7 @@ async function accountsCreateOrUpdate(): Promise { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.accounts.createOrUpdate("myRG", "account1", { - location: "eastus", - properties: {}, - }); + const result = await client.accounts.createOrUpdate("myRG", "account1", { location: "eastus" }); console.log(result); } @@ -33,22 +30,20 @@ async function accountsCreateOrUpdateWithActiveDirectory(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.accounts.createOrUpdate("myRG", "account1", { location: "eastus", - properties: { - activeDirectories: [ - { - aesEncryption: true, - dns: "10.10.10.3", - domain: "10.10.10.3", - ldapOverTLS: false, - ldapSigning: false, - organizationalUnit: "OU=Engineering", - password: "", - site: "SiteName", - smbServerName: "SMBServer", - username: "ad_user_name", - }, - ], - }, + activeDirectories: [ + { + aesEncryption: true, + dns: "10.10.10.3", + domain: "10.10.10.3", + ldapOverTLS: false, + ldapSigning: false, + organizationalUnit: "OU=Engineering", + password: "", + site: "SiteName", + smbServerName: "SMBServer", + username: "ad_user_name", + }, + ], }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/accountsUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/accountsUpdateSample.ts index 01212244ad72..6f4ff429ebb6 100644 --- a/sdk/netapp/arm-netapp/samples-dev/accountsUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/accountsUpdateSample.ts @@ -14,9 +14,7 @@ async function accountsUpdate(): Promise { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.accounts.update("myRG", "account1", { - tags: { Tag1: "Value1" }, - }); + const result = await client.accounts.update("myRG", "account1", { tags: { Tag1: "Value1" } }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/backupPoliciesCreateSample.ts b/sdk/netapp/arm-netapp/samples-dev/backupPoliciesCreateSample.ts index f914bc6e0336..5d6ac11b07d6 100644 --- a/sdk/netapp/arm-netapp/samples-dev/backupPoliciesCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/backupPoliciesCreateSample.ts @@ -16,12 +16,10 @@ async function backupPoliciesCreate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backupPolicies.create("myRG", "account1", "backupPolicyName", { location: "westus", - properties: { - dailyBackupsToKeep: 10, - enabled: true, - monthlyBackupsToKeep: 10, - weeklyBackupsToKeep: 10, - }, + dailyBackupsToKeep: 10, + enabled: true, + monthlyBackupsToKeep: 10, + weeklyBackupsToKeep: 10, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/backupPoliciesUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/backupPoliciesUpdateSample.ts index aef22f88b739..27786d960441 100644 --- a/sdk/netapp/arm-netapp/samples-dev/backupPoliciesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/backupPoliciesUpdateSample.ts @@ -16,12 +16,10 @@ async function backupPoliciesUpdate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backupPolicies.update("myRG", "account1", "backupPolicyName", { location: "westus", - properties: { - dailyBackupsToKeep: 5, - enabled: false, - monthlyBackupsToKeep: 10, - weeklyBackupsToKeep: 10, - }, + dailyBackupsToKeep: 5, + enabled: false, + monthlyBackupsToKeep: 10, + weeklyBackupsToKeep: 10, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/backupsCreateSample.ts b/sdk/netapp/arm-netapp/samples-dev/backupsCreateSample.ts index 39dc93c2de4a..b0a891466c6f 100644 --- a/sdk/netapp/arm-netapp/samples-dev/backupsCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/backupsCreateSample.ts @@ -15,11 +15,9 @@ async function backupsUnderBackupVaultCreate(): Promise { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backups.create("myRG", "account1", "backupVault1", "backup1", { - properties: { - label: "myLabel", - volumeResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1", - }, + label: "myLabel", + volumeResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1", }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/bucketsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/bucketsCreateOrUpdateSample.ts index 82e00a8db7be..88652f243c4e 100644 --- a/sdk/netapp/arm-netapp/samples-dev/bucketsCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/bucketsCreateOrUpdateSample.ts @@ -21,15 +21,10 @@ async function bucketsCreateOrUpdate(): Promise { "volume1", "bucket1", { - properties: { - path: "/path", - fileSystemUser: { nfsUser: { groupId: 1000, userId: 1001 } }, - permissions: "ReadOnly", - server: { - certificateObject: "", - fqdn: "fullyqualified.domainname.com", - }, - }, + path: "/path", + fileSystemUser: { nfsUser: { groupId: 1000, userId: 1001 } }, + permissions: "ReadOnly", + server: { certificateObject: "", fqdn: "fullyqualified.domainname.com" }, }, ); console.log(result); diff --git a/sdk/netapp/arm-netapp/samples-dev/bucketsUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/bucketsUpdateSample.ts index 83766fe05ddc..71d928fcbffd 100644 --- a/sdk/netapp/arm-netapp/samples-dev/bucketsUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/bucketsUpdateSample.ts @@ -15,13 +15,8 @@ async function bucketsUpdate(): Promise { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.buckets.update("myRG", "account1", "pool1", "volume1", "bucket1", { - properties: { - permissions: "ReadWrite", - server: { - certificateObject: "", - fqdn: "fullyqualified.domainname.com", - }, - }, + permissions: "ReadWrite", + server: { certificateObject: "", fqdn: "fullyqualified.domainname.com" }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/elasticSnapshotPoliciesCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/elasticSnapshotPoliciesCreateOrUpdateSample.ts index 373f19ca8cd7..dcff4e97fe90 100644 --- a/sdk/netapp/arm-netapp/samples-dev/elasticSnapshotPoliciesCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/elasticSnapshotPoliciesCreateOrUpdateSample.ts @@ -24,18 +24,8 @@ async function elasticSnapshotPoliciesCreateOrUpdate(): Promise { policyStatus: "Enabled", hourlySchedule: { snapshotsToKeep: 2, minute: 50 }, dailySchedule: { snapshotsToKeep: 4, hour: 14, minute: 30 }, - weeklySchedule: { - snapshotsToKeep: 3, - days: ["Wednesday"], - hour: 14, - minute: 45, - }, - monthlySchedule: { - snapshotsToKeep: 5, - daysOfMonth: [10, 11, 12], - hour: 14, - minute: 15, - }, + weeklySchedule: { snapshotsToKeep: 3, days: ["Wednesday"], hour: 14, minute: 45 }, + monthlySchedule: { snapshotsToKeep: 5, daysOfMonth: [10, 11, 12], hour: 14, minute: 15 }, }, }, ); diff --git a/sdk/netapp/arm-netapp/samples-dev/elasticSnapshotPoliciesUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/elasticSnapshotPoliciesUpdateSample.ts index 2558118dd944..8de6309e3efd 100644 --- a/sdk/netapp/arm-netapp/samples-dev/elasticSnapshotPoliciesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/elasticSnapshotPoliciesUpdateSample.ts @@ -23,18 +23,8 @@ async function elasticSnapshotPoliciesUpdate(): Promise { policyStatus: "Enabled", hourlySchedule: { snapshotsToKeep: 2, minute: 50 }, dailySchedule: { snapshotsToKeep: 4, hour: 14, minute: 30 }, - weeklySchedule: { - snapshotsToKeep: 3, - days: ["Wednesday"], - hour: 14, - minute: 45, - }, - monthlySchedule: { - snapshotsToKeep: 5, - daysOfMonth: [10, 11, 12], - hour: 14, - minute: 15, - }, + weeklySchedule: { snapshotsToKeep: 3, days: ["Wednesday"], hour: 14, minute: 45 }, + monthlySchedule: { snapshotsToKeep: 5, daysOfMonth: [10, 11, 12], hour: 14, minute: 15 }, }, }, ); diff --git a/sdk/netapp/arm-netapp/samples-dev/operationsListSample.ts b/sdk/netapp/arm-netapp/samples-dev/operationsListSample.ts index 563cb82bcb81..576be14452ab 100644 --- a/sdk/netapp/arm-netapp/samples-dev/operationsListSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/operationsListSample.ts @@ -12,8 +12,7 @@ import { DefaultAzureCredential } from "@azure/identity"; */ async function operationList(): Promise { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; - const client = new NetAppManagementClient(credential, subscriptionId); + const client = new NetAppManagementClient(credential); const resArray = new Array(); for await (const item of client.operations.list()) { resArray.push(item); diff --git a/sdk/netapp/arm-netapp/samples-dev/poolsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/poolsCreateOrUpdateSample.ts index 530bc8008e10..3959abb3870a 100644 --- a/sdk/netapp/arm-netapp/samples-dev/poolsCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/poolsCreateOrUpdateSample.ts @@ -16,11 +16,9 @@ async function poolsCreateOrUpdate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.pools.createOrUpdate("myRG", "account1", "pool1", { location: "eastus", - properties: { - qosType: "Auto", - serviceLevel: "Premium", - size: 4398046511104, - }, + qosType: "Auto", + serviceLevel: "Premium", + size: 4398046511104, }); console.log(result); } @@ -37,12 +35,10 @@ async function poolsCreateOrUpdateCustomThroughput(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.pools.createOrUpdate("myRG", "account1", "customPool1", { location: "eastus", - properties: { - customThroughputMibps: 128, - qosType: "Manual", - serviceLevel: "Flexible", - size: 4398046511104, - }, + customThroughputMibps: 128, + qosType: "Manual", + serviceLevel: "Flexible", + size: 4398046511104, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/snapshotPoliciesCreateSample.ts b/sdk/netapp/arm-netapp/samples-dev/snapshotPoliciesCreateSample.ts index 4fbb9c196504..a4b5e82c82a7 100644 --- a/sdk/netapp/arm-netapp/samples-dev/snapshotPoliciesCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/snapshotPoliciesCreateSample.ts @@ -16,23 +16,11 @@ async function snapshotPoliciesCreate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.snapshotPolicies.create("myRG", "account1", "snapshotPolicyName", { location: "eastus", - properties: { - dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, - enabled: true, - hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, - monthlySchedule: { - daysOfMonth: "10,11,12", - hour: 14, - minute: 15, - snapshotsToKeep: 5, - }, - weeklySchedule: { - day: "Wednesday", - hour: 14, - minute: 45, - snapshotsToKeep: 3, - }, - }, + dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, + enabled: true, + hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, + monthlySchedule: { daysOfMonth: "10,11,12", hour: 14, minute: 15, snapshotsToKeep: 5 }, + weeklySchedule: { day: "Wednesday", hour: 14, minute: 45, snapshotsToKeep: 3 }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/snapshotPoliciesUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/snapshotPoliciesUpdateSample.ts index 7dffe4f00ab2..55a62ebb379c 100644 --- a/sdk/netapp/arm-netapp/samples-dev/snapshotPoliciesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/snapshotPoliciesUpdateSample.ts @@ -16,23 +16,11 @@ async function snapshotPoliciesUpdate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.snapshotPolicies.update("myRG", "account1", "snapshotPolicyName", { location: "eastus", - properties: { - dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, - enabled: true, - hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, - monthlySchedule: { - daysOfMonth: "10,11,12", - hour: 14, - minute: 15, - snapshotsToKeep: 5, - }, - weeklySchedule: { - day: "Wednesday", - hour: 14, - minute: 45, - snapshotsToKeep: 3, - }, - }, + dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, + enabled: true, + hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, + monthlySchedule: { daysOfMonth: "10,11,12", hour: 14, minute: 15, snapshotsToKeep: 5 }, + weeklySchedule: { day: "Wednesday", hour: 14, minute: 45, snapshotsToKeep: 3 }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/subvolumesCreateSample.ts b/sdk/netapp/arm-netapp/samples-dev/subvolumesCreateSample.ts index 4c3f6e8f40a2..42285abeb936 100644 --- a/sdk/netapp/arm-netapp/samples-dev/subvolumesCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/subvolumesCreateSample.ts @@ -20,7 +20,7 @@ async function subvolumesCreate(): Promise { "pool1", "volume1", "subvolume1", - { properties: { path: "/subvolumePath" } }, + { path: "/subvolumePath" }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/subvolumesUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/subvolumesUpdateSample.ts index 0dc0e4e582f1..2c804a8cd91c 100644 --- a/sdk/netapp/arm-netapp/samples-dev/subvolumesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/subvolumesUpdateSample.ts @@ -20,7 +20,7 @@ async function subvolumesUpdate(): Promise { "pool1", "volume1", "subvolume1", - { properties: { path: "/subvolumePath" } }, + { path: "/subvolumePath" }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/volumeGroupsCreateSample.ts b/sdk/netapp/arm-netapp/samples-dev/volumeGroupsCreateSample.ts index ca3b8dc29848..b715d094bdf0 100644 --- a/sdk/netapp/arm-netapp/samples-dev/volumeGroupsCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/volumeGroupsCreateSample.ts @@ -16,447 +16,421 @@ async function volumeGroupsCreateOracle(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.volumeGroups.create("myRG", "account1", "group1", { location: "westus", - properties: { - groupMetaData: { - applicationIdentifier: "OR2", - applicationType: "ORACLE", - groupDescription: "Volume group", - }, - volumes: [ - { - name: "test-ora-data1", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data1", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + groupMetaData: { + applicationIdentifier: "OR2", + applicationType: "ORACLE", + groupDescription: "Volume group", + }, + volumes: [ + { + name: "test-ora-data1", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data1", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data1", - }, - zones: ["1"], + ], }, - { - name: "test-ora-data2", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data2", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data1", + zones: ["1"], + }, + { + name: "test-ora-data2", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data2", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data2", - }, - zones: ["1"], + ], }, - { - name: "test-ora-data3", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data3", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data2", + zones: ["1"], + }, + { + name: "test-ora-data3", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data3", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data3", - }, - zones: ["1"], + ], }, - { - name: "test-ora-data4", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data4", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data3", + zones: ["1"], + }, + { + name: "test-ora-data4", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data4", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data4", - }, - zones: ["1"], + ], }, - { - name: "test-ora-data5", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data5", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data4", + zones: ["1"], + }, + { + name: "test-ora-data5", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data5", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data5", - }, - zones: ["1"], + ], }, - { - name: "test-ora-data6", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data6", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data5", + zones: ["1"], + }, + { + name: "test-ora-data6", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data6", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data6", - }, - zones: ["1"], + ], }, - { - name: "test-ora-data7", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data7", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data6", + zones: ["1"], + }, + { + name: "test-ora-data7", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data7", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data7", - }, - zones: ["1"], + ], }, - { - name: "test-ora-data8", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data8", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data7", + zones: ["1"], + }, + { + name: "test-ora-data8", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data8", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data8", - }, - zones: ["1"], + ], }, - { - name: "test-ora-log", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-log", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data8", + zones: ["1"], + }, + { + name: "test-ora-log", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-log", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-log", - }, - zones: ["1"], + ], }, - { - name: "test-ora-log-mirror", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-log-mirror", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-log", + zones: ["1"], + }, + { + name: "test-ora-log-mirror", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-log-mirror", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-log-mirror", - }, - zones: ["1"], + ], }, - { - name: "test-ora-binary", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-binary", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-log-mirror", + zones: ["1"], + }, + { + name: "test-ora-binary", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-binary", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-binary", - }, - zones: ["1"], + ], }, - { - name: "test-ora-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-binary", + zones: ["1"], + }, + { + name: "test-ora-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-backup", - }, - zones: ["1"], + ], }, - ], - }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-backup", + zones: ["1"], + }, + ], }); console.log(result); } @@ -473,200 +447,188 @@ async function volumeGroupsCreateSapHana(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.volumeGroups.create("myRG", "account1", "group1", { location: "westus", - properties: { - groupMetaData: { - applicationIdentifier: "SH9", - applicationType: "SAP-HANA", - groupDescription: "Volume group", - }, - volumes: [ - { - name: "test-data-mnt00001", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-data-mnt00001", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + groupMetaData: { + applicationIdentifier: "SH9", + applicationType: "SAP-HANA", + groupDescription: "Volume group", + }, + volumes: [ + { + name: "test-data-mnt00001", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-data-mnt00001", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "data", - }, + ], }, - { - name: "test-log-mnt00001", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-log-mnt00001", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "data", + }, + { + name: "test-log-mnt00001", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-log-mnt00001", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "log", - }, + ], }, - { - name: "test-shared", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-shared", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "log", + }, + { + name: "test-shared", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-shared", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "shared", - }, + ], }, - { - name: "test-data-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-data-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "shared", + }, + { + name: "test-data-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-data-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "data-backup", - }, + ], }, - { - name: "test-log-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-log-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "data-backup", + }, + { + name: "test-log-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-log-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "log-backup", - }, + ], }, - ], - }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "log-backup", + }, + ], }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/volumeQuotaRulesCreateSample.ts b/sdk/netapp/arm-netapp/samples-dev/volumeQuotaRulesCreateSample.ts index 0d6d54447a2a..c316ee4ed751 100644 --- a/sdk/netapp/arm-netapp/samples-dev/volumeQuotaRulesCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/volumeQuotaRulesCreateSample.ts @@ -22,11 +22,9 @@ async function volumeQuotaRulesCreate(): Promise { "rule-0004", { location: "westus", - properties: { - quotaSizeInKiBs: 100005, - quotaTarget: "1821", - quotaType: "IndividualUserQuota", - }, + quotaSizeInKiBs: 100005, + quotaTarget: "1821", + quotaType: "IndividualUserQuota", }, ); console.log(result); diff --git a/sdk/netapp/arm-netapp/samples-dev/volumeQuotaRulesUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/volumeQuotaRulesUpdateSample.ts index 40170af9f811..6764727976e9 100644 --- a/sdk/netapp/arm-netapp/samples-dev/volumeQuotaRulesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/volumeQuotaRulesUpdateSample.ts @@ -20,7 +20,7 @@ async function volumeQuotaRulesUpdate(): Promise { "pool-5210", "volume-6387", "rule-0004", - { properties: { quotaSizeInKiBs: 100009 } }, + { quotaSizeInKiBs: 100009 }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/volumesBreakFileLocksSample.ts b/sdk/netapp/arm-netapp/samples-dev/volumesBreakFileLocksSample.ts index b8aef4d59640..e22b0e54055c 100644 --- a/sdk/netapp/arm-netapp/samples-dev/volumesBreakFileLocksSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/volumesBreakFileLocksSample.ts @@ -15,10 +15,7 @@ async function volumesBreakFileLocks(): Promise { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); await client.volumes.breakFileLocks("myRG", "account1", "pool1", "volume1", { - body: { - clientIp: "101.102.103.104", - confirmRunningDisruptiveOperation: true, - }, + body: { clientIp: "101.102.103.104", confirmRunningDisruptiveOperation: true }, }); } diff --git a/sdk/netapp/arm-netapp/samples-dev/volumesCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples-dev/volumesCreateOrUpdateSample.ts index 0d9d79a7005e..58b3bd56ba02 100644 --- a/sdk/netapp/arm-netapp/samples-dev/volumesCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/volumesCreateOrUpdateSample.ts @@ -16,13 +16,11 @@ async function volumesCreateOrUpdate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.volumes.createOrUpdate("myRG", "account1", "pool1", "volume1", { location: "eastus", - properties: { - creationToken: "my-unique-file-path", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - usageThreshold: 107374182400, - }, + creationToken: "my-unique-file-path", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + usageThreshold: 107374182400, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples-dev/volumesRelocateSample.ts b/sdk/netapp/arm-netapp/samples-dev/volumesRelocateSample.ts index dfdba8a88020..9dba8f46abd9 100644 --- a/sdk/netapp/arm-netapp/samples-dev/volumesRelocateSample.ts +++ b/sdk/netapp/arm-netapp/samples-dev/volumesRelocateSample.ts @@ -14,9 +14,7 @@ async function volumesRelocate(): Promise { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - await client.volumes.relocate("myRG", "account1", "pool1", "volume1", { - body: {}, - }); + await client.volumes.relocate("myRG", "account1", "pool1", "volume1", { body: {} }); } async function main(): Promise { diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsCreateSample.js b/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsCreateSample.js deleted file mode 100644 index acfd79981868..000000000000 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsCreateSample.js +++ /dev/null @@ -1,679 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -const { NetAppManagementClient } = require("@azure/arm-netapp"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to create a volume group along with specified volumes - * - * @summary create a volume group along with specified volumes - * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_Oracle.json - */ -async function volumeGroupsCreateOracle() { - const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.volumeGroups.create("myRG", "account1", "group1", { - location: "westus", - properties: { - groupMetaData: { - applicationIdentifier: "OR2", - applicationType: "ORACLE", - groupDescription: "Volume group", - }, - volumes: [ - { - name: "test-ora-data1", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data1", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data1", - }, - zones: ["1"], - }, - { - name: "test-ora-data2", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data2", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data2", - }, - zones: ["1"], - }, - { - name: "test-ora-data3", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data3", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data3", - }, - zones: ["1"], - }, - { - name: "test-ora-data4", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data4", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data4", - }, - zones: ["1"], - }, - { - name: "test-ora-data5", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data5", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data5", - }, - zones: ["1"], - }, - { - name: "test-ora-data6", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data6", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data6", - }, - zones: ["1"], - }, - { - name: "test-ora-data7", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data7", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data7", - }, - zones: ["1"], - }, - { - name: "test-ora-data8", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data8", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data8", - }, - zones: ["1"], - }, - { - name: "test-ora-log", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-log", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-log", - }, - zones: ["1"], - }, - { - name: "test-ora-log-mirror", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-log-mirror", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-log-mirror", - }, - zones: ["1"], - }, - { - name: "test-ora-binary", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-binary", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-binary", - }, - zones: ["1"], - }, - { - name: "test-ora-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-backup", - }, - zones: ["1"], - }, - ], - }, - }); - console.log(result); -} - -/** - * This sample demonstrates how to create a volume group along with specified volumes - * - * @summary create a volume group along with specified volumes - * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_SapHana.json - */ -async function volumeGroupsCreateSapHana() { - const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.volumeGroups.create("myRG", "account1", "group1", { - location: "westus", - properties: { - groupMetaData: { - applicationIdentifier: "SH9", - applicationType: "SAP-HANA", - groupDescription: "Volume group", - }, - volumes: [ - { - name: "test-data-mnt00001", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-data-mnt00001", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "data", - }, - }, - { - name: "test-log-mnt00001", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-log-mnt00001", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "log", - }, - }, - { - name: "test-shared", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-shared", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "shared", - }, - }, - { - name: "test-data-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-data-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "data-backup", - }, - }, - { - name: "test-log-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-log-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "log-backup", - }, - }, - ], - }, - }); - console.log(result); -} - -async function main() { - await volumeGroupsCreateOracle(); - await volumeGroupsCreateSapHana(); -} - -main().catch(console.error); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsCreateSample.ts b/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsCreateSample.ts deleted file mode 100644 index ca3b8dc29848..000000000000 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsCreateSample.ts +++ /dev/null @@ -1,679 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { NetAppManagementClient } from "@azure/arm-netapp"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to create a volume group along with specified volumes - * - * @summary create a volume group along with specified volumes - * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_Oracle.json - */ -async function volumeGroupsCreateOracle(): Promise { - const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.volumeGroups.create("myRG", "account1", "group1", { - location: "westus", - properties: { - groupMetaData: { - applicationIdentifier: "OR2", - applicationType: "ORACLE", - groupDescription: "Volume group", - }, - volumes: [ - { - name: "test-ora-data1", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data1", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data1", - }, - zones: ["1"], - }, - { - name: "test-ora-data2", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data2", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data2", - }, - zones: ["1"], - }, - { - name: "test-ora-data3", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data3", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data3", - }, - zones: ["1"], - }, - { - name: "test-ora-data4", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data4", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data4", - }, - zones: ["1"], - }, - { - name: "test-ora-data5", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data5", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data5", - }, - zones: ["1"], - }, - { - name: "test-ora-data6", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data6", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data6", - }, - zones: ["1"], - }, - { - name: "test-ora-data7", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data7", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data7", - }, - zones: ["1"], - }, - { - name: "test-ora-data8", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-data8", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-data8", - }, - zones: ["1"], - }, - { - name: "test-ora-log", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-log", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-log", - }, - zones: ["1"], - }, - { - name: "test-ora-log-mirror", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-log-mirror", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-log-mirror", - }, - zones: ["1"], - }, - { - name: "test-ora-binary", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-binary", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-binary", - }, - zones: ["1"], - }, - { - name: "test-ora-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-ora-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "ora-backup", - }, - zones: ["1"], - }, - ], - }, - }); - console.log(result); -} - -/** - * This sample demonstrates how to create a volume group along with specified volumes - * - * @summary create a volume group along with specified volumes - * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_SapHana.json - */ -async function volumeGroupsCreateSapHana(): Promise { - const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.volumeGroups.create("myRG", "account1", "group1", { - location: "westus", - properties: { - groupMetaData: { - applicationIdentifier: "SH9", - applicationType: "SAP-HANA", - groupDescription: "Volume group", - }, - volumes: [ - { - name: "test-data-mnt00001", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-data-mnt00001", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "data", - }, - }, - { - name: "test-log-mnt00001", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-log-mnt00001", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "log", - }, - }, - { - name: "test-shared", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-shared", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "shared", - }, - }, - { - name: "test-data-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-data-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "data-backup", - }, - }, - { - name: "test-log-backup", - properties: { - capacityPoolResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", - creationToken: "test-log-backup", - exportPolicy: { - rules: [ - { - allowedClients: "0.0.0.0/0", - cifs: false, - hasRootAccess: true, - kerberos5ReadOnly: false, - kerberos5ReadWrite: false, - kerberos5IReadOnly: false, - kerberos5IReadWrite: false, - kerberos5PReadOnly: false, - kerberos5PReadWrite: false, - nfsv3: false, - nfsv41: true, - ruleIndex: 1, - unixReadOnly: true, - unixReadWrite: true, - }, - ], - }, - protocolTypes: ["NFSv4.1"], - proximityPlacementGroup: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - throughputMibps: 10, - usageThreshold: 107374182400, - volumeSpecName: "log-backup", - }, - }, - ], - }, - }); - console.log(result); -} - -async function main(): Promise { - await volumeGroupsCreateOracle(); - await volumeGroupsCreateSapHana(); -} - -main().catch(console.error); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/README.md b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/README.md similarity index 92% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/README.md rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/README.md index 7435a873560c..adf609d736da 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/README.md +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/README.md @@ -214,177 +214,177 @@ node accountsChangeKeyVaultSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[accountschangekeyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsChangeKeyVaultSample.js -[accountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsCreateOrUpdateSample.js -[accountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsDeleteSample.js -[accountsgetchangekeyvaultinformationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsGetChangeKeyVaultInformationSample.js -[accountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsGetSample.js -[accountslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsListBySubscriptionSample.js -[accountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsListSample.js -[accountsrenewcredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsRenewCredentialsSample.js -[accountstransitiontocmksample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsTransitionToCmkSample.js -[accountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsUpdateSample.js -[activedirectoryconfigscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsCreateOrUpdateSample.js -[activedirectoryconfigsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsDeleteSample.js -[activedirectoryconfigsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsGetSample.js -[activedirectoryconfigslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsListByResourceGroupSample.js -[activedirectoryconfigslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsListBySubscriptionSample.js -[activedirectoryconfigsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsUpdateSample.js -[backuppoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesCreateSample.js -[backuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesDeleteSample.js -[backuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesGetSample.js -[backuppolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesListSample.js -[backuppoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesUpdateSample.js -[backupvaultscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsCreateOrUpdateSample.js -[backupvaultsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsDeleteSample.js -[backupvaultsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsGetSample.js -[backupvaultslistbynetappaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsListByNetAppAccountSample.js -[backupvaultsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsUpdateSample.js -[backupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsCreateSample.js -[backupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsDeleteSample.js -[backupsgetlateststatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetLatestStatusSample.js -[backupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetSample.js -[backupsgetvolumelatestrestorestatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetVolumeLatestRestoreStatusSample.js -[backupslistbyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsListByVaultSample.js -[backupsunderaccountmigratebackupssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderAccountMigrateBackupsSample.js -[backupsunderbackupvaultrestorefilessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderBackupVaultRestoreFilesSample.js -[backupsundervolumemigratebackupssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderVolumeMigrateBackupsSample.js -[backupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUpdateSample.js -[bucketscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsCreateOrUpdateSample.js -[bucketsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsDeleteSample.js -[bucketsgeneratecredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsGenerateCredentialsSample.js -[bucketsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsGetSample.js -[bucketslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsListSample.js -[bucketsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsUpdateSample.js -[cachescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesCreateOrUpdateSample.js -[cachesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesDeleteSample.js -[cachesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesGetSample.js -[cacheslistbycapacitypoolssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesListByCapacityPoolsSample.js -[cacheslistpeeringpassphrasessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesListPeeringPassphrasesSample.js -[cachespoolchangesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesPoolChangeSample.js -[cachesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesUpdateSample.js -[elasticaccountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsCreateOrUpdateSample.js -[elasticaccountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsDeleteSample.js -[elasticaccountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsGetSample.js -[elasticaccountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsListByResourceGroupSample.js -[elasticaccountslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsListBySubscriptionSample.js -[elasticaccountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsUpdateSample.js -[elasticbackuppoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesCreateOrUpdateSample.js -[elasticbackuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesDeleteSample.js -[elasticbackuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesGetSample.js -[elasticbackuppolicieslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesListByElasticAccountSample.js -[elasticbackuppoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesUpdateSample.js -[elasticbackupvaultscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsCreateOrUpdateSample.js -[elasticbackupvaultsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsDeleteSample.js -[elasticbackupvaultsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsGetSample.js -[elasticbackupvaultslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsListByElasticAccountSample.js -[elasticbackupvaultsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsUpdateSample.js -[elasticbackupscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsCreateOrUpdateSample.js -[elasticbackupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsDeleteSample.js -[elasticbackupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsGetSample.js -[elasticbackupslistbyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsListByVaultSample.js -[elasticbackupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsUpdateSample.js -[elasticcapacitypoolschangezonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsChangeZoneSample.js -[elasticcapacitypoolscheckvolumefilepathavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.js -[elasticcapacitypoolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsCreateOrUpdateSample.js -[elasticcapacitypoolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsDeleteSample.js -[elasticcapacitypoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsGetSample.js -[elasticcapacitypoolslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsListByElasticAccountSample.js -[elasticcapacitypoolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsUpdateSample.js -[elasticsnapshotpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesCreateOrUpdateSample.js -[elasticsnapshotpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesDeleteSample.js -[elasticsnapshotpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesGetSample.js -[elasticsnapshotpolicieslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesListByElasticAccountSample.js -[elasticsnapshotpolicieslistelasticvolumessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesListElasticVolumesSample.js -[elasticsnapshotpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesUpdateSample.js -[elasticsnapshotscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsCreateOrUpdateSample.js -[elasticsnapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsDeleteSample.js -[elasticsnapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsGetSample.js -[elasticsnapshotslistbyelasticvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsListByElasticVolumeSample.js -[elasticvolumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesCreateOrUpdateSample.js -[elasticvolumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesDeleteSample.js -[elasticvolumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesGetSample.js -[elasticvolumeslistbyelasticpoolsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesListByElasticPoolSample.js -[elasticvolumesrevertsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesRevertSample.js -[elasticvolumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesUpdateSample.js -[netappresourcecheckfilepathavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckFilePathAvailabilitySample.js -[netappresourcechecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckNameAvailabilitySample.js -[netappresourcecheckquotaavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckQuotaAvailabilitySample.js -[netappresourcequerynetworksiblingsetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQueryNetworkSiblingSetSample.js -[netappresourcequeryregioninfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQueryRegionInfoSample.js -[netappresourcequotalimitsaccountgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsAccountGetSample.js -[netappresourcequotalimitsaccountlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsAccountListSample.js -[netappresourcequotalimitsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsGetSample.js -[netappresourcequotalimitslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsListSample.js -[netappresourceregioninfosgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceRegionInfosGetSample.js -[netappresourceregioninfoslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceRegionInfosListSample.js -[netappresourceupdatenetworksiblingsetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUpdateNetworkSiblingSetSample.js -[netappresourceusagesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUsagesGetSample.js -[netappresourceusageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUsagesListSample.js -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/operationsListSample.js -[poolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsCreateOrUpdateSample.js -[poolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsDeleteSample.js -[poolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsGetSample.js -[poolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsListSample.js -[poolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsUpdateSample.js -[ransomwarereportsclearsuspectssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsClearSuspectsSample.js -[ransomwarereportsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsGetSample.js -[ransomwarereportslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsListSample.js -[snapshotpoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesCreateSample.js -[snapshotpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesDeleteSample.js -[snapshotpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesGetSample.js -[snapshotpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesListSample.js -[snapshotpolicieslistvolumessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesListVolumesSample.js -[snapshotpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesUpdateSample.js -[snapshotscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsCreateSample.js -[snapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsDeleteSample.js -[snapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsGetSample.js -[snapshotslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsListSample.js -[snapshotsrestorefilessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsRestoreFilesSample.js -[snapshotsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsUpdateSample.js -[subvolumescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesCreateSample.js -[subvolumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesDeleteSample.js -[subvolumesgetmetadatasample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesGetMetadataSample.js -[subvolumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesGetSample.js -[subvolumeslistbyvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesListByVolumeSample.js -[subvolumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesUpdateSample.js -[volumegroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsCreateSample.js -[volumegroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsDeleteSample.js -[volumegroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsGetSample.js -[volumegroupslistbynetappaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsListByNetAppAccountSample.js -[volumequotarulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesCreateSample.js -[volumequotarulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesDeleteSample.js -[volumequotarulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesGetSample.js -[volumequotaruleslistbyvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesListByVolumeSample.js -[volumequotarulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesUpdateSample.js -[volumesauthorizeexternalreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesAuthorizeExternalReplicationSample.js -[volumesauthorizereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesAuthorizeReplicationSample.js -[volumesbreakfilelockssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesBreakFileLocksSample.js -[volumesbreakreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesBreakReplicationSample.js -[volumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesCreateOrUpdateSample.js -[volumesdeletereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesDeleteReplicationSample.js -[volumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesDeleteSample.js -[volumesfinalizeexternalreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesFinalizeExternalReplicationSample.js -[volumesfinalizerelocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesFinalizeRelocationSample.js -[volumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesGetSample.js -[volumeslistgetgroupidlistforldapusersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListGetGroupIdListForLdapUserSample.js -[volumeslistquotareportsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListQuotaReportSample.js -[volumeslistreplicationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListReplicationsSample.js -[volumeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListSample.js -[volumespeerexternalclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPeerExternalClusterSample.js -[volumesperformreplicationtransfersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPerformReplicationTransferSample.js -[volumespoolchangesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPoolChangeSample.js -[volumespopulateavailabilityzonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPopulateAvailabilityZoneSample.js -[volumesreinitializereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReInitializeReplicationSample.js -[volumesreestablishreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReestablishReplicationSample.js -[volumesrelocatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRelocateSample.js -[volumesreplicationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReplicationStatusSample.js -[volumesresetcifspasswordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesResetCifsPasswordSample.js -[volumesresyncreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesResyncReplicationSample.js -[volumesrevertrelocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRevertRelocationSample.js -[volumesrevertsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRevertSample.js -[volumessplitclonefromparentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesSplitCloneFromParentSample.js -[volumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesUpdateSample.js +[accountschangekeyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsChangeKeyVaultSample.js +[accountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsCreateOrUpdateSample.js +[accountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsDeleteSample.js +[accountsgetchangekeyvaultinformationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsGetChangeKeyVaultInformationSample.js +[accountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsGetSample.js +[accountslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsListBySubscriptionSample.js +[accountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsListSample.js +[accountsrenewcredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsRenewCredentialsSample.js +[accountstransitiontocmksample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsTransitionToCmkSample.js +[accountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsUpdateSample.js +[activedirectoryconfigscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsCreateOrUpdateSample.js +[activedirectoryconfigsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsDeleteSample.js +[activedirectoryconfigsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsGetSample.js +[activedirectoryconfigslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsListByResourceGroupSample.js +[activedirectoryconfigslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsListBySubscriptionSample.js +[activedirectoryconfigsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsUpdateSample.js +[backuppoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesCreateSample.js +[backuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesDeleteSample.js +[backuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesGetSample.js +[backuppolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesListSample.js +[backuppoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesUpdateSample.js +[backupvaultscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsCreateOrUpdateSample.js +[backupvaultsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsDeleteSample.js +[backupvaultsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsGetSample.js +[backupvaultslistbynetappaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsListByNetAppAccountSample.js +[backupvaultsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsUpdateSample.js +[backupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsCreateSample.js +[backupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsDeleteSample.js +[backupsgetlateststatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetLatestStatusSample.js +[backupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetSample.js +[backupsgetvolumelatestrestorestatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetVolumeLatestRestoreStatusSample.js +[backupslistbyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsListByVaultSample.js +[backupsunderaccountmigratebackupssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderAccountMigrateBackupsSample.js +[backupsunderbackupvaultrestorefilessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderBackupVaultRestoreFilesSample.js +[backupsundervolumemigratebackupssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderVolumeMigrateBackupsSample.js +[backupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUpdateSample.js +[bucketscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsCreateOrUpdateSample.js +[bucketsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsDeleteSample.js +[bucketsgeneratecredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsGenerateCredentialsSample.js +[bucketsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsGetSample.js +[bucketslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsListSample.js +[bucketsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsUpdateSample.js +[cachescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesCreateOrUpdateSample.js +[cachesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesDeleteSample.js +[cachesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesGetSample.js +[cacheslistbycapacitypoolssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesListByCapacityPoolsSample.js +[cacheslistpeeringpassphrasessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesListPeeringPassphrasesSample.js +[cachespoolchangesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesPoolChangeSample.js +[cachesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesUpdateSample.js +[elasticaccountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsCreateOrUpdateSample.js +[elasticaccountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsDeleteSample.js +[elasticaccountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsGetSample.js +[elasticaccountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsListByResourceGroupSample.js +[elasticaccountslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsListBySubscriptionSample.js +[elasticaccountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsUpdateSample.js +[elasticbackuppoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesCreateOrUpdateSample.js +[elasticbackuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesDeleteSample.js +[elasticbackuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesGetSample.js +[elasticbackuppolicieslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesListByElasticAccountSample.js +[elasticbackuppoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesUpdateSample.js +[elasticbackupvaultscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsCreateOrUpdateSample.js +[elasticbackupvaultsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsDeleteSample.js +[elasticbackupvaultsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsGetSample.js +[elasticbackupvaultslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsListByElasticAccountSample.js +[elasticbackupvaultsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsUpdateSample.js +[elasticbackupscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsCreateOrUpdateSample.js +[elasticbackupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsDeleteSample.js +[elasticbackupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsGetSample.js +[elasticbackupslistbyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsListByVaultSample.js +[elasticbackupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsUpdateSample.js +[elasticcapacitypoolschangezonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsChangeZoneSample.js +[elasticcapacitypoolscheckvolumefilepathavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.js +[elasticcapacitypoolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsCreateOrUpdateSample.js +[elasticcapacitypoolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsDeleteSample.js +[elasticcapacitypoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsGetSample.js +[elasticcapacitypoolslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsListByElasticAccountSample.js +[elasticcapacitypoolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsUpdateSample.js +[elasticsnapshotpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesCreateOrUpdateSample.js +[elasticsnapshotpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesDeleteSample.js +[elasticsnapshotpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesGetSample.js +[elasticsnapshotpolicieslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesListByElasticAccountSample.js +[elasticsnapshotpolicieslistelasticvolumessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesListElasticVolumesSample.js +[elasticsnapshotpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesUpdateSample.js +[elasticsnapshotscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsCreateOrUpdateSample.js +[elasticsnapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsDeleteSample.js +[elasticsnapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsGetSample.js +[elasticsnapshotslistbyelasticvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsListByElasticVolumeSample.js +[elasticvolumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesCreateOrUpdateSample.js +[elasticvolumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesDeleteSample.js +[elasticvolumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesGetSample.js +[elasticvolumeslistbyelasticpoolsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesListByElasticPoolSample.js +[elasticvolumesrevertsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesRevertSample.js +[elasticvolumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesUpdateSample.js +[netappresourcecheckfilepathavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckFilePathAvailabilitySample.js +[netappresourcechecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckNameAvailabilitySample.js +[netappresourcecheckquotaavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckQuotaAvailabilitySample.js +[netappresourcequerynetworksiblingsetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQueryNetworkSiblingSetSample.js +[netappresourcequeryregioninfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQueryRegionInfoSample.js +[netappresourcequotalimitsaccountgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsAccountGetSample.js +[netappresourcequotalimitsaccountlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsAccountListSample.js +[netappresourcequotalimitsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsGetSample.js +[netappresourcequotalimitslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsListSample.js +[netappresourceregioninfosgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceRegionInfosGetSample.js +[netappresourceregioninfoslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceRegionInfosListSample.js +[netappresourceupdatenetworksiblingsetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUpdateNetworkSiblingSetSample.js +[netappresourceusagesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUsagesGetSample.js +[netappresourceusageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUsagesListSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/operationsListSample.js +[poolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsCreateOrUpdateSample.js +[poolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsDeleteSample.js +[poolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsGetSample.js +[poolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsListSample.js +[poolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsUpdateSample.js +[ransomwarereportsclearsuspectssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsClearSuspectsSample.js +[ransomwarereportsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsGetSample.js +[ransomwarereportslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsListSample.js +[snapshotpoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesCreateSample.js +[snapshotpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesDeleteSample.js +[snapshotpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesGetSample.js +[snapshotpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesListSample.js +[snapshotpolicieslistvolumessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesListVolumesSample.js +[snapshotpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesUpdateSample.js +[snapshotscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsCreateSample.js +[snapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsDeleteSample.js +[snapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsGetSample.js +[snapshotslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsListSample.js +[snapshotsrestorefilessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsRestoreFilesSample.js +[snapshotsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsUpdateSample.js +[subvolumescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesCreateSample.js +[subvolumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesDeleteSample.js +[subvolumesgetmetadatasample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesGetMetadataSample.js +[subvolumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesGetSample.js +[subvolumeslistbyvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesListByVolumeSample.js +[subvolumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesUpdateSample.js +[volumegroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsCreateSample.js +[volumegroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsDeleteSample.js +[volumegroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsGetSample.js +[volumegroupslistbynetappaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsListByNetAppAccountSample.js +[volumequotarulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesCreateSample.js +[volumequotarulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesDeleteSample.js +[volumequotarulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesGetSample.js +[volumequotaruleslistbyvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesListByVolumeSample.js +[volumequotarulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesUpdateSample.js +[volumesauthorizeexternalreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesAuthorizeExternalReplicationSample.js +[volumesauthorizereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesAuthorizeReplicationSample.js +[volumesbreakfilelockssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesBreakFileLocksSample.js +[volumesbreakreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesBreakReplicationSample.js +[volumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesCreateOrUpdateSample.js +[volumesdeletereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesDeleteReplicationSample.js +[volumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesDeleteSample.js +[volumesfinalizeexternalreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesFinalizeExternalReplicationSample.js +[volumesfinalizerelocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesFinalizeRelocationSample.js +[volumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesGetSample.js +[volumeslistgetgroupidlistforldapusersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListGetGroupIdListForLdapUserSample.js +[volumeslistquotareportsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListQuotaReportSample.js +[volumeslistreplicationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListReplicationsSample.js +[volumeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListSample.js +[volumespeerexternalclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPeerExternalClusterSample.js +[volumesperformreplicationtransfersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPerformReplicationTransferSample.js +[volumespoolchangesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPoolChangeSample.js +[volumespopulateavailabilityzonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPopulateAvailabilityZoneSample.js +[volumesreinitializereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReInitializeReplicationSample.js +[volumesreestablishreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReestablishReplicationSample.js +[volumesrelocatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRelocateSample.js +[volumesreplicationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReplicationStatusSample.js +[volumesresetcifspasswordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesResetCifsPasswordSample.js +[volumesresyncreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesResyncReplicationSample.js +[volumesrevertrelocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRevertRelocationSample.js +[volumesrevertsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRevertSample.js +[volumessplitclonefromparentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesSplitCloneFromParentSample.js +[volumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesUpdateSample.js [apiref]: https://learn.microsoft.com/javascript/api/@azure/arm-netapp?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/netapp/arm-netapp/README.md diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsChangeKeyVaultSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsChangeKeyVaultSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsChangeKeyVaultSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsChangeKeyVaultSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsCreateOrUpdateSample.js similarity index 76% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsCreateOrUpdateSample.js index dfc9afb22831..52af02d2c9fe 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsCreateOrUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsCreateOrUpdateSample.js @@ -14,10 +14,7 @@ async function accountsCreateOrUpdate() { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.accounts.createOrUpdate("myRG", "account1", { - location: "eastus", - properties: {}, - }); + const result = await client.accounts.createOrUpdate("myRG", "account1", { location: "eastus" }); console.log(result); } @@ -33,22 +30,20 @@ async function accountsCreateOrUpdateWithActiveDirectory() { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.accounts.createOrUpdate("myRG", "account1", { location: "eastus", - properties: { - activeDirectories: [ - { - aesEncryption: true, - dns: "10.10.10.3", - domain: "10.10.10.3", - ldapOverTLS: false, - ldapSigning: false, - organizationalUnit: "OU=Engineering", - password: "", - site: "SiteName", - smbServerName: "SMBServer", - username: "ad_user_name", - }, - ], - }, + activeDirectories: [ + { + aesEncryption: true, + dns: "10.10.10.3", + domain: "10.10.10.3", + ldapOverTLS: false, + ldapSigning: false, + organizationalUnit: "OU=Engineering", + password: "", + site: "SiteName", + smbServerName: "SMBServer", + username: "ad_user_name", + }, + ], }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsGetChangeKeyVaultInformationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsGetChangeKeyVaultInformationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsGetChangeKeyVaultInformationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsGetChangeKeyVaultInformationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsListBySubscriptionSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsListBySubscriptionSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsListBySubscriptionSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsListBySubscriptionSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsRenewCredentialsSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsRenewCredentialsSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsRenewCredentialsSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsRenewCredentialsSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsTransitionToCmkSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsTransitionToCmkSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsTransitionToCmkSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsTransitionToCmkSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsUpdateSample.js similarity index 95% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsUpdateSample.js index 5cde37e3e498..46315e5e4997 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/accountsUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/accountsUpdateSample.js @@ -14,9 +14,7 @@ async function accountsUpdate() { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.accounts.update("myRG", "account1", { - tags: { Tag1: "Value1" }, - }); + const result = await client.accounts.update("myRG", "account1", { tags: { Tag1: "Value1" } }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsListByResourceGroupSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsListByResourceGroupSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsListByResourceGroupSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsListByResourceGroupSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsListBySubscriptionSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsListBySubscriptionSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsListBySubscriptionSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsListBySubscriptionSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/activeDirectoryConfigsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/activeDirectoryConfigsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesCreateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesCreateSample.js similarity index 86% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesCreateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesCreateSample.js index 4f030fde2e1e..a3b5c0bf3f5b 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesCreateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesCreateSample.js @@ -16,12 +16,10 @@ async function backupPoliciesCreate() { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backupPolicies.create("myRG", "account1", "backupPolicyName", { location: "westus", - properties: { - dailyBackupsToKeep: 10, - enabled: true, - monthlyBackupsToKeep: 10, - weeklyBackupsToKeep: 10, - }, + dailyBackupsToKeep: 10, + enabled: true, + monthlyBackupsToKeep: 10, + weeklyBackupsToKeep: 10, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesUpdateSample.js similarity index 86% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesUpdateSample.js index 968e8464a931..a0924108ef80 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupPoliciesUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupPoliciesUpdateSample.js @@ -16,12 +16,10 @@ async function backupPoliciesUpdate() { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backupPolicies.update("myRG", "account1", "backupPolicyName", { location: "westus", - properties: { - dailyBackupsToKeep: 5, - enabled: false, - monthlyBackupsToKeep: 10, - weeklyBackupsToKeep: 10, - }, + dailyBackupsToKeep: 5, + enabled: false, + monthlyBackupsToKeep: 10, + weeklyBackupsToKeep: 10, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsListByNetAppAccountSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsListByNetAppAccountSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsListByNetAppAccountSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsListByNetAppAccountSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupVaultsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupVaultsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsCreateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsCreateSample.js similarity index 78% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsCreateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsCreateSample.js index 7b45fc671154..af7006539533 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsCreateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsCreateSample.js @@ -15,11 +15,9 @@ async function backupsUnderBackupVaultCreate() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backups.create("myRG", "account1", "backupVault1", "backup1", { - properties: { - label: "myLabel", - volumeResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1", - }, + label: "myLabel", + volumeResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1", }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetLatestStatusSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetLatestStatusSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetLatestStatusSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetLatestStatusSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetVolumeLatestRestoreStatusSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetVolumeLatestRestoreStatusSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsGetVolumeLatestRestoreStatusSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsGetVolumeLatestRestoreStatusSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsListByVaultSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsListByVaultSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsListByVaultSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsListByVaultSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderAccountMigrateBackupsSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderAccountMigrateBackupsSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderAccountMigrateBackupsSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderAccountMigrateBackupsSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderBackupVaultRestoreFilesSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderBackupVaultRestoreFilesSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderBackupVaultRestoreFilesSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderBackupVaultRestoreFilesSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderVolumeMigrateBackupsSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderVolumeMigrateBackupsSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUnderVolumeMigrateBackupsSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUnderVolumeMigrateBackupsSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/backupsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/backupsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsCreateOrUpdateSample.js similarity index 80% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsCreateOrUpdateSample.js index e28597f88ec5..7eddac592cdb 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsCreateOrUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsCreateOrUpdateSample.js @@ -21,15 +21,10 @@ async function bucketsCreateOrUpdate() { "volume1", "bucket1", { - properties: { - path: "/path", - fileSystemUser: { nfsUser: { groupId: 1000, userId: 1001 } }, - permissions: "ReadOnly", - server: { - certificateObject: "", - fqdn: "fullyqualified.domainname.com", - }, - }, + path: "/path", + fileSystemUser: { nfsUser: { groupId: 1000, userId: 1001 } }, + permissions: "ReadOnly", + server: { certificateObject: "", fqdn: "fullyqualified.domainname.com" }, }, ); console.log(result); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsGenerateCredentialsSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsGenerateCredentialsSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsGenerateCredentialsSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsGenerateCredentialsSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsUpdateSample.js similarity index 83% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsUpdateSample.js index dd10901c4189..dce55e712e2a 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/bucketsUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/bucketsUpdateSample.js @@ -15,13 +15,8 @@ async function bucketsUpdate() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.buckets.update("myRG", "account1", "pool1", "volume1", "bucket1", { - properties: { - permissions: "ReadWrite", - server: { - certificateObject: "", - fqdn: "fullyqualified.domainname.com", - }, - }, + permissions: "ReadWrite", + server: { certificateObject: "", fqdn: "fullyqualified.domainname.com" }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesListByCapacityPoolsSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesListByCapacityPoolsSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesListByCapacityPoolsSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesListByCapacityPoolsSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesListPeeringPassphrasesSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesListPeeringPassphrasesSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesListPeeringPassphrasesSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesListPeeringPassphrasesSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesPoolChangeSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesPoolChangeSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesPoolChangeSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesPoolChangeSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/cachesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/cachesUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsListByResourceGroupSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsListByResourceGroupSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsListByResourceGroupSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsListByResourceGroupSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsListBySubscriptionSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsListBySubscriptionSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsListBySubscriptionSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsListBySubscriptionSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticAccountsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticAccountsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesListByElasticAccountSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesListByElasticAccountSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesListByElasticAccountSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesListByElasticAccountSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupPoliciesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupPoliciesUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsListByElasticAccountSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsListByElasticAccountSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsListByElasticAccountSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsListByElasticAccountSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupVaultsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupVaultsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsListByVaultSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsListByVaultSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsListByVaultSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsListByVaultSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticBackupsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticBackupsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsChangeZoneSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsChangeZoneSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsChangeZoneSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsChangeZoneSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsListByElasticAccountSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsListByElasticAccountSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsListByElasticAccountSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsListByElasticAccountSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticCapacityPoolsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticCapacityPoolsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesCreateOrUpdateSample.js similarity index 79% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesCreateOrUpdateSample.js index d95408831ffc..03e60e06b01a 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesCreateOrUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesCreateOrUpdateSample.js @@ -24,18 +24,8 @@ async function elasticSnapshotPoliciesCreateOrUpdate() { policyStatus: "Enabled", hourlySchedule: { snapshotsToKeep: 2, minute: 50 }, dailySchedule: { snapshotsToKeep: 4, hour: 14, minute: 30 }, - weeklySchedule: { - snapshotsToKeep: 3, - days: ["Wednesday"], - hour: 14, - minute: 45, - }, - monthlySchedule: { - snapshotsToKeep: 5, - daysOfMonth: [10, 11, 12], - hour: 14, - minute: 15, - }, + weeklySchedule: { snapshotsToKeep: 3, days: ["Wednesday"], hour: 14, minute: 45 }, + monthlySchedule: { snapshotsToKeep: 5, daysOfMonth: [10, 11, 12], hour: 14, minute: 15 }, }, }, ); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesListByElasticAccountSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesListByElasticAccountSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesListByElasticAccountSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesListByElasticAccountSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesListElasticVolumesSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesListElasticVolumesSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesListElasticVolumesSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesListElasticVolumesSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesUpdateSample.js similarity index 79% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesUpdateSample.js index 098fb7d3e968..84b93d6e8d42 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotPoliciesUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotPoliciesUpdateSample.js @@ -23,18 +23,8 @@ async function elasticSnapshotPoliciesUpdate() { policyStatus: "Enabled", hourlySchedule: { snapshotsToKeep: 2, minute: 50 }, dailySchedule: { snapshotsToKeep: 4, hour: 14, minute: 30 }, - weeklySchedule: { - snapshotsToKeep: 3, - days: ["Wednesday"], - hour: 14, - minute: 45, - }, - monthlySchedule: { - snapshotsToKeep: 5, - daysOfMonth: [10, 11, 12], - hour: 14, - minute: 15, - }, + weeklySchedule: { snapshotsToKeep: 3, days: ["Wednesday"], hour: 14, minute: 45 }, + monthlySchedule: { snapshotsToKeep: 5, daysOfMonth: [10, 11, 12], hour: 14, minute: 15 }, }, }, ); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsListByElasticVolumeSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsListByElasticVolumeSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticSnapshotsListByElasticVolumeSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticSnapshotsListByElasticVolumeSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesCreateOrUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesCreateOrUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesListByElasticPoolSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesListByElasticPoolSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesListByElasticPoolSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesListByElasticPoolSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesRevertSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesRevertSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesRevertSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesRevertSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/elasticVolumesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/elasticVolumesUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckFilePathAvailabilitySample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckFilePathAvailabilitySample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckFilePathAvailabilitySample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckFilePathAvailabilitySample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckNameAvailabilitySample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckNameAvailabilitySample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckNameAvailabilitySample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckNameAvailabilitySample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckQuotaAvailabilitySample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckQuotaAvailabilitySample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceCheckQuotaAvailabilitySample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceCheckQuotaAvailabilitySample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQueryNetworkSiblingSetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQueryNetworkSiblingSetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQueryNetworkSiblingSetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQueryNetworkSiblingSetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQueryRegionInfoSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQueryRegionInfoSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQueryRegionInfoSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQueryRegionInfoSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsAccountGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsAccountGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsAccountGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsAccountGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsAccountListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsAccountListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsAccountListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsAccountListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceQuotaLimitsListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceQuotaLimitsListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceRegionInfosGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceRegionInfosGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceRegionInfosGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceRegionInfosGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceRegionInfosListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceRegionInfosListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceRegionInfosListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceRegionInfosListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUpdateNetworkSiblingSetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUpdateNetworkSiblingSetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUpdateNetworkSiblingSetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUpdateNetworkSiblingSetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUsagesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUsagesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUsagesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUsagesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUsagesListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUsagesListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/netAppResourceUsagesListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/netAppResourceUsagesListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/operationsListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/operationsListSample.js similarity index 83% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/operationsListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/operationsListSample.js index a2e4104e56e7..31a231bc56c5 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/operationsListSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/operationsListSample.js @@ -12,8 +12,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); */ async function operationList() { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; - const client = new NetAppManagementClient(credential, subscriptionId); + const client = new NetAppManagementClient(credential); const resArray = new Array(); for await (const item of client.operations.list()) { resArray.push(item); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/package.json b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/package.json similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/package.json rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/package.json diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsCreateOrUpdateSample.js similarity index 85% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsCreateOrUpdateSample.js index 29c26b3002b0..a5aaedf1e9e5 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsCreateOrUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsCreateOrUpdateSample.js @@ -16,11 +16,9 @@ async function poolsCreateOrUpdate() { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.pools.createOrUpdate("myRG", "account1", "pool1", { location: "eastus", - properties: { - qosType: "Auto", - serviceLevel: "Premium", - size: 4398046511104, - }, + qosType: "Auto", + serviceLevel: "Premium", + size: 4398046511104, }); console.log(result); } @@ -37,12 +35,10 @@ async function poolsCreateOrUpdateCustomThroughput() { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.pools.createOrUpdate("myRG", "account1", "customPool1", { location: "eastus", - properties: { - customThroughputMibps: 128, - qosType: "Manual", - serviceLevel: "Flexible", - size: 4398046511104, - }, + customThroughputMibps: 128, + qosType: "Manual", + serviceLevel: "Flexible", + size: 4398046511104, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/poolsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/poolsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsClearSuspectsSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsClearSuspectsSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsClearSuspectsSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsClearSuspectsSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/ransomwareReportsListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/ransomwareReportsListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/sample.env b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/sample.env similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/sample.env rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/sample.env diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesCreateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesCreateSample.js similarity index 66% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesCreateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesCreateSample.js index 92cb4ce72201..4df90f32fa6b 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesCreateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesCreateSample.js @@ -16,23 +16,11 @@ async function snapshotPoliciesCreate() { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.snapshotPolicies.create("myRG", "account1", "snapshotPolicyName", { location: "eastus", - properties: { - dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, - enabled: true, - hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, - monthlySchedule: { - daysOfMonth: "10,11,12", - hour: 14, - minute: 15, - snapshotsToKeep: 5, - }, - weeklySchedule: { - day: "Wednesday", - hour: 14, - minute: 45, - snapshotsToKeep: 3, - }, - }, + dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, + enabled: true, + hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, + monthlySchedule: { daysOfMonth: "10,11,12", hour: 14, minute: 15, snapshotsToKeep: 5 }, + weeklySchedule: { day: "Wednesday", hour: 14, minute: 45, snapshotsToKeep: 3 }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesListVolumesSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesListVolumesSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesListVolumesSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesListVolumesSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesUpdateSample.js similarity index 66% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesUpdateSample.js index 4868ccc3343f..0ed20e395730 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotPoliciesUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotPoliciesUpdateSample.js @@ -16,23 +16,11 @@ async function snapshotPoliciesUpdate() { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.snapshotPolicies.update("myRG", "account1", "snapshotPolicyName", { location: "eastus", - properties: { - dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, - enabled: true, - hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, - monthlySchedule: { - daysOfMonth: "10,11,12", - hour: 14, - minute: 15, - snapshotsToKeep: 5, - }, - weeklySchedule: { - day: "Wednesday", - hour: 14, - minute: 45, - snapshotsToKeep: 3, - }, - }, + dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, + enabled: true, + hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, + monthlySchedule: { daysOfMonth: "10,11,12", hour: 14, minute: 15, snapshotsToKeep: 5 }, + weeklySchedule: { day: "Wednesday", hour: 14, minute: 45, snapshotsToKeep: 3 }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsCreateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsCreateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsCreateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsCreateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsRestoreFilesSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsRestoreFilesSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsRestoreFilesSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsRestoreFilesSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/snapshotsUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/snapshotsUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesCreateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesCreateSample.js similarity index 95% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesCreateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesCreateSample.js index cabd89215c2a..933a71808942 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesCreateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesCreateSample.js @@ -20,7 +20,7 @@ async function subvolumesCreate() { "pool1", "volume1", "subvolume1", - { properties: { path: "/subvolumePath" } }, + { path: "/subvolumePath" }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesGetMetadataSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesGetMetadataSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesGetMetadataSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesGetMetadataSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesListByVolumeSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesListByVolumeSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesListByVolumeSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesListByVolumeSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesUpdateSample.js similarity index 94% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesUpdateSample.js index 31c396fa0a91..0baa0de9c3c8 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/subvolumesUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/subvolumesUpdateSample.js @@ -20,7 +20,7 @@ async function subvolumesUpdate() { "pool1", "volume1", "subvolume1", - { properties: { path: "/subvolumePath" } }, + { path: "/subvolumePath" }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsCreateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsCreateSample.js new file mode 100644 index 000000000000..b9c6e1c4c965 --- /dev/null +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsCreateSample.js @@ -0,0 +1,641 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +const { NetAppManagementClient } = require("@azure/arm-netapp"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to create a volume group along with specified volumes + * + * @summary create a volume group along with specified volumes + * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_Oracle.json + */ +async function volumeGroupsCreateOracle() { + const credential = new DefaultAzureCredential(); + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const client = new NetAppManagementClient(credential, subscriptionId); + const result = await client.volumeGroups.create("myRG", "account1", "group1", { + location: "westus", + groupMetaData: { + applicationIdentifier: "OR2", + applicationType: "ORACLE", + groupDescription: "Volume group", + }, + volumes: [ + { + name: "test-ora-data1", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data1", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data1", + zones: ["1"], + }, + { + name: "test-ora-data2", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data2", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data2", + zones: ["1"], + }, + { + name: "test-ora-data3", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data3", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data3", + zones: ["1"], + }, + { + name: "test-ora-data4", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data4", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data4", + zones: ["1"], + }, + { + name: "test-ora-data5", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data5", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data5", + zones: ["1"], + }, + { + name: "test-ora-data6", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data6", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data6", + zones: ["1"], + }, + { + name: "test-ora-data7", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data7", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data7", + zones: ["1"], + }, + { + name: "test-ora-data8", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data8", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data8", + zones: ["1"], + }, + { + name: "test-ora-log", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-log", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-log", + zones: ["1"], + }, + { + name: "test-ora-log-mirror", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-log-mirror", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-log-mirror", + zones: ["1"], + }, + { + name: "test-ora-binary", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-binary", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-binary", + zones: ["1"], + }, + { + name: "test-ora-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-backup", + zones: ["1"], + }, + ], + }); + console.log(result); +} + +/** + * This sample demonstrates how to create a volume group along with specified volumes + * + * @summary create a volume group along with specified volumes + * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_SapHana.json + */ +async function volumeGroupsCreateSapHana() { + const credential = new DefaultAzureCredential(); + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const client = new NetAppManagementClient(credential, subscriptionId); + const result = await client.volumeGroups.create("myRG", "account1", "group1", { + location: "westus", + groupMetaData: { + applicationIdentifier: "SH9", + applicationType: "SAP-HANA", + groupDescription: "Volume group", + }, + volumes: [ + { + name: "test-data-mnt00001", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-data-mnt00001", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "data", + }, + { + name: "test-log-mnt00001", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-log-mnt00001", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "log", + }, + { + name: "test-shared", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-shared", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "shared", + }, + { + name: "test-data-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-data-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "data-backup", + }, + { + name: "test-log-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-log-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "log-backup", + }, + ], + }); + console.log(result); +} + +async function main() { + await volumeGroupsCreateOracle(); + await volumeGroupsCreateSapHana(); +} + +main().catch(console.error); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsListByNetAppAccountSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsListByNetAppAccountSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeGroupsListByNetAppAccountSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeGroupsListByNetAppAccountSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesCreateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesCreateSample.js similarity index 88% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesCreateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesCreateSample.js index bfd4904bca7a..fdbe1f501639 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesCreateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesCreateSample.js @@ -22,11 +22,9 @@ async function volumeQuotaRulesCreate() { "rule-0004", { location: "westus", - properties: { - quotaSizeInKiBs: 100005, - quotaTarget: "1821", - quotaType: "IndividualUserQuota", - }, + quotaSizeInKiBs: 100005, + quotaTarget: "1821", + quotaType: "IndividualUserQuota", }, ); console.log(result); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesListByVolumeSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesListByVolumeSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesListByVolumeSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesListByVolumeSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesUpdateSample.js similarity index 94% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesUpdateSample.js index 231af6ac4ab1..007cc810c338 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumeQuotaRulesUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumeQuotaRulesUpdateSample.js @@ -20,7 +20,7 @@ async function volumeQuotaRulesUpdate() { "pool-5210", "volume-6387", "rule-0004", - { properties: { quotaSizeInKiBs: 100009 } }, + { quotaSizeInKiBs: 100009 }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesAuthorizeExternalReplicationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesAuthorizeExternalReplicationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesAuthorizeExternalReplicationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesAuthorizeExternalReplicationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesAuthorizeReplicationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesAuthorizeReplicationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesAuthorizeReplicationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesAuthorizeReplicationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesBreakFileLocksSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesBreakFileLocksSample.js similarity index 88% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesBreakFileLocksSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesBreakFileLocksSample.js index 3c8ad599fe86..36faaf084a3f 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesBreakFileLocksSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesBreakFileLocksSample.js @@ -15,10 +15,7 @@ async function volumesBreakFileLocks() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); await client.volumes.breakFileLocks("myRG", "account1", "pool1", "volume1", { - body: { - clientIp: "101.102.103.104", - confirmRunningDisruptiveOperation: true, - }, + body: { clientIp: "101.102.103.104", confirmRunningDisruptiveOperation: true }, }); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesBreakReplicationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesBreakReplicationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesBreakReplicationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesBreakReplicationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesCreateOrUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesCreateOrUpdateSample.js similarity index 75% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesCreateOrUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesCreateOrUpdateSample.js index 7d64209f6274..b48054ff74ba 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesCreateOrUpdateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesCreateOrUpdateSample.js @@ -16,13 +16,11 @@ async function volumesCreateOrUpdate() { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.volumes.createOrUpdate("myRG", "account1", "pool1", "volume1", { location: "eastus", - properties: { - creationToken: "my-unique-file-path", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - usageThreshold: 107374182400, - }, + creationToken: "my-unique-file-path", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + usageThreshold: 107374182400, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesDeleteReplicationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesDeleteReplicationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesDeleteReplicationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesDeleteReplicationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesDeleteSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesDeleteSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesDeleteSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesDeleteSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesFinalizeExternalReplicationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesFinalizeExternalReplicationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesFinalizeExternalReplicationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesFinalizeExternalReplicationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesFinalizeRelocationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesFinalizeRelocationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesFinalizeRelocationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesFinalizeRelocationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesGetSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesGetSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesGetSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesGetSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListGetGroupIdListForLdapUserSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListGetGroupIdListForLdapUserSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListGetGroupIdListForLdapUserSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListGetGroupIdListForLdapUserSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListQuotaReportSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListQuotaReportSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListQuotaReportSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListQuotaReportSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListReplicationsSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListReplicationsSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListReplicationsSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListReplicationsSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesListSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesListSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPeerExternalClusterSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPeerExternalClusterSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPeerExternalClusterSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPeerExternalClusterSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPerformReplicationTransferSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPerformReplicationTransferSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPerformReplicationTransferSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPerformReplicationTransferSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPoolChangeSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPoolChangeSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPoolChangeSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPoolChangeSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPopulateAvailabilityZoneSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPopulateAvailabilityZoneSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesPopulateAvailabilityZoneSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesPopulateAvailabilityZoneSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReInitializeReplicationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReInitializeReplicationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReInitializeReplicationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReInitializeReplicationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReestablishReplicationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReestablishReplicationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReestablishReplicationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReestablishReplicationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRelocateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRelocateSample.js similarity index 96% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRelocateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRelocateSample.js index 6f98eb24ebaf..1314663c8bd2 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRelocateSample.js +++ b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRelocateSample.js @@ -14,9 +14,7 @@ async function volumesRelocate() { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - await client.volumes.relocate("myRG", "account1", "pool1", "volume1", { - body: {}, - }); + await client.volumes.relocate("myRG", "account1", "pool1", "volume1", { body: {} }); } async function main() { diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReplicationStatusSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReplicationStatusSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesReplicationStatusSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesReplicationStatusSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesResetCifsPasswordSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesResetCifsPasswordSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesResetCifsPasswordSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesResetCifsPasswordSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesResyncReplicationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesResyncReplicationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesResyncReplicationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesResyncReplicationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRevertRelocationSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRevertRelocationSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRevertRelocationSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRevertRelocationSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRevertSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRevertSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesRevertSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesRevertSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesSplitCloneFromParentSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesSplitCloneFromParentSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesSplitCloneFromParentSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesSplitCloneFromParentSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesUpdateSample.js b/sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesUpdateSample.js similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/javascript/volumesUpdateSample.js rename to sdk/netapp/arm-netapp/samples/v23-beta/javascript/volumesUpdateSample.js diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/README.md b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/README.md similarity index 92% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/README.md rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/README.md index c32a86b4452b..bf231797d670 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/README.md +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/README.md @@ -226,177 +226,177 @@ node dist/accountsChangeKeyVaultSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[accountschangekeyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsChangeKeyVaultSample.ts -[accountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsCreateOrUpdateSample.ts -[accountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsDeleteSample.ts -[accountsgetchangekeyvaultinformationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsGetChangeKeyVaultInformationSample.ts -[accountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsGetSample.ts -[accountslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsListBySubscriptionSample.ts -[accountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsListSample.ts -[accountsrenewcredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsRenewCredentialsSample.ts -[accountstransitiontocmksample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsTransitionToCmkSample.ts -[accountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsUpdateSample.ts -[activedirectoryconfigscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsCreateOrUpdateSample.ts -[activedirectoryconfigsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsDeleteSample.ts -[activedirectoryconfigsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsGetSample.ts -[activedirectoryconfigslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsListByResourceGroupSample.ts -[activedirectoryconfigslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsListBySubscriptionSample.ts -[activedirectoryconfigsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsUpdateSample.ts -[backuppoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesCreateSample.ts -[backuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesDeleteSample.ts -[backuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesGetSample.ts -[backuppolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesListSample.ts -[backuppoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesUpdateSample.ts -[backupvaultscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsCreateOrUpdateSample.ts -[backupvaultsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsDeleteSample.ts -[backupvaultsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsGetSample.ts -[backupvaultslistbynetappaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsListByNetAppAccountSample.ts -[backupvaultsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsUpdateSample.ts -[backupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsCreateSample.ts -[backupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsDeleteSample.ts -[backupsgetlateststatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetLatestStatusSample.ts -[backupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetSample.ts -[backupsgetvolumelatestrestorestatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetVolumeLatestRestoreStatusSample.ts -[backupslistbyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsListByVaultSample.ts -[backupsunderaccountmigratebackupssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderAccountMigrateBackupsSample.ts -[backupsunderbackupvaultrestorefilessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderBackupVaultRestoreFilesSample.ts -[backupsundervolumemigratebackupssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderVolumeMigrateBackupsSample.ts -[backupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUpdateSample.ts -[bucketscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsCreateOrUpdateSample.ts -[bucketsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsDeleteSample.ts -[bucketsgeneratecredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsGenerateCredentialsSample.ts -[bucketsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsGetSample.ts -[bucketslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsListSample.ts -[bucketsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsUpdateSample.ts -[cachescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesCreateOrUpdateSample.ts -[cachesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesDeleteSample.ts -[cachesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesGetSample.ts -[cacheslistbycapacitypoolssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesListByCapacityPoolsSample.ts -[cacheslistpeeringpassphrasessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesListPeeringPassphrasesSample.ts -[cachespoolchangesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesPoolChangeSample.ts -[cachesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesUpdateSample.ts -[elasticaccountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsCreateOrUpdateSample.ts -[elasticaccountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsDeleteSample.ts -[elasticaccountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsGetSample.ts -[elasticaccountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsListByResourceGroupSample.ts -[elasticaccountslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsListBySubscriptionSample.ts -[elasticaccountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsUpdateSample.ts -[elasticbackuppoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesCreateOrUpdateSample.ts -[elasticbackuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesDeleteSample.ts -[elasticbackuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesGetSample.ts -[elasticbackuppolicieslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesListByElasticAccountSample.ts -[elasticbackuppoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesUpdateSample.ts -[elasticbackupvaultscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsCreateOrUpdateSample.ts -[elasticbackupvaultsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsDeleteSample.ts -[elasticbackupvaultsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsGetSample.ts -[elasticbackupvaultslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsListByElasticAccountSample.ts -[elasticbackupvaultsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsUpdateSample.ts -[elasticbackupscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsCreateOrUpdateSample.ts -[elasticbackupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsDeleteSample.ts -[elasticbackupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsGetSample.ts -[elasticbackupslistbyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsListByVaultSample.ts -[elasticbackupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsUpdateSample.ts -[elasticcapacitypoolschangezonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsChangeZoneSample.ts -[elasticcapacitypoolscheckvolumefilepathavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.ts -[elasticcapacitypoolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsCreateOrUpdateSample.ts -[elasticcapacitypoolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsDeleteSample.ts -[elasticcapacitypoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsGetSample.ts -[elasticcapacitypoolslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsListByElasticAccountSample.ts -[elasticcapacitypoolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsUpdateSample.ts -[elasticsnapshotpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesCreateOrUpdateSample.ts -[elasticsnapshotpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesDeleteSample.ts -[elasticsnapshotpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesGetSample.ts -[elasticsnapshotpolicieslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesListByElasticAccountSample.ts -[elasticsnapshotpolicieslistelasticvolumessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesListElasticVolumesSample.ts -[elasticsnapshotpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesUpdateSample.ts -[elasticsnapshotscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsCreateOrUpdateSample.ts -[elasticsnapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsDeleteSample.ts -[elasticsnapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsGetSample.ts -[elasticsnapshotslistbyelasticvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsListByElasticVolumeSample.ts -[elasticvolumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesCreateOrUpdateSample.ts -[elasticvolumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesDeleteSample.ts -[elasticvolumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesGetSample.ts -[elasticvolumeslistbyelasticpoolsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesListByElasticPoolSample.ts -[elasticvolumesrevertsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesRevertSample.ts -[elasticvolumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesUpdateSample.ts -[netappresourcecheckfilepathavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckFilePathAvailabilitySample.ts -[netappresourcechecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckNameAvailabilitySample.ts -[netappresourcecheckquotaavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckQuotaAvailabilitySample.ts -[netappresourcequerynetworksiblingsetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQueryNetworkSiblingSetSample.ts -[netappresourcequeryregioninfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQueryRegionInfoSample.ts -[netappresourcequotalimitsaccountgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsAccountGetSample.ts -[netappresourcequotalimitsaccountlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsAccountListSample.ts -[netappresourcequotalimitsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsGetSample.ts -[netappresourcequotalimitslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsListSample.ts -[netappresourceregioninfosgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceRegionInfosGetSample.ts -[netappresourceregioninfoslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceRegionInfosListSample.ts -[netappresourceupdatenetworksiblingsetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUpdateNetworkSiblingSetSample.ts -[netappresourceusagesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUsagesGetSample.ts -[netappresourceusageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUsagesListSample.ts -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/operationsListSample.ts -[poolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsCreateOrUpdateSample.ts -[poolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsDeleteSample.ts -[poolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsGetSample.ts -[poolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsListSample.ts -[poolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsUpdateSample.ts -[ransomwarereportsclearsuspectssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsClearSuspectsSample.ts -[ransomwarereportsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsGetSample.ts -[ransomwarereportslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsListSample.ts -[snapshotpoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesCreateSample.ts -[snapshotpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesDeleteSample.ts -[snapshotpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesGetSample.ts -[snapshotpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesListSample.ts -[snapshotpolicieslistvolumessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesListVolumesSample.ts -[snapshotpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesUpdateSample.ts -[snapshotscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsCreateSample.ts -[snapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsDeleteSample.ts -[snapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsGetSample.ts -[snapshotslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsListSample.ts -[snapshotsrestorefilessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsRestoreFilesSample.ts -[snapshotsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsUpdateSample.ts -[subvolumescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesCreateSample.ts -[subvolumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesDeleteSample.ts -[subvolumesgetmetadatasample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesGetMetadataSample.ts -[subvolumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesGetSample.ts -[subvolumeslistbyvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesListByVolumeSample.ts -[subvolumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesUpdateSample.ts -[volumegroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsCreateSample.ts -[volumegroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsDeleteSample.ts -[volumegroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsGetSample.ts -[volumegroupslistbynetappaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsListByNetAppAccountSample.ts -[volumequotarulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesCreateSample.ts -[volumequotarulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesDeleteSample.ts -[volumequotarulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesGetSample.ts -[volumequotaruleslistbyvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesListByVolumeSample.ts -[volumequotarulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesUpdateSample.ts -[volumesauthorizeexternalreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesAuthorizeExternalReplicationSample.ts -[volumesauthorizereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesAuthorizeReplicationSample.ts -[volumesbreakfilelockssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesBreakFileLocksSample.ts -[volumesbreakreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesBreakReplicationSample.ts -[volumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesCreateOrUpdateSample.ts -[volumesdeletereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesDeleteReplicationSample.ts -[volumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesDeleteSample.ts -[volumesfinalizeexternalreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesFinalizeExternalReplicationSample.ts -[volumesfinalizerelocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesFinalizeRelocationSample.ts -[volumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesGetSample.ts -[volumeslistgetgroupidlistforldapusersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListGetGroupIdListForLdapUserSample.ts -[volumeslistquotareportsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListQuotaReportSample.ts -[volumeslistreplicationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListReplicationsSample.ts -[volumeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListSample.ts -[volumespeerexternalclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPeerExternalClusterSample.ts -[volumesperformreplicationtransfersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPerformReplicationTransferSample.ts -[volumespoolchangesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPoolChangeSample.ts -[volumespopulateavailabilityzonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPopulateAvailabilityZoneSample.ts -[volumesreinitializereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReInitializeReplicationSample.ts -[volumesreestablishreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReestablishReplicationSample.ts -[volumesrelocatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRelocateSample.ts -[volumesreplicationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReplicationStatusSample.ts -[volumesresetcifspasswordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesResetCifsPasswordSample.ts -[volumesresyncreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesResyncReplicationSample.ts -[volumesrevertrelocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRevertRelocationSample.ts -[volumesrevertsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRevertSample.ts -[volumessplitclonefromparentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesSplitCloneFromParentSample.ts -[volumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesUpdateSample.ts +[accountschangekeyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsChangeKeyVaultSample.ts +[accountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsCreateOrUpdateSample.ts +[accountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsDeleteSample.ts +[accountsgetchangekeyvaultinformationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsGetChangeKeyVaultInformationSample.ts +[accountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsGetSample.ts +[accountslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsListBySubscriptionSample.ts +[accountslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsListSample.ts +[accountsrenewcredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsRenewCredentialsSample.ts +[accountstransitiontocmksample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsTransitionToCmkSample.ts +[accountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsUpdateSample.ts +[activedirectoryconfigscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsCreateOrUpdateSample.ts +[activedirectoryconfigsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsDeleteSample.ts +[activedirectoryconfigsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsGetSample.ts +[activedirectoryconfigslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsListByResourceGroupSample.ts +[activedirectoryconfigslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsListBySubscriptionSample.ts +[activedirectoryconfigsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsUpdateSample.ts +[backuppoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesCreateSample.ts +[backuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesDeleteSample.ts +[backuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesGetSample.ts +[backuppolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesListSample.ts +[backuppoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesUpdateSample.ts +[backupvaultscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsCreateOrUpdateSample.ts +[backupvaultsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsDeleteSample.ts +[backupvaultsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsGetSample.ts +[backupvaultslistbynetappaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsListByNetAppAccountSample.ts +[backupvaultsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsUpdateSample.ts +[backupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsCreateSample.ts +[backupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsDeleteSample.ts +[backupsgetlateststatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetLatestStatusSample.ts +[backupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetSample.ts +[backupsgetvolumelatestrestorestatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetVolumeLatestRestoreStatusSample.ts +[backupslistbyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsListByVaultSample.ts +[backupsunderaccountmigratebackupssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderAccountMigrateBackupsSample.ts +[backupsunderbackupvaultrestorefilessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderBackupVaultRestoreFilesSample.ts +[backupsundervolumemigratebackupssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderVolumeMigrateBackupsSample.ts +[backupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUpdateSample.ts +[bucketscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsCreateOrUpdateSample.ts +[bucketsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsDeleteSample.ts +[bucketsgeneratecredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsGenerateCredentialsSample.ts +[bucketsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsGetSample.ts +[bucketslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsListSample.ts +[bucketsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsUpdateSample.ts +[cachescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesCreateOrUpdateSample.ts +[cachesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesDeleteSample.ts +[cachesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesGetSample.ts +[cacheslistbycapacitypoolssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesListByCapacityPoolsSample.ts +[cacheslistpeeringpassphrasessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesListPeeringPassphrasesSample.ts +[cachespoolchangesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesPoolChangeSample.ts +[cachesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesUpdateSample.ts +[elasticaccountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsCreateOrUpdateSample.ts +[elasticaccountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsDeleteSample.ts +[elasticaccountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsGetSample.ts +[elasticaccountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsListByResourceGroupSample.ts +[elasticaccountslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsListBySubscriptionSample.ts +[elasticaccountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsUpdateSample.ts +[elasticbackuppoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesCreateOrUpdateSample.ts +[elasticbackuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesDeleteSample.ts +[elasticbackuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesGetSample.ts +[elasticbackuppolicieslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesListByElasticAccountSample.ts +[elasticbackuppoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesUpdateSample.ts +[elasticbackupvaultscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsCreateOrUpdateSample.ts +[elasticbackupvaultsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsDeleteSample.ts +[elasticbackupvaultsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsGetSample.ts +[elasticbackupvaultslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsListByElasticAccountSample.ts +[elasticbackupvaultsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsUpdateSample.ts +[elasticbackupscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsCreateOrUpdateSample.ts +[elasticbackupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsDeleteSample.ts +[elasticbackupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsGetSample.ts +[elasticbackupslistbyvaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsListByVaultSample.ts +[elasticbackupsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsUpdateSample.ts +[elasticcapacitypoolschangezonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsChangeZoneSample.ts +[elasticcapacitypoolscheckvolumefilepathavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.ts +[elasticcapacitypoolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsCreateOrUpdateSample.ts +[elasticcapacitypoolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsDeleteSample.ts +[elasticcapacitypoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsGetSample.ts +[elasticcapacitypoolslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsListByElasticAccountSample.ts +[elasticcapacitypoolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsUpdateSample.ts +[elasticsnapshotpoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesCreateOrUpdateSample.ts +[elasticsnapshotpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesDeleteSample.ts +[elasticsnapshotpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesGetSample.ts +[elasticsnapshotpolicieslistbyelasticaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesListByElasticAccountSample.ts +[elasticsnapshotpolicieslistelasticvolumessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesListElasticVolumesSample.ts +[elasticsnapshotpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesUpdateSample.ts +[elasticsnapshotscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsCreateOrUpdateSample.ts +[elasticsnapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsDeleteSample.ts +[elasticsnapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsGetSample.ts +[elasticsnapshotslistbyelasticvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsListByElasticVolumeSample.ts +[elasticvolumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesCreateOrUpdateSample.ts +[elasticvolumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesDeleteSample.ts +[elasticvolumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesGetSample.ts +[elasticvolumeslistbyelasticpoolsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesListByElasticPoolSample.ts +[elasticvolumesrevertsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesRevertSample.ts +[elasticvolumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesUpdateSample.ts +[netappresourcecheckfilepathavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckFilePathAvailabilitySample.ts +[netappresourcechecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckNameAvailabilitySample.ts +[netappresourcecheckquotaavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckQuotaAvailabilitySample.ts +[netappresourcequerynetworksiblingsetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQueryNetworkSiblingSetSample.ts +[netappresourcequeryregioninfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQueryRegionInfoSample.ts +[netappresourcequotalimitsaccountgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsAccountGetSample.ts +[netappresourcequotalimitsaccountlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsAccountListSample.ts +[netappresourcequotalimitsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsGetSample.ts +[netappresourcequotalimitslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsListSample.ts +[netappresourceregioninfosgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceRegionInfosGetSample.ts +[netappresourceregioninfoslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceRegionInfosListSample.ts +[netappresourceupdatenetworksiblingsetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUpdateNetworkSiblingSetSample.ts +[netappresourceusagesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUsagesGetSample.ts +[netappresourceusageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUsagesListSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/operationsListSample.ts +[poolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsCreateOrUpdateSample.ts +[poolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsDeleteSample.ts +[poolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsGetSample.ts +[poolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsListSample.ts +[poolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsUpdateSample.ts +[ransomwarereportsclearsuspectssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsClearSuspectsSample.ts +[ransomwarereportsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsGetSample.ts +[ransomwarereportslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsListSample.ts +[snapshotpoliciescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesCreateSample.ts +[snapshotpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesDeleteSample.ts +[snapshotpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesGetSample.ts +[snapshotpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesListSample.ts +[snapshotpolicieslistvolumessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesListVolumesSample.ts +[snapshotpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesUpdateSample.ts +[snapshotscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsCreateSample.ts +[snapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsDeleteSample.ts +[snapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsGetSample.ts +[snapshotslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsListSample.ts +[snapshotsrestorefilessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsRestoreFilesSample.ts +[snapshotsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsUpdateSample.ts +[subvolumescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesCreateSample.ts +[subvolumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesDeleteSample.ts +[subvolumesgetmetadatasample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesGetMetadataSample.ts +[subvolumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesGetSample.ts +[subvolumeslistbyvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesListByVolumeSample.ts +[subvolumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesUpdateSample.ts +[volumegroupscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsCreateSample.ts +[volumegroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsDeleteSample.ts +[volumegroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsGetSample.ts +[volumegroupslistbynetappaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsListByNetAppAccountSample.ts +[volumequotarulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesCreateSample.ts +[volumequotarulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesDeleteSample.ts +[volumequotarulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesGetSample.ts +[volumequotaruleslistbyvolumesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesListByVolumeSample.ts +[volumequotarulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesUpdateSample.ts +[volumesauthorizeexternalreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesAuthorizeExternalReplicationSample.ts +[volumesauthorizereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesAuthorizeReplicationSample.ts +[volumesbreakfilelockssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesBreakFileLocksSample.ts +[volumesbreakreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesBreakReplicationSample.ts +[volumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesCreateOrUpdateSample.ts +[volumesdeletereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesDeleteReplicationSample.ts +[volumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesDeleteSample.ts +[volumesfinalizeexternalreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesFinalizeExternalReplicationSample.ts +[volumesfinalizerelocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesFinalizeRelocationSample.ts +[volumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesGetSample.ts +[volumeslistgetgroupidlistforldapusersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListGetGroupIdListForLdapUserSample.ts +[volumeslistquotareportsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListQuotaReportSample.ts +[volumeslistreplicationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListReplicationsSample.ts +[volumeslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListSample.ts +[volumespeerexternalclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPeerExternalClusterSample.ts +[volumesperformreplicationtransfersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPerformReplicationTransferSample.ts +[volumespoolchangesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPoolChangeSample.ts +[volumespopulateavailabilityzonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPopulateAvailabilityZoneSample.ts +[volumesreinitializereplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReInitializeReplicationSample.ts +[volumesreestablishreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReestablishReplicationSample.ts +[volumesrelocatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRelocateSample.ts +[volumesreplicationstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReplicationStatusSample.ts +[volumesresetcifspasswordsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesResetCifsPasswordSample.ts +[volumesresyncreplicationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesResyncReplicationSample.ts +[volumesrevertrelocationsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRevertRelocationSample.ts +[volumesrevertsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRevertSample.ts +[volumessplitclonefromparentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesSplitCloneFromParentSample.ts +[volumesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesUpdateSample.ts [apiref]: https://learn.microsoft.com/javascript/api/@azure/arm-netapp?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/netapp/arm-netapp/README.md diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/package.json b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/package.json similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/package.json rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/package.json diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/sample.env b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/sample.env similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/sample.env rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/sample.env diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsChangeKeyVaultSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsChangeKeyVaultSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsChangeKeyVaultSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsChangeKeyVaultSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsCreateOrUpdateSample.ts similarity index 77% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsCreateOrUpdateSample.ts index e2676c867e70..75d9f4dc1ece 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsCreateOrUpdateSample.ts @@ -14,10 +14,7 @@ async function accountsCreateOrUpdate(): Promise { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.accounts.createOrUpdate("myRG", "account1", { - location: "eastus", - properties: {}, - }); + const result = await client.accounts.createOrUpdate("myRG", "account1", { location: "eastus" }); console.log(result); } @@ -33,22 +30,20 @@ async function accountsCreateOrUpdateWithActiveDirectory(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.accounts.createOrUpdate("myRG", "account1", { location: "eastus", - properties: { - activeDirectories: [ - { - aesEncryption: true, - dns: "10.10.10.3", - domain: "10.10.10.3", - ldapOverTLS: false, - ldapSigning: false, - organizationalUnit: "OU=Engineering", - password: "", - site: "SiteName", - smbServerName: "SMBServer", - username: "ad_user_name", - }, - ], - }, + activeDirectories: [ + { + aesEncryption: true, + dns: "10.10.10.3", + domain: "10.10.10.3", + ldapOverTLS: false, + ldapSigning: false, + organizationalUnit: "OU=Engineering", + password: "", + site: "SiteName", + smbServerName: "SMBServer", + username: "ad_user_name", + }, + ], }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsGetChangeKeyVaultInformationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsGetChangeKeyVaultInformationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsGetChangeKeyVaultInformationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsGetChangeKeyVaultInformationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsListBySubscriptionSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsListBySubscriptionSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsListBySubscriptionSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsListBySubscriptionSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsRenewCredentialsSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsRenewCredentialsSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsRenewCredentialsSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsRenewCredentialsSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsTransitionToCmkSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsTransitionToCmkSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsTransitionToCmkSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsTransitionToCmkSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsUpdateSample.ts similarity index 95% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsUpdateSample.ts index 01212244ad72..6f4ff429ebb6 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/accountsUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/accountsUpdateSample.ts @@ -14,9 +14,7 @@ async function accountsUpdate(): Promise { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - const result = await client.accounts.update("myRG", "account1", { - tags: { Tag1: "Value1" }, - }); + const result = await client.accounts.update("myRG", "account1", { tags: { Tag1: "Value1" } }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsListByResourceGroupSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsListByResourceGroupSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsListByResourceGroupSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsListByResourceGroupSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsListBySubscriptionSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsListBySubscriptionSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsListBySubscriptionSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsListBySubscriptionSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/activeDirectoryConfigsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/activeDirectoryConfigsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesCreateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesCreateSample.ts similarity index 86% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesCreateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesCreateSample.ts index f914bc6e0336..5d6ac11b07d6 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesCreateSample.ts @@ -16,12 +16,10 @@ async function backupPoliciesCreate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backupPolicies.create("myRG", "account1", "backupPolicyName", { location: "westus", - properties: { - dailyBackupsToKeep: 10, - enabled: true, - monthlyBackupsToKeep: 10, - weeklyBackupsToKeep: 10, - }, + dailyBackupsToKeep: 10, + enabled: true, + monthlyBackupsToKeep: 10, + weeklyBackupsToKeep: 10, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesUpdateSample.ts similarity index 86% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesUpdateSample.ts index aef22f88b739..27786d960441 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupPoliciesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupPoliciesUpdateSample.ts @@ -16,12 +16,10 @@ async function backupPoliciesUpdate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backupPolicies.update("myRG", "account1", "backupPolicyName", { location: "westus", - properties: { - dailyBackupsToKeep: 5, - enabled: false, - monthlyBackupsToKeep: 10, - weeklyBackupsToKeep: 10, - }, + dailyBackupsToKeep: 5, + enabled: false, + monthlyBackupsToKeep: 10, + weeklyBackupsToKeep: 10, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsListByNetAppAccountSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsListByNetAppAccountSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsListByNetAppAccountSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsListByNetAppAccountSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupVaultsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupVaultsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsCreateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsCreateSample.ts similarity index 78% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsCreateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsCreateSample.ts index 39dc93c2de4a..b0a891466c6f 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsCreateSample.ts @@ -15,11 +15,9 @@ async function backupsUnderBackupVaultCreate(): Promise { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.backups.create("myRG", "account1", "backupVault1", "backup1", { - properties: { - label: "myLabel", - volumeResourceId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1", - }, + label: "myLabel", + volumeResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1", }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetLatestStatusSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetLatestStatusSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetLatestStatusSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetLatestStatusSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetVolumeLatestRestoreStatusSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetVolumeLatestRestoreStatusSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsGetVolumeLatestRestoreStatusSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsGetVolumeLatestRestoreStatusSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsListByVaultSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsListByVaultSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsListByVaultSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsListByVaultSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderAccountMigrateBackupsSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderAccountMigrateBackupsSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderAccountMigrateBackupsSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderAccountMigrateBackupsSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderBackupVaultRestoreFilesSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderBackupVaultRestoreFilesSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderBackupVaultRestoreFilesSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderBackupVaultRestoreFilesSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderVolumeMigrateBackupsSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderVolumeMigrateBackupsSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUnderVolumeMigrateBackupsSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUnderVolumeMigrateBackupsSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/backupsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/backupsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsCreateOrUpdateSample.ts similarity index 80% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsCreateOrUpdateSample.ts index 82e00a8db7be..88652f243c4e 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsCreateOrUpdateSample.ts @@ -21,15 +21,10 @@ async function bucketsCreateOrUpdate(): Promise { "volume1", "bucket1", { - properties: { - path: "/path", - fileSystemUser: { nfsUser: { groupId: 1000, userId: 1001 } }, - permissions: "ReadOnly", - server: { - certificateObject: "", - fqdn: "fullyqualified.domainname.com", - }, - }, + path: "/path", + fileSystemUser: { nfsUser: { groupId: 1000, userId: 1001 } }, + permissions: "ReadOnly", + server: { certificateObject: "", fqdn: "fullyqualified.domainname.com" }, }, ); console.log(result); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsGenerateCredentialsSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsGenerateCredentialsSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsGenerateCredentialsSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsGenerateCredentialsSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsUpdateSample.ts similarity index 83% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsUpdateSample.ts index 83766fe05ddc..71d928fcbffd 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/bucketsUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/bucketsUpdateSample.ts @@ -15,13 +15,8 @@ async function bucketsUpdate(): Promise { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.buckets.update("myRG", "account1", "pool1", "volume1", "bucket1", { - properties: { - permissions: "ReadWrite", - server: { - certificateObject: "", - fqdn: "fullyqualified.domainname.com", - }, - }, + permissions: "ReadWrite", + server: { certificateObject: "", fqdn: "fullyqualified.domainname.com" }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesListByCapacityPoolsSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesListByCapacityPoolsSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesListByCapacityPoolsSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesListByCapacityPoolsSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesListPeeringPassphrasesSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesListPeeringPassphrasesSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesListPeeringPassphrasesSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesListPeeringPassphrasesSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesPoolChangeSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesPoolChangeSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesPoolChangeSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesPoolChangeSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/cachesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/cachesUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsListByResourceGroupSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsListByResourceGroupSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsListByResourceGroupSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsListByResourceGroupSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsListBySubscriptionSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsListBySubscriptionSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsListBySubscriptionSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsListBySubscriptionSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticAccountsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticAccountsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesListByElasticAccountSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesListByElasticAccountSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesListByElasticAccountSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesListByElasticAccountSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupPoliciesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupPoliciesUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsListByElasticAccountSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsListByElasticAccountSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsListByElasticAccountSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsListByElasticAccountSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupVaultsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupVaultsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsListByVaultSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsListByVaultSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsListByVaultSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsListByVaultSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticBackupsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticBackupsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsChangeZoneSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsChangeZoneSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsChangeZoneSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsChangeZoneSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsCheckVolumeFilePathAvailabilitySample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsListByElasticAccountSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsListByElasticAccountSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsListByElasticAccountSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsListByElasticAccountSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticCapacityPoolsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticCapacityPoolsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesCreateOrUpdateSample.ts similarity index 80% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesCreateOrUpdateSample.ts index 373f19ca8cd7..dcff4e97fe90 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesCreateOrUpdateSample.ts @@ -24,18 +24,8 @@ async function elasticSnapshotPoliciesCreateOrUpdate(): Promise { policyStatus: "Enabled", hourlySchedule: { snapshotsToKeep: 2, minute: 50 }, dailySchedule: { snapshotsToKeep: 4, hour: 14, minute: 30 }, - weeklySchedule: { - snapshotsToKeep: 3, - days: ["Wednesday"], - hour: 14, - minute: 45, - }, - monthlySchedule: { - snapshotsToKeep: 5, - daysOfMonth: [10, 11, 12], - hour: 14, - minute: 15, - }, + weeklySchedule: { snapshotsToKeep: 3, days: ["Wednesday"], hour: 14, minute: 45 }, + monthlySchedule: { snapshotsToKeep: 5, daysOfMonth: [10, 11, 12], hour: 14, minute: 15 }, }, }, ); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesListByElasticAccountSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesListByElasticAccountSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesListByElasticAccountSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesListByElasticAccountSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesListElasticVolumesSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesListElasticVolumesSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesListElasticVolumesSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesListElasticVolumesSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesUpdateSample.ts similarity index 79% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesUpdateSample.ts index 2558118dd944..8de6309e3efd 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotPoliciesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotPoliciesUpdateSample.ts @@ -23,18 +23,8 @@ async function elasticSnapshotPoliciesUpdate(): Promise { policyStatus: "Enabled", hourlySchedule: { snapshotsToKeep: 2, minute: 50 }, dailySchedule: { snapshotsToKeep: 4, hour: 14, minute: 30 }, - weeklySchedule: { - snapshotsToKeep: 3, - days: ["Wednesday"], - hour: 14, - minute: 45, - }, - monthlySchedule: { - snapshotsToKeep: 5, - daysOfMonth: [10, 11, 12], - hour: 14, - minute: 15, - }, + weeklySchedule: { snapshotsToKeep: 3, days: ["Wednesday"], hour: 14, minute: 45 }, + monthlySchedule: { snapshotsToKeep: 5, daysOfMonth: [10, 11, 12], hour: 14, minute: 15 }, }, }, ); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsListByElasticVolumeSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsListByElasticVolumeSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticSnapshotsListByElasticVolumeSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticSnapshotsListByElasticVolumeSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesCreateOrUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesCreateOrUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesListByElasticPoolSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesListByElasticPoolSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesListByElasticPoolSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesListByElasticPoolSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesRevertSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesRevertSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesRevertSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesRevertSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/elasticVolumesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/elasticVolumesUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckFilePathAvailabilitySample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckFilePathAvailabilitySample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckFilePathAvailabilitySample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckFilePathAvailabilitySample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckNameAvailabilitySample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckNameAvailabilitySample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckNameAvailabilitySample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckNameAvailabilitySample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckQuotaAvailabilitySample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckQuotaAvailabilitySample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceCheckQuotaAvailabilitySample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceCheckQuotaAvailabilitySample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQueryNetworkSiblingSetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQueryNetworkSiblingSetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQueryNetworkSiblingSetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQueryNetworkSiblingSetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQueryRegionInfoSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQueryRegionInfoSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQueryRegionInfoSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQueryRegionInfoSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsAccountGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsAccountGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsAccountGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsAccountGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsAccountListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsAccountListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsAccountListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsAccountListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceQuotaLimitsListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceQuotaLimitsListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceRegionInfosGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceRegionInfosGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceRegionInfosGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceRegionInfosGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceRegionInfosListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceRegionInfosListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceRegionInfosListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceRegionInfosListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUpdateNetworkSiblingSetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUpdateNetworkSiblingSetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUpdateNetworkSiblingSetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUpdateNetworkSiblingSetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUsagesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUsagesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUsagesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUsagesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUsagesListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUsagesListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/netAppResourceUsagesListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/netAppResourceUsagesListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/operationsListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/operationsListSample.ts similarity index 84% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/operationsListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/operationsListSample.ts index 563cb82bcb81..576be14452ab 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/operationsListSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/operationsListSample.ts @@ -12,8 +12,7 @@ import { DefaultAzureCredential } from "@azure/identity"; */ async function operationList(): Promise { const credential = new DefaultAzureCredential(); - const subscriptionId = "00000000-0000-0000-0000-00000000000"; - const client = new NetAppManagementClient(credential, subscriptionId); + const client = new NetAppManagementClient(credential); const resArray = new Array(); for await (const item of client.operations.list()) { resArray.push(item); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsCreateOrUpdateSample.ts similarity index 85% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsCreateOrUpdateSample.ts index 530bc8008e10..3959abb3870a 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsCreateOrUpdateSample.ts @@ -16,11 +16,9 @@ async function poolsCreateOrUpdate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.pools.createOrUpdate("myRG", "account1", "pool1", { location: "eastus", - properties: { - qosType: "Auto", - serviceLevel: "Premium", - size: 4398046511104, - }, + qosType: "Auto", + serviceLevel: "Premium", + size: 4398046511104, }); console.log(result); } @@ -37,12 +35,10 @@ async function poolsCreateOrUpdateCustomThroughput(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.pools.createOrUpdate("myRG", "account1", "customPool1", { location: "eastus", - properties: { - customThroughputMibps: 128, - qosType: "Manual", - serviceLevel: "Flexible", - size: 4398046511104, - }, + customThroughputMibps: 128, + qosType: "Manual", + serviceLevel: "Flexible", + size: 4398046511104, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/poolsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/poolsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsClearSuspectsSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsClearSuspectsSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsClearSuspectsSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsClearSuspectsSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/ransomwareReportsListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/ransomwareReportsListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesCreateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesCreateSample.ts similarity index 67% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesCreateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesCreateSample.ts index 4fbb9c196504..a4b5e82c82a7 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesCreateSample.ts @@ -16,23 +16,11 @@ async function snapshotPoliciesCreate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.snapshotPolicies.create("myRG", "account1", "snapshotPolicyName", { location: "eastus", - properties: { - dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, - enabled: true, - hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, - monthlySchedule: { - daysOfMonth: "10,11,12", - hour: 14, - minute: 15, - snapshotsToKeep: 5, - }, - weeklySchedule: { - day: "Wednesday", - hour: 14, - minute: 45, - snapshotsToKeep: 3, - }, - }, + dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, + enabled: true, + hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, + monthlySchedule: { daysOfMonth: "10,11,12", hour: 14, minute: 15, snapshotsToKeep: 5 }, + weeklySchedule: { day: "Wednesday", hour: 14, minute: 45, snapshotsToKeep: 3 }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesListVolumesSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesListVolumesSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesListVolumesSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesListVolumesSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesUpdateSample.ts similarity index 67% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesUpdateSample.ts index 7dffe4f00ab2..55a62ebb379c 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotPoliciesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotPoliciesUpdateSample.ts @@ -16,23 +16,11 @@ async function snapshotPoliciesUpdate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.snapshotPolicies.update("myRG", "account1", "snapshotPolicyName", { location: "eastus", - properties: { - dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, - enabled: true, - hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, - monthlySchedule: { - daysOfMonth: "10,11,12", - hour: 14, - minute: 15, - snapshotsToKeep: 5, - }, - weeklySchedule: { - day: "Wednesday", - hour: 14, - minute: 45, - snapshotsToKeep: 3, - }, - }, + dailySchedule: { hour: 14, minute: 30, snapshotsToKeep: 4 }, + enabled: true, + hourlySchedule: { minute: 50, snapshotsToKeep: 2 }, + monthlySchedule: { daysOfMonth: "10,11,12", hour: 14, minute: 15, snapshotsToKeep: 5 }, + weeklySchedule: { day: "Wednesday", hour: 14, minute: 45, snapshotsToKeep: 3 }, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsCreateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsCreateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsCreateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsCreateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsRestoreFilesSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsRestoreFilesSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsRestoreFilesSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsRestoreFilesSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/snapshotsUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/snapshotsUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesCreateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesCreateSample.ts similarity index 95% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesCreateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesCreateSample.ts index 4c3f6e8f40a2..42285abeb936 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesCreateSample.ts @@ -20,7 +20,7 @@ async function subvolumesCreate(): Promise { "pool1", "volume1", "subvolume1", - { properties: { path: "/subvolumePath" } }, + { path: "/subvolumePath" }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesGetMetadataSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesGetMetadataSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesGetMetadataSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesGetMetadataSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesListByVolumeSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesListByVolumeSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesListByVolumeSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesListByVolumeSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesUpdateSample.ts similarity index 94% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesUpdateSample.ts index 0dc0e4e582f1..2c804a8cd91c 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/subvolumesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/subvolumesUpdateSample.ts @@ -20,7 +20,7 @@ async function subvolumesUpdate(): Promise { "pool1", "volume1", "subvolume1", - { properties: { path: "/subvolumePath" } }, + { path: "/subvolumePath" }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsCreateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsCreateSample.ts new file mode 100644 index 000000000000..b715d094bdf0 --- /dev/null +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsCreateSample.ts @@ -0,0 +1,641 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { NetAppManagementClient } from "@azure/arm-netapp"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to create a volume group along with specified volumes + * + * @summary create a volume group along with specified volumes + * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_Oracle.json + */ +async function volumeGroupsCreateOracle(): Promise { + const credential = new DefaultAzureCredential(); + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const client = new NetAppManagementClient(credential, subscriptionId); + const result = await client.volumeGroups.create("myRG", "account1", "group1", { + location: "westus", + groupMetaData: { + applicationIdentifier: "OR2", + applicationType: "ORACLE", + groupDescription: "Volume group", + }, + volumes: [ + { + name: "test-ora-data1", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data1", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data1", + zones: ["1"], + }, + { + name: "test-ora-data2", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data2", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data2", + zones: ["1"], + }, + { + name: "test-ora-data3", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data3", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data3", + zones: ["1"], + }, + { + name: "test-ora-data4", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data4", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data4", + zones: ["1"], + }, + { + name: "test-ora-data5", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data5", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data5", + zones: ["1"], + }, + { + name: "test-ora-data6", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data6", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data6", + zones: ["1"], + }, + { + name: "test-ora-data7", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data7", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data7", + zones: ["1"], + }, + { + name: "test-ora-data8", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-data8", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-data8", + zones: ["1"], + }, + { + name: "test-ora-log", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-log", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-log", + zones: ["1"], + }, + { + name: "test-ora-log-mirror", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-log-mirror", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-log-mirror", + zones: ["1"], + }, + { + name: "test-ora-binary", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-binary", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-binary", + zones: ["1"], + }, + { + name: "test-ora-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-ora-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "ora-backup", + zones: ["1"], + }, + ], + }); + console.log(result); +} + +/** + * This sample demonstrates how to create a volume group along with specified volumes + * + * @summary create a volume group along with specified volumes + * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_SapHana.json + */ +async function volumeGroupsCreateSapHana(): Promise { + const credential = new DefaultAzureCredential(); + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const client = new NetAppManagementClient(credential, subscriptionId); + const result = await client.volumeGroups.create("myRG", "account1", "group1", { + location: "westus", + groupMetaData: { + applicationIdentifier: "SH9", + applicationType: "SAP-HANA", + groupDescription: "Volume group", + }, + volumes: [ + { + name: "test-data-mnt00001", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-data-mnt00001", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "data", + }, + { + name: "test-log-mnt00001", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-log-mnt00001", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "log", + }, + { + name: "test-shared", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-shared", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "shared", + }, + { + name: "test-data-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-data-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "data-backup", + }, + { + name: "test-log-backup", + capacityPoolResourceId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + creationToken: "test-log-backup", + exportPolicy: { + rules: [ + { + allowedClients: "0.0.0.0/0", + cifs: false, + hasRootAccess: true, + kerberos5ReadOnly: false, + kerberos5ReadWrite: false, + kerberos5IReadOnly: false, + kerberos5IReadWrite: false, + kerberos5PReadOnly: false, + kerberos5PReadWrite: false, + nfsv3: false, + nfsv41: true, + ruleIndex: 1, + unixReadOnly: true, + unixReadWrite: true, + }, + ], + }, + protocolTypes: ["NFSv4.1"], + proximityPlacementGroup: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + throughputMibps: 10, + usageThreshold: 107374182400, + volumeSpecName: "log-backup", + }, + ], + }); + console.log(result); +} + +async function main(): Promise { + await volumeGroupsCreateOracle(); + await volumeGroupsCreateSapHana(); +} + +main().catch(console.error); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsListByNetAppAccountSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsListByNetAppAccountSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeGroupsListByNetAppAccountSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeGroupsListByNetAppAccountSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesCreateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesCreateSample.ts similarity index 88% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesCreateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesCreateSample.ts index 0d6d54447a2a..c316ee4ed751 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesCreateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesCreateSample.ts @@ -22,11 +22,9 @@ async function volumeQuotaRulesCreate(): Promise { "rule-0004", { location: "westus", - properties: { - quotaSizeInKiBs: 100005, - quotaTarget: "1821", - quotaType: "IndividualUserQuota", - }, + quotaSizeInKiBs: 100005, + quotaTarget: "1821", + quotaType: "IndividualUserQuota", }, ); console.log(result); diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesListByVolumeSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesListByVolumeSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesListByVolumeSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesListByVolumeSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesUpdateSample.ts similarity index 94% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesUpdateSample.ts index 40170af9f811..6764727976e9 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumeQuotaRulesUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumeQuotaRulesUpdateSample.ts @@ -20,7 +20,7 @@ async function volumeQuotaRulesUpdate(): Promise { "pool-5210", "volume-6387", "rule-0004", - { properties: { quotaSizeInKiBs: 100009 } }, + { quotaSizeInKiBs: 100009 }, ); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesAuthorizeExternalReplicationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesAuthorizeExternalReplicationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesAuthorizeExternalReplicationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesAuthorizeExternalReplicationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesAuthorizeReplicationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesAuthorizeReplicationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesAuthorizeReplicationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesAuthorizeReplicationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesBreakFileLocksSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesBreakFileLocksSample.ts similarity index 89% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesBreakFileLocksSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesBreakFileLocksSample.ts index b8aef4d59640..e22b0e54055c 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesBreakFileLocksSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesBreakFileLocksSample.ts @@ -15,10 +15,7 @@ async function volumesBreakFileLocks(): Promise { const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); await client.volumes.breakFileLocks("myRG", "account1", "pool1", "volume1", { - body: { - clientIp: "101.102.103.104", - confirmRunningDisruptiveOperation: true, - }, + body: { clientIp: "101.102.103.104", confirmRunningDisruptiveOperation: true }, }); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesBreakReplicationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesBreakReplicationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesBreakReplicationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesBreakReplicationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesCreateOrUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesCreateOrUpdateSample.ts similarity index 75% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesCreateOrUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesCreateOrUpdateSample.ts index 0d9d79a7005e..58b3bd56ba02 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesCreateOrUpdateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesCreateOrUpdateSample.ts @@ -16,13 +16,11 @@ async function volumesCreateOrUpdate(): Promise { const client = new NetAppManagementClient(credential, subscriptionId); const result = await client.volumes.createOrUpdate("myRG", "account1", "pool1", "volume1", { location: "eastus", - properties: { - creationToken: "my-unique-file-path", - serviceLevel: "Premium", - subnetId: - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", - usageThreshold: 107374182400, - }, + creationToken: "my-unique-file-path", + serviceLevel: "Premium", + subnetId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + usageThreshold: 107374182400, }); console.log(result); } diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesDeleteReplicationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesDeleteReplicationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesDeleteReplicationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesDeleteReplicationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesDeleteSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesDeleteSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesDeleteSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesDeleteSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesFinalizeExternalReplicationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesFinalizeExternalReplicationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesFinalizeExternalReplicationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesFinalizeExternalReplicationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesFinalizeRelocationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesFinalizeRelocationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesFinalizeRelocationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesFinalizeRelocationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesGetSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesGetSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesGetSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesGetSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListGetGroupIdListForLdapUserSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListGetGroupIdListForLdapUserSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListGetGroupIdListForLdapUserSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListGetGroupIdListForLdapUserSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListQuotaReportSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListQuotaReportSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListQuotaReportSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListQuotaReportSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListReplicationsSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListReplicationsSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListReplicationsSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListReplicationsSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesListSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesListSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPeerExternalClusterSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPeerExternalClusterSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPeerExternalClusterSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPeerExternalClusterSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPerformReplicationTransferSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPerformReplicationTransferSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPerformReplicationTransferSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPerformReplicationTransferSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPoolChangeSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPoolChangeSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPoolChangeSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPoolChangeSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPopulateAvailabilityZoneSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPopulateAvailabilityZoneSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesPopulateAvailabilityZoneSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesPopulateAvailabilityZoneSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReInitializeReplicationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReInitializeReplicationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReInitializeReplicationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReInitializeReplicationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReestablishReplicationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReestablishReplicationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReestablishReplicationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReestablishReplicationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRelocateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRelocateSample.ts similarity index 96% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRelocateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRelocateSample.ts index dfdba8a88020..9dba8f46abd9 100644 --- a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRelocateSample.ts +++ b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRelocateSample.ts @@ -14,9 +14,7 @@ async function volumesRelocate(): Promise { const credential = new DefaultAzureCredential(); const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new NetAppManagementClient(credential, subscriptionId); - await client.volumes.relocate("myRG", "account1", "pool1", "volume1", { - body: {}, - }); + await client.volumes.relocate("myRG", "account1", "pool1", "volume1", { body: {} }); } async function main(): Promise { diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReplicationStatusSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReplicationStatusSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesReplicationStatusSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesReplicationStatusSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesResetCifsPasswordSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesResetCifsPasswordSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesResetCifsPasswordSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesResetCifsPasswordSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesResyncReplicationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesResyncReplicationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesResyncReplicationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesResyncReplicationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRevertRelocationSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRevertRelocationSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRevertRelocationSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRevertRelocationSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRevertSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRevertSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesRevertSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesRevertSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesSplitCloneFromParentSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesSplitCloneFromParentSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesSplitCloneFromParentSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesSplitCloneFromParentSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesUpdateSample.ts b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesUpdateSample.ts similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/src/volumesUpdateSample.ts rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/src/volumesUpdateSample.ts diff --git a/sdk/netapp/arm-netapp/samples/v22-beta/typescript/tsconfig.json b/sdk/netapp/arm-netapp/samples/v23-beta/typescript/tsconfig.json similarity index 100% rename from sdk/netapp/arm-netapp/samples/v22-beta/typescript/tsconfig.json rename to sdk/netapp/arm-netapp/samples/v23-beta/typescript/tsconfig.json diff --git a/sdk/netapp/arm-netapp/src/api/accounts/operations.ts b/sdk/netapp/arm-netapp/src/api/accounts/operations.ts index 9a30d2bd765b..1e19994fa272 100644 --- a/sdk/netapp/arm-netapp/src/api/accounts/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/accounts/operations.ts @@ -93,9 +93,7 @@ export function _getChangeKeyVaultInformationSend( context: Client, resourceGroupName: string, accountName: string, - options: AccountsGetChangeKeyVaultInformationOptionalParams = { - requestOptions: {}, - }, + options: AccountsGetChangeKeyVaultInformationOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/getKeyVaultStatus{?api%2Dversion}", @@ -111,10 +109,7 @@ export function _getChangeKeyVaultInformationSend( ); return context.path(path).post({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -136,9 +131,7 @@ export function getChangeKeyVaultInformation( context: Client, resourceGroupName: string, accountName: string, - options: AccountsGetChangeKeyVaultInformationOptionalParams = { - requestOptions: {}, - }, + options: AccountsGetChangeKeyVaultInformationOptionalParams = { requestOptions: {} }, ): PollerLike, GetKeyVaultStatusResponse> { return getLongRunningPoller( context, @@ -272,10 +265,7 @@ export function _listBySubscriptionSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -324,10 +314,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -431,10 +418,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: netAppAccountPatchSerializer(body), }); } @@ -488,10 +472,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: netAppAccountSerializer(body), }); } @@ -546,10 +527,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/activeDirectoryConfigs/operations.ts b/sdk/netapp/arm-netapp/src/api/activeDirectoryConfigs/operations.ts index 8c693572dbee..4f3a59ea93c8 100644 --- a/sdk/netapp/arm-netapp/src/api/activeDirectoryConfigs/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/activeDirectoryConfigs/operations.ts @@ -32,9 +32,7 @@ import type { PollerLike, OperationState } from "@azure/core-lro"; export function _listBySubscriptionSend( context: Client, - options: ActiveDirectoryConfigsListBySubscriptionOptionalParams = { - requestOptions: {}, - }, + options: ActiveDirectoryConfigsListBySubscriptionOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/activeDirectoryConfigs{?api%2Dversion}", @@ -48,10 +46,7 @@ export function _listBySubscriptionSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -71,9 +66,7 @@ export async function _listBySubscriptionDeserialize( /** List all active directory configurations within the subscription */ export function listBySubscription( context: Client, - options: ActiveDirectoryConfigsListBySubscriptionOptionalParams = { - requestOptions: {}, - }, + options: ActiveDirectoryConfigsListBySubscriptionOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -87,9 +80,7 @@ export function listBySubscription( export function _listByResourceGroupSend( context: Client, resourceGroupName: string, - options: ActiveDirectoryConfigsListByResourceGroupOptionalParams = { - requestOptions: {}, - }, + options: ActiveDirectoryConfigsListByResourceGroupOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs{?api%2Dversion}", @@ -104,10 +95,7 @@ export function _listByResourceGroupSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -128,9 +116,7 @@ export async function _listByResourceGroupDeserialize( export function listByResourceGroup( context: Client, resourceGroupName: string, - options: ActiveDirectoryConfigsListByResourceGroupOptionalParams = { - requestOptions: {}, - }, + options: ActiveDirectoryConfigsListByResourceGroupOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -216,10 +202,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: activeDirectoryConfigUpdateSerializer(body), }); } @@ -259,9 +242,7 @@ export function _createOrUpdateSend( resourceGroupName: string, activeDirectoryConfigName: string, body: ActiveDirectoryConfig, - options: ActiveDirectoryConfigsCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ActiveDirectoryConfigsCreateOrUpdateOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}{?api%2Dversion}", @@ -278,10 +259,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: activeDirectoryConfigSerializer(body), }); } @@ -305,9 +283,7 @@ export function createOrUpdate( resourceGroupName: string, activeDirectoryConfigName: string, body: ActiveDirectoryConfig, - options: ActiveDirectoryConfigsCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ActiveDirectoryConfigsCreateOrUpdateOptionalParams = { requestOptions: {} }, ): PollerLike, ActiveDirectoryConfig> { return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -338,10 +314,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/backupPolicies/operations.ts b/sdk/netapp/arm-netapp/src/api/backupPolicies/operations.ts index 98fb57ca6acf..b6a5543f3993 100644 --- a/sdk/netapp/arm-netapp/src/api/backupPolicies/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/backupPolicies/operations.ts @@ -45,10 +45,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -161,10 +158,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: backupPolicyPatchSerializer(body), }); } @@ -222,10 +216,7 @@ export function _createSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: backupPolicySerializer(body), }); } @@ -281,10 +272,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/backupVaults/operations.ts b/sdk/netapp/arm-netapp/src/api/backupVaults/operations.ts index c7159aad2510..1fb1a79c46e0 100644 --- a/sdk/netapp/arm-netapp/src/api/backupVaults/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/backupVaults/operations.ts @@ -29,9 +29,7 @@ export function _listByNetAppAccountSend( context: Client, resourceGroupName: string, accountName: string, - options: BackupVaultsListByNetAppAccountOptionalParams = { - requestOptions: {}, - }, + options: BackupVaultsListByNetAppAccountOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults{?api%2Dversion}", @@ -47,10 +45,7 @@ export function _listByNetAppAccountSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -72,9 +67,7 @@ export function listByNetAppAccount( context: Client, resourceGroupName: string, accountName: string, - options: BackupVaultsListByNetAppAccountOptionalParams = { - requestOptions: {}, - }, + options: BackupVaultsListByNetAppAccountOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -165,10 +158,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: backupVaultPatchSerializer(body), }); } @@ -226,10 +216,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: backupVaultSerializer(body), }); } @@ -287,10 +274,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/backups/operations.ts b/sdk/netapp/arm-netapp/src/api/backups/operations.ts index 9dcffe03af2e..410666188d87 100644 --- a/sdk/netapp/arm-netapp/src/api/backups/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/backups/operations.ts @@ -35,9 +35,7 @@ export function _getVolumeLatestRestoreStatusSend( accountName: string, poolName: string, volumeName: string, - options: BackupsGetVolumeLatestRestoreStatusOptionalParams = { - requestOptions: {}, - }, + options: BackupsGetVolumeLatestRestoreStatusOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestRestoreStatus/current{?api%2Dversion}", @@ -55,10 +53,7 @@ export function _getVolumeLatestRestoreStatusSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -82,9 +77,7 @@ export async function getVolumeLatestRestoreStatus( accountName: string, poolName: string, volumeName: string, - options: BackupsGetVolumeLatestRestoreStatusOptionalParams = { - requestOptions: {}, - }, + options: BackupsGetVolumeLatestRestoreStatusOptionalParams = { requestOptions: {} }, ): Promise { const result = await _getVolumeLatestRestoreStatusSend( context, @@ -121,10 +114,7 @@ export function _getLatestStatusSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -184,10 +174,7 @@ export function _listByVaultSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -305,10 +292,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: !options["body"] ? options["body"] : backupPatchSerializer(options["body"]), }); } @@ -368,10 +352,7 @@ export function _createSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: backupSerializer(body), }); } @@ -438,10 +419,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/backupsUnderAccount/operations.ts b/sdk/netapp/arm-netapp/src/api/backupsUnderAccount/operations.ts index 42442ac62022..50eba852b9b8 100644 --- a/sdk/netapp/arm-netapp/src/api/backupsUnderAccount/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/backupsUnderAccount/operations.ts @@ -19,9 +19,7 @@ export function _migrateBackupsSend( resourceGroupName: string, accountName: string, body: BackupsMigrationRequest, - options: BackupsUnderAccountMigrateBackupsOptionalParams = { - requestOptions: {}, - }, + options: BackupsUnderAccountMigrateBackupsOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/migrateBackups{?api%2Dversion}", @@ -59,9 +57,7 @@ export function migrateBackups( resourceGroupName: string, accountName: string, body: BackupsMigrationRequest, - options: BackupsUnderAccountMigrateBackupsOptionalParams = { - requestOptions: {}, - }, + options: BackupsUnderAccountMigrateBackupsOptionalParams = { requestOptions: {} }, ): PollerLike, void> { return getLongRunningPoller(context, _migrateBackupsDeserialize, ["202", "200", "201"], { updateIntervalInMs: options?.updateIntervalInMs, diff --git a/sdk/netapp/arm-netapp/src/api/backupsUnderBackupVault/operations.ts b/sdk/netapp/arm-netapp/src/api/backupsUnderBackupVault/operations.ts index d320dbac8d96..ddf1691b0e3a 100644 --- a/sdk/netapp/arm-netapp/src/api/backupsUnderBackupVault/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/backupsUnderBackupVault/operations.ts @@ -18,9 +18,7 @@ export function _restoreFilesSend( backupVaultName: string, backupName: string, body: BackupRestoreFiles, - options: BackupsUnderBackupVaultRestoreFilesOptionalParams = { - requestOptions: {}, - }, + options: BackupsUnderBackupVaultRestoreFilesOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}/restoreFiles{?api%2Dversion}", @@ -62,9 +60,7 @@ export function restoreFiles( backupVaultName: string, backupName: string, body: BackupRestoreFiles, - options: BackupsUnderBackupVaultRestoreFilesOptionalParams = { - requestOptions: {}, - }, + options: BackupsUnderBackupVaultRestoreFilesOptionalParams = { requestOptions: {} }, ): PollerLike, void> { return getLongRunningPoller(context, _restoreFilesDeserialize, ["202", "200", "201"], { updateIntervalInMs: options?.updateIntervalInMs, diff --git a/sdk/netapp/arm-netapp/src/api/backupsUnderVolume/operations.ts b/sdk/netapp/arm-netapp/src/api/backupsUnderVolume/operations.ts index 1be999dd7275..003f78652a16 100644 --- a/sdk/netapp/arm-netapp/src/api/backupsUnderVolume/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/backupsUnderVolume/operations.ts @@ -21,9 +21,7 @@ export function _migrateBackupsSend( poolName: string, volumeName: string, body: BackupsMigrationRequest, - options: BackupsUnderVolumeMigrateBackupsOptionalParams = { - requestOptions: {}, - }, + options: BackupsUnderVolumeMigrateBackupsOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/migrateBackups{?api%2Dversion}", @@ -65,9 +63,7 @@ export function migrateBackups( poolName: string, volumeName: string, body: BackupsMigrationRequest, - options: BackupsUnderVolumeMigrateBackupsOptionalParams = { - requestOptions: {}, - }, + options: BackupsUnderVolumeMigrateBackupsOptionalParams = { requestOptions: {} }, ): PollerLike, void> { return getLongRunningPoller(context, _migrateBackupsDeserialize, ["202", "200", "201"], { updateIntervalInMs: options?.updateIntervalInMs, diff --git a/sdk/netapp/arm-netapp/src/api/buckets/operations.ts b/sdk/netapp/arm-netapp/src/api/buckets/operations.ts index 960bb9123cd1..49ef69e91d5a 100644 --- a/sdk/netapp/arm-netapp/src/api/buckets/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/buckets/operations.ts @@ -62,10 +62,7 @@ export function _generateCredentialsSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: bucketCredentialsExpirySerializer(body), }); } @@ -131,10 +128,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -265,10 +259,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: bucketPatchSerializer(body), }); } @@ -341,10 +332,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: bucketSerializer(body), }); } @@ -415,10 +403,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/caches/operations.ts b/sdk/netapp/arm-netapp/src/api/caches/operations.ts index 352f73549818..243fbe0cf12a 100644 --- a/sdk/netapp/arm-netapp/src/api/caches/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/caches/operations.ts @@ -61,10 +61,7 @@ export function _poolChangeSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: poolChangeRequestSerializer(body), }); } @@ -123,10 +120,7 @@ export function _listPeeringPassphrasesSend( ); return context.path(path).post({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -185,10 +179,7 @@ export function _listByCapacityPoolsSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -307,10 +298,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: cacheUpdateSerializer(body), }); } @@ -371,10 +359,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: cacheSerializer(body), }); } @@ -441,10 +426,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/elasticAccounts/operations.ts b/sdk/netapp/arm-netapp/src/api/elasticAccounts/operations.ts index 1700fb470fee..e1a3a0673d20 100644 --- a/sdk/netapp/arm-netapp/src/api/elasticAccounts/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/elasticAccounts/operations.ts @@ -32,9 +32,7 @@ import type { PollerLike, OperationState } from "@azure/core-lro"; export function _listBySubscriptionSend( context: Client, - options: ElasticAccountsListBySubscriptionOptionalParams = { - requestOptions: {}, - }, + options: ElasticAccountsListBySubscriptionOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/elasticAccounts{?api%2Dversion}", @@ -48,10 +46,7 @@ export function _listBySubscriptionSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -71,9 +66,7 @@ export async function _listBySubscriptionDeserialize( /** List and describe all NetApp elastic accounts in the subscription. */ export function listBySubscription( context: Client, - options: ElasticAccountsListBySubscriptionOptionalParams = { - requestOptions: {}, - }, + options: ElasticAccountsListBySubscriptionOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -87,9 +80,7 @@ export function listBySubscription( export function _listByResourceGroupSend( context: Client, resourceGroupName: string, - options: ElasticAccountsListByResourceGroupOptionalParams = { - requestOptions: {}, - }, + options: ElasticAccountsListByResourceGroupOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts{?api%2Dversion}", @@ -104,10 +95,7 @@ export function _listByResourceGroupSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -128,9 +116,7 @@ export async function _listByResourceGroupDeserialize( export function listByResourceGroup( context: Client, resourceGroupName: string, - options: ElasticAccountsListByResourceGroupOptionalParams = { - requestOptions: {}, - }, + options: ElasticAccountsListByResourceGroupOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -215,10 +201,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticAccountUpdateSerializer(body), }); } @@ -272,10 +255,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticAccountSerializer(body), }); } @@ -330,10 +310,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/elasticBackupPolicies/operations.ts b/sdk/netapp/arm-netapp/src/api/elasticBackupPolicies/operations.ts index f692540f5dfa..8d6420648ada 100644 --- a/sdk/netapp/arm-netapp/src/api/elasticBackupPolicies/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/elasticBackupPolicies/operations.ts @@ -33,9 +33,7 @@ export function _listByElasticAccountSend( context: Client, resourceGroupName: string, accountName: string, - options: ElasticBackupPoliciesListByElasticAccountOptionalParams = { - requestOptions: {}, - }, + options: ElasticBackupPoliciesListByElasticAccountOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupPolicies{?api%2Dversion}", @@ -51,10 +49,7 @@ export function _listByElasticAccountSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -76,9 +71,7 @@ export function listByElasticAccount( context: Client, resourceGroupName: string, accountName: string, - options: ElasticBackupPoliciesListByElasticAccountOptionalParams = { - requestOptions: {}, - }, + options: ElasticBackupPoliciesListByElasticAccountOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -169,10 +162,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticBackupPolicyUpdateSerializer(body), }); } @@ -214,9 +204,7 @@ export function _createOrUpdateSend( accountName: string, backupPolicyName: string, body: ElasticBackupPolicy, - options: ElasticBackupPoliciesCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticBackupPoliciesCreateOrUpdateOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupPolicies/{backupPolicyName}{?api%2Dversion}", @@ -234,10 +222,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticBackupPolicySerializer(body), }); } @@ -262,9 +247,7 @@ export function createOrUpdate( accountName: string, backupPolicyName: string, body: ElasticBackupPolicy, - options: ElasticBackupPoliciesCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticBackupPoliciesCreateOrUpdateOptionalParams = { requestOptions: {} }, ): PollerLike, ElasticBackupPolicy> { return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -297,10 +280,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/elasticBackupVaults/operations.ts b/sdk/netapp/arm-netapp/src/api/elasticBackupVaults/operations.ts index 7a814737ab60..bdc9f219332c 100644 --- a/sdk/netapp/arm-netapp/src/api/elasticBackupVaults/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/elasticBackupVaults/operations.ts @@ -33,9 +33,7 @@ export function _listByElasticAccountSend( context: Client, resourceGroupName: string, accountName: string, - options: ElasticBackupVaultsListByElasticAccountOptionalParams = { - requestOptions: {}, - }, + options: ElasticBackupVaultsListByElasticAccountOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupVaults{?api%2Dversion}", @@ -51,10 +49,7 @@ export function _listByElasticAccountSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -76,9 +71,7 @@ export function listByElasticAccount( context: Client, resourceGroupName: string, accountName: string, - options: ElasticBackupVaultsListByElasticAccountOptionalParams = { - requestOptions: {}, - }, + options: ElasticBackupVaultsListByElasticAccountOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -169,10 +162,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticBackupVaultUpdateSerializer(body), }); } @@ -214,9 +204,7 @@ export function _createOrUpdateSend( accountName: string, backupVaultName: string, body: ElasticBackupVault, - options: ElasticBackupVaultsCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticBackupVaultsCreateOrUpdateOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupVaults/{backupVaultName}{?api%2Dversion}", @@ -234,10 +222,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticBackupVaultSerializer(body), }); } @@ -262,9 +247,7 @@ export function createOrUpdate( accountName: string, backupVaultName: string, body: ElasticBackupVault, - options: ElasticBackupVaultsCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticBackupVaultsCreateOrUpdateOptionalParams = { requestOptions: {} }, ): PollerLike, ElasticBackupVault> { return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -297,10 +280,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/elasticBackups/operations.ts b/sdk/netapp/arm-netapp/src/api/elasticBackups/operations.ts index 7be107660946..4c8a19315609 100644 --- a/sdk/netapp/arm-netapp/src/api/elasticBackups/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/elasticBackups/operations.ts @@ -46,10 +46,7 @@ export function _listByVaultSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -168,10 +165,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticBackupSerializer(body), }); } @@ -240,10 +234,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticBackupSerializer(body), }); } @@ -312,10 +303,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/elasticCapacityPools/operations.ts b/sdk/netapp/arm-netapp/src/api/elasticCapacityPools/operations.ts index f148e9a03463..cf50a39248d5 100644 --- a/sdk/netapp/arm-netapp/src/api/elasticCapacityPools/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/elasticCapacityPools/operations.ts @@ -63,10 +63,7 @@ export function _checkVolumeFilePathAvailabilitySend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: checkElasticVolumeFilePathAvailabilityRequestSerializer(body), }); } @@ -112,9 +109,7 @@ export function _changeZoneSend( accountName: string, poolName: string, body: ChangeZoneRequest, - options: ElasticCapacityPoolsChangeZoneOptionalParams = { - requestOptions: {}, - }, + options: ElasticCapacityPoolsChangeZoneOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/changeZone{?api%2Dversion}", @@ -132,10 +127,7 @@ export function _changeZoneSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: changeZoneRequestSerializer(body), }); } @@ -160,9 +152,7 @@ export function changeZone( accountName: string, poolName: string, body: ChangeZoneRequest, - options: ElasticCapacityPoolsChangeZoneOptionalParams = { - requestOptions: {}, - }, + options: ElasticCapacityPoolsChangeZoneOptionalParams = { requestOptions: {} }, ): PollerLike, ElasticCapacityPool> { return getLongRunningPoller(context, _changeZoneDeserialize, ["202", "200", "201"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -177,9 +167,7 @@ export function _listByElasticAccountSend( context: Client, resourceGroupName: string, accountName: string, - options: ElasticCapacityPoolsListByElasticAccountOptionalParams = { - requestOptions: {}, - }, + options: ElasticCapacityPoolsListByElasticAccountOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools{?api%2Dversion}", @@ -195,10 +183,7 @@ export function _listByElasticAccountSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -220,9 +205,7 @@ export function listByElasticAccount( context: Client, resourceGroupName: string, accountName: string, - options: ElasticCapacityPoolsListByElasticAccountOptionalParams = { - requestOptions: {}, - }, + options: ElasticCapacityPoolsListByElasticAccountOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -313,10 +296,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticCapacityPoolUpdateSerializer(body), }); } @@ -358,9 +338,7 @@ export function _createOrUpdateSend( accountName: string, poolName: string, body: ElasticCapacityPool, - options: ElasticCapacityPoolsCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticCapacityPoolsCreateOrUpdateOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}{?api%2Dversion}", @@ -378,10 +356,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticCapacityPoolSerializer(body), }); } @@ -406,9 +381,7 @@ export function createOrUpdate( accountName: string, poolName: string, body: ElasticCapacityPool, - options: ElasticCapacityPoolsCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticCapacityPoolsCreateOrUpdateOptionalParams = { requestOptions: {} }, ): PollerLike, ElasticCapacityPool> { return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -441,10 +414,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/elasticSnapshotPolicies/operations.ts b/sdk/netapp/arm-netapp/src/api/elasticSnapshotPolicies/operations.ts index b04a5b6a53eb..5c29b4a22151 100644 --- a/sdk/netapp/arm-netapp/src/api/elasticSnapshotPolicies/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/elasticSnapshotPolicies/operations.ts @@ -38,9 +38,7 @@ export function _listElasticVolumesSend( resourceGroupName: string, accountName: string, snapshotPolicyName: string, - options: ElasticSnapshotPoliciesListElasticVolumesOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotPoliciesListElasticVolumesOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticSnapshotPolicies/{snapshotPolicyName}/elasticvolumes{?api%2Dversion}", @@ -57,10 +55,7 @@ export function _listElasticVolumesSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -83,9 +78,7 @@ export function listElasticVolumes( resourceGroupName: string, accountName: string, snapshotPolicyName: string, - options: ElasticSnapshotPoliciesListElasticVolumesOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotPoliciesListElasticVolumesOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -101,9 +94,7 @@ export function _listByElasticAccountSend( context: Client, resourceGroupName: string, accountName: string, - options: ElasticSnapshotPoliciesListByElasticAccountOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotPoliciesListByElasticAccountOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticSnapshotPolicies{?api%2Dversion}", @@ -119,10 +110,7 @@ export function _listByElasticAccountSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -144,9 +132,7 @@ export function listByElasticAccount( context: Client, resourceGroupName: string, accountName: string, - options: ElasticSnapshotPoliciesListByElasticAccountOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotPoliciesListByElasticAccountOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -237,10 +223,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticSnapshotPolicyUpdateSerializer(body), }); } @@ -282,9 +265,7 @@ export function _createOrUpdateSend( accountName: string, snapshotPolicyName: string, body: ElasticSnapshotPolicy, - options: ElasticSnapshotPoliciesCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotPoliciesCreateOrUpdateOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticSnapshotPolicies/{snapshotPolicyName}{?api%2Dversion}", @@ -302,10 +283,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticSnapshotPolicySerializer(body), }); } @@ -330,9 +308,7 @@ export function createOrUpdate( accountName: string, snapshotPolicyName: string, body: ElasticSnapshotPolicy, - options: ElasticSnapshotPoliciesCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotPoliciesCreateOrUpdateOptionalParams = { requestOptions: {} }, ): PollerLike, ElasticSnapshotPolicy> { return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -372,10 +348,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/elasticSnapshots/operations.ts b/sdk/netapp/arm-netapp/src/api/elasticSnapshots/operations.ts index d9877a10ff9a..51c79e9aa44a 100644 --- a/sdk/netapp/arm-netapp/src/api/elasticSnapshots/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/elasticSnapshots/operations.ts @@ -29,9 +29,7 @@ export function _listByElasticVolumeSend( accountName: string, poolName: string, volumeName: string, - options: ElasticSnapshotsListByElasticVolumeOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotsListByElasticVolumeOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}/elasticSnapshots{?api%2Dversion}", @@ -49,10 +47,7 @@ export function _listByElasticVolumeSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -76,9 +71,7 @@ export function listByElasticVolume( accountName: string, poolName: string, volumeName: string, - options: ElasticSnapshotsListByElasticVolumeOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotsListByElasticVolumeOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -175,9 +168,7 @@ export function _createOrUpdateSend( volumeName: string, snapshotName: string, body: ElasticSnapshot, - options: ElasticSnapshotsCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotsCreateOrUpdateOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}/elasticSnapshots/{snapshotName}{?api%2Dversion}", @@ -197,10 +188,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticSnapshotSerializer(body), }); } @@ -227,9 +215,7 @@ export function createOrUpdate( volumeName: string, snapshotName: string, body: ElasticSnapshot, - options: ElasticSnapshotsCreateOrUpdateOptionalParams = { - requestOptions: {}, - }, + options: ElasticSnapshotsCreateOrUpdateOptionalParams = { requestOptions: {} }, ): PollerLike, ElasticSnapshot> { return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201", "202"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -275,10 +261,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/elasticVolumes/operations.ts b/sdk/netapp/arm-netapp/src/api/elasticVolumes/operations.ts index e3460045d13c..6e1c68dce238 100644 --- a/sdk/netapp/arm-netapp/src/api/elasticVolumes/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/elasticVolumes/operations.ts @@ -58,10 +58,7 @@ export function _revertSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticVolumeRevertSerializer(body), }); } @@ -101,9 +98,7 @@ export function _listByElasticPoolSend( resourceGroupName: string, accountName: string, poolName: string, - options: ElasticVolumesListByElasticPoolOptionalParams = { - requestOptions: {}, - }, + options: ElasticVolumesListByElasticPoolOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes{?api%2Dversion}", @@ -120,10 +115,7 @@ export function _listByElasticPoolSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -146,9 +138,7 @@ export function listByElasticPool( resourceGroupName: string, accountName: string, poolName: string, - options: ElasticVolumesListByElasticPoolOptionalParams = { - requestOptions: {}, - }, + options: ElasticVolumesListByElasticPoolOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -244,10 +234,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticVolumeUpdateSerializer(body), }); } @@ -308,10 +295,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: elasticVolumeSerializer(body), }); } @@ -380,10 +364,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/netAppManagementContext.ts b/sdk/netapp/arm-netapp/src/api/netAppManagementContext.ts index 3c07ff96305b..f1aa81f3e8bd 100644 --- a/sdk/netapp/arm-netapp/src/api/netAppManagementContext.ts +++ b/sdk/netapp/arm-netapp/src/api/netAppManagementContext.ts @@ -36,7 +36,7 @@ export function createNetAppManagement( const endpointUrl = options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? "https://management.azure.com"; const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix; - const userAgentInfo = `azsdk-js-arm-netapp/22.1.0-beta.1`; + const userAgentInfo = `azsdk-js-arm-netapp/23.0.0-beta.1`; const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}` : `azsdk-js-api ${userAgentInfo}`; @@ -44,9 +44,7 @@ export function createNetAppManagement( ...options, userAgentOptions: { userAgentPrefix }, loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info }, - credentials: { - scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`], - }, + credentials: { scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`] }, }; const clientContext = getClient(endpointUrl, credential, updatedOptions); clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" }); @@ -66,9 +64,5 @@ export function createNetAppManagement( return next(req); }, }); - return { - ...clientContext, - apiVersion, - subscriptionId, - } as NetAppManagementContext; + return { ...clientContext, apiVersion, subscriptionId } as NetAppManagementContext; } diff --git a/sdk/netapp/arm-netapp/src/api/netAppResource/operations.ts b/sdk/netapp/arm-netapp/src/api/netAppResource/operations.ts index 91db929d923a..9c71f29587fa 100644 --- a/sdk/netapp/arm-netapp/src/api/netAppResource/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/netAppResource/operations.ts @@ -41,9 +41,7 @@ export function _updateNetworkSiblingSetSend( context: Client, location: string, body: UpdateNetworkSiblingSetRequest, - options: NetAppResourceUpdateNetworkSiblingSetOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceUpdateNetworkSiblingSetOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/updateNetworkSiblingSet{?api%2Dversion}", @@ -59,10 +57,7 @@ export function _updateNetworkSiblingSetSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: updateNetworkSiblingSetRequestSerializer(body), }); } @@ -85,9 +80,7 @@ export function updateNetworkSiblingSet( context: Client, location: string, body: UpdateNetworkSiblingSetRequest, - options: NetAppResourceUpdateNetworkSiblingSetOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceUpdateNetworkSiblingSetOptionalParams = { requestOptions: {} }, ): PollerLike, NetworkSiblingSet> { return getLongRunningPoller(context, _updateNetworkSiblingSetDeserialize, ["202", "200", "201"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -101,9 +94,7 @@ export function _queryNetworkSiblingSetSend( context: Client, location: string, body: QueryNetworkSiblingSetRequest, - options: NetAppResourceQueryNetworkSiblingSetOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceQueryNetworkSiblingSetOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/queryNetworkSiblingSet{?api%2Dversion}", @@ -119,10 +110,7 @@ export function _queryNetworkSiblingSetSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: queryNetworkSiblingSetRequestSerializer(body), }); } @@ -145,9 +133,7 @@ export async function queryNetworkSiblingSet( context: Client, location: string, body: QueryNetworkSiblingSetRequest, - options: NetAppResourceQueryNetworkSiblingSetOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceQueryNetworkSiblingSetOptionalParams = { requestOptions: {} }, ): Promise { const result = await _queryNetworkSiblingSetSend(context, location, body, options); return _queryNetworkSiblingSetDeserialize(result); @@ -171,10 +157,7 @@ export function _queryRegionInfoSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -205,9 +188,7 @@ export function _checkQuotaAvailabilitySend( context: Client, location: string, body: QuotaAvailabilityRequest, - options: NetAppResourceCheckQuotaAvailabilityOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceCheckQuotaAvailabilityOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability{?api%2Dversion}", @@ -223,10 +204,7 @@ export function _checkQuotaAvailabilitySend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: quotaAvailabilityRequestSerializer(body), }); } @@ -249,9 +227,7 @@ export async function checkQuotaAvailability( context: Client, location: string, body: QuotaAvailabilityRequest, - options: NetAppResourceCheckQuotaAvailabilityOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceCheckQuotaAvailabilityOptionalParams = { requestOptions: {} }, ): Promise { const result = await _checkQuotaAvailabilitySend(context, location, body, options); return _checkQuotaAvailabilityDeserialize(result); @@ -261,9 +237,7 @@ export function _checkFilePathAvailabilitySend( context: Client, location: string, body: FilePathAvailabilityRequest, - options: NetAppResourceCheckFilePathAvailabilityOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceCheckFilePathAvailabilityOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability{?api%2Dversion}", @@ -279,10 +253,7 @@ export function _checkFilePathAvailabilitySend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: filePathAvailabilityRequestSerializer(body), }); } @@ -305,9 +276,7 @@ export async function checkFilePathAvailability( context: Client, location: string, body: FilePathAvailabilityRequest, - options: NetAppResourceCheckFilePathAvailabilityOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceCheckFilePathAvailabilityOptionalParams = { requestOptions: {} }, ): Promise { const result = await _checkFilePathAvailabilitySend(context, location, body, options); return _checkFilePathAvailabilityDeserialize(result); @@ -317,9 +286,7 @@ export function _checkNameAvailabilitySend( context: Client, location: string, body: ResourceNameAvailabilityRequest, - options: NetAppResourceCheckNameAvailabilityOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceCheckNameAvailabilityOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability{?api%2Dversion}", @@ -335,10 +302,7 @@ export function _checkNameAvailabilitySend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: resourceNameAvailabilityRequestSerializer(body), }); } @@ -361,9 +325,7 @@ export async function checkNameAvailability( context: Client, location: string, body: ResourceNameAvailabilityRequest, - options: NetAppResourceCheckNameAvailabilityOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceCheckNameAvailabilityOptionalParams = { requestOptions: {} }, ): Promise { const result = await _checkNameAvailabilitySend(context, location, body, options); return _checkNameAvailabilityDeserialize(result); diff --git a/sdk/netapp/arm-netapp/src/api/netAppResourceQuotaLimits/operations.ts b/sdk/netapp/arm-netapp/src/api/netAppResourceQuotaLimits/operations.ts index d8d77520f56a..b598041e5175 100644 --- a/sdk/netapp/arm-netapp/src/api/netAppResourceQuotaLimits/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/netAppResourceQuotaLimits/operations.ts @@ -36,10 +36,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -89,10 +86,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/netAppResourceQuotaLimitsAccount/operations.ts b/sdk/netapp/arm-netapp/src/api/netAppResourceQuotaLimitsAccount/operations.ts index d2a67e76024a..0684fe0a57c7 100644 --- a/sdk/netapp/arm-netapp/src/api/netAppResourceQuotaLimitsAccount/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/netAppResourceQuotaLimitsAccount/operations.ts @@ -22,9 +22,7 @@ export function _listSend( context: Client, resourceGroupName: string, accountName: string, - options: NetAppResourceQuotaLimitsAccountListOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceQuotaLimitsAccountListOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/quotaLimits{?api%2Dversion}", @@ -40,10 +38,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -63,9 +58,7 @@ export function list( context: Client, resourceGroupName: string, accountName: string, - options: NetAppResourceQuotaLimitsAccountListOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceQuotaLimitsAccountListOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -81,9 +74,7 @@ export function _getSend( resourceGroupName: string, accountName: string, quotaLimitName: string, - options: NetAppResourceQuotaLimitsAccountGetOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceQuotaLimitsAccountGetOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/quotaLimits/{quotaLimitName}{?api%2Dversion}", @@ -100,10 +91,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -124,9 +112,7 @@ export async function get( resourceGroupName: string, accountName: string, quotaLimitName: string, - options: NetAppResourceQuotaLimitsAccountGetOptionalParams = { - requestOptions: {}, - }, + options: NetAppResourceQuotaLimitsAccountGetOptionalParams = { requestOptions: {} }, ): Promise { const result = await _getSend(context, resourceGroupName, accountName, quotaLimitName, options); return _getDeserialize(result); diff --git a/sdk/netapp/arm-netapp/src/api/netAppResourceRegionInfos/operations.ts b/sdk/netapp/arm-netapp/src/api/netAppResourceRegionInfos/operations.ts index f5e9c1908982..2726e367e64f 100644 --- a/sdk/netapp/arm-netapp/src/api/netAppResourceRegionInfos/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/netAppResourceRegionInfos/operations.ts @@ -36,10 +36,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -87,10 +84,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/netAppResourceUsages/operations.ts b/sdk/netapp/arm-netapp/src/api/netAppResourceUsages/operations.ts index d4883201a880..402be8325bd9 100644 --- a/sdk/netapp/arm-netapp/src/api/netAppResourceUsages/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/netAppResourceUsages/operations.ts @@ -38,10 +38,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -85,10 +82,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/operations/operations.ts b/sdk/netapp/arm-netapp/src/api/operations/operations.ts index 39104f26eaa1..2d33ca35de38 100644 --- a/sdk/netapp/arm-netapp/src/api/operations/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/operations/operations.ts @@ -29,10 +29,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/pools/operations.ts b/sdk/netapp/arm-netapp/src/api/pools/operations.ts index abd9201eac1b..d9af08c355bf 100644 --- a/sdk/netapp/arm-netapp/src/api/pools/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/pools/operations.ts @@ -45,10 +45,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -159,10 +156,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: capacityPoolPatchSerializer(body), }); } @@ -220,10 +214,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: capacityPoolSerializer(body), }); } @@ -281,10 +272,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/ransomwareReports/operations.ts b/sdk/netapp/arm-netapp/src/api/ransomwareReports/operations.ts index ab406c0c0cfe..a306ac75c766 100644 --- a/sdk/netapp/arm-netapp/src/api/ransomwareReports/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/ransomwareReports/operations.ts @@ -34,9 +34,7 @@ export function _clearSuspectsSend( volumeName: string, ransomwareReportName: string, body: RansomwareSuspectsClearRequest, - options: RansomwareReportsClearSuspectsOptionalParams = { - requestOptions: {}, - }, + options: RansomwareReportsClearSuspectsOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/ransomwareReports/{ransomwareReportName}/clearSuspects{?api%2Dversion}", @@ -83,9 +81,7 @@ export function clearSuspects( volumeName: string, ransomwareReportName: string, body: RansomwareSuspectsClearRequest, - options: RansomwareReportsClearSuspectsOptionalParams = { - requestOptions: {}, - }, + options: RansomwareReportsClearSuspectsOptionalParams = { requestOptions: {} }, ): PollerLike, void> { return getLongRunningPoller(context, _clearSuspectsDeserialize, ["202", "200", "201"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -129,10 +125,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -198,10 +191,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/snapshotPolicies/operations.ts b/sdk/netapp/arm-netapp/src/api/snapshotPolicies/operations.ts index 893abc32b74f..ff5a67f4ff9d 100644 --- a/sdk/netapp/arm-netapp/src/api/snapshotPolicies/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/snapshotPolicies/operations.ts @@ -54,10 +54,7 @@ export function _listVolumesSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -112,10 +109,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -228,10 +222,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: snapshotPolicyPatchSerializer(body), }); } @@ -289,10 +280,7 @@ export function _createSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: snapshotPolicySerializer(body), }); } @@ -350,10 +338,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/snapshots/operations.ts b/sdk/netapp/arm-netapp/src/api/snapshots/operations.ts index 3b00f383cabc..8813d52954dd 100644 --- a/sdk/netapp/arm-netapp/src/api/snapshots/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/snapshots/operations.ts @@ -128,10 +128,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -262,10 +259,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: snapshotPatchSerializer(body), }); } @@ -338,10 +332,7 @@ export function _createSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: snapshotSerializer(body), }); } @@ -412,10 +403,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/subvolumes/operations.ts b/sdk/netapp/arm-netapp/src/api/subvolumes/operations.ts index af7e456fdf6f..c48084c5ecde 100644 --- a/sdk/netapp/arm-netapp/src/api/subvolumes/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/subvolumes/operations.ts @@ -58,10 +58,7 @@ export function _getMetadataSend( ); return context.path(path).post({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -129,10 +126,7 @@ export function _listByVolumeSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -265,10 +259,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: subvolumePatchRequestSerializer(body), }); } @@ -341,10 +332,7 @@ export function _createSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: subvolumeInfoSerializer(body), }); } @@ -415,10 +403,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/volumeGroups/operations.ts b/sdk/netapp/arm-netapp/src/api/volumeGroups/operations.ts index 62676ab8249f..f779684e8076 100644 --- a/sdk/netapp/arm-netapp/src/api/volumeGroups/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/volumeGroups/operations.ts @@ -27,9 +27,7 @@ export function _listByNetAppAccountSend( context: Client, resourceGroupName: string, accountName: string, - options: VolumeGroupsListByNetAppAccountOptionalParams = { - requestOptions: {}, - }, + options: VolumeGroupsListByNetAppAccountOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups{?api%2Dversion}", @@ -45,10 +43,7 @@ export function _listByNetAppAccountSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -70,9 +65,7 @@ export function listByNetAppAccount( context: Client, resourceGroupName: string, accountName: string, - options: VolumeGroupsListByNetAppAccountOptionalParams = { - requestOptions: {}, - }, + options: VolumeGroupsListByNetAppAccountOptionalParams = { requestOptions: {} }, ): PagedAsyncIterableIterator { return buildPagedAsyncIterator( context, @@ -163,10 +156,7 @@ export function _createSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: volumeGroupDetailsSerializer(body), }); } @@ -224,10 +214,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/volumeQuotaRules/operations.ts b/sdk/netapp/arm-netapp/src/api/volumeQuotaRules/operations.ts index 9c759a4189d5..efad73592980 100644 --- a/sdk/netapp/arm-netapp/src/api/volumeQuotaRules/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/volumeQuotaRules/operations.ts @@ -53,10 +53,7 @@ export function _listByVolumeSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -189,10 +186,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: volumeQuotaRulePatchSerializer(body), }); } @@ -265,10 +259,7 @@ export function _createSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: volumeQuotaRuleSerializer(body), }); } @@ -339,10 +330,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/api/volumes/operations.ts b/sdk/netapp/arm-netapp/src/api/volumes/operations.ts index ce8cbf52f49e..a1153f859f8b 100644 --- a/sdk/netapp/arm-netapp/src/api/volumes/operations.ts +++ b/sdk/netapp/arm-netapp/src/api/volumes/operations.ts @@ -105,10 +105,7 @@ export function _listQuotaReportSend( ); return context.path(path).post({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -382,9 +379,7 @@ export function _performReplicationTransferSend( accountName: string, poolName: string, volumeName: string, - options: VolumesPerformReplicationTransferOptionalParams = { - requestOptions: {}, - }, + options: VolumesPerformReplicationTransferOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/performReplicationTransfer{?api%2Dversion}", @@ -423,9 +418,7 @@ export function performReplicationTransfer( accountName: string, poolName: string, volumeName: string, - options: VolumesPerformReplicationTransferOptionalParams = { - requestOptions: {}, - }, + options: VolumesPerformReplicationTransferOptionalParams = { requestOptions: {} }, ): PollerLike, void> { return getLongRunningPoller( context, @@ -454,9 +447,7 @@ export function _finalizeExternalReplicationSend( accountName: string, poolName: string, volumeName: string, - options: VolumesFinalizeExternalReplicationOptionalParams = { - requestOptions: {}, - }, + options: VolumesFinalizeExternalReplicationOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeExternalReplication{?api%2Dversion}", @@ -495,9 +486,7 @@ export function finalizeExternalReplication( accountName: string, poolName: string, volumeName: string, - options: VolumesFinalizeExternalReplicationOptionalParams = { - requestOptions: {}, - }, + options: VolumesFinalizeExternalReplicationOptionalParams = { requestOptions: {} }, ): PollerLike, void> { return getLongRunningPoller( context, @@ -526,9 +515,7 @@ export function _authorizeExternalReplicationSend( accountName: string, poolName: string, volumeName: string, - options: VolumesAuthorizeExternalReplicationOptionalParams = { - requestOptions: {}, - }, + options: VolumesAuthorizeExternalReplicationOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeExternalReplication{?api%2Dversion}", @@ -546,10 +533,7 @@ export function _authorizeExternalReplicationSend( ); return context.path(path).post({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -573,9 +557,7 @@ export function authorizeExternalReplication( accountName: string, poolName: string, volumeName: string, - options: VolumesAuthorizeExternalReplicationOptionalParams = { - requestOptions: {}, - }, + options: VolumesAuthorizeExternalReplicationOptionalParams = { requestOptions: {} }, ): PollerLike, SvmPeerCommandResponse> { return getLongRunningPoller( context, @@ -624,10 +606,7 @@ export function _peerExternalClusterSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: peerClusterForVolumeMigrationRequestSerializer(body), }); } @@ -678,9 +657,7 @@ export function _reInitializeReplicationSend( accountName: string, poolName: string, volumeName: string, - options: VolumesReInitializeReplicationOptionalParams = { - requestOptions: {}, - }, + options: VolumesReInitializeReplicationOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reinitializeReplication{?api%2Dversion}", @@ -719,9 +696,7 @@ export function reInitializeReplication( accountName: string, poolName: string, volumeName: string, - options: VolumesReInitializeReplicationOptionalParams = { - requestOptions: {}, - }, + options: VolumesReInitializeReplicationOptionalParams = { requestOptions: {} }, ): PollerLike, void> { return getLongRunningPoller(context, _reInitializeReplicationDeserialize, ["202", "200", "201"], { updateIntervalInMs: options?.updateIntervalInMs, @@ -956,10 +931,7 @@ export function _listReplicationsSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: !options["body"] ? options["body"] : listReplicationsRequestSerializer(options["body"]), }); } @@ -1020,10 +992,7 @@ export function _replicationStatusSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -1195,9 +1164,7 @@ export function _listGetGroupIdListForLdapUserSend( poolName: string, volumeName: string, body: GetGroupIdListForLdapUserRequest, - options: VolumesListGetGroupIdListForLdapUserOptionalParams = { - requestOptions: {}, - }, + options: VolumesListGetGroupIdListForLdapUserOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/getGroupIdListForLdapUser{?api%2Dversion}", @@ -1216,10 +1183,7 @@ export function _listGetGroupIdListForLdapUserSend( return context.path(path).post({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: getGroupIdListForLdapUserRequestSerializer(body), }); } @@ -1245,9 +1209,7 @@ export function listGetGroupIdListForLdapUser( poolName: string, volumeName: string, body: GetGroupIdListForLdapUserRequest, - options: VolumesListGetGroupIdListForLdapUserOptionalParams = { - requestOptions: {}, - }, + options: VolumesListGetGroupIdListForLdapUserOptionalParams = { requestOptions: {} }, ): PollerLike< OperationState, GetGroupIdListForLdapUserResponse @@ -1359,10 +1321,7 @@ export function _splitCloneFromParentSend( ); return context.path(path).post({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -1531,9 +1490,7 @@ export function _populateAvailabilityZoneSend( accountName: string, poolName: string, volumeName: string, - options: VolumesPopulateAvailabilityZoneOptionalParams = { - requestOptions: {}, - }, + options: VolumesPopulateAvailabilityZoneOptionalParams = { requestOptions: {} }, ): StreamableMethod { const path = expandUrlTemplate( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/populateAvailabilityZone{?api%2Dversion}", @@ -1551,10 +1508,7 @@ export function _populateAvailabilityZoneSend( ); return context.path(path).post({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -1578,9 +1532,7 @@ export function populateAvailabilityZone( accountName: string, poolName: string, volumeName: string, - options: VolumesPopulateAvailabilityZoneOptionalParams = { - requestOptions: {}, - }, + options: VolumesPopulateAvailabilityZoneOptionalParams = { requestOptions: {} }, ): PollerLike, Volume> { return getLongRunningPoller( context, @@ -1625,10 +1577,7 @@ export function _listSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } @@ -1746,10 +1695,7 @@ export function _updateSend( return context.path(path).patch({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: volumePatchSerializer(body), }); } @@ -1810,10 +1756,7 @@ export function _createOrUpdateSend( return context.path(path).put({ ...operationOptionsToRequestParameters(options), contentType: "application/json", - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, body: volumeSerializer(body), }); } @@ -1880,10 +1823,7 @@ export function _getSend( ); return context.path(path).get({ ...operationOptionsToRequestParameters(options), - headers: { - accept: "application/json", - ...options.requestOptions?.headers, - }, + headers: { accept: "application/json", ...options.requestOptions?.headers }, }); } diff --git a/sdk/netapp/arm-netapp/src/models/models.ts b/sdk/netapp/arm-netapp/src/models/models.ts index b4e259c043bd..0bf44a1d2a46 100644 --- a/sdk/netapp/arm-netapp/src/models/models.ts +++ b/sdk/netapp/arm-netapp/src/models/models.ts @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +import { areAllPropsUndefined } from "../static-helpers/serialization/check-prop-undefined.js"; + /** * This file contains only generated model types and their (de)serializers. * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input. @@ -36,8 +38,8 @@ export interface Operation { display?: OperationDisplay; /** The origin of operations. */ origin?: string; - /** Properties of operation, include metric specifications. */ - properties?: OperationProperties; + /** One property of operation, include metric specifications. */ + serviceSpecification?: ServiceSpecification; } export function operationDeserializer(item: any): Operation { @@ -45,9 +47,9 @@ export function operationDeserializer(item: any): Operation { name: item["name"], display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]), origin: item["origin"], - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : operationPropertiesDeserializer(item["properties"]), + : _operationPropertiesDeserializer(item["properties"])), }; } @@ -296,8 +298,12 @@ export function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo /** Information regarding Quota Item. */ export interface QuotaItem extends ProxyResource { - /** QuotaItem properties */ - properties?: QuotaItemProperties; + /** The current quota value. */ + readonly current?: number; + /** The default quota value. */ + readonly default?: number; + /** The usage quota value. */ + readonly usage?: number | null; } export function quotaItemDeserializer(item: any): QuotaItem { @@ -308,9 +314,9 @@ export function quotaItemDeserializer(item: any): QuotaItem { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : quotaItemPropertiesDeserializer(item["properties"]), + : _quotaItemPropertiesDeserializer(item["properties"])), }; } @@ -453,17 +459,21 @@ export function quotaItemArrayDeserializer(result: Array): any[] { /** Volume group resource for create */ export interface VolumeGroupDetails extends ProxyResource { - /** Volume group properties */ - properties?: VolumeGroupProperties; /** Resource location */ location?: string; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Volume group details */ + groupMetaData?: VolumeGroupMetaData; + /** List of volumes from group */ + volumes?: VolumeGroupVolumeProperties[]; } export function volumeGroupDetailsSerializer(item: VolumeGroupDetails): any { return { - properties: !item["properties"] - ? item["properties"] - : volumeGroupPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, ["groupMetaData", "volumes"]) + ? undefined + : _volumeGroupDetailsPropertiesSerializer(item), location: item["location"], }; } @@ -476,9 +486,9 @@ export function volumeGroupDetailsDeserializer(item: any): VolumeGroupDetails { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : volumeGroupPropertiesDeserializer(item["properties"]), + : _volumeGroupDetailsPropertiesDeserializer(item["properties"])), location: item["location"], }; } @@ -634,8 +644,143 @@ export interface VolumeGroupVolumeProperties { tags?: Record; /** Availability Zone */ zones?: string[]; - /** Volume properties */ - properties: VolumeProperties; + /** Unique FileSystem Identifier. */ + readonly fileSystemId?: string; + /** A unique file path for the volume. Used when creating mount targets */ + creationToken: string; + /** The service level of the file system */ + serviceLevel?: ServiceLevel; + /** + * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. + * For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. + * For extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB. + */ + usageThreshold: number; + /** Set of export policy rules */ + exportPolicy?: VolumePropertiesExportPolicy; + /** Set of protocol types, default NFSv3, CIFS for SMB protocol */ + protocolTypes?: string[]; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Resource identifier used to identify the Snapshot. */ + snapshotId?: string | null; + /** If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false */ + deleteBaseSnapshot?: boolean; + /** Resource identifier used to identify the Backup. */ + backupId?: string | null; + /** Unique Baremetal Tenant Identifier. */ + readonly baremetalTenantId?: string; + /** The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes */ + subnetId: string; + /** The original value of the network features type available to the volume at the time it was created. */ + networkFeatures?: NetworkFeatures; + /** The effective value of the network features type available to the volume, or current effective state of update. */ + readonly effectiveNetworkFeatures?: NetworkFeatures; + /** Network Sibling Set ID for the the group of volumes sharing networking resources. */ + readonly networkSiblingSetId?: string; + /** Provides storage to network proximity information for the volume. */ + readonly storageToNetworkProximity?: VolumeStorageToNetworkProximity; + /** List of mount targets */ + readonly mountTargets?: MountTargetProperties[]; + /** What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone */ + volumeType?: string; + /** DataProtection type volumes include an object containing details of the replication */ + dataProtection?: VolumePropertiesDataProtection; + /** While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted. */ + acceptGrowCapacityPoolForShortTermCloneSplit?: AcceptGrowCapacityPoolForShortTermCloneSplit; + /** Restoring */ + readonly isRestoring?: boolean; + /** If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). */ + snapshotDirectoryVisible?: boolean; + /** Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later */ + kerberosEnabled?: boolean; + /** The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol */ + securityStyle?: SecurityStyle; + /** Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later */ + smbEncryption?: boolean; + /** Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume */ + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + /** Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume */ + smbNonBrowsable?: SmbNonBrowsable; + /** Enables continuously available share property for smb volume. Only applicable for SMB volume */ + smbContinuouslyAvailable?: boolean; + /** Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume */ + throughputMibps?: number | null; + /** Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel */ + readonly actualThroughputMibps?: number; + /** Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' */ + encryptionKeySource?: EncryptionKeySource; + /** The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. */ + keyVaultPrivateEndpointResourceId?: string; + /** Specifies whether LDAP is enabled or not for a given NFS volume. */ + ldapEnabled?: boolean; + /** Specifies the type of LDAP server for a given NFS volume. */ + ldapServerType?: LdapServerType; + /** Specifies whether Cool Access(tiering) is enabled for the volume. */ + coolAccess?: boolean; + /** Specifies the number of days after which data that is not accessed by clients will be tiered. */ + coolnessPeriod?: number; + /** + * coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: + * Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. + * OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. + * Never - No client-driven data is pulled from cool tier to standard storage. + */ + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + /** coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier. */ + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + /** UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. */ + unixPermissions?: string | null; + /** When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. */ + readonly cloneProgress?: number | null; + /** Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. */ + readonly fileAccessLogs?: FileAccessLogs; + /** Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose */ + avsDataStore?: AvsDataStore; + /** Data store resource unique identifier */ + readonly dataStoreResourceId?: string[]; + /** Specifies if default quota is enabled for the volume. */ + isDefaultQuotaEnabled?: boolean; + /** Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . */ + defaultUserQuotaInKiBs?: number; + /** Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. */ + defaultGroupQuotaInKiBs?: number; + /** Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. */ + readonly maximumNumberOfFiles?: number; + /** Volume Group Name */ + readonly volumeGroupName?: string; + /** Pool Resource Id used in case of creating a volume through volume group */ + capacityPoolResourceId?: string; + /** Proximity placement group associated with the volume */ + proximityPlacementGroup?: string; + /** T2 network information */ + readonly t2Network?: string; + /** Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log */ + volumeSpecName?: string; + /** Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. */ + readonly encrypted?: boolean; + /** Application specific placement rules for the particular volume */ + placementRules?: PlacementKeyValuePairs[]; + /** Flag indicating whether subvolume operations are enabled on the volume */ + enableSubvolumes?: EnableSubvolumes; + /** The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. */ + readonly provisionedAvailabilityZone?: string | null; + /** Specifies whether volume is a Large Volume or Regular Volume. */ + isLargeVolume?: boolean; + /** + * Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration. + * If it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled, + * delivering higher capacity limit with lower costs. + */ + largeVolumeType?: LargeVolumeType; + /** Id of the snapshot or backup that the volume is restored from. */ + readonly originatingResourceId?: string | null; + /** Space shared by short term clone volume with parent volume in bytes. */ + readonly inheritedSizeInBytes?: number | null; + /** Language supported for volume. */ + language?: VolumeLanguage; + /** Specifies whether the volume operates in Breakthrough Mode. */ + breakthroughMode?: BreakthroughMode; } export function volumeGroupVolumePropertiesSerializer(item: VolumeGroupVolumeProperties): any { @@ -647,7 +792,7 @@ export function volumeGroupVolumePropertiesSerializer(item: VolumeGroupVolumePro : item["zones"].map((p: any) => { return p; }), - properties: volumePropertiesSerializer(item["properties"]), + properties: _volumeGroupVolumePropertiesPropertiesSerializer(item), }; } @@ -656,13 +801,15 @@ export function volumeGroupVolumePropertiesDeserializer(item: any): VolumeGroupV id: item["id"], name: item["name"], type: item["type"], - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), zones: !item["zones"] ? item["zones"] : item["zones"].map((p: any) => { return p; }), - properties: volumePropertiesDeserializer(item["properties"]), + ..._volumeGroupVolumePropertiesPropertiesDeserializer(item["properties"]), }; } @@ -984,9 +1131,7 @@ export interface VolumePropertiesExportPolicy { } export function volumePropertiesExportPolicySerializer(item: VolumePropertiesExportPolicy): any { - return { - rules: !item["rules"] ? item["rules"] : exportPolicyRuleArraySerializer(item["rules"]), - }; + return { rules: !item["rules"] ? item["rules"] : exportPolicyRuleArraySerializer(item["rules"]) }; } export function volumePropertiesExportPolicyDeserializer(item: any): VolumePropertiesExportPolicy { @@ -1533,9 +1678,7 @@ export interface RansomwareProtectionSettings { } export function ransomwareProtectionSettingsSerializer(item: RansomwareProtectionSettings): any { - return { - desiredRansomwareProtectionState: item["desiredRansomwareProtectionState"], - }; + return { desiredRansomwareProtectionState: item["desiredRansomwareProtectionState"] }; } export function ransomwareProtectionSettingsDeserializer(item: any): RansomwareProtectionSettings { @@ -2094,8 +2237,10 @@ export interface VolumeGroup { readonly name?: string; /** Resource type */ readonly type?: string; - /** Volume group properties */ - properties?: VolumeGroupListProperties; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Volume group details */ + groupMetaData?: VolumeGroupMetaData; } export function volumeGroupDeserializer(item: any): VolumeGroup { @@ -2104,9 +2249,9 @@ export function volumeGroupDeserializer(item: any): VolumeGroup { id: item["id"], name: item["name"], type: item["type"], - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : volumeGroupListPropertiesDeserializer(item["properties"]), + : _volumeGroupPropertiesDeserializer(item["properties"])), }; } @@ -2129,12 +2274,38 @@ export function volumeGroupListPropertiesDeserializer(item: any): VolumeGroupLis /** Backup under a Backup Vault */ export interface Backup extends ProxyResource { - /** Backup Properties */ - properties: BackupProperties; + /** UUID v4 used to identify the Backup */ + readonly backupId?: string; + /** The creation date of the backup */ + readonly creationDate?: Date; + /** The snapshot creation date of the backup */ + readonly snapshotCreationDate?: Date | null; + /** The completion date of the backup */ + readonly completionDate?: Date | null; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Size of backup in bytes */ + readonly size?: number; + /** Label for backup */ + label?: string; + /** Type of backup Manual or Scheduled */ + readonly backupType?: BackupType; + /** Failure reason */ + readonly failureReason?: string; + /** ResourceId used to identify the Volume */ + volumeResourceId: string; + /** Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups */ + useExistingSnapshot?: boolean; + /** The name of the snapshot */ + snapshotName?: string; + /** ResourceId used to identify the backup policy */ + readonly backupPolicyResourceId?: string; + /** Specifies if the backup is for a large volume. */ + readonly isLargeVolume?: boolean; } export function backupSerializer(item: Backup): any { - return { properties: backupPropertiesSerializer(item["properties"]) }; + return { properties: _backupPropertiesSerializer(item) }; } export function backupDeserializer(item: any): Backup { @@ -2145,7 +2316,7 @@ export function backupDeserializer(item: any): Backup { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: backupPropertiesDeserializer(item["properties"]), + ..._backupPropertiesDeserializer(item["properties"]), }; } @@ -2233,15 +2404,15 @@ export type BackupType = string; /** Backup patch */ export interface BackupPatch { - /** Backup Patch Properties */ - properties?: BackupPatchProperties; + /** Label for backup */ + label?: string; } export function backupPatchSerializer(item: BackupPatch): any { return { - properties: !item["properties"] - ? item["properties"] - : backupPatchPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, ["label"]) + ? undefined + : _backupPatchPropertiesSerializer(item), }; } @@ -2395,69 +2566,208 @@ export type VolumeRestoreRelationshipStatus = string; /** Volume resource */ export interface Volume extends TrackedResource { - /** Volume properties */ - properties: VolumeProperties; /** "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.") */ readonly etag?: string; /** The availability zones. */ zones?: string[]; -} - -export function volumeSerializer(item: Volume): any { - return { - tags: item["tags"], - location: item["location"], - properties: volumePropertiesSerializer(item["properties"]), - zones: !item["zones"] - ? item["zones"] - : item["zones"].map((p: any) => { - return p; - }), - }; -} - -export function volumeDeserializer(item: any): Volume { - return { - tags: item["tags"], - location: item["location"], - id: item["id"], - name: item["name"], - type: item["type"], - systemData: !item["systemData"] - ? item["systemData"] - : systemDataDeserializer(item["systemData"]), - properties: volumePropertiesDeserializer(item["properties"]), - etag: item["etag"], - zones: !item["zones"] - ? item["zones"] - : item["zones"].map((p: any) => { - return p; - }), - }; -} - -/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export interface TrackedResource extends Resource { - /** Resource tags. */ - tags?: Record; - /** The geo-location where the resource lives */ - location: string; -} - -export function trackedResourceSerializer(item: TrackedResource): any { - return { tags: item["tags"], location: item["location"] }; -} - -export function trackedResourceDeserializer(item: any): TrackedResource { - return { - id: item["id"], - name: item["name"], - type: item["type"], - systemData: !item["systemData"] - ? item["systemData"] - : systemDataDeserializer(item["systemData"]), - tags: item["tags"], - location: item["location"], + /** Unique FileSystem Identifier. */ + readonly fileSystemId?: string; + /** A unique file path for the volume. Used when creating mount targets */ + creationToken: string; + /** The service level of the file system */ + serviceLevel?: ServiceLevel; + /** + * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. + * For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. + * For extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB. + */ + usageThreshold: number; + /** Set of export policy rules */ + exportPolicy?: VolumePropertiesExportPolicy; + /** Set of protocol types, default NFSv3, CIFS for SMB protocol */ + protocolTypes?: string[]; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Resource identifier used to identify the Snapshot. */ + snapshotId?: string | null; + /** If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false */ + deleteBaseSnapshot?: boolean; + /** Resource identifier used to identify the Backup. */ + backupId?: string | null; + /** Unique Baremetal Tenant Identifier. */ + readonly baremetalTenantId?: string; + /** The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes */ + subnetId: string; + /** The original value of the network features type available to the volume at the time it was created. */ + networkFeatures?: NetworkFeatures; + /** The effective value of the network features type available to the volume, or current effective state of update. */ + readonly effectiveNetworkFeatures?: NetworkFeatures; + /** Network Sibling Set ID for the the group of volumes sharing networking resources. */ + readonly networkSiblingSetId?: string; + /** Provides storage to network proximity information for the volume. */ + readonly storageToNetworkProximity?: VolumeStorageToNetworkProximity; + /** List of mount targets */ + readonly mountTargets?: MountTargetProperties[]; + /** What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone */ + volumeType?: string; + /** DataProtection type volumes include an object containing details of the replication */ + dataProtection?: VolumePropertiesDataProtection; + /** While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted. */ + acceptGrowCapacityPoolForShortTermCloneSplit?: AcceptGrowCapacityPoolForShortTermCloneSplit; + /** Restoring */ + readonly isRestoring?: boolean; + /** If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). */ + snapshotDirectoryVisible?: boolean; + /** Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later */ + kerberosEnabled?: boolean; + /** The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol */ + securityStyle?: SecurityStyle; + /** Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later */ + smbEncryption?: boolean; + /** Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume */ + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + /** Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume */ + smbNonBrowsable?: SmbNonBrowsable; + /** Enables continuously available share property for smb volume. Only applicable for SMB volume */ + smbContinuouslyAvailable?: boolean; + /** Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume */ + throughputMibps?: number | null; + /** Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel */ + readonly actualThroughputMibps?: number; + /** Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' */ + encryptionKeySource?: EncryptionKeySource; + /** The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. */ + keyVaultPrivateEndpointResourceId?: string; + /** Specifies whether LDAP is enabled or not for a given NFS volume. */ + ldapEnabled?: boolean; + /** Specifies the type of LDAP server for a given NFS volume. */ + ldapServerType?: LdapServerType; + /** Specifies whether Cool Access(tiering) is enabled for the volume. */ + coolAccess?: boolean; + /** Specifies the number of days after which data that is not accessed by clients will be tiered. */ + coolnessPeriod?: number; + /** + * coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: + * Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. + * OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. + * Never - No client-driven data is pulled from cool tier to standard storage. + */ + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + /** coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier. */ + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + /** UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. */ + unixPermissions?: string | null; + /** When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. */ + readonly cloneProgress?: number | null; + /** Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. */ + readonly fileAccessLogs?: FileAccessLogs; + /** Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose */ + avsDataStore?: AvsDataStore; + /** Data store resource unique identifier */ + readonly dataStoreResourceId?: string[]; + /** Specifies if default quota is enabled for the volume. */ + isDefaultQuotaEnabled?: boolean; + /** Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . */ + defaultUserQuotaInKiBs?: number; + /** Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. */ + defaultGroupQuotaInKiBs?: number; + /** Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. */ + readonly maximumNumberOfFiles?: number; + /** Volume Group Name */ + readonly volumeGroupName?: string; + /** Pool Resource Id used in case of creating a volume through volume group */ + capacityPoolResourceId?: string; + /** Proximity placement group associated with the volume */ + proximityPlacementGroup?: string; + /** T2 network information */ + readonly t2Network?: string; + /** Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log */ + volumeSpecName?: string; + /** Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. */ + readonly encrypted?: boolean; + /** Application specific placement rules for the particular volume */ + placementRules?: PlacementKeyValuePairs[]; + /** Flag indicating whether subvolume operations are enabled on the volume */ + enableSubvolumes?: EnableSubvolumes; + /** The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. */ + readonly provisionedAvailabilityZone?: string | null; + /** Specifies whether volume is a Large Volume or Regular Volume. */ + isLargeVolume?: boolean; + /** + * Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration. + * If it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled, + * delivering higher capacity limit with lower costs. + */ + largeVolumeType?: LargeVolumeType; + /** Id of the snapshot or backup that the volume is restored from. */ + readonly originatingResourceId?: string | null; + /** Space shared by short term clone volume with parent volume in bytes. */ + readonly inheritedSizeInBytes?: number | null; + /** Language supported for volume. */ + language?: VolumeLanguage; + /** Specifies whether the volume operates in Breakthrough Mode. */ + breakthroughMode?: BreakthroughMode; +} + +export function volumeSerializer(item: Volume): any { + return { + tags: item["tags"], + location: item["location"], + properties: _volumePropertiesSerializer(item), + zones: !item["zones"] + ? item["zones"] + : item["zones"].map((p: any) => { + return p; + }), + }; +} + +export function volumeDeserializer(item: any): Volume { + return { + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), + location: item["location"], + id: item["id"], + name: item["name"], + type: item["type"], + systemData: !item["systemData"] + ? item["systemData"] + : systemDataDeserializer(item["systemData"]), + ..._volumePropertiesDeserializer(item["properties"]), + etag: item["etag"], + zones: !item["zones"] + ? item["zones"] + : item["zones"].map((p: any) => { + return p; + }), + }; +} + +/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ +export interface TrackedResource extends Resource { + /** Resource tags. */ + tags?: Record; + /** The geo-location where the resource lives */ + location: string; +} + +export function trackedResourceSerializer(item: TrackedResource): any { + return { tags: item["tags"], location: item["location"] }; +} + +export function trackedResourceDeserializer(item: any): TrackedResource { + return { + id: item["id"], + name: item["name"], + type: item["type"], + systemData: !item["systemData"] + ? item["systemData"] + : systemDataDeserializer(item["systemData"]), + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), + location: item["location"], }; } @@ -2473,17 +2783,76 @@ export interface VolumePatch { readonly type?: string; /** Resource tags */ tags?: Record; - /** Patchable volume properties */ - properties?: VolumePatchProperties; + /** The service level of the file system */ + serviceLevel?: ServiceLevel; + /** + * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. + * For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. + * For extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB. + */ + usageThreshold?: number; + /** Set of export policy rules */ + exportPolicy?: VolumePatchPropertiesExportPolicy; + /** Set of protocol types, default NFSv3, CIFS for SMB protocol */ + protocolTypes?: string[]; + /** Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume */ + throughputMibps?: number; + /** DataProtection type volumes include an object containing details of the replication */ + dataProtection?: VolumePatchPropertiesDataProtection; + /** Specifies if default quota is enabled for the volume. */ + isDefaultQuotaEnabled?: boolean; + /** Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . */ + defaultUserQuotaInKiBs?: number; + /** Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. */ + defaultGroupQuotaInKiBs?: number; + /** UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. */ + unixPermissions?: string | null; + /** Specifies whether Cool Access(tiering) is enabled for the volume. */ + coolAccess?: boolean; + /** Specifies the number of days after which data that is not accessed by clients will be tiered. */ + coolnessPeriod?: number; + /** + * coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: + * Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. + * OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. + * Never - No client-driven data is pulled from cool tier to standard storage. + */ + coolAccessRetrievalPolicy?: CoolAccessRetrievalPolicy; + /** coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier. */ + coolAccessTieringPolicy?: CoolAccessTieringPolicy; + /** If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots. */ + snapshotDirectoryVisible?: boolean; + /** Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume */ + smbAccessBasedEnumeration?: SmbAccessBasedEnumeration | null; + /** Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume */ + smbNonBrowsable?: SmbNonBrowsable; } export function volumePatchSerializer(item: VolumePatch): any { return { location: item["location"], tags: item["tags"], - properties: !item["properties"] - ? item["properties"] - : volumePatchPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, [ + "serviceLevel", + "usageThreshold", + "exportPolicy", + "protocolTypes", + "throughputMibps", + "dataProtection", + "isDefaultQuotaEnabled", + "defaultUserQuotaInKiBs", + "defaultGroupQuotaInKiBs", + "unixPermissions", + "coolAccess", + "coolnessPeriod", + "coolAccessRetrievalPolicy", + "coolAccessTieringPolicy", + "snapshotDirectoryVisible", + "smbAccessBasedEnumeration", + "smbNonBrowsable", + ]) + ? undefined + : _volumePatchPropertiesSerializer(item), }; } @@ -2573,9 +2942,7 @@ export interface VolumePatchPropertiesExportPolicy { export function volumePatchPropertiesExportPolicySerializer( item: VolumePatchPropertiesExportPolicy, ): any { - return { - rules: !item["rules"] ? item["rules"] : exportPolicyRuleArraySerializer(item["rules"]), - }; + return { rules: !item["rules"] ? item["rules"] : exportPolicyRuleArraySerializer(item["rules"]) }; } /** DataProtection type volumes include an object containing details of the replication */ @@ -2611,9 +2978,7 @@ export interface RansomwareProtectionPatchSettings { export function ransomwareProtectionPatchSettingsSerializer( item: RansomwareProtectionPatchSettings, ): any { - return { - desiredRansomwareProtectionState: item["desiredRansomwareProtectionState"], - }; + return { desiredRansomwareProtectionState: item["desiredRansomwareProtectionState"] }; } /** List of volume resources */ @@ -2990,19 +3355,18 @@ export type Type = string; /** Snapshot of a Volume */ export interface Snapshot extends ProxyResource { - /** Snapshot Properties */ - properties?: SnapshotProperties; /** Resource location */ location: string; + /** UUID v4 used to identify the Snapshot */ + readonly snapshotId?: string; + /** The creation date of the snapshot */ + readonly created?: Date; + /** Azure lifecycle management */ + readonly provisioningState?: string; } export function snapshotSerializer(item: Snapshot): any { - return { - properties: !item["properties"] - ? item["properties"] - : snapshotPropertiesSerializer(item["properties"]), - location: item["location"], - }; + return { properties: undefined, location: item["location"] }; } export function snapshotDeserializer(item: any): Snapshot { @@ -3013,9 +3377,9 @@ export function snapshotDeserializer(item: any): Snapshot { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : snapshotPropertiesDeserializer(item["properties"]), + : _snapshotPropertiesDeserializer(item["properties"])), location: item["location"], }; } @@ -3095,23 +3459,35 @@ export function snapshotRestoreFilesSerializer(item: SnapshotRestoreFiles): any /** Snapshot policy information */ export interface SnapshotPolicy extends TrackedResource { - /** Snapshot policy Properties */ - properties: SnapshotPolicyProperties; /** "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.") */ readonly etag?: string; -} - -export function snapshotPolicySerializer(item: SnapshotPolicy): any { - return { + /** Schedule for hourly snapshots */ + hourlySchedule?: HourlySchedule; + /** Schedule for daily snapshots */ + dailySchedule?: DailySchedule; + /** Schedule for weekly snapshots */ + weeklySchedule?: WeeklySchedule; + /** Schedule for monthly snapshots */ + monthlySchedule?: MonthlySchedule; + /** The property to decide policy is enabled or not */ + enabled?: boolean; + /** Azure lifecycle management */ + readonly provisioningState?: string; +} + +export function snapshotPolicySerializer(item: SnapshotPolicy): any { + return { tags: item["tags"], location: item["location"], - properties: snapshotPolicyPropertiesSerializer(item["properties"]), + properties: _snapshotPolicyPropertiesSerializer(item), }; } export function snapshotPolicyDeserializer(item: any): SnapshotPolicy { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -3119,7 +3495,7 @@ export function snapshotPolicyDeserializer(item: any): SnapshotPolicy { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: snapshotPolicyPropertiesDeserializer(item["properties"]), + ..._snapshotPolicyPropertiesDeserializer(item["properties"]), etag: item["etag"], }; } @@ -3313,17 +3689,33 @@ export interface SnapshotPolicyPatch { readonly type?: string; /** Resource tags */ tags?: Record; - /** Snapshot Policy properties */ - properties?: SnapshotPolicyProperties; + /** Schedule for hourly snapshots */ + hourlySchedule?: HourlySchedule; + /** Schedule for daily snapshots */ + dailySchedule?: DailySchedule; + /** Schedule for weekly snapshots */ + weeklySchedule?: WeeklySchedule; + /** Schedule for monthly snapshots */ + monthlySchedule?: MonthlySchedule; + /** The property to decide policy is enabled or not */ + enabled?: boolean; + /** Azure lifecycle management */ + readonly provisioningState?: string; } export function snapshotPolicyPatchSerializer(item: SnapshotPolicyPatch): any { return { location: item["location"], tags: item["tags"], - properties: !item["properties"] - ? item["properties"] - : snapshotPolicyPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, [ + "hourlySchedule", + "dailySchedule", + "weeklySchedule", + "monthlySchedule", + "enabled", + ]) + ? undefined + : _snapshotPolicyPatchPropertiesSerializer(item), }; } @@ -3371,23 +3763,39 @@ export function snapshotPolicyVolumeListDeserializer(item: any): SnapshotPolicyV /** Backup policy information */ export interface BackupPolicy extends TrackedResource { - /** Backup policy Properties */ - properties: BackupPolicyProperties; /** "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.") */ readonly etag?: string; + /** Backup Policy GUID ID */ + readonly backupPolicyId?: string; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Daily backups count to keep */ + dailyBackupsToKeep?: number; + /** Weekly backups count to keep */ + weeklyBackupsToKeep?: number; + /** Monthly backups count to keep */ + monthlyBackupsToKeep?: number; + /** Volumes using current backup policy */ + readonly volumesAssigned?: number; + /** The property to decide policy is enabled or not */ + enabled?: boolean; + /** A list of volumes assigned to this policy */ + readonly volumeBackups?: VolumeBackups[]; } export function backupPolicySerializer(item: BackupPolicy): any { return { tags: item["tags"], location: item["location"], - properties: backupPolicyPropertiesSerializer(item["properties"]), + properties: _backupPolicyPropertiesSerializer(item), }; } export function backupPolicyDeserializer(item: any): BackupPolicy { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -3395,7 +3803,7 @@ export function backupPolicyDeserializer(item: any): BackupPolicy { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: backupPolicyPropertiesDeserializer(item["properties"]), + ..._backupPolicyPropertiesDeserializer(item["properties"]), etag: item["etag"], }; } @@ -3483,17 +3891,36 @@ export interface BackupPolicyPatch { readonly type?: string; /** Resource tags */ tags?: Record; - /** Backup policy Properties */ - properties?: BackupPolicyProperties; + /** Backup Policy GUID ID */ + readonly backupPolicyId?: string; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Daily backups count to keep */ + dailyBackupsToKeep?: number; + /** Weekly backups count to keep */ + weeklyBackupsToKeep?: number; + /** Monthly backups count to keep */ + monthlyBackupsToKeep?: number; + /** Volumes using current backup policy */ + readonly volumesAssigned?: number; + /** The property to decide policy is enabled or not */ + enabled?: boolean; + /** A list of volumes assigned to this policy */ + readonly volumeBackups?: VolumeBackups[]; } export function backupPolicyPatchSerializer(item: BackupPolicyPatch): any { return { location: item["location"], tags: item["tags"], - properties: !item["properties"] - ? item["properties"] - : backupPolicyPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, [ + "dailyBackupsToKeep", + "weeklyBackupsToKeep", + "monthlyBackupsToKeep", + "enabled", + ]) + ? undefined + : _backupPolicyPatchPropertiesSerializer(item), }; } @@ -3526,23 +3953,31 @@ export function backupPolicyArrayDeserializer(result: Array): any[ /** Quota Rule of a Volume */ export interface VolumeQuotaRule extends TrackedResource { - /** Volume Quota Rule Properties */ - properties?: VolumeQuotaRulesProperties; + /** Gets the status of the VolumeQuotaRule at the time the operation was called. */ + readonly provisioningState?: NetAppProvisioningState; + /** Size of quota */ + quotaSizeInKiBs?: number; + /** Type of quota */ + quotaType?: Type; + /** UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running */ + quotaTarget?: string; } export function volumeQuotaRuleSerializer(item: VolumeQuotaRule): any { return { tags: item["tags"], location: item["location"], - properties: !item["properties"] - ? item["properties"] - : volumeQuotaRulesPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, ["quotaSizeInKiBs", "quotaType", "quotaTarget"]) + ? undefined + : _volumeQuotaRulePropertiesSerializer(item), }; } export function volumeQuotaRuleDeserializer(item: any): VolumeQuotaRule { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -3550,9 +3985,9 @@ export function volumeQuotaRuleDeserializer(item: any): VolumeQuotaRule { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : volumeQuotaRulesPropertiesDeserializer(item["properties"]), + : _volumeQuotaRulePropertiesDeserializer(item["properties"])), }; } @@ -3625,16 +4060,22 @@ export type NetAppProvisioningState = string; export interface VolumeQuotaRulePatch { /** Resource tags */ tags?: Record; - /** Volume Quota Rule Properties */ - properties?: VolumeQuotaRulesProperties; + /** Gets the status of the VolumeQuotaRule at the time the operation was called. */ + readonly provisioningState?: NetAppProvisioningState; + /** Size of quota */ + quotaSizeInKiBs?: number; + /** Type of quota */ + quotaType?: Type; + /** UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running */ + quotaTarget?: string; } export function volumeQuotaRulePatchSerializer(item: VolumeQuotaRulePatch): any { return { tags: item["tags"], - properties: !item["properties"] - ? item["properties"] - : volumeQuotaRulesPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, ["quotaSizeInKiBs", "quotaType", "quotaTarget"]) + ? undefined + : _volumeQuotaRulePatchPropertiesSerializer(item), }; } @@ -3880,23 +4321,19 @@ export function ransomwareSuspectsClearRequestSerializer( /** Backup Vault information */ export interface BackupVault extends TrackedResource { - /** Backup Vault Properties */ - properties?: BackupVaultProperties; + /** Azure lifecycle management */ + readonly provisioningState?: string; } export function backupVaultSerializer(item: BackupVault): any { - return { - tags: item["tags"], - location: item["location"], - properties: !item["properties"] - ? item["properties"] - : backupVaultPropertiesSerializer(item["properties"]), - }; + return { tags: item["tags"], location: item["location"], properties: undefined }; } export function backupVaultDeserializer(item: any): BackupVault { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -3904,9 +4341,9 @@ export function backupVaultDeserializer(item: any): BackupVault { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : backupVaultPropertiesDeserializer(item["properties"]), + : _backupVaultPropertiesDeserializer(item["properties"])), }; } @@ -3965,15 +4402,31 @@ export function backupVaultArrayDeserializer(result: Array): any[] /** Bucket resource */ export interface Bucket extends ProxyResource { - /** Bucket properties */ - properties?: BucketProperties; + /** The volume path mounted inside the bucket. The default is the root path '/' if no value is provided when the bucket is created. */ + path?: string; + /** File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be supplied, but not both. */ + fileSystemUser?: FileSystemUser; + /** Provisioning state of the resource */ + readonly provisioningState?: NetAppProvisioningState; + /** + * The bucket credentials status. There states: + * + * "NoCredentialsSet": Access and Secret key pair have not been generated. + * "CredentialsExpired": Access and Secret key pair have expired. + * "Active": The certificate has been installed and credentials are unexpired. + */ + readonly status?: CredentialsStatus; + /** Properties of the server managing the lifecycle of volume buckets */ + server?: BucketServerProperties; + /** Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is ReadOnly if no value is provided during bucket creation. */ + permissions?: BucketPermissions; } export function bucketSerializer(item: Bucket): any { return { - properties: !item["properties"] - ? item["properties"] - : bucketPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, ["path", "fileSystemUser", "server", "permissions"]) + ? undefined + : _bucketPropertiesSerializer(item), }; } @@ -3985,9 +4438,9 @@ export function bucketDeserializer(item: any): Bucket { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : bucketPropertiesDeserializer(item["properties"]), + : _bucketPropertiesDeserializer(item["properties"])), }; } @@ -4175,15 +4628,23 @@ export type BucketPermissions = string; /** Bucket resource */ export interface BucketPatch extends ProxyResource { - /** Bucket properties */ - properties?: BucketPatchProperties; + /** The volume path mounted inside the bucket. */ + path?: string; + /** File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be supplied, but not both. */ + fileSystemUser?: FileSystemUser; + /** Provisioning state of the resource */ + readonly provisioningState?: NetAppProvisioningState; + /** Properties of the server managing the lifecycle of volume buckets */ + server?: BucketServerPatchProperties; + /** Access permissions for the bucket. Either ReadOnly or ReadWrite. */ + permissions?: BucketPatchPermissions; } export function bucketPatchSerializer(item: BucketPatch): any { return { - properties: !item["properties"] - ? item["properties"] - : bucketPatchPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, ["path", "fileSystemUser", "server", "permissions"]) + ? undefined + : _bucketPatchPropertiesSerializer(item), }; } @@ -4324,7 +4785,9 @@ export function cacheSerializer(item: Cache): any { export function cacheDeserializer(item: any): Cache { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -4472,9 +4935,7 @@ export interface CachePropertiesExportPolicy { } export function cachePropertiesExportPolicySerializer(item: CachePropertiesExportPolicy): any { - return { - rules: !item["rules"] ? item["rules"] : exportPolicyRuleArraySerializer(item["rules"]), - }; + return { rules: !item["rules"] ? item["rules"] : exportPolicyRuleArraySerializer(item["rules"]) }; } export function cachePropertiesExportPolicyDeserializer(item: any): CachePropertiesExportPolicy { @@ -4901,7 +5362,9 @@ export function elasticAccountSerializer(item: ElasticAccount): any { export function elasticAccountDeserializer(item: any): ElasticAccount { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -5084,10 +5547,7 @@ export interface ManagedServiceIdentity { } export function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any { - return { - type: item["type"], - userAssignedIdentities: item["userAssignedIdentities"], - }; + return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] }; } export function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity { @@ -5095,7 +5555,14 @@ export function managedServiceIdentityDeserializer(item: any): ManagedServiceIde principalId: item["principalId"], tenantId: item["tenantId"], type: item["type"], - userAssignedIdentities: item["userAssignedIdentities"], + userAssignedIdentities: !item["userAssignedIdentities"] + ? item["userAssignedIdentities"] + : Object.fromEntries( + Object.entries(item["userAssignedIdentities"]).map(([k, p]: [string, any]) => [ + k, + !p ? p : userAssignedIdentityDeserializer(p), + ]), + ), }; } @@ -5234,7 +5701,9 @@ export function elasticCapacityPoolSerializer(item: ElasticCapacityPool): any { export function elasticCapacityPoolDeserializer(item: any): ElasticCapacityPool { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -5556,7 +6025,9 @@ export function elasticVolumeSerializer(item: ElasticVolume): any { export function elasticVolumeDeserializer(item: any): ElasticVolume { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -6234,7 +6705,9 @@ export function elasticSnapshotPolicySerializer(item: ElasticSnapshotPolicy): an export function elasticSnapshotPolicyDeserializer(item: any): ElasticSnapshotPolicy { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -6342,11 +6815,7 @@ export interface ElasticSnapshotPolicyDailySchedule { export function elasticSnapshotPolicyDailyScheduleSerializer( item: ElasticSnapshotPolicyDailySchedule, ): any { - return { - snapshotsToKeep: item["snapshotsToKeep"], - hour: item["hour"], - minute: item["minute"], - }; + return { snapshotsToKeep: item["snapshotsToKeep"], hour: item["hour"], minute: item["minute"] }; } export function elasticSnapshotPolicyDailyScheduleDeserializer( @@ -6613,7 +7082,9 @@ export function elasticBackupVaultSerializer(item: ElasticBackupVault): any { export function elasticBackupVaultDeserializer(item: any): ElasticBackupVault { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -6703,7 +7174,9 @@ export function elasticBackupPolicySerializer(item: ElasticBackupPolicy): any { export function elasticBackupPolicyDeserializer(item: any): ElasticBackupPolicy { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -7038,7 +7511,9 @@ export function activeDirectoryConfigSerializer(item: ActiveDirectoryConfig): an export function activeDirectoryConfigDeserializer(item: any): ActiveDirectoryConfig { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -7365,8 +7840,10 @@ export function activeDirectoryConfigArrayDeserializer( /** Information regarding regionInfo Item. */ export interface RegionInfoResource extends ProxyResource { - /** regionInfo properties */ - properties?: RegionInfo; + /** Provides storage to network proximity information in the region. */ + storageToNetworkProximity?: RegionStorageToNetworkProximity; + /** Provides logical availability zone mappings for the subscription for a region. */ + availabilityZoneMappings?: RegionInfoAvailabilityZoneMappingsItem[]; } export function regionInfoResourceDeserializer(item: any): RegionInfoResource { @@ -7377,9 +7854,9 @@ export function regionInfoResourceDeserializer(item: any): RegionInfoResource { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : regionInfoDeserializer(item["properties"]), + : _regionInfoResourcePropertiesDeserializer(item["properties"])), }; } @@ -7484,21 +7961,38 @@ export function regionInfoResourceArrayDeserializer(result: Array [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -7515,9 +8011,9 @@ export function netAppAccountDeserializer(item: any): NetAppAccount { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : accountPropertiesDeserializer(item["properties"]), + : _netAppAccountPropertiesDeserializer(item["properties"])), etag: item["etag"], identity: !item["identity"] ? item["identity"] @@ -7934,19 +8430,36 @@ export interface NetAppAccountPatch { readonly type?: string; /** Resource tags */ tags?: Record; - /** NetApp Account properties */ - properties?: AccountProperties; /** The identity used for the resource. */ identity?: ManagedServiceIdentity; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Active Directories */ + activeDirectories?: ActiveDirectory[]; + /** Encryption settings */ + encryption?: AccountEncryption; + /** Shows the status of disableShowmount for all volumes under the subscription, null equals false */ + readonly disableShowmount?: boolean | null; + /** Domain for NFSv4 user ID mapping. This property will be set for all NetApp accounts in the subscription and region and only affect non ldap NFSv4 volumes. */ + nfsV4IDDomain?: string | null; + /** MultiAD Status for the account */ + readonly multiAdStatus?: MultiAdStatus; + /** LDAP Configuration for the account. */ + ldapConfiguration?: LdapConfiguration; } export function netAppAccountPatchSerializer(item: NetAppAccountPatch): any { return { location: item["location"], tags: item["tags"], - properties: !item["properties"] - ? item["properties"] - : accountPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, [ + "activeDirectories", + "encryption", + "nfsV4IDDomain", + "ldapConfiguration", + ]) + ? undefined + : _netAppAccountPatchPropertiesSerializer(item), identity: !item["identity"] ? item["identity"] : managedServiceIdentitySerializer(item["identity"]), @@ -7997,15 +8510,21 @@ export function encryptionTransitionRequestSerializer(item: EncryptionTransition /** Result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted. */ export interface GetKeyVaultStatusResponse { - /** Represents the properties of the getKeyVaultStatus. */ - properties?: GetKeyVaultStatusResponseProperties; + /** The URI of the key vault/managed HSM that should be used for encryption. */ + keyVaultUri?: string; + /** The name of the key that should be used for encryption. */ + keyName?: string; + /** Azure resource ID of the key vault/managed HSM that should be used for encryption. */ + keyVaultResourceId?: string; + /** Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint. */ + keyVaultPrivateEndpoints?: KeyVaultPrivateEndpoint[]; } export function getKeyVaultStatusResponseDeserializer(item: any): GetKeyVaultStatusResponse { return { - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : getKeyVaultStatusResponsePropertiesDeserializer(item["properties"]), + : _getKeyVaultStatusResponsePropertiesDeserializer(item["properties"])), }; } @@ -8107,23 +8626,43 @@ export function backupsMigrationRequestSerializer(item: BackupsMigrationRequest) /** Capacity pool resource */ export interface CapacityPool extends TrackedResource { - /** Capacity pool properties */ - properties: PoolProperties; /** "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.") */ readonly etag?: string; + /** UUID v4 used to identify the Pool */ + readonly poolId?: string; + /** Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). */ + size: number; + /** The service level of the file system */ + serviceLevel: ServiceLevel; + /** Azure lifecycle management */ + readonly provisioningState?: string; + /** Total throughput of pool in MiB/s */ + readonly totalThroughputMibps?: number; + /** Utilized throughput of pool in MiB/s */ + readonly utilizedThroughputMibps?: number; + /** Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level */ + customThroughputMibps?: number | null; + /** The qos type of the pool */ + qosType?: QosType; + /** If enabled (true) the pool can contain cool Access enabled volumes. */ + coolAccess?: boolean; + /** Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. */ + encryptionType?: EncryptionType | null; } export function capacityPoolSerializer(item: CapacityPool): any { return { tags: item["tags"], location: item["location"], - properties: poolPropertiesSerializer(item["properties"]), + properties: _capacityPoolPropertiesSerializer(item), }; } export function capacityPoolDeserializer(item: any): CapacityPool { return { - tags: item["tags"], + tags: !item["tags"] + ? item["tags"] + : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]: [string, any]) => [k, p])), location: item["location"], id: item["id"], name: item["name"], @@ -8131,7 +8670,7 @@ export function capacityPoolDeserializer(item: any): CapacityPool { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: poolPropertiesDeserializer(item["properties"]), + ..._capacityPoolPropertiesDeserializer(item["properties"]), etag: item["etag"], }; } @@ -8234,17 +8773,28 @@ export interface CapacityPoolPatch { readonly type?: string; /** Resource tags */ tags?: Record; - /** Capacity pool properties */ - properties?: PoolPatchProperties; + /** Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). */ + size?: number; + /** The qos type of the pool */ + qosType?: QosType; + /** If enabled (true) the pool can contain cool Access enabled volumes. */ + coolAccess?: boolean; + /** Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level */ + customThroughputMibps?: number | null; } export function capacityPoolPatchSerializer(item: CapacityPoolPatch): any { return { location: item["location"], tags: item["tags"], - properties: !item["properties"] - ? item["properties"] - : poolPatchPropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, [ + "size", + "qosType", + "coolAccess", + "customThroughputMibps", + ]) + ? undefined + : _capacityPoolPatchPropertiesSerializer(item), }; } @@ -8318,15 +8868,21 @@ export function backupRestoreFilesSerializer(item: BackupRestoreFiles): any { /** Subvolume Information properties */ export interface SubvolumeInfo extends ProxyResource { - /** Subvolume Properties */ - properties?: SubvolumeProperties; + /** Path to the subvolume */ + path?: string; + /** Truncate subvolume to the provided size in bytes */ + size?: number | null; + /** parent path to the subvolume */ + parentPath?: string | null; + /** Azure lifecycle management */ + readonly provisioningState?: string; } export function subvolumeInfoSerializer(item: SubvolumeInfo): any { return { - properties: !item["properties"] - ? item["properties"] - : subvolumePropertiesSerializer(item["properties"]), + properties: areAllPropsUndefined(item, ["path", "size", "parentPath"]) + ? undefined + : _subvolumeInfoPropertiesSerializer(item), }; } @@ -8338,9 +8894,9 @@ export function subvolumeInfoDeserializer(item: any): SubvolumeInfo { systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : subvolumePropertiesDeserializer(item["properties"]), + : _subvolumeInfoPropertiesDeserializer(item["properties"])), }; } @@ -8357,11 +8913,7 @@ export interface SubvolumeProperties { } export function subvolumePropertiesSerializer(item: SubvolumeProperties): any { - return { - path: item["path"], - size: item["size"], - parentPath: item["parentPath"], - }; + return { path: item["path"], size: item["size"], parentPath: item["parentPath"] }; } export function subvolumePropertiesDeserializer(item: any): SubvolumeProperties { @@ -8375,15 +8927,17 @@ export function subvolumePropertiesDeserializer(item: any): SubvolumeProperties /** Subvolume Patch Request properties */ export interface SubvolumePatchRequest { - /** Subvolume Properties */ - properties?: SubvolumePatchParams; + /** Truncate subvolume to the provided size in bytes */ + size?: number | null; + /** path to the subvolume */ + path?: string; } export function subvolumePatchRequestSerializer(item: SubvolumePatchRequest): any { return { - properties: !item["properties"] - ? item["properties"] - : subvolumePatchParamsSerializer(item["properties"]), + properties: areAllPropsUndefined(item, ["size", "path"]) + ? undefined + : _subvolumePatchRequestPropertiesSerializer(item), }; } @@ -8434,18 +8988,36 @@ export interface SubvolumeModel { readonly name?: string; /** Resource type */ readonly type?: string; - /** It represents the minimal properties of the subvolume. */ - properties?: SubvolumeModelProperties; -} - -export function subvolumeModelDeserializer(item: any): SubvolumeModel { - return { - id: item["id"], - name: item["name"], + /** Path to the subvolume */ + path?: string; + /** Path to the parent subvolume */ + parentPath?: string; + /** Size of subvolume */ + size?: number; + /** Bytes used */ + bytesUsed?: number; + /** Permissions of the subvolume */ + permissions?: string; + /** Creation time and date */ + creationTimeStamp?: Date; + /** Most recent access time and date */ + accessedTimeStamp?: Date; + /** Most recent modification time and date */ + modifiedTimeStamp?: Date; + /** Most recent change time and date */ + changedTimeStamp?: Date; + /** Azure lifecycle management */ + provisioningState?: string; +} + +export function subvolumeModelDeserializer(item: any): SubvolumeModel { + return { + id: item["id"], + name: item["name"], type: item["type"], - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : subvolumeModelPropertiesDeserializer(item["properties"]), + : _subvolumeModelPropertiesDeserializer(item["properties"])), }; } @@ -8509,11 +9081,7 @@ export interface ResourceNameAvailabilityRequest { export function resourceNameAvailabilityRequestSerializer( item: ResourceNameAvailabilityRequest, ): any { - return { - name: item["name"], - type: item["type"], - resourceGroup: item["resourceGroup"], - }; + return { name: item["name"], type: item["type"], resourceGroup: item["resourceGroup"] }; } /** Resource type used for verification. */ @@ -8611,11 +9179,7 @@ export interface QuotaAvailabilityRequest { } export function quotaAvailabilityRequestSerializer(item: QuotaAvailabilityRequest): any { - return { - name: item["name"], - type: item["type"], - resourceGroup: item["resourceGroup"], - }; + return { name: item["name"], type: item["type"], resourceGroup: item["resourceGroup"] }; } /** Resource type used for verification. */ @@ -8657,10 +9221,7 @@ export interface QueryNetworkSiblingSetRequest { } export function queryNetworkSiblingSetRequestSerializer(item: QueryNetworkSiblingSetRequest): any { - return { - networkSiblingSetId: item["networkSiblingSetId"], - subnetId: item["subnetId"], - }; + return { networkSiblingSetId: item["networkSiblingSetId"], subnetId: item["subnetId"] }; } /** Describes the contents of a network sibling set. */ @@ -8791,17 +9352,21 @@ export interface UsageResult { readonly id?: string; /** The name of the usage. */ readonly name?: UsageName; - /** Usage properties */ - properties?: UsageProperties; + /** The current usage value for the subscription. */ + readonly currentValue?: number; + /** The limit of the usage. */ + readonly limit?: number; + /** The unit of the usage. */ + readonly unit?: string; } export function usageResultDeserializer(item: any): UsageResult { return { id: item["id"], name: !item["name"] ? item["name"] : usageNameDeserializer(item["name"]), - properties: !item["properties"] + ...(!item["properties"] ? item["properties"] - : usagePropertiesDeserializer(item["properties"]), + : _usageResultPropertiesDeserializer(item["properties"])), }; } @@ -8853,3 +9418,789 @@ export enum KnownVersions { /** The 2025-09-01-preview API version. */ V20250901Preview = "2025-09-01-preview", } + +export function _operationPropertiesDeserializer(item: any) { + return { + serviceSpecification: !item["serviceSpecification"] + ? item["serviceSpecification"] + : serviceSpecificationDeserializer(item["serviceSpecification"]), + }; +} + +export function _quotaItemPropertiesDeserializer(item: any) { + return { + current: item["current"], + default: item["default"], + usage: item["usage"], + }; +} + +export function _volumeGroupVolumePropertiesPropertiesSerializer( + item: VolumeGroupVolumeProperties, +): any { + return { + creationToken: item["creationToken"], + serviceLevel: item["serviceLevel"], + usageThreshold: item["usageThreshold"], + exportPolicy: !item["exportPolicy"] + ? item["exportPolicy"] + : volumePropertiesExportPolicySerializer(item["exportPolicy"]), + protocolTypes: !item["protocolTypes"] + ? item["protocolTypes"] + : item["protocolTypes"].map((p: any) => { + return p; + }), + snapshotId: item["snapshotId"], + deleteBaseSnapshot: item["deleteBaseSnapshot"], + backupId: item["backupId"], + subnetId: item["subnetId"], + networkFeatures: item["networkFeatures"], + volumeType: item["volumeType"], + dataProtection: !item["dataProtection"] + ? item["dataProtection"] + : volumePropertiesDataProtectionSerializer(item["dataProtection"]), + acceptGrowCapacityPoolForShortTermCloneSplit: + item["acceptGrowCapacityPoolForShortTermCloneSplit"], + snapshotDirectoryVisible: item["snapshotDirectoryVisible"], + kerberosEnabled: item["kerberosEnabled"], + securityStyle: item["securityStyle"], + smbEncryption: item["smbEncryption"], + smbAccessBasedEnumeration: item["smbAccessBasedEnumeration"], + smbNonBrowsable: item["smbNonBrowsable"], + smbContinuouslyAvailable: item["smbContinuouslyAvailable"], + throughputMibps: item["throughputMibps"], + encryptionKeySource: item["encryptionKeySource"], + keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"], + ldapEnabled: item["ldapEnabled"], + ldapServerType: item["ldapServerType"], + coolAccess: item["coolAccess"], + coolnessPeriod: item["coolnessPeriod"], + coolAccessRetrievalPolicy: item["coolAccessRetrievalPolicy"], + coolAccessTieringPolicy: item["coolAccessTieringPolicy"], + unixPermissions: item["unixPermissions"], + avsDataStore: item["avsDataStore"], + isDefaultQuotaEnabled: item["isDefaultQuotaEnabled"], + defaultUserQuotaInKiBs: item["defaultUserQuotaInKiBs"], + defaultGroupQuotaInKiBs: item["defaultGroupQuotaInKiBs"], + capacityPoolResourceId: item["capacityPoolResourceId"], + proximityPlacementGroup: item["proximityPlacementGroup"], + volumeSpecName: item["volumeSpecName"], + placementRules: !item["placementRules"] + ? item["placementRules"] + : placementKeyValuePairsArraySerializer(item["placementRules"]), + enableSubvolumes: item["enableSubvolumes"], + isLargeVolume: item["isLargeVolume"], + largeVolumeType: item["largeVolumeType"], + language: item["language"], + breakthroughMode: item["breakthroughMode"], + }; +} + +export function _volumeGroupVolumePropertiesPropertiesDeserializer(item: any) { + return { + fileSystemId: item["fileSystemId"], + creationToken: item["creationToken"], + serviceLevel: item["serviceLevel"], + usageThreshold: item["usageThreshold"], + exportPolicy: !item["exportPolicy"] + ? item["exportPolicy"] + : volumePropertiesExportPolicyDeserializer(item["exportPolicy"]), + protocolTypes: !item["protocolTypes"] + ? item["protocolTypes"] + : item["protocolTypes"].map((p: any) => { + return p; + }), + provisioningState: item["provisioningState"], + snapshotId: item["snapshotId"], + deleteBaseSnapshot: item["deleteBaseSnapshot"], + backupId: item["backupId"], + baremetalTenantId: item["baremetalTenantId"], + subnetId: item["subnetId"], + networkFeatures: item["networkFeatures"], + effectiveNetworkFeatures: item["effectiveNetworkFeatures"], + networkSiblingSetId: item["networkSiblingSetId"], + storageToNetworkProximity: item["storageToNetworkProximity"], + mountTargets: !item["mountTargets"] + ? item["mountTargets"] + : mountTargetPropertiesArrayDeserializer(item["mountTargets"]), + volumeType: item["volumeType"], + dataProtection: !item["dataProtection"] + ? item["dataProtection"] + : volumePropertiesDataProtectionDeserializer(item["dataProtection"]), + acceptGrowCapacityPoolForShortTermCloneSplit: + item["acceptGrowCapacityPoolForShortTermCloneSplit"], + isRestoring: item["isRestoring"], + snapshotDirectoryVisible: item["snapshotDirectoryVisible"], + kerberosEnabled: item["kerberosEnabled"], + securityStyle: item["securityStyle"], + smbEncryption: item["smbEncryption"], + smbAccessBasedEnumeration: item["smbAccessBasedEnumeration"], + smbNonBrowsable: item["smbNonBrowsable"], + smbContinuouslyAvailable: item["smbContinuouslyAvailable"], + throughputMibps: item["throughputMibps"], + actualThroughputMibps: item["actualThroughputMibps"], + encryptionKeySource: item["encryptionKeySource"], + keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"], + ldapEnabled: item["ldapEnabled"], + ldapServerType: item["ldapServerType"], + coolAccess: item["coolAccess"], + coolnessPeriod: item["coolnessPeriod"], + coolAccessRetrievalPolicy: item["coolAccessRetrievalPolicy"], + coolAccessTieringPolicy: item["coolAccessTieringPolicy"], + unixPermissions: item["unixPermissions"], + cloneProgress: item["cloneProgress"], + fileAccessLogs: item["fileAccessLogs"], + avsDataStore: item["avsDataStore"], + dataStoreResourceId: !item["dataStoreResourceId"] + ? item["dataStoreResourceId"] + : item["dataStoreResourceId"].map((p: any) => { + return p; + }), + isDefaultQuotaEnabled: item["isDefaultQuotaEnabled"], + defaultUserQuotaInKiBs: item["defaultUserQuotaInKiBs"], + defaultGroupQuotaInKiBs: item["defaultGroupQuotaInKiBs"], + maximumNumberOfFiles: item["maximumNumberOfFiles"], + volumeGroupName: item["volumeGroupName"], + capacityPoolResourceId: item["capacityPoolResourceId"], + proximityPlacementGroup: item["proximityPlacementGroup"], + t2Network: item["t2Network"], + volumeSpecName: item["volumeSpecName"], + encrypted: item["encrypted"], + placementRules: !item["placementRules"] + ? item["placementRules"] + : placementKeyValuePairsArrayDeserializer(item["placementRules"]), + enableSubvolumes: item["enableSubvolumes"], + provisionedAvailabilityZone: item["provisionedAvailabilityZone"], + isLargeVolume: item["isLargeVolume"], + largeVolumeType: item["largeVolumeType"], + originatingResourceId: item["originatingResourceId"], + inheritedSizeInBytes: item["inheritedSizeInBytes"], + language: item["language"], + breakthroughMode: item["breakthroughMode"], + }; +} + +export function _volumeGroupDetailsPropertiesSerializer(item: VolumeGroupDetails): any { + return { + groupMetaData: !item["groupMetaData"] + ? item["groupMetaData"] + : volumeGroupMetaDataSerializer(item["groupMetaData"]), + volumes: !item["volumes"] + ? item["volumes"] + : volumeGroupVolumePropertiesArraySerializer(item["volumes"]), + }; +} + +export function _volumeGroupDetailsPropertiesDeserializer(item: any) { + return { + provisioningState: item["provisioningState"], + groupMetaData: !item["groupMetaData"] + ? item["groupMetaData"] + : volumeGroupMetaDataDeserializer(item["groupMetaData"]), + volumes: !item["volumes"] + ? item["volumes"] + : volumeGroupVolumePropertiesArrayDeserializer(item["volumes"]), + }; +} + +export function _volumeGroupPropertiesDeserializer(item: any) { + return { + provisioningState: item["provisioningState"], + groupMetaData: !item["groupMetaData"] + ? item["groupMetaData"] + : volumeGroupMetaDataDeserializer(item["groupMetaData"]), + }; +} + +export function _backupPropertiesSerializer(item: Backup): any { + return { + label: item["label"], + volumeResourceId: item["volumeResourceId"], + useExistingSnapshot: item["useExistingSnapshot"], + snapshotName: item["snapshotName"], + }; +} + +export function _backupPropertiesDeserializer(item: any) { + return { + backupId: item["backupId"], + creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]), + snapshotCreationDate: !item["snapshotCreationDate"] + ? item["snapshotCreationDate"] + : new Date(item["snapshotCreationDate"]), + completionDate: !item["completionDate"] + ? item["completionDate"] + : new Date(item["completionDate"]), + provisioningState: item["provisioningState"], + size: item["size"], + label: item["label"], + backupType: item["backupType"], + failureReason: item["failureReason"], + volumeResourceId: item["volumeResourceId"], + useExistingSnapshot: item["useExistingSnapshot"], + snapshotName: item["snapshotName"], + backupPolicyResourceId: item["backupPolicyResourceId"], + isLargeVolume: item["isLargeVolume"], + }; +} + +export function _backupPatchPropertiesSerializer(item: BackupPatch): any { + return { label: item["label"] }; +} + +export function _volumePropertiesSerializer(item: Volume): any { + return { + creationToken: item["creationToken"], + serviceLevel: item["serviceLevel"], + usageThreshold: item["usageThreshold"], + exportPolicy: !item["exportPolicy"] + ? item["exportPolicy"] + : volumePropertiesExportPolicySerializer(item["exportPolicy"]), + protocolTypes: !item["protocolTypes"] + ? item["protocolTypes"] + : item["protocolTypes"].map((p: any) => { + return p; + }), + snapshotId: item["snapshotId"], + deleteBaseSnapshot: item["deleteBaseSnapshot"], + backupId: item["backupId"], + subnetId: item["subnetId"], + networkFeatures: item["networkFeatures"], + volumeType: item["volumeType"], + dataProtection: !item["dataProtection"] + ? item["dataProtection"] + : volumePropertiesDataProtectionSerializer(item["dataProtection"]), + acceptGrowCapacityPoolForShortTermCloneSplit: + item["acceptGrowCapacityPoolForShortTermCloneSplit"], + snapshotDirectoryVisible: item["snapshotDirectoryVisible"], + kerberosEnabled: item["kerberosEnabled"], + securityStyle: item["securityStyle"], + smbEncryption: item["smbEncryption"], + smbAccessBasedEnumeration: item["smbAccessBasedEnumeration"], + smbNonBrowsable: item["smbNonBrowsable"], + smbContinuouslyAvailable: item["smbContinuouslyAvailable"], + throughputMibps: item["throughputMibps"], + encryptionKeySource: item["encryptionKeySource"], + keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"], + ldapEnabled: item["ldapEnabled"], + ldapServerType: item["ldapServerType"], + coolAccess: item["coolAccess"], + coolnessPeriod: item["coolnessPeriod"], + coolAccessRetrievalPolicy: item["coolAccessRetrievalPolicy"], + coolAccessTieringPolicy: item["coolAccessTieringPolicy"], + unixPermissions: item["unixPermissions"], + avsDataStore: item["avsDataStore"], + isDefaultQuotaEnabled: item["isDefaultQuotaEnabled"], + defaultUserQuotaInKiBs: item["defaultUserQuotaInKiBs"], + defaultGroupQuotaInKiBs: item["defaultGroupQuotaInKiBs"], + capacityPoolResourceId: item["capacityPoolResourceId"], + proximityPlacementGroup: item["proximityPlacementGroup"], + volumeSpecName: item["volumeSpecName"], + placementRules: !item["placementRules"] + ? item["placementRules"] + : placementKeyValuePairsArraySerializer(item["placementRules"]), + enableSubvolumes: item["enableSubvolumes"], + isLargeVolume: item["isLargeVolume"], + largeVolumeType: item["largeVolumeType"], + language: item["language"], + breakthroughMode: item["breakthroughMode"], + }; +} + +export function _volumePropertiesDeserializer(item: any) { + return { + fileSystemId: item["fileSystemId"], + creationToken: item["creationToken"], + serviceLevel: item["serviceLevel"], + usageThreshold: item["usageThreshold"], + exportPolicy: !item["exportPolicy"] + ? item["exportPolicy"] + : volumePropertiesExportPolicyDeserializer(item["exportPolicy"]), + protocolTypes: !item["protocolTypes"] + ? item["protocolTypes"] + : item["protocolTypes"].map((p: any) => { + return p; + }), + provisioningState: item["provisioningState"], + snapshotId: item["snapshotId"], + deleteBaseSnapshot: item["deleteBaseSnapshot"], + backupId: item["backupId"], + baremetalTenantId: item["baremetalTenantId"], + subnetId: item["subnetId"], + networkFeatures: item["networkFeatures"], + effectiveNetworkFeatures: item["effectiveNetworkFeatures"], + networkSiblingSetId: item["networkSiblingSetId"], + storageToNetworkProximity: item["storageToNetworkProximity"], + mountTargets: !item["mountTargets"] + ? item["mountTargets"] + : mountTargetPropertiesArrayDeserializer(item["mountTargets"]), + volumeType: item["volumeType"], + dataProtection: !item["dataProtection"] + ? item["dataProtection"] + : volumePropertiesDataProtectionDeserializer(item["dataProtection"]), + acceptGrowCapacityPoolForShortTermCloneSplit: + item["acceptGrowCapacityPoolForShortTermCloneSplit"], + isRestoring: item["isRestoring"], + snapshotDirectoryVisible: item["snapshotDirectoryVisible"], + kerberosEnabled: item["kerberosEnabled"], + securityStyle: item["securityStyle"], + smbEncryption: item["smbEncryption"], + smbAccessBasedEnumeration: item["smbAccessBasedEnumeration"], + smbNonBrowsable: item["smbNonBrowsable"], + smbContinuouslyAvailable: item["smbContinuouslyAvailable"], + throughputMibps: item["throughputMibps"], + actualThroughputMibps: item["actualThroughputMibps"], + encryptionKeySource: item["encryptionKeySource"], + keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"], + ldapEnabled: item["ldapEnabled"], + ldapServerType: item["ldapServerType"], + coolAccess: item["coolAccess"], + coolnessPeriod: item["coolnessPeriod"], + coolAccessRetrievalPolicy: item["coolAccessRetrievalPolicy"], + coolAccessTieringPolicy: item["coolAccessTieringPolicy"], + unixPermissions: item["unixPermissions"], + cloneProgress: item["cloneProgress"], + fileAccessLogs: item["fileAccessLogs"], + avsDataStore: item["avsDataStore"], + dataStoreResourceId: !item["dataStoreResourceId"] + ? item["dataStoreResourceId"] + : item["dataStoreResourceId"].map((p: any) => { + return p; + }), + isDefaultQuotaEnabled: item["isDefaultQuotaEnabled"], + defaultUserQuotaInKiBs: item["defaultUserQuotaInKiBs"], + defaultGroupQuotaInKiBs: item["defaultGroupQuotaInKiBs"], + maximumNumberOfFiles: item["maximumNumberOfFiles"], + volumeGroupName: item["volumeGroupName"], + capacityPoolResourceId: item["capacityPoolResourceId"], + proximityPlacementGroup: item["proximityPlacementGroup"], + t2Network: item["t2Network"], + volumeSpecName: item["volumeSpecName"], + encrypted: item["encrypted"], + placementRules: !item["placementRules"] + ? item["placementRules"] + : placementKeyValuePairsArrayDeserializer(item["placementRules"]), + enableSubvolumes: item["enableSubvolumes"], + provisionedAvailabilityZone: item["provisionedAvailabilityZone"], + isLargeVolume: item["isLargeVolume"], + largeVolumeType: item["largeVolumeType"], + originatingResourceId: item["originatingResourceId"], + inheritedSizeInBytes: item["inheritedSizeInBytes"], + language: item["language"], + breakthroughMode: item["breakthroughMode"], + }; +} + +export function _volumePatchPropertiesSerializer(item: VolumePatch): any { + return { + serviceLevel: item["serviceLevel"], + usageThreshold: item["usageThreshold"], + exportPolicy: !item["exportPolicy"] + ? item["exportPolicy"] + : volumePatchPropertiesExportPolicySerializer(item["exportPolicy"]), + protocolTypes: !item["protocolTypes"] + ? item["protocolTypes"] + : item["protocolTypes"].map((p: any) => { + return p; + }), + throughputMibps: item["throughputMibps"], + dataProtection: !item["dataProtection"] + ? item["dataProtection"] + : volumePatchPropertiesDataProtectionSerializer(item["dataProtection"]), + isDefaultQuotaEnabled: item["isDefaultQuotaEnabled"], + defaultUserQuotaInKiBs: item["defaultUserQuotaInKiBs"], + defaultGroupQuotaInKiBs: item["defaultGroupQuotaInKiBs"], + unixPermissions: item["unixPermissions"], + coolAccess: item["coolAccess"], + coolnessPeriod: item["coolnessPeriod"], + coolAccessRetrievalPolicy: item["coolAccessRetrievalPolicy"], + coolAccessTieringPolicy: item["coolAccessTieringPolicy"], + snapshotDirectoryVisible: item["snapshotDirectoryVisible"], + smbAccessBasedEnumeration: item["smbAccessBasedEnumeration"], + smbNonBrowsable: item["smbNonBrowsable"], + }; +} + +export function _snapshotPropertiesSerializer(item: Snapshot): any { + return item; +} + +export function _snapshotPropertiesDeserializer(item: any) { + return { + snapshotId: item["snapshotId"], + created: !item["created"] ? item["created"] : new Date(item["created"]), + provisioningState: item["provisioningState"], + }; +} + +export function _snapshotPolicyPropertiesSerializer(item: SnapshotPolicy): any { + return { + hourlySchedule: !item["hourlySchedule"] + ? item["hourlySchedule"] + : hourlyScheduleSerializer(item["hourlySchedule"]), + dailySchedule: !item["dailySchedule"] + ? item["dailySchedule"] + : dailyScheduleSerializer(item["dailySchedule"]), + weeklySchedule: !item["weeklySchedule"] + ? item["weeklySchedule"] + : weeklyScheduleSerializer(item["weeklySchedule"]), + monthlySchedule: !item["monthlySchedule"] + ? item["monthlySchedule"] + : monthlyScheduleSerializer(item["monthlySchedule"]), + enabled: item["enabled"], + }; +} + +export function _snapshotPolicyPropertiesDeserializer(item: any) { + return { + hourlySchedule: !item["hourlySchedule"] + ? item["hourlySchedule"] + : hourlyScheduleDeserializer(item["hourlySchedule"]), + dailySchedule: !item["dailySchedule"] + ? item["dailySchedule"] + : dailyScheduleDeserializer(item["dailySchedule"]), + weeklySchedule: !item["weeklySchedule"] + ? item["weeklySchedule"] + : weeklyScheduleDeserializer(item["weeklySchedule"]), + monthlySchedule: !item["monthlySchedule"] + ? item["monthlySchedule"] + : monthlyScheduleDeserializer(item["monthlySchedule"]), + enabled: item["enabled"], + provisioningState: item["provisioningState"], + }; +} + +export function _snapshotPolicyPatchPropertiesSerializer(item: SnapshotPolicyPatch): any { + return { + hourlySchedule: !item["hourlySchedule"] + ? item["hourlySchedule"] + : hourlyScheduleSerializer(item["hourlySchedule"]), + dailySchedule: !item["dailySchedule"] + ? item["dailySchedule"] + : dailyScheduleSerializer(item["dailySchedule"]), + weeklySchedule: !item["weeklySchedule"] + ? item["weeklySchedule"] + : weeklyScheduleSerializer(item["weeklySchedule"]), + monthlySchedule: !item["monthlySchedule"] + ? item["monthlySchedule"] + : monthlyScheduleSerializer(item["monthlySchedule"]), + enabled: item["enabled"], + }; +} + +export function _snapshotPolicyPatchPropertiesDeserializer(item: any) { + return { + hourlySchedule: !item["hourlySchedule"] + ? item["hourlySchedule"] + : hourlyScheduleDeserializer(item["hourlySchedule"]), + dailySchedule: !item["dailySchedule"] + ? item["dailySchedule"] + : dailyScheduleDeserializer(item["dailySchedule"]), + weeklySchedule: !item["weeklySchedule"] + ? item["weeklySchedule"] + : weeklyScheduleDeserializer(item["weeklySchedule"]), + monthlySchedule: !item["monthlySchedule"] + ? item["monthlySchedule"] + : monthlyScheduleDeserializer(item["monthlySchedule"]), + enabled: item["enabled"], + provisioningState: item["provisioningState"], + }; +} + +export function _backupPolicyPropertiesSerializer(item: BackupPolicy): any { + return { + dailyBackupsToKeep: item["dailyBackupsToKeep"], + weeklyBackupsToKeep: item["weeklyBackupsToKeep"], + monthlyBackupsToKeep: item["monthlyBackupsToKeep"], + enabled: item["enabled"], + }; +} + +export function _backupPolicyPropertiesDeserializer(item: any) { + return { + backupPolicyId: item["backupPolicyId"], + provisioningState: item["provisioningState"], + dailyBackupsToKeep: item["dailyBackupsToKeep"], + weeklyBackupsToKeep: item["weeklyBackupsToKeep"], + monthlyBackupsToKeep: item["monthlyBackupsToKeep"], + volumesAssigned: item["volumesAssigned"], + enabled: item["enabled"], + volumeBackups: !item["volumeBackups"] + ? item["volumeBackups"] + : volumeBackupsArrayDeserializer(item["volumeBackups"]), + }; +} + +export function _backupPolicyPatchPropertiesSerializer(item: BackupPolicyPatch): any { + return { + dailyBackupsToKeep: item["dailyBackupsToKeep"], + weeklyBackupsToKeep: item["weeklyBackupsToKeep"], + monthlyBackupsToKeep: item["monthlyBackupsToKeep"], + enabled: item["enabled"], + }; +} + +export function _backupPolicyPatchPropertiesDeserializer(item: any) { + return { + backupPolicyId: item["backupPolicyId"], + provisioningState: item["provisioningState"], + dailyBackupsToKeep: item["dailyBackupsToKeep"], + weeklyBackupsToKeep: item["weeklyBackupsToKeep"], + monthlyBackupsToKeep: item["monthlyBackupsToKeep"], + volumesAssigned: item["volumesAssigned"], + enabled: item["enabled"], + volumeBackups: !item["volumeBackups"] + ? item["volumeBackups"] + : volumeBackupsArrayDeserializer(item["volumeBackups"]), + }; +} + +export function _volumeQuotaRulePropertiesSerializer(item: VolumeQuotaRule): any { + return { + quotaSizeInKiBs: item["quotaSizeInKiBs"], + quotaType: item["quotaType"], + quotaTarget: item["quotaTarget"], + }; +} + +export function _volumeQuotaRulePropertiesDeserializer(item: any) { + return { + provisioningState: item["provisioningState"], + quotaSizeInKiBs: item["quotaSizeInKiBs"], + quotaType: item["quotaType"], + quotaTarget: item["quotaTarget"], + }; +} + +export function _volumeQuotaRulePatchPropertiesSerializer(item: VolumeQuotaRulePatch): any { + return { + quotaSizeInKiBs: item["quotaSizeInKiBs"], + quotaType: item["quotaType"], + quotaTarget: item["quotaTarget"], + }; +} + +export function _volumeQuotaRulePatchPropertiesDeserializer(item: any) { + return { + provisioningState: item["provisioningState"], + quotaSizeInKiBs: item["quotaSizeInKiBs"], + quotaType: item["quotaType"], + quotaTarget: item["quotaTarget"], + }; +} + +export function _backupVaultPropertiesSerializer(item: BackupVault): any { + return item; +} + +export function _backupVaultPropertiesDeserializer(item: any) { + return { + provisioningState: item["provisioningState"], + }; +} + +export function _bucketPropertiesSerializer(item: Bucket): any { + return { + path: item["path"], + fileSystemUser: !item["fileSystemUser"] + ? item["fileSystemUser"] + : fileSystemUserSerializer(item["fileSystemUser"]), + server: !item["server"] ? item["server"] : bucketServerPropertiesSerializer(item["server"]), + permissions: item["permissions"], + }; +} + +export function _bucketPropertiesDeserializer(item: any) { + return { + path: item["path"], + fileSystemUser: !item["fileSystemUser"] + ? item["fileSystemUser"] + : fileSystemUserDeserializer(item["fileSystemUser"]), + provisioningState: item["provisioningState"], + status: item["status"], + server: !item["server"] ? item["server"] : bucketServerPropertiesDeserializer(item["server"]), + permissions: item["permissions"], + }; +} + +export function _bucketPatchPropertiesSerializer(item: BucketPatch): any { + return { + path: item["path"], + fileSystemUser: !item["fileSystemUser"] + ? item["fileSystemUser"] + : fileSystemUserSerializer(item["fileSystemUser"]), + server: !item["server"] + ? item["server"] + : bucketServerPatchPropertiesSerializer(item["server"]), + permissions: item["permissions"], + }; +} + +export function _regionInfoResourcePropertiesDeserializer(item: any) { + return { + storageToNetworkProximity: item["storageToNetworkProximity"], + availabilityZoneMappings: !item["availabilityZoneMappings"] + ? item["availabilityZoneMappings"] + : regionInfoAvailabilityZoneMappingsItemArrayDeserializer(item["availabilityZoneMappings"]), + }; +} + +export function _netAppAccountPropertiesSerializer(item: NetAppAccount): any { + return { + activeDirectories: !item["activeDirectories"] + ? item["activeDirectories"] + : activeDirectoryArraySerializer(item["activeDirectories"]), + encryption: !item["encryption"] + ? item["encryption"] + : accountEncryptionSerializer(item["encryption"]), + nfsV4IDDomain: item["nfsV4IDDomain"], + ldapConfiguration: !item["ldapConfiguration"] + ? item["ldapConfiguration"] + : ldapConfigurationSerializer(item["ldapConfiguration"]), + }; +} + +export function _netAppAccountPropertiesDeserializer(item: any) { + return { + provisioningState: item["provisioningState"], + activeDirectories: !item["activeDirectories"] + ? item["activeDirectories"] + : activeDirectoryArrayDeserializer(item["activeDirectories"]), + encryption: !item["encryption"] + ? item["encryption"] + : accountEncryptionDeserializer(item["encryption"]), + disableShowmount: item["disableShowmount"], + nfsV4IDDomain: item["nfsV4IDDomain"], + multiAdStatus: item["multiAdStatus"], + ldapConfiguration: !item["ldapConfiguration"] + ? item["ldapConfiguration"] + : ldapConfigurationDeserializer(item["ldapConfiguration"]), + }; +} + +export function _netAppAccountPatchPropertiesSerializer(item: NetAppAccountPatch): any { + return { + activeDirectories: !item["activeDirectories"] + ? item["activeDirectories"] + : activeDirectoryArraySerializer(item["activeDirectories"]), + encryption: !item["encryption"] + ? item["encryption"] + : accountEncryptionSerializer(item["encryption"]), + nfsV4IDDomain: item["nfsV4IDDomain"], + ldapConfiguration: !item["ldapConfiguration"] + ? item["ldapConfiguration"] + : ldapConfigurationSerializer(item["ldapConfiguration"]), + }; +} + +export function _netAppAccountPatchPropertiesDeserializer(item: any) { + return { + provisioningState: item["provisioningState"], + activeDirectories: !item["activeDirectories"] + ? item["activeDirectories"] + : activeDirectoryArrayDeserializer(item["activeDirectories"]), + encryption: !item["encryption"] + ? item["encryption"] + : accountEncryptionDeserializer(item["encryption"]), + disableShowmount: item["disableShowmount"], + nfsV4IDDomain: item["nfsV4IDDomain"], + multiAdStatus: item["multiAdStatus"], + ldapConfiguration: !item["ldapConfiguration"] + ? item["ldapConfiguration"] + : ldapConfigurationDeserializer(item["ldapConfiguration"]), + }; +} + +export function _getKeyVaultStatusResponsePropertiesDeserializer(item: any) { + return { + keyVaultUri: item["keyVaultUri"], + keyName: item["keyName"], + keyVaultResourceId: item["keyVaultResourceId"], + keyVaultPrivateEndpoints: !item["keyVaultPrivateEndpoints"] + ? item["keyVaultPrivateEndpoints"] + : keyVaultPrivateEndpointArrayDeserializer(item["keyVaultPrivateEndpoints"]), + }; +} + +export function _capacityPoolPropertiesSerializer(item: CapacityPool): any { + return { + size: item["size"], + serviceLevel: item["serviceLevel"], + customThroughputMibps: item["customThroughputMibps"], + qosType: item["qosType"], + coolAccess: item["coolAccess"], + encryptionType: item["encryptionType"], + }; +} + +export function _capacityPoolPropertiesDeserializer(item: any) { + return { + poolId: item["poolId"], + size: item["size"], + serviceLevel: item["serviceLevel"], + provisioningState: item["provisioningState"], + totalThroughputMibps: item["totalThroughputMibps"], + utilizedThroughputMibps: item["utilizedThroughputMibps"], + customThroughputMibps: item["customThroughputMibps"], + qosType: item["qosType"], + coolAccess: item["coolAccess"], + encryptionType: item["encryptionType"], + }; +} + +export function _capacityPoolPatchPropertiesSerializer(item: CapacityPoolPatch): any { + return { + size: item["size"], + qosType: item["qosType"], + coolAccess: item["coolAccess"], + customThroughputMibps: item["customThroughputMibps"], + }; +} + +export function _subvolumeInfoPropertiesSerializer(item: SubvolumeInfo): any { + return { path: item["path"], size: item["size"], parentPath: item["parentPath"] }; +} + +export function _subvolumeInfoPropertiesDeserializer(item: any) { + return { + path: item["path"], + size: item["size"], + parentPath: item["parentPath"], + provisioningState: item["provisioningState"], + }; +} + +export function _subvolumePatchRequestPropertiesSerializer(item: SubvolumePatchRequest): any { + return { size: item["size"], path: item["path"] }; +} + +export function _subvolumeModelPropertiesDeserializer(item: any) { + return { + path: item["path"], + parentPath: item["parentPath"], + size: item["size"], + bytesUsed: item["bytesUsed"], + permissions: item["permissions"], + creationTimeStamp: !item["creationTimeStamp"] + ? item["creationTimeStamp"] + : new Date(item["creationTimeStamp"]), + accessedTimeStamp: !item["accessedTimeStamp"] + ? item["accessedTimeStamp"] + : new Date(item["accessedTimeStamp"]), + modifiedTimeStamp: !item["modifiedTimeStamp"] + ? item["modifiedTimeStamp"] + : new Date(item["modifiedTimeStamp"]), + changedTimeStamp: !item["changedTimeStamp"] + ? item["changedTimeStamp"] + : new Date(item["changedTimeStamp"]), + provisioningState: item["provisioningState"], + }; +} + +export function _usageResultPropertiesDeserializer(item: any) { + return { + currentValue: item["currentValue"], + limit: item["limit"], + unit: item["unit"], + }; +} diff --git a/sdk/netapp/arm-netapp/src/netAppManagementClient.ts b/sdk/netapp/arm-netapp/src/netAppManagementClient.ts index 363f7f1f9b2f..75c882e2ad3b 100644 --- a/sdk/netapp/arm-netapp/src/netAppManagementClient.ts +++ b/sdk/netapp/arm-netapp/src/netAppManagementClient.ts @@ -77,17 +77,32 @@ export class NetAppManagementClient { /** The pipeline used by this client to make requests */ public readonly pipeline: Pipeline; - /** Microsoft NetApp Files Azure Resource Provider specification */ + constructor(credential: TokenCredential, options?: NetAppManagementClientOptionalParams); constructor( credential: TokenCredential, subscriptionId: string, - options: NetAppManagementClientOptionalParams = {}, + options?: NetAppManagementClientOptionalParams, + ); + /** Microsoft NetApp Files Azure Resource Provider specification */ + constructor( + credential: TokenCredential, + subscriptionIdOrOptions?: string | NetAppManagementClientOptionalParams, + options?: NetAppManagementClientOptionalParams, ) { + let subscriptionId: string | undefined; + + if (typeof subscriptionIdOrOptions === "string") { + subscriptionId = subscriptionIdOrOptions; + } else if (typeof subscriptionIdOrOptions === "object") { + options = subscriptionIdOrOptions; + } + + options = options ?? {}; const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix; const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-client` : `azsdk-js-client`; - this._client = createNetAppManagement(credential, subscriptionId, { + this._client = createNetAppManagement(credential, subscriptionId ?? "", { ...options, userAgentOptions: { userAgentPrefix }, }); diff --git a/sdk/netapp/arm-netapp/src/restorePollerHelpers.ts b/sdk/netapp/arm-netapp/src/restorePollerHelpers.ts index 23a15e2e45bf..99304598fc84 100644 --- a/sdk/netapp/arm-netapp/src/restorePollerHelpers.ts +++ b/sdk/netapp/arm-netapp/src/restorePollerHelpers.ts @@ -214,95 +214,47 @@ interface DeserializationHelper { const deserializeMap: Record = { "POST /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/updateNetworkSiblingSet": - { - deserializer: _updateNetworkSiblingSetDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _updateNetworkSiblingSetDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}/getMetadata": - { - deserializer: _getMetadataDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _getMetadataDeserialize, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}": - { - deserializer: _$deleteDeserialize, - expectedStatuses: ["200", "202", "204", "201"], - }, + { deserializer: _$deleteDeserialize, expectedStatuses: ["200", "202", "204", "201"] }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}": - { - deserializer: _updateDeserialize, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserialize, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}": - { - deserializer: _createDeserialize, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createDeserialize, expectedStatuses: ["200", "201", "202"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/migrateBackups": - { - deserializer: _migrateBackupsDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _migrateBackupsDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}/restoreFiles": - { - deserializer: _restoreFilesDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _restoreFilesDeserialize, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": - { - deserializer: _$deleteDeserializePools, - expectedStatuses: ["202", "204", "200", "201"], - }, + { deserializer: _$deleteDeserializePools, expectedStatuses: ["202", "204", "200", "201"] }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": - { - deserializer: _updateDeserializePools, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializePools, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": - { - deserializer: _createOrUpdateDeserialize, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createOrUpdateDeserialize, expectedStatuses: ["200", "201", "202"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/migrateBackups": { deserializer: _migrateBackupsDeserializeBackupsUnderAccount, expectedStatuses: ["202", "200", "201"], }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/changeKeyVault": - { - deserializer: _changeKeyVaultDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _changeKeyVaultDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/getKeyVaultStatus": { deserializer: _getChangeKeyVaultInformationDeserialize, expectedStatuses: ["202", "200", "201"], }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/transitiontocmk": - { - deserializer: _transitionToCmkDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _transitionToCmkDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/renewCredentials": - { - deserializer: _renewCredentialsDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _renewCredentialsDeserialize, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": - { - deserializer: _$deleteDeserializeAccounts, - expectedStatuses: ["202", "204", "200", "201"], - }, + { deserializer: _$deleteDeserializeAccounts, expectedStatuses: ["202", "204", "200", "201"] }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": - { - deserializer: _updateDeserializeAccounts, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeAccounts, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": - { - deserializer: _createOrUpdateDeserializeAccounts, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createOrUpdateDeserializeAccounts, expectedStatuses: ["200", "201", "202"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}": { deserializer: _$deleteDeserializeActiveDirectoryConfigs, @@ -324,10 +276,7 @@ const deserializeMap: Record = { expectedStatuses: ["202", "204", "200", "201"], }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupVaults/{backupVaultName}/elasticBackups/{backupName}": - { - deserializer: _updateDeserializeElasticBackups, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeElasticBackups, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupVaults/{backupVaultName}/elasticBackups/{backupName}": { deserializer: _createOrUpdateDeserializeElasticBackups, @@ -389,30 +338,21 @@ const deserializeMap: Record = { expectedStatuses: ["200", "201", "202"], }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}/revert": - { - deserializer: _revertDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _revertDeserialize, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}": { deserializer: _$deleteDeserializeElasticVolumes, expectedStatuses: ["202", "204", "200", "201"], }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}": - { - deserializer: _updateDeserializeElasticVolumes, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeElasticVolumes, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}": { deserializer: _createOrUpdateDeserializeElasticVolumes, expectedStatuses: ["200", "201", "202"], }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/changeZone": - { - deserializer: _changeZoneDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _changeZoneDeserialize, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}": { deserializer: _$deleteDeserializeElasticCapacityPools, @@ -434,155 +374,83 @@ const deserializeMap: Record = { expectedStatuses: ["202", "204", "200", "201"], }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}": - { - deserializer: _updateDeserializeElasticAccounts, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeElasticAccounts, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}": { deserializer: _createOrUpdateDeserializeElasticAccounts, expectedStatuses: ["200", "201", "202"], }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/caches/{cacheName}/poolChange": - { - deserializer: _poolChangeDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _poolChangeDeserialize, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/caches/{cacheName}": - { - deserializer: _$deleteDeserializeCaches, - expectedStatuses: ["202", "204", "200", "201"], - }, + { deserializer: _$deleteDeserializeCaches, expectedStatuses: ["202", "204", "200", "201"] }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/caches/{cacheName}": - { - deserializer: _updateDeserializeCaches, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeCaches, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/caches/{cacheName}": - { - deserializer: _createOrUpdateDeserializeCaches, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createOrUpdateDeserializeCaches, expectedStatuses: ["200", "201", "202"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}": - { - deserializer: _$deleteDeserializeBuckets, - expectedStatuses: ["202", "204", "200", "201"], - }, + { deserializer: _$deleteDeserializeBuckets, expectedStatuses: ["202", "204", "200", "201"] }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}": - { - deserializer: _updateDeserializeBuckets, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeBuckets, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}": - { - deserializer: _createOrUpdateDeserializeBuckets, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createOrUpdateDeserializeBuckets, expectedStatuses: ["200", "201", "202"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}": { deserializer: _$deleteDeserializeBackupVaults, expectedStatuses: ["202", "204", "200", "201"], }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}": - { - deserializer: _updateDeserializeBackupVaults, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeBackupVaults, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}": { deserializer: _createOrUpdateDeserializeBackupVaults, expectedStatuses: ["200", "201", "202"], }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/ransomwareReports/{ransomwareReportName}/clearSuspects": - { - deserializer: _clearSuspectsDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _clearSuspectsDeserialize, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}": { deserializer: _$deleteDeserializeVolumeQuotaRules, expectedStatuses: ["200", "202", "204", "201"], }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}": - { - deserializer: _updateDeserializeVolumeQuotaRules, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeVolumeQuotaRules, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}": - { - deserializer: _createDeserializeVolumeQuotaRules, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createDeserializeVolumeQuotaRules, expectedStatuses: ["200", "201", "202"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}": { deserializer: _$deleteDeserializeBackupPolicies, expectedStatuses: ["200", "202", "204", "201"], }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}": - { - deserializer: _updateDeserializeBackupPolicies, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeBackupPolicies, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}": - { - deserializer: _createDeserializeBackupPolicies, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createDeserializeBackupPolicies, expectedStatuses: ["200", "201", "202"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}": { deserializer: _$deleteDeserializeSnapshotPolicies, expectedStatuses: ["200", "202", "204", "201"], }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}": - { - deserializer: _updateDeserializeSnapshotPolicies, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeSnapshotPolicies, expectedStatuses: ["200", "202", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}/restoreFiles": - { - deserializer: _restoreFilesDeserializeSnapshots, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _restoreFilesDeserializeSnapshots, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": - { - deserializer: _$deleteDeserializeSnapshots, - expectedStatuses: ["200", "202", "204", "201"], - }, + { deserializer: _$deleteDeserializeSnapshots, expectedStatuses: ["200", "202", "204", "201"] }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": - { - deserializer: _updateDeserializeSnapshots, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeSnapshots, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": - { - deserializer: _createDeserializeSnapshots, - expectedStatuses: ["201", "202", "200"], - }, + { deserializer: _createDeserializeSnapshots, expectedStatuses: ["201", "202", "200"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listQuotaReport": - { - deserializer: _listQuotaReportDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _listQuotaReportDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revertRelocation": - { - deserializer: _revertRelocationDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _revertRelocationDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeRelocation": - { - deserializer: _finalizeRelocationDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _finalizeRelocationDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/relocate": - { - deserializer: _relocateDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _relocateDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange": - { - deserializer: _poolChangeDeserializeVolumes, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _poolChangeDeserializeVolumes, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/performReplicationTransfer": { deserializer: _performReplicationTransferDeserialize, @@ -599,110 +467,53 @@ const deserializeMap: Record = { expectedStatuses: ["202", "200", "201"], }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/peerExternalCluster": - { - deserializer: _peerExternalClusterDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _peerExternalClusterDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reinitializeReplication": - { - deserializer: _reInitializeReplicationDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _reInitializeReplicationDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication": - { - deserializer: _authorizeReplicationDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _authorizeReplicationDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication": - { - deserializer: _deleteReplicationDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _deleteReplicationDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication": - { - deserializer: _resyncReplicationDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _resyncReplicationDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reestablishReplication": - { - deserializer: _reestablishReplicationDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _reestablishReplicationDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication": - { - deserializer: _breakReplicationDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _breakReplicationDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/getGroupIdListForLdapUser": { deserializer: _listGetGroupIdListForLdapUserDeserialize, expectedStatuses: ["202", "200", "201"], }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakFileLocks": - { - deserializer: _breakFileLocksDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _breakFileLocksDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/splitCloneFromParent": - { - deserializer: _splitCloneFromParentDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _splitCloneFromParentDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resetCifsPassword": - { - deserializer: _resetCifsPasswordDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _resetCifsPasswordDeserialize, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revert": - { - deserializer: _revertDeserializeVolumes, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _revertDeserializeVolumes, expectedStatuses: ["202", "200", "201"] }, "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/populateAvailabilityZone": - { - deserializer: _populateAvailabilityZoneDeserialize, - expectedStatuses: ["202", "200", "201"], - }, + { deserializer: _populateAvailabilityZoneDeserialize, expectedStatuses: ["202", "200", "201"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": - { - deserializer: _$deleteDeserializeVolumes, - expectedStatuses: ["202", "204", "200", "201"], - }, + { deserializer: _$deleteDeserializeVolumes, expectedStatuses: ["202", "204", "200", "201"] }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": - { - deserializer: _updateDeserializeVolumes, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeVolumes, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": - { - deserializer: _createOrUpdateDeserializeVolumes, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createOrUpdateDeserializeVolumes, expectedStatuses: ["200", "201", "202"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}": - { - deserializer: _$deleteDeserializeBackups, - expectedStatuses: ["202", "204", "200", "201"], - }, + { deserializer: _$deleteDeserializeBackups, expectedStatuses: ["202", "204", "200", "201"] }, "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}": - { - deserializer: _updateDeserializeBackups, - expectedStatuses: ["200", "202", "201"], - }, + { deserializer: _updateDeserializeBackups, expectedStatuses: ["200", "202", "201"] }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}": - { - deserializer: _createDeserializeBackups, - expectedStatuses: ["200", "201", "202"], - }, + { deserializer: _createDeserializeBackups, expectedStatuses: ["200", "201", "202"] }, "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}": { deserializer: _$deleteDeserializeVolumeGroups, expectedStatuses: ["200", "202", "204", "201"], }, "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}": - { - deserializer: _createDeserializeVolumeGroups, - expectedStatuses: ["201", "200", "202"], - }, + { deserializer: _createDeserializeVolumeGroups, expectedStatuses: ["201", "200", "202"] }, }; function getDeserializationHelper( diff --git a/sdk/netapp/arm-netapp/src/static-helpers/serialization/check-prop-undefined.ts b/sdk/netapp/arm-netapp/src/static-helpers/serialization/check-prop-undefined.ts new file mode 100644 index 000000000000..50f78829e491 --- /dev/null +++ b/sdk/netapp/arm-netapp/src/static-helpers/serialization/check-prop-undefined.ts @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * Returns true if all specified properties of the item are undefined. + * @param item The object to check. + * @param properties The list of property names to check on the item. + * @returns True if all specified properties are undefined, otherwise false. + */ +export function areAllPropsUndefined(item: Record, properties: string[]): boolean { + for (const property of properties) { + if (item[property] !== undefined) { + return false; + } + } + return true; +} diff --git a/sdk/netapp/arm-netapp/tsp-location.yaml b/sdk/netapp/arm-netapp/tsp-location.yaml index 3e55ae304604..045bfea3a4dc 100644 --- a/sdk/netapp/arm-netapp/tsp-location.yaml +++ b/sdk/netapp/arm-netapp/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/netapp/resource-manager/Microsoft.NetApp/NetApp -commit: fa4de8af2faa4a809027619c6ec8ed45b1e0a761 +commit: 32f0e6d393a9299273345d5a1250b5db51b08502 repo: Azure/azure-rest-api-specs additionalDirectories: