diff --git a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
index 7c9a8b0bb5c10..e2076360bfb8b 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
@@ -1,14 +1,460 @@
# Release History
-## 2.6.0-beta.1 (Unreleased)
+## 2.6.0-beta.1 (2026-10-28)
+
+- Azure Resource Manager NetAppFiles client library for Java. This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package api-version 2026-08-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Features Added
-### Breaking Changes
+* `models.ExternalSvmProperties` was added
-### Bugs Fixed
+* `models.ExternalClusterUpdate` was added
-### Other Changes
+* `models.ExternalCacheProperties` was added
+
+* `models.ElasticBackupProperties` was added
+
+* `models.ElasticBackupPolicyProperties` was added
+
+* `models.ElasticBackupPolicyUpdateProperties` was added
+
+* `models.ElasticSnapshot` was added
+
+* `models.ExternalCache` was added
+
+* `models.ElasticCapacityPools` was added
+
+* `models.ElasticKeyVaultProperties` was added
+
+* `models.ElasticVolumeUpdateProperties` was added
+
+* `models.ElasticBackup$Definition` was added
+
+* `models.ElasticSnapshotPolicyHourlySchedule` was added
+
+* `models.ElasticMountTargetProperties` was added
+
+* `models.EntraIdAkvConfigPatch` was added
+
+* `models.ElasticVolumeUpdate` was added
+
+* `models.ElasticVolume$UpdateStages` was added
+
+* `models.ElasticVolumeDataProtectionProperties` was added
+
+* `models.ExternalSvmTagsUpdate` was added
+
+* `models.ElasticSnapshotPolicyProperties` was added
+
+* `models.ElasticVolumeSnapshotProperties` was added
+
+* `models.ClusterPeerStatus` was added
+
+* `models.ElasticPoolEncryptionKeySource` was added
+
+* `models.ElasticServiceLevel` was added
+
+* `models.ElasticBackupPolicy` was added
+
+* `models.ExternalCacheConnection$Update` was added
+
+* `models.ElasticResourceAvailabilityStatus` was added
+
+* `models.ElasticCapacityPoolUpdateProperties` was added
+
+* `models.ElasticNfsv3Access` was added
+
+* `models.CheckElasticVolumeFilePathAvailabilityRequest` was added
+
+* `models.ElasticSmbEncryption` was added
+
+* `models.ElasticVolumeProperties` was added
+
+* `models.ElasticAccount$DefinitionStages` was added
+
+* `models.ElasticEncryption` was added
+
+* `models.ElasticBackupPolicy$Definition` was added
+
+* `models.ElasticVolumeRevert` was added
+
+* `models.ElasticBackupVaultUpdate` was added
+
+* `models.ExternalCacheConnections` was added
+
+* `models.SvmPeerStatus` was added
+
+* `models.ActiveDirectoryConfig$Definition` was added
+
+* `models.SnapshotUsage` was added
+
+* `models.ElasticSnapshotPolicyUpdateProperties` was added
+
+* `models.ActiveDirectoryConfig` was added
+
+* `models.VolumeSize` was added
+
+* `models.ElasticBackupPolicies` was added
+
+* `models.ElasticExportPolicyRule` was added
+
+* `models.OriginVolume` was added
+
+* `models.ActiveDirectoryConfig$DefinitionStages` was added
+
+* `models.ElasticAccountUpdate` was added
+
+* `models.ElasticCapacityPoolUpdate` was added
+
+* `models.ElasticSnapshot$UpdateStages` was added
+
+* `models.ActiveDirectoryConfigUpdateProperties` was added
+
+* `models.KeyVaultClusterPeerPassphrasePatchProperties` was added
+
+* `models.ExternalClusters` was added
+
+* `models.ExternalCacheConnection` was added
+
+* `models.ClusterPeerProperties` was added
+
+* `models.ElasticAccountProperties` was added
+
+* `models.ElasticSnapshotPolicyUpdate` was added
+
+* `models.ElasticSnapshots` was added
+
+* `models.KeyVaultClusterPeerPassphraseProperties` was added
+
+* `models.ElasticKeyVaultStatus` was added
+
+* `models.ExternalClusterProperties` was added
+
+* `models.ExternalSvms` was added
+
+* `models.ElasticEncryptionIdentity` was added
+
+* `models.ElasticSnapshotProperties` was added
+
+* `models.SvmPeers` was added
+
+* `models.ActiveDirectoryConfigs` was added
+
+* `models.ElasticBackup$UpdateStages` was added
+
+* `models.ActiveDirectoryConfig$Update` was added
+
+* `models.SecretPasswordIdentity` was added
+
+* `models.ExternalClusterUpdateProperties` was added
+
+* `models.ExternalCacheConnection$UpdateStages` was added
+
+* `models.ElasticAccount$UpdateStages` was added
+
+* `models.ExternalCacheConnection$Definition` was added
+
+* `models.ElasticBackupPolicy$Update` was added
+
+* `models.ElasticBackupVaults` was added
+
+* `models.ElasticCapacityPool` was added
+
+* `models.ElasticExportPolicy` was added
+
+* `models.ElasticSnapshotPolicyWeeklySchedule` was added
+
+* `models.SvmPeer` was added
+
+* `models.ElasticVolume$Definition` was added
+
+* `models.ExternalCacheConnectionProperties` was added
+
+* `models.ElasticRootAccess` was added
+
+* `models.ExternalCacheState` was added
+
+* `models.ElasticBackupVault$Update` was added
+
+* `models.ExternalCluster$UpdateStages` was added
+
+* `models.AsyncDirectoryDeleteStatus` was added
+
+* `models.ExternalCacheConnectionStatus` was added
+
+* `models.ExternalSvm$Update` was added
+
+* `models.ElasticBackups` was added
+
+* `models.ElasticSnapshotPolicy` was added
+
+* `models.CheckElasticResourceAvailabilityStatus` was added
+
+* `models.SecretPassword` was added
+
+* `models.ElasticBackup$Update` was added
+
+* `models.ElasticCapacityPool$Update` was added
+
+* `models.ElasticSnapshotPolicyDailySchedule` was added
+
+* `models.ElasticCapacityPool$UpdateStages` was added
+
+* `models.EntraIdAkvConfig` was added
+
+* `models.ExternalConnectionSetupState` was added
+
+* `models.ElasticAccount$Update` was added
+
+* `models.ExternalCacheConnectionTagsUpdate` was added
+
+* `models.ClusterPeer` was added
+
+* `models.ElasticSnapshotPolicy$Definition` was added
+
+* `models.ElasticSnapshot$Definition` was added
+
+* `models.ElasticBackupVaultProperties` was added
+
+* `models.ElasticBackupPolicy$DefinitionStages` was added
+
+* `models.ElasticNfsv4Access` was added
+
+* `models.ActiveDirectoryConfigProperties` was added
+
+* `models.ExternalSvm$UpdateStages` was added
+
+* `models.ElasticVolumeRestorationState` was added
+
+* `models.ElasticVolumePolicyEnforcement` was added
+
+* `models.SecretPasswordKeyVaultProperties` was added
+
+* `models.ElasticAccount$Definition` was added
+
+* `models.ElasticVolumes` was added
+
+* `models.EntraIdConfig` was added
+
+* `models.ElasticBackupVault$Definition` was added
+
+* `models.ElasticSnapshotPolicy$Update` was added
+
+* `models.ElasticBackup$DefinitionStages` was added
+
+* `models.AsyncDirectoryDelete` was added
+
+* `models.ElasticSnapshotPolicies` was added
+
+* `models.ExternalCacheConnection$DefinitionStages` was added
+
+* `models.ElasticAccount` was added
+
+* `models.ClusterPeers` was added
+
+* `models.SmbOplocks` was added
+
+* `models.EntraIdConfigPatch` was added
+
+* `models.ExternalCaches` was added
+
+* `models.ExternalCluster` was added
+
+* `models.CheckElasticResourceAvailabilityReason` was added
+
+* `models.ElasticCapacityPoolProperties` was added
+
+* `models.VolumePatchNamespaceProperties` was added
+
+* `models.VolumeNamespaceProperties` was added
+
+* `models.ActiveDirectoryConfigUpdate` was added
+
+* `models.ElasticVolume$DefinitionStages` was added
+
+* `models.ElasticAccountUpdateProperties` was added
+
+* `models.ExternalCluster$Update` was added
+
+* `models.ElasticCapacityPool$DefinitionStages` was added
+
+* `models.ElasticSmbProperties` was added
+
+* `models.ExternalSvm$DefinitionStages` was added
+
+* `models.LargeVolumeType` was added
+
+* `models.ExternalSvm$Definition` was added
+
+* `models.PolicyStatus` was added
+
+* `models.ElasticVolumeBackupProperties` was added
+
+* `models.ElasticBackup` was added
+
+* `models.ChangeZoneRequest` was added
+
+* `models.ElasticBackupVault$DefinitionStages` was added
+
+* `models.ExternalCluster$Definition` was added
+
+* `models.ElasticSnapshot$Update` was added
+
+* `models.CheckElasticResourceAvailabilityResponse` was added
+
+* `models.ElasticBackupVault` was added
+
+* `models.SetupInformation` was added
+
+* `models.ElasticUnixAccessRule` was added
+
+* `models.ActiveDirectoryConfig$UpdateStages` was added
+
+* `models.ElasticVolume` was added
+
+* `models.ElasticVolume$Update` was added
+
+* `models.ElasticBackupPolicyState` was added
+
+* `models.ElasticSnapshotPolicyMonthlySchedule` was added
+
+* `models.ElasticVolumeDataProtectionPatchProperties` was added
+
+* `models.ElasticAccounts` was added
+
+* `models.ElasticSmbPatchProperties` was added
+
+* `models.ElasticSnapshot$DefinitionStages` was added
+
+* `models.ElasticBackupVault$UpdateStages` was added
+
+* `models.ElasticBackupPolicyUpdate` was added
+
+* `models.SnapshotDirectoryVisibility` was added
+
+* `models.ElasticBackupPolicy$UpdateStages` was added
+
+* `models.ElasticEncryptionConfiguration` was added
+
+* `models.SvmPeerProperties` was added
+
+* `models.ExternalResourceNetworkInterfaces` was added
+
+* `models.SvmPeerType` was added
+
+* `models.ExternalSvm` was added
+
+* `models.DayOfWeek` was added
+
+* `models.ElasticCapacityPool$Definition` was added
+
+* `models.ElasticSnapshotPolicy$DefinitionStages` was added
+
+* `models.ExternalCluster$DefinitionStages` was added
+
+* `models.ElasticBackupType` was added
+
+* `models.ElasticProtocolType` was added
+
+* `models.ElasticSnapshotPolicy$UpdateStages` was added
+
+#### `models.NetAppAccount$Definition` was modified
+
+* `withEntraIdConfig(models.EntraIdConfig)` was added
+
+#### `models.Volume$Update` was modified
+
+* `withSmbOplocks(models.SmbOplocks)` was added
+* `withGeoNamespaceProperties(models.VolumePatchNamespaceProperties)` was added
+* `withAsyncDirectoryDelete(models.AsyncDirectoryDelete)` was added
+
+#### `models.SmbSettings` was modified
+
+* `smbOplocks()` was added
+* `withSmbOplocks(models.SmbOplocks)` was added
+
+#### `models.Volume$Definition` was modified
+
+* `withLargeVolumeType(models.LargeVolumeType)` was added
+* `withGeoNamespaceProperties(models.VolumeNamespaceProperties)` was added
+* `withLanguage(models.VolumeLanguage)` was added
+* `withLdapServerType(models.LdapServerType)` was added
+* `withAsyncDirectoryDelete(models.AsyncDirectoryDelete)` was added
+* `withSmbOplocks(models.SmbOplocks)` was added
+
+#### `models.NetAppAccountPatch` was modified
+
+* `withEntraIdConfig(models.EntraIdConfigPatch)` was added
+* `entraIdConfig()` was added
+
+#### `models.NetAppAccount$Update` was modified
+
+* `withEntraIdConfig(models.EntraIdConfigPatch)` was added
+
+#### `models.VolumeGroupVolumeProperties` was modified
+
+* `withLargeVolumeType(models.LargeVolumeType)` was added
+* `geoNamespaceProperties()` was added
+* `withGeoNamespaceProperties(models.VolumeNamespaceProperties)` was added
+* `language()` was added
+* `smbOplocks()` was added
+* `asyncDirectoryDelete()` was added
+* `ldapServerType()` was added
+* `withSmbOplocks(models.SmbOplocks)` was added
+* `withLdapServerType(models.LdapServerType)` was added
+* `withLanguage(models.VolumeLanguage)` was added
+* `withAsyncDirectoryDelete(models.AsyncDirectoryDelete)` was added
+* `largeVolumeType()` was added
+
+#### `models.Volume` was modified
+
+* `largeVolumeType()` was added
+* `language()` was added
+* `smbOplocks()` was added
+* `asyncDirectoryDelete()` was added
+* `geoNamespaceProperties()` was added
+* `ldapServerType()` was added
+
+#### `models.VolumePatch` was modified
+
+* `smbOplocks()` was added
+* `withSmbOplocks(models.SmbOplocks)` was added
+* `geoNamespaceProperties()` was added
+* `withAsyncDirectoryDelete(models.AsyncDirectoryDelete)` was added
+* `asyncDirectoryDelete()` was added
+* `withGeoNamespaceProperties(models.VolumePatchNamespaceProperties)` was added
+
+#### `NetAppFilesManager` was modified
+
+* `clusterPeers()` was added
+* `externalClusters()` was added
+* `elasticVolumes()` was added
+* `elasticCapacityPools()` was added
+* `elasticSnapshots()` was added
+* `externalSvms()` was added
+* `svmPeers()` was added
+* `elasticBackupPolicies()` was added
+* `elasticBackups()` was added
+* `elasticBackupVaults()` was added
+* `activeDirectoryConfigs()` was added
+* `elasticAccounts()` was added
+* `elasticSnapshotPolicies()` was added
+* `externalCaches()` was added
+* `externalCacheConnections()` was added
+
+#### `models.NetAppAccount` was modified
+
+* `entraIdConfig()` was added
+
+#### `models.CredentialsAkvDetails` was modified
+
+* `userAssignedIdentity()` was added
+* `withUserAssignedIdentity(java.lang.String)` was added
+
+#### `models.CertificateAkvDetails` was modified
+
+* `withUserAssignedIdentity(java.lang.String)` was added
+* `userAssignedIdentity()` was added
## 2.5.0 (2026-10-21)
diff --git a/sdk/netapp/azure-resourcemanager-netapp/README.md b/sdk/netapp/azure-resourcemanager-netapp/README.md
index 4332be9f98ee2..c7139ba2ec1c1 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/README.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager NetAppFiles client library for Java.
-This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package api-version 2026-08-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for NetAppFiles Management SDK. Microsoft NetApp Files Azure Resource Provider specification. Package api-version 2026-08-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-netapp
- 2.5.0
+ 2.6.0-beta.1
```
[//]: # ({x-version-update-end})
diff --git a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
index 423c6111380c0..adb0256d03bfb 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
@@ -15,6 +15,15 @@
- [TransitionToCmk](#accounts_transitiontocmk)
- [Update](#accounts_update)
+## ActiveDirectoryConfigs
+
+- [CreateOrUpdate](#activedirectoryconfigs_createorupdate)
+- [Delete](#activedirectoryconfigs_delete)
+- [GetByResourceGroup](#activedirectoryconfigs_getbyresourcegroup)
+- [List](#activedirectoryconfigs_list)
+- [ListByResourceGroup](#activedirectoryconfigs_listbyresourcegroup)
+- [Update](#activedirectoryconfigs_update)
+
## BackupPolicies
- [Create](#backuppolicies_create)
@@ -75,6 +84,110 @@
- [ResetSmbPassword](#caches_resetsmbpassword)
- [Update](#caches_update)
+## ClusterPeers
+
+- [Get](#clusterpeers_get)
+- [ListByParent](#clusterpeers_listbyparent)
+
+## ElasticAccounts
+
+- [CreateOrUpdate](#elasticaccounts_createorupdate)
+- [Delete](#elasticaccounts_delete)
+- [GetByResourceGroup](#elasticaccounts_getbyresourcegroup)
+- [List](#elasticaccounts_list)
+- [ListByResourceGroup](#elasticaccounts_listbyresourcegroup)
+- [Update](#elasticaccounts_update)
+
+## ElasticBackupPolicies
+
+- [CreateOrUpdate](#elasticbackuppolicies_createorupdate)
+- [Delete](#elasticbackuppolicies_delete)
+- [Get](#elasticbackuppolicies_get)
+- [ListByElasticAccount](#elasticbackuppolicies_listbyelasticaccount)
+- [Update](#elasticbackuppolicies_update)
+
+## ElasticBackupVaults
+
+- [CreateOrUpdate](#elasticbackupvaults_createorupdate)
+- [Delete](#elasticbackupvaults_delete)
+- [Get](#elasticbackupvaults_get)
+- [ListByElasticAccount](#elasticbackupvaults_listbyelasticaccount)
+- [Update](#elasticbackupvaults_update)
+
+## ElasticBackups
+
+- [CreateOrUpdate](#elasticbackups_createorupdate)
+- [Delete](#elasticbackups_delete)
+- [Get](#elasticbackups_get)
+- [ListByVault](#elasticbackups_listbyvault)
+- [Update](#elasticbackups_update)
+
+## ElasticCapacityPools
+
+- [ChangeZone](#elasticcapacitypools_changezone)
+- [CheckVolumeFilePathAvailability](#elasticcapacitypools_checkvolumefilepathavailability)
+- [CreateOrUpdate](#elasticcapacitypools_createorupdate)
+- [Delete](#elasticcapacitypools_delete)
+- [Get](#elasticcapacitypools_get)
+- [ListByElasticAccount](#elasticcapacitypools_listbyelasticaccount)
+- [Update](#elasticcapacitypools_update)
+
+## ElasticSnapshotPolicies
+
+- [CreateOrUpdate](#elasticsnapshotpolicies_createorupdate)
+- [Delete](#elasticsnapshotpolicies_delete)
+- [Get](#elasticsnapshotpolicies_get)
+- [ListByElasticAccount](#elasticsnapshotpolicies_listbyelasticaccount)
+- [ListElasticVolumes](#elasticsnapshotpolicies_listelasticvolumes)
+- [Update](#elasticsnapshotpolicies_update)
+
+## ElasticSnapshots
+
+- [CreateOrUpdate](#elasticsnapshots_createorupdate)
+- [Delete](#elasticsnapshots_delete)
+- [Get](#elasticsnapshots_get)
+- [ListByElasticVolume](#elasticsnapshots_listbyelasticvolume)
+
+## ElasticVolumes
+
+- [CreateOrUpdate](#elasticvolumes_createorupdate)
+- [Delete](#elasticvolumes_delete)
+- [Get](#elasticvolumes_get)
+- [ListByElasticPool](#elasticvolumes_listbyelasticpool)
+- [Revert](#elasticvolumes_revert)
+- [Update](#elasticvolumes_update)
+
+## ExternalCacheConnections
+
+- [CreateOrUpdate](#externalcacheconnections_createorupdate)
+- [Delete](#externalcacheconnections_delete)
+- [GetByResourceGroup](#externalcacheconnections_getbyresourcegroup)
+- [List](#externalcacheconnections_list)
+- [ListByResourceGroup](#externalcacheconnections_listbyresourcegroup)
+- [Update](#externalcacheconnections_update)
+
+## ExternalCaches
+
+- [Get](#externalcaches_get)
+- [ListByParent](#externalcaches_listbyparent)
+
+## ExternalClusters
+
+- [CreateOrUpdate](#externalclusters_createorupdate)
+- [Delete](#externalclusters_delete)
+- [GetByResourceGroup](#externalclusters_getbyresourcegroup)
+- [List](#externalclusters_list)
+- [ListByResourceGroup](#externalclusters_listbyresourcegroup)
+- [Update](#externalclusters_update)
+
+## ExternalSvms
+
+- [CreateOrUpdate](#externalsvms_createorupdate)
+- [Delete](#externalsvms_delete)
+- [Get](#externalsvms_get)
+- [ListByParent](#externalsvms_listbyparent)
+- [Update](#externalsvms_update)
+
## NetAppResource
- [CheckFilePathAvailability](#netappresource_checkfilepathavailability)
@@ -148,6 +261,11 @@
- [ListByVolume](#subvolumes_listbyvolume)
- [Update](#subvolumes_update)
+## SvmPeers
+
+- [Get](#svmpeers_get)
+- [ListByParent](#svmpeers_listbyparent)
+
## VolumeGroups
- [Create](#volumegroups_create)
@@ -205,7 +323,7 @@ import java.util.Arrays;
*/
public final class AccountsChangeKeyVaultSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_ChangeKeyVault.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_ChangeKeyVault.json
*/
/**
* Sample code: Accounts_ChangeKeyVault.
@@ -241,7 +359,7 @@ import java.util.Arrays;
*/
public final class AccountsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_CreateOrUpdate.json
*/
/**
* Sample code: Accounts_CreateOrUpdate.
@@ -253,7 +371,7 @@ public final class AccountsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-08-01/Accounts_CreateOrUpdateAD.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_CreateOrUpdateAD.json
*/
/**
* Sample code: Accounts_CreateOrUpdateWithActiveDirectory.
@@ -280,7 +398,7 @@ public final class AccountsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-08-01/Accounts_CreateOrUpdateLdapConfig.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_CreateOrUpdateLdapConfig.json
*/
/**
* Sample code: Accounts_CreateOrUpdateLdapConfig.
@@ -320,7 +438,7 @@ public final class AccountsCreateOrUpdateSamples {
*/
public final class AccountsDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_Delete.json
*/
/**
* Sample code: Accounts_Delete.
@@ -341,7 +459,7 @@ public final class AccountsDeleteSamples {
*/
public final class AccountsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_Get.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_Get.json
*/
/**
* Sample code: Accounts_Get.
@@ -362,7 +480,7 @@ public final class AccountsGetByResourceGroupSamples {
*/
public final class AccountsGetChangeKeyVaultInformationSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_GetChangeKeyVaultInformation.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_GetChangeKeyVaultInformation.json
*/
/**
* Sample code: Accounts_GetChangeKeyVaultInformation.
@@ -384,7 +502,7 @@ public final class AccountsGetChangeKeyVaultInformationSamples {
*/
public final class AccountsListSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_ListBySubscription.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_ListBySubscription.json
*/
/**
* Sample code: Accounts_ListBySubscription.
@@ -405,7 +523,7 @@ public final class AccountsListSamples {
*/
public final class AccountsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_List.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_List.json
*/
/**
* Sample code: Accounts_List.
@@ -426,7 +544,7 @@ public final class AccountsListByResourceGroupSamples {
*/
public final class AccountsRefreshLdapBindPasswordSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_RefreshLdapBindPassword.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_RefreshLdapBindPassword.json
*/
/**
* Sample code: NetAppAccounts_RefreshLdapBindPassword.
@@ -448,7 +566,7 @@ public final class AccountsRefreshLdapBindPasswordSamples {
*/
public final class AccountsRenewCredentialsSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_RenewCredentials.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_RenewCredentials.json
*/
/**
* Sample code: Accounts_RenewCredentials.
@@ -471,7 +589,7 @@ import com.azure.resourcemanager.netapp.models.EncryptionTransitionRequest;
*/
public final class AccountsTransitionToCmkSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_TransitionEncryptionKey.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_TransitionEncryptionKey.json
*/
/**
* Sample code: Accounts_MigrateEncryptionKey.
@@ -501,7 +619,7 @@ import java.util.Map;
*/
public final class AccountsUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Accounts_Update.json
+ * x-ms-original-file: 2026-08-15-preview/Accounts_Update.json
*/
/**
* Sample code: Accounts_Update.
@@ -529,6 +647,191 @@ public final class AccountsUpdateSamples {
}
```
+### ActiveDirectoryConfigs_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigProperties;
+import com.azure.resourcemanager.netapp.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.netapp.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.netapp.models.SecretPassword;
+import com.azure.resourcemanager.netapp.models.SecretPasswordIdentity;
+import com.azure.resourcemanager.netapp.models.SecretPasswordKeyVaultProperties;
+import com.azure.resourcemanager.netapp.models.UserAssignedIdentity;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for ActiveDirectoryConfigs CreateOrUpdate.
+ */
+public final class ActiveDirectoryConfigsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ActiveDirectoryConfigs_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ActiveDirectoryConfigs_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ activeDirectoryConfigsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.activeDirectoryConfigs()
+ .define("adconfig1")
+ .withRegion("eastus")
+ .withExistingResourceGroup("myRG")
+ .withTags(mapOf("ac-tag1", "activeDirectoryConfig1"))
+ .withProperties(new ActiveDirectoryConfigProperties().withUserName("admin1")
+ .withDns(Arrays.asList("10.10.10.4", "10.10.10.5"))
+ .withSmbServerName("smbServer")
+ .withOrganizationalUnit("OU=Computers,DC=corp,DC=contoso,DC=com")
+ .withSite("Default-First-Site-Name")
+ .withBackupOperators(Arrays.asList("backupOp1"))
+ .withAdministrators(Arrays.asList("admin1"))
+ .withSecurityOperators(Arrays.asList("secOp1"))
+ .withDomain("example.net")
+ .withSecretPassword(new SecretPassword()
+ .withKeyVaultProperties(
+ new SecretPasswordKeyVaultProperties().withKeyVaultUri("fakeTokenPlaceholder")
+ .withSecretName("fakeTokenPlaceholder"))
+ .withIdentity(new SecretPasswordIdentity().withUserAssignedIdentity(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1"))))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1",
+ new UserAssignedIdentity())))
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### ActiveDirectoryConfigs_Delete
+
+```java
+/**
+ * Samples for ActiveDirectoryConfigs Delete.
+ */
+public final class ActiveDirectoryConfigsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ActiveDirectoryConfigs_Delete.json
+ */
+ /**
+ * Sample code: ActiveDirectoryConfigs_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void activeDirectoryConfigsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.activeDirectoryConfigs().delete("myRG", "adconfig1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ActiveDirectoryConfigs_GetByResourceGroup
+
+```java
+/**
+ * Samples for ActiveDirectoryConfigs GetByResourceGroup.
+ */
+public final class ActiveDirectoryConfigsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ActiveDirectoryConfigs_Get.json
+ */
+ /**
+ * Sample code: ActiveDirectoryConfigs_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void activeDirectoryConfigsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.activeDirectoryConfigs()
+ .getByResourceGroupWithResponse("myRG", "adconfig1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ActiveDirectoryConfigs_List
+
+```java
+/**
+ * Samples for ActiveDirectoryConfigs List.
+ */
+public final class ActiveDirectoryConfigsListSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ActiveDirectoryConfigs_ListBySubscription.json
+ */
+ /**
+ * Sample code: ActiveDirectoryConfigs_ListBySubscription.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ activeDirectoryConfigsListBySubscription(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.activeDirectoryConfigs().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ActiveDirectoryConfigs_ListByResourceGroup
+
+```java
+/**
+ * Samples for ActiveDirectoryConfigs ListByResourceGroup.
+ */
+public final class ActiveDirectoryConfigsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ActiveDirectoryConfigs_ListByResourceGroup.json
+ */
+ /**
+ * Sample code: ActiveDirectoryConfigs_ListByResourceGroup.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ activeDirectoryConfigsListByResourceGroup(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.activeDirectoryConfigs().listByResourceGroup("myRG", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ActiveDirectoryConfigs_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfig;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigUpdateProperties;
+
+/**
+ * Samples for ActiveDirectoryConfigs Update.
+ */
+public final class ActiveDirectoryConfigsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ActiveDirectoryConfigs_Update.json
+ */
+ /**
+ * Sample code: ActiveDirectoryConfigs_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void activeDirectoryConfigsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ActiveDirectoryConfig resource = manager.activeDirectoryConfigs()
+ .getByResourceGroupWithResponse("myRG", "adconfig1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new ActiveDirectoryConfigUpdateProperties().withSmbServerName("smbServer2"))
+ .apply();
+ }
+}
+```
+
### BackupPolicies_Create
```java
@@ -537,7 +840,7 @@ public final class AccountsUpdateSamples {
*/
public final class BackupPoliciesCreateSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupPolicies_Create.json
+ * x-ms-original-file: 2026-08-15-preview/BackupPolicies_Create.json
*/
/**
* Sample code: BackupPolicies_Create.
@@ -566,7 +869,7 @@ public final class BackupPoliciesCreateSamples {
*/
public final class BackupPoliciesDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupPolicies_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/BackupPolicies_Delete.json
*/
/**
* Sample code: BackupPolicies_Delete.
@@ -588,7 +891,7 @@ public final class BackupPoliciesDeleteSamples {
*/
public final class BackupPoliciesGetSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupPolicies_Get.json
+ * x-ms-original-file: 2026-08-15-preview/BackupPolicies_Get.json
*/
/**
* Sample code: BackupPolicies_Get.
@@ -610,7 +913,7 @@ public final class BackupPoliciesGetSamples {
*/
public final class BackupPoliciesListSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupPolicies_List.json
+ * x-ms-original-file: 2026-08-15-preview/BackupPolicies_List.json
*/
/**
* Sample code: BackupPolicies_List.
@@ -633,7 +936,7 @@ import com.azure.resourcemanager.netapp.models.BackupPolicy;
*/
public final class BackupPoliciesUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupPolicies_Update.json
+ * x-ms-original-file: 2026-08-15-preview/BackupPolicies_Update.json
*/
/**
* Sample code: BackupPolicies_Update.
@@ -662,7 +965,7 @@ public final class BackupPoliciesUpdateSamples {
*/
public final class BackupVaultsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupVaults_Create.json
+ * x-ms-original-file: 2026-08-15-preview/BackupVaults_Create.json
*/
/**
* Sample code: BackupVault_CreateOrUpdate.
@@ -687,7 +990,7 @@ public final class BackupVaultsCreateOrUpdateSamples {
*/
public final class BackupVaultsDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupVaults_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/BackupVaults_Delete.json
*/
/**
* Sample code: BackupVaults_Delete.
@@ -708,7 +1011,7 @@ public final class BackupVaultsDeleteSamples {
*/
public final class BackupVaultsGetSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupVaults_Get.json
+ * x-ms-original-file: 2026-08-15-preview/BackupVaults_Get.json
*/
/**
* Sample code: BackupVaults_Get.
@@ -729,7 +1032,7 @@ public final class BackupVaultsGetSamples {
*/
public final class BackupVaultsListByNetAppAccountSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupVaults_List.json
+ * x-ms-original-file: 2026-08-15-preview/BackupVaults_List.json
*/
/**
* Sample code: BackupVaults_List.
@@ -754,7 +1057,7 @@ import java.util.Map;
*/
public final class BackupVaultsUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupVaults_Update.json
+ * x-ms-original-file: 2026-08-15-preview/BackupVaults_Update.json
*/
/**
* Sample code: BackupVaults_Update.
@@ -790,7 +1093,7 @@ public final class BackupVaultsUpdateSamples {
*/
public final class BackupsCreateSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupsUnderBackupVault_Create.json
+ * x-ms-original-file: 2026-08-15-preview/BackupsUnderBackupVault_Create.json
*/
/**
* Sample code: BackupsUnderBackupVault_Create.
@@ -817,7 +1120,7 @@ public final class BackupsCreateSamples {
*/
public final class BackupsDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupsUnderBackupVault_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/BackupsUnderBackupVault_Delete.json
*/
/**
* Sample code: BackupsUnderBackupVault_Delete.
@@ -839,7 +1142,7 @@ public final class BackupsDeleteSamples {
*/
public final class BackupsGetSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupsUnderBackupVault_Get.json
+ * x-ms-original-file: 2026-08-15-preview/BackupsUnderBackupVault_Get.json
*/
/**
* Sample code: BackupsUnderBackupVault_Get.
@@ -861,7 +1164,7 @@ public final class BackupsGetSamples {
*/
public final class BackupsGetLatestStatusSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_LatestBackupStatus.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_LatestBackupStatus.json
*/
/**
* Sample code: Volumes_BackupStatus.
@@ -883,7 +1186,7 @@ public final class BackupsGetLatestStatusSamples {
*/
public final class BackupsGetVolumeLatestRestoreStatusSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_LatestRestoreStatus.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_LatestRestoreStatus.json
*/
/**
* Sample code: Volumes_RestoreStatus.
@@ -906,7 +1209,7 @@ public final class BackupsGetVolumeLatestRestoreStatusSamples {
*/
public final class BackupsListByVaultSamples {
/*
- * x-ms-original-file: 2026-08-01/Backups_ListByVault.json
+ * x-ms-original-file: 2026-08-15-preview/Backups_ListByVault.json
*/
/**
* Sample code: Backups_ListByVault.
@@ -929,7 +1232,7 @@ import com.azure.resourcemanager.netapp.models.Backup;
*/
public final class BackupsUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupsUnderBackupVault_Update.json
+ * x-ms-original-file: 2026-08-15-preview/BackupsUnderBackupVault_Update.json
*/
/**
* Sample code: BackupsUnderBackupVault_Update.
@@ -955,7 +1258,7 @@ import com.azure.resourcemanager.netapp.models.BackupsMigrationRequest;
*/
public final class BackupsUnderAccountMigrateBackupsSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupsUnderAccount_Migrate.json
+ * x-ms-original-file: 2026-08-15-preview/BackupsUnderAccount_Migrate.json
*/
/**
* Sample code: BackupsUnderAccount_Migrate.
@@ -982,7 +1285,7 @@ import java.util.Arrays;
*/
public final class BackupsUnderBackupVaultRestoreFilesSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupsUnderBackupVault_SingleFileRestore.json
+ * x-ms-original-file: 2026-08-15-preview/BackupsUnderBackupVault_SingleFileRestore.json
*/
/**
* Sample code: Backups_SingleFileRestore.
@@ -1010,7 +1313,7 @@ import com.azure.resourcemanager.netapp.models.BackupsMigrationRequest;
*/
public final class BackupsUnderVolumeMigrateBackupsSamples {
/*
- * x-ms-original-file: 2026-08-01/BackupsUnderVolume_Migrate.json
+ * x-ms-original-file: 2026-08-15-preview/BackupsUnderVolume_Migrate.json
*/
/**
* Sample code: BackupsUnderVolume_Migrate.
@@ -1043,7 +1346,7 @@ import com.azure.resourcemanager.netapp.models.OnCertificateConflictAction;
*/
public final class BucketsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-15-preview/Buckets_CreateOrUpdate.json
*/
/**
* Sample code: Buckets_CreateOrUpdate.
@@ -1064,7 +1367,7 @@ public final class BucketsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-08-01/Buckets_CreateOrUpdateWithAkv.json
+ * x-ms-original-file: 2026-08-15-preview/Buckets_CreateOrUpdateWithAkv.json
*/
/**
* Sample code: Buckets_CreateOrUpdateWithAkv.
@@ -1080,13 +1383,16 @@ public final class BucketsCreateOrUpdateSamples {
.withServer(new BucketServerProperties().withFqdn("fullyqualified.domainname.com")
.withOnCertificateConflictAction(OnCertificateConflictAction.FAIL))
.withPermissions(BucketPermissions.READ_ONLY)
- .withAkvDetails(new AzureKeyVaultDetails()
- .withCertificateAkvDetails(
- new CertificateAkvDetails().withCertificateKeyVaultUri("fakeTokenPlaceholder")
- .withCertificateName("my-certificate"))
- .withCredentialsAkvDetails(
- new CredentialsAkvDetails().withCredentialsKeyVaultUri("fakeTokenPlaceholder")
- .withSecretName("fakeTokenPlaceholder")))
+ .withAkvDetails(new AzureKeyVaultDetails().withCertificateAkvDetails(new CertificateAkvDetails()
+ .withCertificateKeyVaultUri("fakeTokenPlaceholder")
+ .withCertificateName("my-certificate")
+ .withUserAssignedIdentity(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1"))
+ .withCredentialsAkvDetails(new CredentialsAkvDetails()
+ .withCredentialsKeyVaultUri("fakeTokenPlaceholder")
+ .withSecretName("fakeTokenPlaceholder")
+ .withUserAssignedIdentity(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1")))
.create();
}
}
@@ -1100,7 +1406,7 @@ public final class BucketsCreateOrUpdateSamples {
*/
public final class BucketsDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/Buckets_Delete.json
*/
/**
* Sample code: Buckets_Delete.
@@ -1123,7 +1429,7 @@ import com.azure.resourcemanager.netapp.models.BucketCredentialsExpiry;
*/
public final class BucketsGenerateAkvCredentialsSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_GenerateAkvCredentials.json
+ * x-ms-original-file: 2026-08-15-preview/Buckets_GenerateAkvCredentials.json
*/
/**
* Sample code: Buckets_GenerateAkvCredentials.
@@ -1148,351 +1454,2191 @@ import com.azure.resourcemanager.netapp.models.BucketCredentialsExpiry;
*/
public final class BucketsGenerateCredentialsSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_GenerateCredentials.json
+ * x-ms-original-file: 2026-08-15-preview/Buckets_GenerateCredentials.json
+ */
+ /**
+ * Sample code: Buckets_GenerateCredentials.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void bucketsGenerateCredentials(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.buckets()
+ .generateCredentialsWithResponse("myRG", "account1", "pool1", "volume1", "bucket1",
+ new BucketCredentialsExpiry().withKeyPairExpiryDays(3), com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Buckets_Get
+
+```java
+/**
+ * Samples for Buckets Get.
+ */
+public final class BucketsGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Buckets_Get.json
+ */
+ /**
+ * Sample code: Buckets_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void bucketsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.buckets()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Buckets_List
+
+```java
+/**
+ * Samples for Buckets List.
+ */
+public final class BucketsListSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Buckets_List.json
+ */
+ /**
+ * Sample code: Buckets_List.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void bucketsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.buckets().list("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Buckets_RefreshCertificate
+
+```java
+/**
+ * Samples for Buckets RefreshCertificate.
+ */
+public final class BucketsRefreshCertificateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Buckets_RefreshCertificate.json
+ */
+ /**
+ * Sample code: Buckets_RefreshCertificate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void bucketsRefreshCertificate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.buckets()
+ .refreshCertificate("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Buckets_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.AzureKeyVaultDetails;
+import com.azure.resourcemanager.netapp.models.Bucket;
+import com.azure.resourcemanager.netapp.models.BucketPatchPermissions;
+import com.azure.resourcemanager.netapp.models.BucketServerPatchProperties;
+import com.azure.resourcemanager.netapp.models.CertificateAkvDetails;
+import com.azure.resourcemanager.netapp.models.CredentialsAkvDetails;
+import com.azure.resourcemanager.netapp.models.OnCertificateConflictAction;
+
+/**
+ * Samples for Buckets Update.
+ */
+public final class BucketsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Buckets_Update.json
+ */
+ /**
+ * Sample code: Buckets_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void bucketsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ Bucket resource = manager.buckets()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withServer(new BucketServerPatchProperties().withFqdn("fullyqualified.domainname.com")
+ .withCertificateObject("")
+ .withOnCertificateConflictAction(OnCertificateConflictAction.UPDATE))
+ .withPermissions(BucketPatchPermissions.READ_WRITE)
+ .apply();
+ }
+
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Buckets_UpdateWithAkv.json
+ */
+ /**
+ * Sample code: Buckets_UpdateWithAkv.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void bucketsUpdateWithAkv(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ Bucket resource = manager.buckets()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withServer(new BucketServerPatchProperties().withFqdn("fullyqualified.domainname.com")
+ .withOnCertificateConflictAction(OnCertificateConflictAction.FAIL))
+ .withPermissions(BucketPatchPermissions.READ_ONLY)
+ .withAkvDetails(new AzureKeyVaultDetails().withCertificateAkvDetails(new CertificateAkvDetails()
+ .withCertificateKeyVaultUri("fakeTokenPlaceholder")
+ .withCertificateName("my-certificate")
+ .withUserAssignedIdentity(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1"))
+ .withCredentialsAkvDetails(new CredentialsAkvDetails()
+ .withCredentialsKeyVaultUri("fakeTokenPlaceholder")
+ .withSecretName("fakeTokenPlaceholder")
+ .withUserAssignedIdentity(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1")))
+ .apply();
+ }
+}
+```
+
+### Caches_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.CacheProperties;
+import com.azure.resourcemanager.netapp.models.EncryptionKeySource;
+import com.azure.resourcemanager.netapp.models.LdapServerType;
+import com.azure.resourcemanager.netapp.models.LdapState;
+import com.azure.resourcemanager.netapp.models.OriginClusterInformation;
+import com.azure.resourcemanager.netapp.models.SmbAccessBasedEnumeration;
+import com.azure.resourcemanager.netapp.models.SmbEncryptionState;
+import com.azure.resourcemanager.netapp.models.SmbNonBrowsable;
+import com.azure.resourcemanager.netapp.models.SmbOplocks;
+import com.azure.resourcemanager.netapp.models.SmbSettings;
+import java.util.Arrays;
+
+/**
+ * Samples for Caches CreateOrUpdate.
+ */
+public final class CachesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_CreateOrUpdate_SMB.json
+ */
+ /**
+ * Sample code: Caches_CreateOrUpdate_SMB.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesCreateOrUpdateSMB(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches()
+ .define("cache1")
+ .withRegion("eastus")
+ .withExistingCapacityPool("myRG", "account1", "pool1")
+ .withProperties(new CacheProperties().withFilePath("cache-smb-01")
+ .withSize(107374182400L)
+ .withCacheSubnetResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1")
+ .withPeeringSubnetResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1")
+ .withSmbSettings(new SmbSettings().withSmbEncryption(SmbEncryptionState.ENABLED)
+ .withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration.ENABLED)
+ .withSmbNonBrowsable(SmbNonBrowsable.ENABLED)
+ .withSmbOplocks(SmbOplocks.ENABLED))
+ .withEncryptionKeySource(EncryptionKeySource.MICROSOFT_NET_APP)
+ .withOriginClusterInformation(new OriginClusterInformation().withPeerClusterName("cluster1")
+ .withPeerAddresses(Arrays.asList("192.0.2.10", "192.0.2.11"))
+ .withPeerVserverName("vserver1")
+ .withPeerVolumeName("originvol1")))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Caches_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches()
+ .define("cache1")
+ .withRegion("eastus")
+ .withExistingCapacityPool("myRG", "account1", "pool1")
+ .withProperties(new CacheProperties().withFilePath("cache-west-us2-01")
+ .withSize(107374182400L)
+ .withCacheSubnetResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1")
+ .withPeeringSubnetResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1")
+ .withEncryptionKeySource(EncryptionKeySource.MICROSOFT_NET_APP)
+ .withLdap(LdapState.ENABLED)
+ .withLdapServerType(LdapServerType.OPEN_LDAP)
+ .withOriginClusterInformation(new OriginClusterInformation().withPeerClusterName("cluster1")
+ .withPeerAddresses(Arrays.asList("192.0.2.10", "192.0.2.11"))
+ .withPeerVserverName("vserver1")
+ .withPeerVolumeName("originvol1")))
+ .create();
+ }
+}
+```
+
+### Caches_Delete
+
+```java
+/**
+ * Samples for Caches Delete.
+ */
+public final class CachesDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_Delete.json
+ */
+ /**
+ * Sample code: Caches_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches().delete("myRG", "account1", "pool1", "cache1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Caches_Get
+
+```java
+/**
+ * Samples for Caches Get.
+ */
+public final class CachesGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_Get.json
+ */
+ /**
+ * Sample code: Caches_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches().getWithResponse("myRG", "account1", "pool1", "cache1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Caches_List
+
+```java
+/**
+ * Samples for Caches List.
+ */
+public final class CachesListSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_List.json
+ */
+ /**
+ * Sample code: Caches_List.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches().list("myRG", "account1", "pool1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Caches_ListPeeringPassphrases
+
+```java
+/**
+ * Samples for Caches ListPeeringPassphrases.
+ */
+public final class CachesListPeeringPassphrasesSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_ListPeeringPassphrases.json
+ */
+ /**
+ * Sample code: Caches_ListPeeringPassphrases.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesListPeeringPassphrases(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches()
+ .listPeeringPassphrasesWithResponse("myRG", "account1", "pool1", "cache-1",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Caches_PoolChange
+
+```java
+import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
+
+/**
+ * Samples for Caches PoolChange.
+ */
+public final class CachesPoolChangeSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_PoolChange.json
+ */
+ /**
+ * Sample code: Caches_PoolChange.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesPoolChange(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches()
+ .poolChange("myRG", "account1", "pool1", "cache1", new PoolChangeRequest().withNewPoolResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool2"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Caches_ResetSmbPassword
+
+```java
+/**
+ * Samples for Caches ResetSmbPassword.
+ */
+public final class CachesResetSmbPasswordSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_ResetSmbPassword.json
+ */
+ /**
+ * Sample code: Caches_ResetSmbPassword.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesResetSmbPassword(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches()
+ .resetSmbPassword("myResourceGroup", "account1", "pool1", "cache1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Caches_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.Cache;
+import com.azure.resourcemanager.netapp.models.CacheUpdateProperties;
+
+/**
+ * Samples for Caches Update.
+ */
+public final class CachesUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Caches_Update.json
+ */
+ /**
+ * Sample code: Caches_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ Cache resource = manager.caches()
+ .getWithResponse("myRG", "account1", "pool1", "cache1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withProperties(new CacheUpdateProperties().withSize(214748364800L)).apply();
+ }
+}
+```
+
+### ClusterPeers_Get
+
+```java
+/**
+ * Samples for ClusterPeers Get.
+ */
+public final class ClusterPeersGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ClusterPeers_Get.json
+ */
+ /**
+ * Sample code: ClusterPeers_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void clusterPeersGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.clusterPeers()
+ .getWithResponse("contosoNetAppRg", "contoso-external-cluster", "peerA", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ClusterPeers_ListByParent
+
+```java
+/**
+ * Samples for ClusterPeers ListByParent.
+ */
+public final class ClusterPeersListByParentSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ClusterPeers_ListByParent.json
+ */
+ /**
+ * Sample code: ClusterPeers_ListByParent.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void clusterPeersListByParent(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.clusterPeers()
+ .listByParent("contosoNetAppRg", "contoso-external-cluster", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticAccounts_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticAccountProperties;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for ElasticAccounts CreateOrUpdate.
+ */
+public final class ElasticAccountsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticAccounts_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ElasticAccounts_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticAccountsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticAccounts()
+ .define("account1")
+ .withRegion("eastus")
+ .withExistingResourceGroup("myRG")
+ .withTags(mapOf("ac-tag1", "account1"))
+ .withProperties(new ElasticAccountProperties())
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### ElasticAccounts_Delete
+
+```java
+/**
+ * Samples for ElasticAccounts Delete.
+ */
+public final class ElasticAccountsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticAccounts_Delete.json
+ */
+ /**
+ * Sample code: ElasticAccounts_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticAccountsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticAccounts().delete("myRG", "account1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticAccounts_GetByResourceGroup
+
+```java
+/**
+ * Samples for ElasticAccounts GetByResourceGroup.
+ */
+public final class ElasticAccountsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticAccounts_Get.json
+ */
+ /**
+ * Sample code: ElasticAccounts_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticAccountsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticAccounts().getByResourceGroupWithResponse("myRG", "account1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticAccounts_List
+
+```java
+/**
+ * Samples for ElasticAccounts List.
+ */
+public final class ElasticAccountsListSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticAccounts_ListBySubscription.json
+ */
+ /**
+ * Sample code: ElasticAccounts_ListBySubscription.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticAccountsListBySubscription(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticAccounts().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticAccounts_ListByResourceGroup
+
+```java
+/**
+ * Samples for ElasticAccounts ListByResourceGroup.
+ */
+public final class ElasticAccountsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticAccounts_ListByResourceGroup.json
+ */
+ /**
+ * Sample code: ElasticAccounts_ListByResourceGroup.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticAccountsListByResourceGroup(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticAccounts().listByResourceGroup("myRG", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticAccounts_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticAccount;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for ElasticAccounts Update.
+ */
+public final class ElasticAccountsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticAccounts_Update.json
+ */
+ /**
+ * Sample code: ElasticAccounts_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticAccountsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ElasticAccount resource = manager.elasticAccounts()
+ .getByResourceGroupWithResponse("myRG", "account1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withTags(mapOf("Tag1", "Value1")).apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### ElasticBackupPolicies_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicyProperties;
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicyState;
+
+/**
+ * Samples for ElasticBackupPolicies CreateOrUpdate.
+ */
+public final class ElasticBackupPoliciesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupPolicies_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ElasticBackupPolicies_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticBackupPoliciesCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackupPolicies()
+ .define("backupPolicyName")
+ .withRegion("westus")
+ .withExistingElasticAccount("myRG", "account1")
+ .withProperties(new ElasticBackupPolicyProperties().withDailyBackupsToKeep(10)
+ .withWeeklyBackupsToKeep(10)
+ .withMonthlyBackupsToKeep(10)
+ .withPolicyState(ElasticBackupPolicyState.ENABLED))
+ .create();
+ }
+}
+```
+
+### ElasticBackupPolicies_Delete
+
+```java
+/**
+ * Samples for ElasticBackupPolicies Delete.
+ */
+public final class ElasticBackupPoliciesDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupPolicies_Delete.json
+ */
+ /**
+ * Sample code: ElasticBackupPolicies_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupPoliciesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackupPolicies()
+ .delete("resourceGroup", "accountName", "backupPolicyName", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackupPolicies_Get
+
+```java
+/**
+ * Samples for ElasticBackupPolicies Get.
+ */
+public final class ElasticBackupPoliciesGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupPolicies_Get.json
+ */
+ /**
+ * Sample code: ElasticBackupPolicies_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupPoliciesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackupPolicies()
+ .getWithResponse("myRG", "account1", "backupPolicyName", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackupPolicies_ListByElasticAccount
+
+```java
+/**
+ * Samples for ElasticBackupPolicies ListByElasticAccount.
+ */
+public final class ElasticBackupPoliciesListByElasticAccountSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupPolicies_List.json
+ */
+ /**
+ * Sample code: ElasticBackupPolicies_ListByElasticAccount.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticBackupPoliciesListByElasticAccount(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackupPolicies().listByElasticAccount("myRG", "account1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackupPolicies_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicy;
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicyState;
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicyUpdateProperties;
+
+/**
+ * Samples for ElasticBackupPolicies Update.
+ */
+public final class ElasticBackupPoliciesUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupPolicies_Update.json
+ */
+ /**
+ * Sample code: ElasticBackupPolicies_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupPoliciesUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ElasticBackupPolicy resource = manager.elasticBackupPolicies()
+ .getWithResponse("myRG", "account1", "backupPolicyName", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new ElasticBackupPolicyUpdateProperties().withDailyBackupsToKeep(5)
+ .withWeeklyBackupsToKeep(10)
+ .withMonthlyBackupsToKeep(10)
+ .withPolicyState(ElasticBackupPolicyState.ENABLED))
+ .apply();
+ }
+}
+```
+
+### ElasticBackupVaults_CreateOrUpdate
+
+```java
+/**
+ * Samples for ElasticBackupVaults CreateOrUpdate.
+ */
+public final class ElasticBackupVaultsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupVaults_Create.json
+ */
+ /**
+ * Sample code: ElasticBackupVaults_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupVaultsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackupVaults()
+ .define("backupVault1")
+ .withRegion("eastus")
+ .withExistingElasticAccount("myRG", "account1")
+ .create();
+ }
+}
+```
+
+### ElasticBackupVaults_Delete
+
+```java
+/**
+ * Samples for ElasticBackupVaults Delete.
+ */
+public final class ElasticBackupVaultsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupVaults_Delete.json
+ */
+ /**
+ * Sample code: ElasticBackupVaults_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupVaultsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackupVaults()
+ .delete("resourceGroup", "account1", "backupVault1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackupVaults_Get
+
+```java
+/**
+ * Samples for ElasticBackupVaults Get.
+ */
+public final class ElasticBackupVaultsGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupVaults_Get.json
+ */
+ /**
+ * Sample code: ElasticBackupVaults_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupVaultsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackupVaults()
+ .getWithResponse("myRG", "account1", "backupVault1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackupVaults_ListByElasticAccount
+
+```java
+/**
+ * Samples for ElasticBackupVaults ListByElasticAccount.
+ */
+public final class ElasticBackupVaultsListByElasticAccountSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupVaults_ListByElasticAccount.json
+ */
+ /**
+ * Sample code: ElasticBackupVaults_ListByElasticAccount.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticBackupVaultsListByElasticAccount(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackupVaults().listByElasticAccount("myRG", "account1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackupVaults_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticBackupVault;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for ElasticBackupVaults Update.
+ */
+public final class ElasticBackupVaultsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackupVaults_Update.json
+ */
+ /**
+ * Sample code: ElasticBackupVaults_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupVaultsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ElasticBackupVault resource = manager.elasticBackupVaults()
+ .getWithResponse("myRG", "account1", "backupVault1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withTags(mapOf("Tag1", "Value1")).apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### ElasticBackups_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticBackupProperties;
+import com.azure.resourcemanager.netapp.models.SnapshotUsage;
+
+/**
+ * Samples for ElasticBackups CreateOrUpdate.
+ */
+public final class ElasticBackupsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackups_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ElasticBackups_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackups()
+ .define("backup1")
+ .withExistingElasticBackupVault("myRG", "account1", "backupVault1")
+ .withProperties(new ElasticBackupProperties().withLabel("myLabel")
+ .withElasticVolumeResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1")
+ .withSnapshotUsage(SnapshotUsage.USE_EXISTING_SNAPSHOT)
+ .withElasticSnapshotResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1"))
+ .create();
+ }
+}
+```
+
+### ElasticBackups_Delete
+
+```java
+/**
+ * Samples for ElasticBackups Delete.
+ */
+public final class ElasticBackupsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackups_Delete.json
+ */
+ /**
+ * Sample code: ElasticBackups_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackups()
+ .delete("resourceGroup", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackups_Get
+
+```java
+/**
+ * Samples for ElasticBackups Get.
+ */
+public final class ElasticBackupsGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackups_Get.json
+ */
+ /**
+ * Sample code: ElasticBackups_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackups()
+ .getWithResponse("myRG", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackups_ListByVault
+
+```java
+/**
+ * Samples for ElasticBackups ListByVault.
+ */
+public final class ElasticBackupsListByVaultSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackups_ListByVault.json
+ */
+ /**
+ * Sample code: ElasticBackups_ListByVault.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupsListByVault(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticBackups().listByVault("myRG", "account1", "backupVault1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticBackups_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticBackup;
+
+/**
+ * Samples for ElasticBackups Update.
+ */
+public final class ElasticBackupsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticBackups_Update.json
+ */
+ /**
+ * Sample code: ElasticBackups_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticBackupsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ElasticBackup resource = manager.elasticBackups()
+ .getWithResponse("myRG", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().apply();
+ }
+}
+```
+
+### ElasticCapacityPools_ChangeZone
+
+```java
+import com.azure.resourcemanager.netapp.models.ChangeZoneRequest;
+
+/**
+ * Samples for ElasticCapacityPools ChangeZone.
+ */
+public final class ElasticCapacityPoolsChangeZoneSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticCapacityPools_ChangeZone.json
+ */
+ /**
+ * Sample code: ElasticCapacityPools_ChangeZone.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticCapacityPoolsChangeZone(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticCapacityPools()
+ .changeZone("myRG", "account1", "pool1", new ChangeZoneRequest().withNewZone("3"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticCapacityPools_CheckVolumeFilePathAvailability
+
+```java
+import com.azure.resourcemanager.netapp.models.CheckElasticVolumeFilePathAvailabilityRequest;
+
+/**
+ * Samples for ElasticCapacityPools CheckVolumeFilePathAvailability.
+ */
+public final class ElasticCapacityPoolsCheckVolumeFilePathAvailabilitySamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticCapacityPools_CheckVolumeFilePathAvailability.json
+ */
+ /**
+ * Sample code: ElasticCapacityPools_CheckVolumeFilePathAvailability.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticCapacityPoolsCheckVolumeFilePathAvailability(
+ com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticCapacityPools()
+ .checkVolumeFilePathAvailabilityWithResponse("myRG", "account1", "pool1",
+ new CheckElasticVolumeFilePathAvailabilityRequest().withFilePath("my-exact-filepath"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticCapacityPools_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticCapacityPoolProperties;
+import com.azure.resourcemanager.netapp.models.ElasticEncryptionConfiguration;
+import com.azure.resourcemanager.netapp.models.ElasticPoolEncryptionKeySource;
+import com.azure.resourcemanager.netapp.models.ElasticServiceLevel;
+import java.util.Arrays;
+
+/**
+ * Samples for ElasticCapacityPools CreateOrUpdate.
+ */
+public final class ElasticCapacityPoolsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticCapacityPools_CreateOrUpdateCMK.json
+ */
+ /**
+ * Sample code: ElasticCapacityPools_CreateOrUpdateCMK.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticCapacityPoolsCreateOrUpdateCMK(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticCapacityPools()
+ .define("pool1")
+ .withRegion("eastus")
+ .withExistingElasticAccount("myRG", "account1")
+ .withProperties(new ElasticCapacityPoolProperties().withSize(4398046511104L)
+ .withServiceLevel(ElasticServiceLevel.ZONE_REDUNDANT)
+ .withEncryption(new ElasticEncryptionConfiguration()
+ .withElasticPoolEncryptionKeySource(ElasticPoolEncryptionKeySource.NET_APP)
+ .withKeyVaultPrivateEndpointResourceId("fakeTokenPlaceholder"))
+ .withSubnetResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
+ .withActiveDirectoryConfigResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1"))
+ .withZones(Arrays.asList("1", "2", "3"))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticCapacityPools_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ElasticCapacityPools_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticCapacityPoolsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticCapacityPools()
+ .define("pool1")
+ .withRegion("eastus")
+ .withExistingElasticAccount("myRG", "account1")
+ .withProperties(new ElasticCapacityPoolProperties().withSize(4398046511104L)
+ .withServiceLevel(ElasticServiceLevel.ZONE_REDUNDANT)
+ .withSubnetResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
+ .withActiveDirectoryConfigResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1"))
+ .withZones(Arrays.asList("1", "2", "3"))
+ .create();
+ }
+}
+```
+
+### ElasticCapacityPools_Delete
+
+```java
+/**
+ * Samples for ElasticCapacityPools Delete.
+ */
+public final class ElasticCapacityPoolsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticCapacityPools_Delete.json
+ */
+ /**
+ * Sample code: ElasticCapacityPools_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticCapacityPoolsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticCapacityPools().delete("myRG", "account1", "pool1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticCapacityPools_Get
+
+```java
+/**
+ * Samples for ElasticCapacityPools Get.
+ */
+public final class ElasticCapacityPoolsGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticCapacityPools_Get.json
+ */
+ /**
+ * Sample code: ElasticCapacityPools_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticCapacityPoolsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticCapacityPools().getWithResponse("myRG", "account1", "pool1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticCapacityPools_ListByElasticAccount
+
+```java
+/**
+ * Samples for ElasticCapacityPools ListByElasticAccount.
+ */
+public final class ElasticCapacityPoolsListByElasticAccountSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticCapacityPools_ListByElasticAccount.json
+ */
+ /**
+ * Sample code: ElasticCapacityPools_ListByElasticAccount.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticCapacityPoolsListByElasticAccount(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticCapacityPools().listByElasticAccount("myRG", "account1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticCapacityPools_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticCapacityPool;
+import com.azure.resourcemanager.netapp.models.ElasticCapacityPoolUpdateProperties;
+
+/**
+ * Samples for ElasticCapacityPools Update.
+ */
+public final class ElasticCapacityPoolsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticCapacityPools_Update.json
+ */
+ /**
+ * Sample code: ElasticCapacityPools_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticCapacityPoolsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ElasticCapacityPool resource = manager.elasticCapacityPools()
+ .getWithResponse("myRG", "account1", "pool1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new ElasticCapacityPoolUpdateProperties().withSize(4398046511104L)
+ .withActiveDirectoryConfigResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1"))
+ .apply();
+ }
+}
+```
+
+### ElasticSnapshotPolicies_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.DayOfWeek;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyDailySchedule;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyHourlySchedule;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyMonthlySchedule;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyProperties;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyWeeklySchedule;
+import com.azure.resourcemanager.netapp.models.PolicyStatus;
+import java.util.Arrays;
+
+/**
+ * Samples for ElasticSnapshotPolicies CreateOrUpdate.
+ */
+public final class ElasticSnapshotPoliciesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshotPolicies_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ElasticSnapshotPolicies_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticSnapshotPoliciesCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies()
+ .define("snapshotPolicyName")
+ .withRegion("eastus")
+ .withExistingElasticAccount("myRG", "account1")
+ .withProperties(new ElasticSnapshotPolicyProperties()
+ .withHourlySchedule(new ElasticSnapshotPolicyHourlySchedule().withSnapshotsToKeep(2).withMinute(50))
+ .withDailySchedule(
+ new ElasticSnapshotPolicyDailySchedule().withSnapshotsToKeep(4).withHour(14).withMinute(30))
+ .withWeeklySchedule(new ElasticSnapshotPolicyWeeklySchedule().withSnapshotsToKeep(3)
+ .withDays(Arrays.asList(DayOfWeek.WEDNESDAY))
+ .withHour(14)
+ .withMinute(45))
+ .withMonthlySchedule(new ElasticSnapshotPolicyMonthlySchedule().withSnapshotsToKeep(5)
+ .withDaysOfMonth(Arrays.asList(10, 11, 12))
+ .withHour(14)
+ .withMinute(15))
+ .withPolicyStatus(PolicyStatus.ENABLED))
+ .create();
+ }
+}
+```
+
+### ElasticSnapshotPolicies_Delete
+
+```java
+/**
+ * Samples for ElasticSnapshotPolicies Delete.
+ */
+public final class ElasticSnapshotPoliciesDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshotPolicies_Delete.json
+ */
+ /**
+ * Sample code: ElasticSnapshotPolicies_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticSnapshotPoliciesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies()
+ .delete("resourceGroup", "accountName", "snapshotPolicyName", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticSnapshotPolicies_Get
+
+```java
+/**
+ * Samples for ElasticSnapshotPolicies Get.
+ */
+public final class ElasticSnapshotPoliciesGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshotPolicies_Get.json
+ */
+ /**
+ * Sample code: ElasticSnapshotPolicies_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticSnapshotPoliciesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies()
+ .getWithResponse("myRG", "account1", "snapshotPolicyName", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticSnapshotPolicies_ListByElasticAccount
+
+```java
+/**
+ * Samples for ElasticSnapshotPolicies ListByElasticAccount.
+ */
+public final class ElasticSnapshotPoliciesListByElasticAccountSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshotPolicies_ListByElasticAccount.json
+ */
+ /**
+ * Sample code: ElasticSnapshotPolicies_ListByElasticAccount.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticSnapshotPoliciesListByElasticAccount(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies().listByElasticAccount("myRG", "account1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticSnapshotPolicies_ListElasticVolumes
+
+```java
+/**
+ * Samples for ElasticSnapshotPolicies ListElasticVolumes.
+ */
+public final class ElasticSnapshotPoliciesListElasticVolumesSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshotPolicies_ListElasticVolumes.json
+ */
+ /**
+ * Sample code: ElasticSnapshotPolicies_ListElasticVolumes.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticSnapshotPoliciesListElasticVolumes(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies()
+ .listElasticVolumes("myRG", "account1", "snapshotPolicyName", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticSnapshotPolicies_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.DayOfWeek;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicy;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyDailySchedule;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyHourlySchedule;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyMonthlySchedule;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyUpdateProperties;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyWeeklySchedule;
+import com.azure.resourcemanager.netapp.models.PolicyStatus;
+import java.util.Arrays;
+
+/**
+ * Samples for ElasticSnapshotPolicies Update.
+ */
+public final class ElasticSnapshotPoliciesUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshotPolicies_Update.json
+ */
+ /**
+ * Sample code: ElasticSnapshotPolicies_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticSnapshotPoliciesUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ElasticSnapshotPolicy resource = manager.elasticSnapshotPolicies()
+ .getWithResponse("myRG", "account1", "snapshotPolicyName", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new ElasticSnapshotPolicyUpdateProperties()
+ .withHourlySchedule(new ElasticSnapshotPolicyHourlySchedule().withSnapshotsToKeep(2).withMinute(50))
+ .withDailySchedule(
+ new ElasticSnapshotPolicyDailySchedule().withSnapshotsToKeep(4).withHour(14).withMinute(30))
+ .withWeeklySchedule(new ElasticSnapshotPolicyWeeklySchedule().withSnapshotsToKeep(3)
+ .withDays(Arrays.asList(DayOfWeek.WEDNESDAY))
+ .withHour(14)
+ .withMinute(45))
+ .withMonthlySchedule(new ElasticSnapshotPolicyMonthlySchedule().withSnapshotsToKeep(5)
+ .withDaysOfMonth(Arrays.asList(10, 11, 12))
+ .withHour(14)
+ .withMinute(15))
+ .withPolicyStatus(PolicyStatus.ENABLED))
+ .apply();
+ }
+}
+```
+
+### ElasticSnapshots_CreateOrUpdate
+
+```java
+/**
+ * Samples for ElasticSnapshots CreateOrUpdate.
+ */
+public final class ElasticSnapshotsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshots_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ElasticSnapshots_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticSnapshotsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshots()
+ .define("snapshot1")
+ .withExistingElasticVolume("myRG", "account1", "pool1", "volume1")
+ .create();
+ }
+}
+```
+
+### ElasticSnapshots_Delete
+
+```java
+/**
+ * Samples for ElasticSnapshots Delete.
+ */
+public final class ElasticSnapshotsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshots_Delete.json
+ */
+ /**
+ * Sample code: ElasticSnapshots_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticSnapshotsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshots()
+ .delete("myRG", "account1", "pool1", "volume1", "snapshot1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticSnapshots_Get
+
+```java
+/**
+ * Samples for ElasticSnapshots Get.
+ */
+public final class ElasticSnapshotsGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshots_Get.json
+ */
+ /**
+ * Sample code: ElasticSnapshots_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticSnapshotsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshots()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", "snapshot1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticSnapshots_ListByElasticVolume
+
+```java
+/**
+ * Samples for ElasticSnapshots ListByElasticVolume.
+ */
+public final class ElasticSnapshotsListByElasticVolumeSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticSnapshots_ListByElasticVolume.json
+ */
+ /**
+ * Sample code: ElasticSnapshots_ListByElasticVolume.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ elasticSnapshotsListByElasticVolume(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshots()
+ .listByElasticVolume("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticVolumes_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticExportPolicy;
+import com.azure.resourcemanager.netapp.models.ElasticExportPolicyRule;
+import com.azure.resourcemanager.netapp.models.ElasticNfsv3Access;
+import com.azure.resourcemanager.netapp.models.ElasticNfsv4Access;
+import com.azure.resourcemanager.netapp.models.ElasticProtocolType;
+import com.azure.resourcemanager.netapp.models.ElasticRootAccess;
+import com.azure.resourcemanager.netapp.models.ElasticUnixAccessRule;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeBackupProperties;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeDataProtectionProperties;
+import com.azure.resourcemanager.netapp.models.ElasticVolumePolicyEnforcement;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeProperties;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeSnapshotProperties;
+import java.util.Arrays;
+
+/**
+ * Samples for ElasticVolumes CreateOrUpdate.
+ */
+public final class ElasticVolumesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticVolumes_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ElasticVolumes_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticVolumesCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticVolumes()
+ .define("volume1")
+ .withRegion("eastus")
+ .withExistingElasticCapacityPool("myRG", "account1", "pool1")
+ .withProperties(new ElasticVolumeProperties().withFilePath("my-unique-file-path")
+ .withSize(107374182400L)
+ .withExportPolicy(
+ new ElasticExportPolicy().withRules(Arrays.asList(new ElasticExportPolicyRule().withRuleIndex(1)
+ .withUnixAccessRule(ElasticUnixAccessRule.READ_ONLY)
+ .withNfsv3(ElasticNfsv3Access.ENABLED)
+ .withNfsv4(ElasticNfsv4Access.DISABLED)
+ .withAllowedClients(Arrays.asList("0.0.0.0/0"))
+ .withRootAccess(ElasticRootAccess.DISABLED))))
+ .withProtocolTypes(Arrays.asList(ElasticProtocolType.NFSV3))
+ .withDataProtection(new ElasticVolumeDataProtectionProperties()
+ .withSnapshot(new ElasticVolumeSnapshotProperties().withSnapshotPolicyResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1"))
+ .withBackup(new ElasticVolumeBackupProperties().withElasticBackupPolicyResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/elasticBackupPolicy1")
+ .withPolicyEnforcement(ElasticVolumePolicyEnforcement.ENFORCED)
+ .withElasticBackupVaultResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/elasticBackupVault1"))))
+ .create();
+ }
+}
+```
+
+### ElasticVolumes_Delete
+
+```java
+/**
+ * Samples for ElasticVolumes Delete.
+ */
+public final class ElasticVolumesDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticVolumes_Delete.json
+ */
+ /**
+ * Sample code: ElasticVolumes_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticVolumesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticVolumes().delete("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticVolumes_Get
+
+```java
+/**
+ * Samples for ElasticVolumes Get.
+ */
+public final class ElasticVolumesGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticVolumes_Get.json
+ */
+ /**
+ * Sample code: ElasticVolumes_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticVolumesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticVolumes()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticVolumes_ListByElasticPool
+
+```java
+/**
+ * Samples for ElasticVolumes ListByElasticPool.
+ */
+public final class ElasticVolumesListByElasticPoolSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticVolumes_ListByElasticPool.json
+ */
+ /**
+ * Sample code: ElasticVolumes_ListByElasticPool.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticVolumesListByElasticPool(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticVolumes().listByElasticPool("myRG", "account1", "pool1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticVolumes_Revert
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticVolumeRevert;
+
+/**
+ * Samples for ElasticVolumes Revert.
+ */
+public final class ElasticVolumesRevertSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticVolumes_Revert.json
+ */
+ /**
+ * Sample code: ElasticVolumes_Revert.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticVolumesRevert(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticVolumes()
+ .revert("myRG", "account1", "pool1", "volume1", new ElasticVolumeRevert().withSnapshotResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ElasticVolumes_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.ElasticExportPolicy;
+import com.azure.resourcemanager.netapp.models.ElasticExportPolicyRule;
+import com.azure.resourcemanager.netapp.models.ElasticNfsv3Access;
+import com.azure.resourcemanager.netapp.models.ElasticNfsv4Access;
+import com.azure.resourcemanager.netapp.models.ElasticRootAccess;
+import com.azure.resourcemanager.netapp.models.ElasticUnixAccessRule;
+import com.azure.resourcemanager.netapp.models.ElasticVolume;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeDataProtectionPatchProperties;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeSnapshotProperties;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeUpdateProperties;
+import java.util.Arrays;
+
+/**
+ * Samples for ElasticVolumes Update.
+ */
+public final class ElasticVolumesUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ElasticVolumes_Update.json
+ */
+ /**
+ * Sample code: ElasticVolumes_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void elasticVolumesUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ElasticVolume resource = manager.elasticVolumes()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new ElasticVolumeUpdateProperties()
+ .withExportPolicy(
+ new ElasticExportPolicy().withRules(Arrays.asList(new ElasticExportPolicyRule().withRuleIndex(1)
+ .withUnixAccessRule(ElasticUnixAccessRule.READ_ONLY)
+ .withNfsv3(ElasticNfsv3Access.ENABLED)
+ .withNfsv4(ElasticNfsv4Access.DISABLED)
+ .withAllowedClients(Arrays.asList("0.0.0.0/0"))
+ .withRootAccess(ElasticRootAccess.DISABLED))))
+ .withDataProtection(new ElasticVolumeDataProtectionPatchProperties()
+ .withSnapshot(new ElasticVolumeSnapshotProperties().withSnapshotPolicyResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1"))))
+ .apply();
+ }
+}
+```
+
+### ExternalCacheConnections_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.ExternalCacheConnectionProperties;
+
+/**
+ * Samples for ExternalCacheConnections CreateOrUpdate.
+ */
+public final class ExternalCacheConnectionsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ExternalCacheConnections_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ExternalCacheConnections_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ externalCacheConnectionsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalCacheConnections()
+ .define("contosoCacheConnection")
+ .withRegion("eastus")
+ .withExistingResourceGroup("contosoNetAppRg")
+ .withProperties(new ExternalCacheConnectionProperties().withOriginVolumeResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoNetAppRg/providers/Microsoft.NetApp/netAppAccounts/contosoAccount/capacityPools/contosoPool/volumes/contosoVolume")
+ .withExternalCacheName("contosoCache")
+ .withExternalSvmResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoNetAppRg/providers/Microsoft.NetApp/externalClusters/contosoExternalCluster/externalSvms/contosoExternalSvm")
+ .withClusterPeerSubnetResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoNetAppRg/providers/Microsoft.Network/virtualNetworks/contosoVnet/subnets/contosoSubnet"))
+ .create();
+ }
+}
+```
+
+### ExternalCacheConnections_Delete
+
+```java
+/**
+ * Samples for ExternalCacheConnections Delete.
+ */
+public final class ExternalCacheConnectionsDeleteSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ExternalCacheConnections_Delete.json
+ */
+ /**
+ * Sample code: ExternalCacheConnections_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void externalCacheConnectionsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalCacheConnections()
+ .delete("contosoNetAppRg", "contosoCacheConnection", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ExternalCacheConnections_GetByResourceGroup
+
+```java
+/**
+ * Samples for ExternalCacheConnections GetByResourceGroup.
+ */
+public final class ExternalCacheConnectionsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ExternalCacheConnections_Get.json
+ */
+ /**
+ * Sample code: ExternalCacheConnections_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void externalCacheConnectionsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalCacheConnections()
+ .getByResourceGroupWithResponse("contosoNetAppRg", "contosoCacheConnection",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ExternalCacheConnections_List
+
+```java
+/**
+ * Samples for ExternalCacheConnections List.
+ */
+public final class ExternalCacheConnectionsListSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ExternalCacheConnections_ListBySubscription.json
+ */
+ /**
+ * Sample code: ExternalCacheConnections_ListBySubscription.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ externalCacheConnectionsListBySubscription(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalCacheConnections().list(com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ExternalCacheConnections_ListByResourceGroup
+
+```java
+/**
+ * Samples for ExternalCacheConnections ListByResourceGroup.
+ */
+public final class ExternalCacheConnectionsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ExternalCacheConnections_ListByResourceGroup.json
+ */
+ /**
+ * Sample code: ExternalCacheConnections_ListByResourceGroup.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void
+ externalCacheConnectionsListByResourceGroup(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalCacheConnections().listByResourceGroup("contosoNetAppRg", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### ExternalCacheConnections_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.ExternalCacheConnection;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for ExternalCacheConnections Update.
+ */
+public final class ExternalCacheConnectionsUpdateSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/ExternalCacheConnections_Update.json
*/
/**
- * Sample code: Buckets_GenerateCredentials.
+ * Sample code: ExternalCacheConnections_Update.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void bucketsGenerateCredentials(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets()
- .generateCredentialsWithResponse("myRG", "account1", "pool1", "volume1", "bucket1",
- new BucketCredentialsExpiry().withKeyPairExpiryDays(3), com.azure.core.util.Context.NONE);
+ public static void externalCacheConnectionsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ExternalCacheConnection resource = manager.externalCacheConnections()
+ .getByResourceGroupWithResponse("contosoNetAppRg", "contosoCacheConnection",
+ com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withTags(mapOf("env", "prod")).apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
-### Buckets_Get
+### ExternalCaches_Get
```java
/**
- * Samples for Buckets Get.
+ * Samples for ExternalCaches Get.
*/
-public final class BucketsGetSamples {
+public final class ExternalCachesGetSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_Get.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalCaches_Get.json
*/
/**
- * Sample code: Buckets_Get.
+ * Sample code: ExternalCaches_Get.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void bucketsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets()
- .getWithResponse("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE);
+ public static void externalCachesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalCaches()
+ .getWithResponse("contosoNetAppRg", "contosoExternalCluster", "contosoExternalSvm", "contosoCache_AB12",
+ com.azure.core.util.Context.NONE);
}
}
```
-### Buckets_List
+### ExternalCaches_ListByParent
```java
/**
- * Samples for Buckets List.
+ * Samples for ExternalCaches ListByParent.
*/
-public final class BucketsListSamples {
+public final class ExternalCachesListByParentSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_List.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalCaches_ListByParent.json
*/
/**
- * Sample code: Buckets_List.
+ * Sample code: ExternalCaches_ListByParent.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void bucketsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets().list("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ public static void externalCachesListByParent(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalCaches()
+ .listByParent("contosoNetAppRg", "contosoExternalCluster", "contosoExternalSvm",
+ com.azure.core.util.Context.NONE);
}
}
```
-### Buckets_RefreshCertificate
+### ExternalClusters_CreateOrUpdate
```java
+import com.azure.resourcemanager.netapp.models.ExternalClusterProperties;
+import com.azure.resourcemanager.netapp.models.KeyVaultClusterPeerPassphraseProperties;
+import com.azure.resourcemanager.netapp.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.netapp.models.ManagedServiceIdentityType;
+import com.azure.resourcemanager.netapp.models.UserAssignedIdentity;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
/**
- * Samples for Buckets RefreshCertificate.
+ * Samples for ExternalClusters CreateOrUpdate.
*/
-public final class BucketsRefreshCertificateSamples {
+public final class ExternalClustersCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_RefreshCertificate.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalClusters_CreateOrUpdate.json
*/
/**
- * Sample code: Buckets_RefreshCertificate.
+ * Sample code: ExternalClusters_CreateOrUpdate.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void bucketsRefreshCertificate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.buckets()
- .refreshCertificate("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE);
+ public static void externalClustersCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalClusters()
+ .define("contoso-external-cluster")
+ .withRegion("eastus")
+ .withExistingResourceGroup("contosoNetAppRg")
+ .withProperties(new ExternalClusterProperties()
+ .withInterclusterLifsIpAddresses(Arrays.asList("10.0.1.100", "10.0.1.101"))
+ .withClusterPeerPassphraseKeyVault(new KeyVaultClusterPeerPassphraseProperties()
+ .withKeyVaultUri("fakeTokenPlaceholder")
+ .withSecretName("fakeTokenPlaceholder")
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoNetAppRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contosoIdentity1")))
+ .withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoNetAppRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contosoIdentity1",
+ new UserAssignedIdentity())))
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
-### Buckets_Update
+### ExternalClusters_Delete
```java
-import com.azure.resourcemanager.netapp.models.AzureKeyVaultDetails;
-import com.azure.resourcemanager.netapp.models.Bucket;
-import com.azure.resourcemanager.netapp.models.BucketPatchPermissions;
-import com.azure.resourcemanager.netapp.models.BucketServerPatchProperties;
-import com.azure.resourcemanager.netapp.models.CertificateAkvDetails;
-import com.azure.resourcemanager.netapp.models.CredentialsAkvDetails;
-import com.azure.resourcemanager.netapp.models.OnCertificateConflictAction;
-
/**
- * Samples for Buckets Update.
+ * Samples for ExternalClusters Delete.
*/
-public final class BucketsUpdateSamples {
+public final class ExternalClustersDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_Update.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalClusters_Delete.json
*/
/**
- * Sample code: Buckets_Update.
+ * Sample code: ExternalClusters_Delete.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void bucketsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- Bucket resource = manager.buckets()
- .getWithResponse("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withServer(new BucketServerPatchProperties().withFqdn("fullyqualified.domainname.com")
- .withCertificateObject("")
- .withOnCertificateConflictAction(OnCertificateConflictAction.UPDATE))
- .withPermissions(BucketPatchPermissions.READ_WRITE)
- .apply();
+ public static void externalClustersDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalClusters()
+ .delete("contosoNetAppRg", "contoso-external-cluster", com.azure.core.util.Context.NONE);
}
+}
+```
+### ExternalClusters_GetByResourceGroup
+
+```java
+/**
+ * Samples for ExternalClusters GetByResourceGroup.
+ */
+public final class ExternalClustersGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-08-01/Buckets_UpdateWithAkv.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalClusters_Get.json
*/
/**
- * Sample code: Buckets_UpdateWithAkv.
+ * Sample code: ExternalClusters_Get.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void bucketsUpdateWithAkv(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- Bucket resource = manager.buckets()
- .getWithResponse("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withServer(new BucketServerPatchProperties().withFqdn("fullyqualified.domainname.com")
- .withOnCertificateConflictAction(OnCertificateConflictAction.FAIL))
- .withPermissions(BucketPatchPermissions.READ_ONLY)
- .withAkvDetails(new AzureKeyVaultDetails()
- .withCertificateAkvDetails(
- new CertificateAkvDetails().withCertificateKeyVaultUri("fakeTokenPlaceholder")
- .withCertificateName("my-certificate"))
- .withCredentialsAkvDetails(
- new CredentialsAkvDetails().withCredentialsKeyVaultUri("fakeTokenPlaceholder")
- .withSecretName("fakeTokenPlaceholder")))
- .apply();
+ public static void externalClustersGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalClusters()
+ .getByResourceGroupWithResponse("contosoNetAppRg", "contoso-external-cluster",
+ com.azure.core.util.Context.NONE);
}
}
```
-### Caches_CreateOrUpdate
+### ExternalClusters_List
```java
-import com.azure.resourcemanager.netapp.models.CacheProperties;
-import com.azure.resourcemanager.netapp.models.EncryptionKeySource;
-import com.azure.resourcemanager.netapp.models.LdapServerType;
-import com.azure.resourcemanager.netapp.models.LdapState;
-import com.azure.resourcemanager.netapp.models.OriginClusterInformation;
-import java.util.Arrays;
-
/**
- * Samples for Caches CreateOrUpdate.
+ * Samples for ExternalClusters List.
*/
-public final class CachesCreateOrUpdateSamples {
+public final class ExternalClustersListSamples {
/*
- * x-ms-original-file: 2026-08-01/Caches_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalClusters_ListBySubscription.json
*/
/**
- * Sample code: Caches_CreateOrUpdate.
+ * Sample code: ExternalClusters_ListBySubscription.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void cachesCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.caches()
- .define("cache1")
- .withRegion("eastus")
- .withExistingCapacityPool("myRG", "account1", "pool1")
- .withProperties(new CacheProperties().withFilePath("cache-west-us2-01")
- .withSize(107374182400L)
- .withCacheSubnetResourceId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1")
- .withPeeringSubnetResourceId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1")
- .withEncryptionKeySource(EncryptionKeySource.MICROSOFT_NET_APP)
- .withLdap(LdapState.ENABLED)
- .withLdapServerType(LdapServerType.OPEN_LDAP)
- .withOriginClusterInformation(new OriginClusterInformation().withPeerClusterName("cluster1")
- .withPeerAddresses(Arrays.asList("192.0.2.10", "192.0.2.11"))
- .withPeerVserverName("vserver1")
- .withPeerVolumeName("originvol1")))
- .create();
+ public static void externalClustersListBySubscription(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalClusters().list(com.azure.core.util.Context.NONE);
}
}
```
-### Caches_Delete
+### ExternalClusters_ListByResourceGroup
```java
/**
- * Samples for Caches Delete.
+ * Samples for ExternalClusters ListByResourceGroup.
*/
-public final class CachesDeleteSamples {
+public final class ExternalClustersListByResourceGroupSamples {
/*
- * x-ms-original-file: 2026-08-01/Caches_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalClusters_ListByResourceGroup.json
*/
/**
- * Sample code: Caches_Delete.
+ * Sample code: ExternalClusters_ListByResourceGroup.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void cachesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.caches().delete("myRG", "account1", "pool1", "cache1", com.azure.core.util.Context.NONE);
+ public static void
+ externalClustersListByResourceGroup(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalClusters().listByResourceGroup("contosoNetAppRg", com.azure.core.util.Context.NONE);
}
}
```
-### Caches_Get
+### ExternalClusters_Update
```java
+import com.azure.resourcemanager.netapp.models.ExternalCluster;
+import com.azure.resourcemanager.netapp.models.ExternalClusterUpdateProperties;
+
/**
- * Samples for Caches Get.
+ * Samples for ExternalClusters Update.
*/
-public final class CachesGetSamples {
+public final class ExternalClustersUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Caches_Get.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalClusters_Update.json
*/
/**
- * Sample code: Caches_Get.
+ * Sample code: ExternalClusters_Update.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void cachesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.caches().getWithResponse("myRG", "account1", "pool1", "cache1", com.azure.core.util.Context.NONE);
+ public static void externalClustersUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ExternalCluster resource = manager.externalClusters()
+ .getByResourceGroupWithResponse("contosoNetAppRg", "contoso-external-cluster",
+ com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withProperties(new ExternalClusterUpdateProperties()).apply();
}
}
```
-### Caches_List
+### ExternalSvms_CreateOrUpdate
```java
+import com.azure.resourcemanager.netapp.models.ExternalSvmProperties;
+
/**
- * Samples for Caches List.
+ * Samples for ExternalSvms CreateOrUpdate.
*/
-public final class CachesListSamples {
+public final class ExternalSvmsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Caches_List.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalSvms_CreateOrUpdate.json
*/
/**
- * Sample code: Caches_List.
+ * Sample code: ExternalSvms_CreateOrUpdate.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void cachesList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.caches().list("myRG", "account1", "pool1", com.azure.core.util.Context.NONE);
+ public static void externalSvmsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalSvms()
+ .define("contoso-svm")
+ .withRegion("eastus")
+ .withExistingExternalCluster("contosoNetAppRg", "contoso-external-cluster")
+ .withProperties(new ExternalSvmProperties().withOntapSvmName("contoso-svm"))
+ .create();
}
}
```
-### Caches_ListPeeringPassphrases
+### ExternalSvms_Delete
```java
/**
- * Samples for Caches ListPeeringPassphrases.
+ * Samples for ExternalSvms Delete.
*/
-public final class CachesListPeeringPassphrasesSamples {
+public final class ExternalSvmsDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/Caches_ListPeeringPassphrases.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalSvms_Delete.json
*/
/**
- * Sample code: Caches_ListPeeringPassphrases.
+ * Sample code: ExternalSvms_Delete.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void cachesListPeeringPassphrases(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.caches()
- .listPeeringPassphrasesWithResponse("myRG", "account1", "pool1", "cache-1",
- com.azure.core.util.Context.NONE);
+ public static void externalSvmsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalSvms()
+ .delete("contosoNetAppRg", "contoso-external-cluster", "contoso-svm", com.azure.core.util.Context.NONE);
}
}
```
-### Caches_PoolChange
+### ExternalSvms_Get
```java
-import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
-
/**
- * Samples for Caches PoolChange.
+ * Samples for ExternalSvms Get.
*/
-public final class CachesPoolChangeSamples {
+public final class ExternalSvmsGetSamples {
/*
- * x-ms-original-file: 2026-08-01/Caches_PoolChange.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalSvms_Get.json
*/
/**
- * Sample code: Caches_PoolChange.
+ * Sample code: ExternalSvms_Get.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void cachesPoolChange(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.caches()
- .poolChange("myRG", "account1", "pool1", "cache1", new PoolChangeRequest().withNewPoolResourceId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool2"),
+ public static void externalSvmsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalSvms()
+ .getWithResponse("contosoNetAppRg", "contoso-external-cluster", "contoso-svm",
com.azure.core.util.Context.NONE);
}
}
```
-### Caches_ResetSmbPassword
+### ExternalSvms_ListByParent
```java
/**
- * Samples for Caches ResetSmbPassword.
+ * Samples for ExternalSvms ListByParent.
*/
-public final class CachesResetSmbPasswordSamples {
+public final class ExternalSvmsListByParentSamples {
/*
- * x-ms-original-file: 2026-08-01/Caches_ResetSmbPassword.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalSvms_ListByParent.json
*/
/**
- * Sample code: Caches_ResetSmbPassword.
+ * Sample code: ExternalSvms_ListByParent.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void cachesResetSmbPassword(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.caches()
- .resetSmbPassword("myResourceGroup", "account1", "pool1", "cache1", com.azure.core.util.Context.NONE);
+ public static void externalSvmsListByParent(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.externalSvms()
+ .listByParent("contosoNetAppRg", "contoso-external-cluster", com.azure.core.util.Context.NONE);
}
}
```
-### Caches_Update
+### ExternalSvms_Update
```java
-import com.azure.resourcemanager.netapp.models.Cache;
-import com.azure.resourcemanager.netapp.models.CacheUpdateProperties;
+import com.azure.resourcemanager.netapp.models.ExternalSvm;
+import java.util.HashMap;
+import java.util.Map;
/**
- * Samples for Caches Update.
+ * Samples for ExternalSvms Update.
*/
-public final class CachesUpdateSamples {
+public final class ExternalSvmsUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Caches_Update.json
+ * x-ms-original-file: 2026-08-15-preview/ExternalSvms_Update.json
*/
/**
- * Sample code: Caches_Update.
+ * Sample code: ExternalSvms_Update.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void cachesUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- Cache resource = manager.caches()
- .getWithResponse("myRG", "account1", "pool1", "cache1", com.azure.core.util.Context.NONE)
+ public static void externalSvmsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ ExternalSvm resource = manager.externalSvms()
+ .getWithResponse("contosoNetAppRg", "contoso-external-cluster", "contoso-svm",
+ com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withProperties(new CacheUpdateProperties().withSize(214748364800L)).apply();
+ resource.update().withTags(mapOf("environment", "production")).apply();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
@@ -1507,7 +3653,7 @@ import com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest;
*/
public final class NetAppResourceCheckFilePathAvailabilitySamples {
/*
- * x-ms-original-file: 2026-08-01/CheckFilePathAvailability.json
+ * x-ms-original-file: 2026-08-15-preview/CheckFilePathAvailability.json
*/
/**
* Sample code: CheckFilePathAvailability.
@@ -1536,7 +3682,7 @@ import com.azure.resourcemanager.netapp.models.ResourceNameAvailabilityRequest;
*/
public final class NetAppResourceCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: 2026-08-01/CheckNameAvailability.json
+ * x-ms-original-file: 2026-08-15-preview/CheckNameAvailability.json
*/
/**
* Sample code: CheckNameAvailability.
@@ -1565,7 +3711,7 @@ import com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest;
*/
public final class NetAppResourceCheckQuotaAvailabilitySamples {
/*
- * x-ms-original-file: 2026-08-01/CheckQuotaAvailability.json
+ * x-ms-original-file: 2026-08-15-preview/CheckQuotaAvailability.json
*/
/**
* Sample code: CheckQuotaAvailability.
@@ -1593,7 +3739,7 @@ import com.azure.resourcemanager.netapp.models.QueryNetworkSiblingSetRequest;
*/
public final class NetAppResourceQueryNetworkSiblingSetSamples {
/*
- * x-ms-original-file: 2026-08-01/NetworkSiblingSet_Query.json
+ * x-ms-original-file: 2026-08-15-preview/NetworkSiblingSet_Query.json
*/
/**
* Sample code: NetworkSiblingSet_Query.
@@ -1619,7 +3765,7 @@ public final class NetAppResourceQueryNetworkSiblingSetSamples {
*/
public final class NetAppResourceQueryRegionInfoSamples {
/*
- * x-ms-original-file: 2026-08-01/RegionInfo.json
+ * x-ms-original-file: 2026-08-15-preview/RegionInfo.json
*/
/**
* Sample code: RegionInfo_Query.
@@ -1643,7 +3789,7 @@ import com.azure.resourcemanager.netapp.models.UpdateNetworkSiblingSetRequest;
*/
public final class NetAppResourceUpdateNetworkSiblingSetSamples {
/*
- * x-ms-original-file: 2026-08-01/NetworkSiblingSet_Update.json
+ * x-ms-original-file: 2026-08-15-preview/NetworkSiblingSet_Update.json
*/
/**
* Sample code: NetworkFeatures_Update.
@@ -1670,7 +3816,7 @@ public final class NetAppResourceUpdateNetworkSiblingSetSamples {
*/
public final class NetAppResourceQuotaLimitsGetSamples {
/*
- * x-ms-original-file: 2026-08-01/NetAppResourceQuotaLimits_Get.json
+ * x-ms-original-file: 2026-08-15-preview/NetAppResourceQuotaLimits_Get.json
*/
/**
* Sample code: QuotaLimits.
@@ -1692,7 +3838,7 @@ public final class NetAppResourceQuotaLimitsGetSamples {
*/
public final class NetAppResourceQuotaLimitsListSamples {
/*
- * x-ms-original-file: 2026-08-01/NetAppResourceQuotaLimits_List.json
+ * x-ms-original-file: 2026-08-15-preview/NetAppResourceQuotaLimits_List.json
*/
/**
* Sample code: QuotaLimits.
@@ -1713,7 +3859,7 @@ public final class NetAppResourceQuotaLimitsListSamples {
*/
public final class NetAppResourceQuotaLimitsAccountGetSamples {
/*
- * x-ms-original-file: 2026-08-01/NetAppResourceQuotaLimitsAccount_Get.json
+ * x-ms-original-file: 2026-08-15-preview/NetAppResourceQuotaLimitsAccount_Get.json
*/
/**
* Sample code: QuotaLimits.
@@ -1735,7 +3881,7 @@ public final class NetAppResourceQuotaLimitsAccountGetSamples {
*/
public final class NetAppResourceQuotaLimitsAccountListSamples {
/*
- * x-ms-original-file: 2026-08-01/NetAppResourceQuotaLimitsAccount_List.json
+ * x-ms-original-file: 2026-08-15-preview/NetAppResourceQuotaLimitsAccount_List.json
*/
/**
* Sample code: QuotaLimits.
@@ -1756,7 +3902,7 @@ public final class NetAppResourceQuotaLimitsAccountListSamples {
*/
public final class NetAppResourceRegionInfosGetSamples {
/*
- * x-ms-original-file: 2026-08-01/RegionInfos_Get.json
+ * x-ms-original-file: 2026-08-15-preview/RegionInfos_Get.json
*/
/**
* Sample code: RegionInfos_Get.
@@ -1777,7 +3923,7 @@ public final class NetAppResourceRegionInfosGetSamples {
*/
public final class NetAppResourceRegionInfosListSamples {
/*
- * x-ms-original-file: 2026-08-01/RegionInfos_List.json
+ * x-ms-original-file: 2026-08-15-preview/RegionInfos_List.json
*/
/**
* Sample code: RegionInfos_List.
@@ -1798,7 +3944,7 @@ public final class NetAppResourceRegionInfosListSamples {
*/
public final class NetAppResourceUsagesGetSamples {
/*
- * x-ms-original-file: 2026-08-01/Usages_Get.json
+ * x-ms-original-file: 2026-08-15-preview/Usages_Get.json
*/
/**
* Sample code: Usages_Get.
@@ -1820,7 +3966,7 @@ public final class NetAppResourceUsagesGetSamples {
*/
public final class NetAppResourceUsagesListSamples {
/*
- * x-ms-original-file: 2026-08-01/Usages_List.json
+ * x-ms-original-file: 2026-08-15-preview/Usages_List.json
*/
/**
* Sample code: Usages_List.
@@ -1841,7 +3987,7 @@ public final class NetAppResourceUsagesListSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2026-08-01/OperationList.json
+ * x-ms-original-file: 2026-08-15-preview/OperationList.json
*/
/**
* Sample code: OperationList.
@@ -1865,7 +4011,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel;
*/
public final class PoolsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Pools_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-15-preview/Pools_CreateOrUpdate.json
*/
/**
* Sample code: Pools_CreateOrUpdate.
@@ -1884,7 +4030,7 @@ public final class PoolsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2026-08-01/Pools_CreateOrUpdate_CustomThroughput.json
+ * x-ms-original-file: 2026-08-15-preview/Pools_CreateOrUpdate_CustomThroughput.json
*/
/**
* Sample code: Pools_CreateOrUpdate_CustomThroughput.
@@ -1914,7 +4060,7 @@ public final class PoolsCreateOrUpdateSamples {
*/
public final class PoolsDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/Pools_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/Pools_Delete.json
*/
/**
* Sample code: Pools_Delete.
@@ -1935,7 +4081,7 @@ public final class PoolsDeleteSamples {
*/
public final class PoolsGetSamples {
/*
- * x-ms-original-file: 2026-08-01/Pools_Get_CustomThroughput.json
+ * x-ms-original-file: 2026-08-15-preview/Pools_Get_CustomThroughput.json
*/
/**
* Sample code: Pools_Get_CustomThroughput.
@@ -1947,7 +4093,7 @@ public final class PoolsGetSamples {
}
/*
- * x-ms-original-file: 2026-08-01/Pools_Get.json
+ * x-ms-original-file: 2026-08-15-preview/Pools_Get.json
*/
/**
* Sample code: Pools_Get.
@@ -1968,7 +4114,7 @@ public final class PoolsGetSamples {
*/
public final class PoolsListSamples {
/*
- * x-ms-original-file: 2026-08-01/Pools_List.json
+ * x-ms-original-file: 2026-08-15-preview/Pools_List.json
*/
/**
* Sample code: Pools_List.
@@ -1991,7 +4137,7 @@ import com.azure.resourcemanager.netapp.models.CapacityPool;
*/
public final class PoolsUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Pools_Update.json
+ * x-ms-original-file: 2026-08-15-preview/Pools_Update.json
*/
/**
* Sample code: Pools_Update.
@@ -2005,7 +4151,7 @@ public final class PoolsUpdateSamples {
}
/*
- * x-ms-original-file: 2026-08-01/Pools_Update_CustomThroughput.json
+ * x-ms-original-file: 2026-08-15-preview/Pools_Update_CustomThroughput.json
*/
/**
* Sample code: Pools_Update_CustomThroughput.
@@ -2033,7 +4179,7 @@ import java.util.Arrays;
*/
public final class RansomwareReportsClearSuspectsSamples {
/*
- * x-ms-original-file: 2026-08-01/RansomwareReports_ClearSuspects.json
+ * x-ms-original-file: 2026-08-15-preview/RansomwareReports_ClearSuspects.json
*/
/**
* Sample code: RansomwareReports_ClearSuspects.
@@ -2058,7 +4204,7 @@ public final class RansomwareReportsClearSuspectsSamples {
*/
public final class RansomwareReportsGetSamples {
/*
- * x-ms-original-file: 2026-08-01/RansomwareReports_Get.json
+ * x-ms-original-file: 2026-08-15-preview/RansomwareReports_Get.json
*/
/**
* Sample code: RansomwareReports_Get.
@@ -2081,7 +4227,7 @@ public final class RansomwareReportsGetSamples {
*/
public final class RansomwareReportsListSamples {
/*
- * x-ms-original-file: 2026-08-01/RansomwareReports_List.json
+ * x-ms-original-file: 2026-08-15-preview/RansomwareReports_List.json
*/
/**
* Sample code: RansomwareReports_List.
@@ -2107,7 +4253,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule;
*/
public final class SnapshotPoliciesCreateSamples {
/*
- * x-ms-original-file: 2026-08-01/SnapshotPolicies_Create.json
+ * x-ms-original-file: 2026-08-15-preview/SnapshotPolicies_Create.json
*/
/**
* Sample code: SnapshotPolicies_Create.
@@ -2139,7 +4285,7 @@ public final class SnapshotPoliciesCreateSamples {
*/
public final class SnapshotPoliciesDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/SnapshotPolicies_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/SnapshotPolicies_Delete.json
*/
/**
* Sample code: SnapshotPolicies_Delete.
@@ -2161,7 +4307,7 @@ public final class SnapshotPoliciesDeleteSamples {
*/
public final class SnapshotPoliciesGetSamples {
/*
- * x-ms-original-file: 2026-08-01/SnapshotPolicies_Get.json
+ * x-ms-original-file: 2026-08-15-preview/SnapshotPolicies_Get.json
*/
/**
* Sample code: SnapshotPolicies_Get.
@@ -2183,7 +4329,7 @@ public final class SnapshotPoliciesGetSamples {
*/
public final class SnapshotPoliciesListSamples {
/*
- * x-ms-original-file: 2026-08-01/SnapshotPolicies_List.json
+ * x-ms-original-file: 2026-08-15-preview/SnapshotPolicies_List.json
*/
/**
* Sample code: SnapshotPolicies_List.
@@ -2204,7 +4350,7 @@ public final class SnapshotPoliciesListSamples {
*/
public final class SnapshotPoliciesListVolumesSamples {
/*
- * x-ms-original-file: 2026-08-01/SnapshotPolicies_ListVolumes.json
+ * x-ms-original-file: 2026-08-15-preview/SnapshotPolicies_ListVolumes.json
*/
/**
* Sample code: SnapshotPolicies_ListVolumes.
@@ -2232,7 +4378,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule;
*/
public final class SnapshotPoliciesUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/SnapshotPolicies_Update.json
+ * x-ms-original-file: 2026-08-15-preview/SnapshotPolicies_Update.json
*/
/**
* Sample code: SnapshotPolicies_Update.
@@ -2264,7 +4410,7 @@ public final class SnapshotPoliciesUpdateSamples {
*/
public final class SnapshotsCreateSamples {
/*
- * x-ms-original-file: 2026-08-01/Snapshots_Create.json
+ * x-ms-original-file: 2026-08-15-preview/Snapshots_Create.json
*/
/**
* Sample code: Snapshots_Create.
@@ -2289,7 +4435,7 @@ public final class SnapshotsCreateSamples {
*/
public final class SnapshotsDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/Snapshots_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/Snapshots_Delete.json
*/
/**
* Sample code: Snapshots_Delete.
@@ -2311,7 +4457,7 @@ public final class SnapshotsDeleteSamples {
*/
public final class SnapshotsGetSamples {
/*
- * x-ms-original-file: 2026-08-01/Snapshots_Get.json
+ * x-ms-original-file: 2026-08-15-preview/Snapshots_Get.json
*/
/**
* Sample code: Snapshots_Get.
@@ -2333,7 +4479,7 @@ public final class SnapshotsGetSamples {
*/
public final class SnapshotsListSamples {
/*
- * x-ms-original-file: 2026-08-01/Snapshots_List.json
+ * x-ms-original-file: 2026-08-15-preview/Snapshots_List.json
*/
/**
* Sample code: Snapshots_List.
@@ -2357,7 +4503,7 @@ import java.util.Arrays;
*/
public final class SnapshotsRestoreFilesSamples {
/*
- * x-ms-original-file: 2026-08-01/Snapshots_SingleFileRestore.json
+ * x-ms-original-file: 2026-08-15-preview/Snapshots_SingleFileRestore.json
*/
/**
* Sample code: Snapshots_SingleFileRestore.
@@ -2381,7 +4527,7 @@ public final class SnapshotsRestoreFilesSamples {
*/
public final class SubvolumesCreateSamples {
/*
- * x-ms-original-file: 2026-08-01/Subvolumes_Create.json
+ * x-ms-original-file: 2026-08-15-preview/Subvolumes_Create.json
*/
/**
* Sample code: Subvolumes_Create.
@@ -2406,7 +4552,7 @@ public final class SubvolumesCreateSamples {
*/
public final class SubvolumesDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/Subvolumes_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/Subvolumes_Delete.json
*/
/**
* Sample code: Subvolumes_Delete.
@@ -2428,7 +4574,7 @@ public final class SubvolumesDeleteSamples {
*/
public final class SubvolumesGetSamples {
/*
- * x-ms-original-file: 2026-08-01/Subvolumes_Get.json
+ * x-ms-original-file: 2026-08-15-preview/Subvolumes_Get.json
*/
/**
* Sample code: Subvolumes_Get.
@@ -2450,7 +4596,7 @@ public final class SubvolumesGetSamples {
*/
public final class SubvolumesGetMetadataSamples {
/*
- * x-ms-original-file: 2026-08-01/Subvolumes_Metadata.json
+ * x-ms-original-file: 2026-08-15-preview/Subvolumes_Metadata.json
*/
/**
* Sample code: Subvolumes_Metadata.
@@ -2472,7 +4618,7 @@ public final class SubvolumesGetMetadataSamples {
*/
public final class SubvolumesListByVolumeSamples {
/*
- * x-ms-original-file: 2026-08-01/Subvolumes_List.json
+ * x-ms-original-file: 2026-08-15-preview/Subvolumes_List.json
*/
/**
* Sample code: Subvolumes_List.
@@ -2495,7 +4641,7 @@ import com.azure.resourcemanager.netapp.models.SubvolumeInfo;
*/
public final class SubvolumesUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Subvolumes_Update.json
+ * x-ms-original-file: 2026-08-15-preview/Subvolumes_Update.json
*/
/**
* Sample code: Subvolumes_Update.
@@ -2511,6 +4657,51 @@ public final class SubvolumesUpdateSamples {
}
```
+### SvmPeers_Get
+
+```java
+/**
+ * Samples for SvmPeers Get.
+ */
+public final class SvmPeersGetSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/SvmPeers_Get.json
+ */
+ /**
+ * Sample code: SvmPeers_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void svmPeersGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.svmPeers()
+ .getWithResponse("contosoNetAppRg", "contoso-external-cluster", "peerA", "contoso-svm-peer-a",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### SvmPeers_ListByParent
+
+```java
+/**
+ * Samples for SvmPeers ListByParent.
+ */
+public final class SvmPeersListByParentSamples {
+ /*
+ * x-ms-original-file: 2026-08-15-preview/SvmPeers_ListByParent.json
+ */
+ /**
+ * Sample code: SvmPeers_ListByParent.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void svmPeersListByParent(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.svmPeers()
+ .listByParent("contosoNetAppRg", "contoso-external-cluster", "peerA", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### VolumeGroups_Create
```java
@@ -2530,7 +4721,7 @@ import java.util.Arrays;
*/
public final class VolumeGroupsCreateSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Create_SapHana.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Create_SapHana.json
*/
/**
* Sample code: VolumeGroups_Create_SapHana.
@@ -2690,7 +4881,7 @@ public final class VolumeGroupsCreateSamples {
}
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Create_Oracle.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Create_Oracle.json
*/
/**
* Sample code: VolumeGroups_Create_Oracle.
@@ -3034,7 +5225,7 @@ public final class VolumeGroupsCreateSamples {
}
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Create_Custom.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Create_Custom.json
*/
/**
* Sample code: VolumeGroups_Create_Custom.
@@ -3378,7 +5569,7 @@ public final class VolumeGroupsCreateSamples {
}
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Create_Custom_SMB.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Create_Custom_SMB.json
*/
/**
* Sample code: VolumeGroups_Create_Custom_SMB.
@@ -3610,7 +5801,7 @@ public final class VolumeGroupsCreateSamples {
*/
public final class VolumeGroupsDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Delete.json
*/
/**
* Sample code: VolumeGroups_Delete.
@@ -3631,7 +5822,7 @@ public final class VolumeGroupsDeleteSamples {
*/
public final class VolumeGroupsGetSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Get_Custom.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Get_Custom.json
*/
/**
* Sample code: VolumeGroups_Get_Custom.
@@ -3643,7 +5834,7 @@ public final class VolumeGroupsGetSamples {
}
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Get_SapHana.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Get_SapHana.json
*/
/**
* Sample code: VolumeGroups_Get_SapHana.
@@ -3655,7 +5846,7 @@ public final class VolumeGroupsGetSamples {
}
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Get_Custom_SMB.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Get_Custom_SMB.json
*/
/**
* Sample code: VolumeGroups_Get_Custom_SMB.
@@ -3667,7 +5858,7 @@ public final class VolumeGroupsGetSamples {
}
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_Get_Oracle.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_Get_Oracle.json
*/
/**
* Sample code: VolumeGroups_Get_Oracle.
@@ -3688,7 +5879,7 @@ public final class VolumeGroupsGetSamples {
*/
public final class VolumeGroupsListByNetAppAccountSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_List_Custom.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_List_Custom.json
*/
/**
* Sample code: VolumeGroups_List_Custom.
@@ -3700,7 +5891,7 @@ public final class VolumeGroupsListByNetAppAccountSamples {
}
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_List_Oracle.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_List_Oracle.json
*/
/**
* Sample code: VolumeGroups_List_Oracle.
@@ -3712,7 +5903,7 @@ public final class VolumeGroupsListByNetAppAccountSamples {
}
/*
- * x-ms-original-file: 2026-08-01/VolumeGroups_List_SapHana.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeGroups_List_SapHana.json
*/
/**
* Sample code: VolumeGroups_List_SapHana.
@@ -3735,7 +5926,7 @@ import com.azure.resourcemanager.netapp.models.QuotaType;
*/
public final class VolumeQuotaRulesCreateSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeQuotaRules_Create.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeQuotaRules_Create.json
*/
/**
* Sample code: VolumeQuotaRules_Create.
@@ -3763,7 +5954,7 @@ public final class VolumeQuotaRulesCreateSamples {
*/
public final class VolumeQuotaRulesDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeQuotaRules_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeQuotaRules_Delete.json
*/
/**
* Sample code: VolumeQuotaRules_Delete.
@@ -3785,7 +5976,7 @@ public final class VolumeQuotaRulesDeleteSamples {
*/
public final class VolumeQuotaRulesGetSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeQuotaRules_Get.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeQuotaRules_Get.json
*/
/**
* Sample code: VolumeQuotaRules_Get.
@@ -3808,7 +5999,7 @@ public final class VolumeQuotaRulesGetSamples {
*/
public final class VolumeQuotaRulesListByVolumeSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeQuotaRules_List.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeQuotaRules_List.json
*/
/**
* Sample code: VolumeQuotaRules_List.
@@ -3832,7 +6023,7 @@ import com.azure.resourcemanager.netapp.models.VolumeQuotaRule;
*/
public final class VolumeQuotaRulesUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/VolumeQuotaRules_Update.json
+ * x-ms-original-file: 2026-08-15-preview/VolumeQuotaRules_Update.json
*/
/**
* Sample code: VolumeQuotaRules_Update.
@@ -3857,7 +6048,7 @@ public final class VolumeQuotaRulesUpdateSamples {
*/
public final class VolumesAuthorizeExternalReplicationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_AuthorizeExternalReplication.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_AuthorizeExternalReplication.json
*/
/**
* Sample code: Volumes_AuthorizeExternalReplication.
@@ -3882,7 +6073,7 @@ import com.azure.resourcemanager.netapp.models.AuthorizeRequest;
*/
public final class VolumesAuthorizeReplicationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_AuthorizeReplication.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_AuthorizeReplication.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -3909,7 +6100,7 @@ import com.azure.resourcemanager.netapp.models.BreakFileLocksRequest;
*/
public final class VolumesBreakFileLocksSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_BreakFileLocks.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_BreakFileLocks.json
*/
/**
* Sample code: Volumes_BreakFileLocks.
@@ -3935,7 +6126,7 @@ import com.azure.resourcemanager.netapp.models.BreakReplicationRequest;
*/
public final class VolumesBreakReplicationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_BreakReplication.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_BreakReplication.json
*/
/**
* Sample code: Volumes_BreakReplication.
@@ -3953,14 +6144,20 @@ public final class VolumesBreakReplicationSamples {
### Volumes_CreateOrUpdate
```java
+import com.azure.resourcemanager.netapp.models.AsyncDirectoryDelete;
+import com.azure.resourcemanager.netapp.models.AsyncDirectoryDeleteStatus;
import com.azure.resourcemanager.netapp.models.ServiceLevel;
+import com.azure.resourcemanager.netapp.models.SmbAccessBasedEnumeration;
+import com.azure.resourcemanager.netapp.models.SmbNonBrowsable;
+import com.azure.resourcemanager.netapp.models.SmbOplocks;
+import java.util.Arrays;
/**
* Samples for Volumes CreateOrUpdate.
*/
public final class VolumesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_CreateOrUpdate.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_CreateOrUpdate.json
*/
/**
* Sample code: Volumes_CreateOrUpdate.
@@ -3977,6 +6174,35 @@ public final class VolumesCreateOrUpdateSamples {
.withSubnetId(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
.withServiceLevel(ServiceLevel.PREMIUM)
+ .withAsyncDirectoryDelete(
+ new AsyncDirectoryDelete().withStatus(AsyncDirectoryDeleteStatus.ENABLED).withTrashBinName("trash"))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-08-15-preview/Volumes_CreateOrUpdate_SMB.json
+ */
+ /**
+ * Sample code: Volumes_CreateOrUpdate_SMB.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumesCreateOrUpdateSMB(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.volumes()
+ .define("volume1")
+ .withRegion("eastus")
+ .withExistingCapacityPool("myRG", "account1", "pool1")
+ .withCreationToken("my-smb-volume")
+ .withUsageThreshold(107374182400L)
+ .withSubnetId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
+ .withServiceLevel(ServiceLevel.PREMIUM)
+ .withProtocolTypes(Arrays.asList("CIFS"))
+ .withSmbEncryption(true)
+ .withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration.ENABLED)
+ .withSmbNonBrowsable(SmbNonBrowsable.ENABLED)
+ .withSmbContinuouslyAvailable(true)
+ .withSmbOplocks(SmbOplocks.ENABLED)
.create();
}
}
@@ -3990,7 +6216,7 @@ public final class VolumesCreateOrUpdateSamples {
*/
public final class VolumesDeleteSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_Delete.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_Delete.json
*/
/**
* Sample code: Volumes_Delete.
@@ -4011,7 +6237,7 @@ public final class VolumesDeleteSamples {
*/
public final class VolumesDeleteReplicationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_DeleteReplication.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_DeleteReplication.json
*/
/**
* Sample code: Volumes_DeleteReplication.
@@ -4032,7 +6258,7 @@ public final class VolumesDeleteReplicationSamples {
*/
public final class VolumesFinalizeExternalReplicationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_FinalizeExternalReplication.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_FinalizeExternalReplication.json
*/
/**
* Sample code: Volumes_FinalizeExternalReplication.
@@ -4054,7 +6280,7 @@ public final class VolumesFinalizeExternalReplicationSamples {
*/
public final class VolumesFinalizeRelocationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_FinalizeRelocation.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_FinalizeRelocation.json
*/
/**
* Sample code: Volumes_FinalizeRelocation.
@@ -4075,7 +6301,7 @@ public final class VolumesFinalizeRelocationSamples {
*/
public final class VolumesGetSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ExtraLargeVolumes_Get.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ExtraLargeVolumes_Get.json
*/
/**
* Sample code: Volumes_ExtralargeVolumeGet.
@@ -4087,7 +6313,7 @@ public final class VolumesGetSamples {
}
/*
- * x-ms-original-file: 2026-08-01/Volumes_Get.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_Get.json
*/
/**
* Sample code: Volumes_Get.
@@ -4108,7 +6334,7 @@ public final class VolumesGetSamples {
*/
public final class VolumesListSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ExtraLargeVolumes_List.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ExtraLargeVolumes_List.json
*/
/**
* Sample code: Volumes_ExtralargeVolumeList.
@@ -4120,7 +6346,7 @@ public final class VolumesListSamples {
}
/*
- * x-ms-original-file: 2026-08-01/Volumes_List.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_List.json
*/
/**
* Sample code: Volumes_List.
@@ -4143,7 +6369,7 @@ import com.azure.resourcemanager.netapp.models.GetGroupIdListForLdapUserRequest;
*/
public final class VolumesListGetGroupIdListForLdapUserSamples {
/*
- * x-ms-original-file: 2026-08-01/GroupIdListForLDAPUser.json
+ * x-ms-original-file: 2026-08-15-preview/GroupIdListForLDAPUser.json
*/
/**
* Sample code: GetGroupIdListForUser.
@@ -4167,7 +6393,7 @@ public final class VolumesListGetGroupIdListForLdapUserSamples {
*/
public final class VolumesListQuotaReportSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ListQuotaReport.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ListQuotaReport.json
*/
/**
* Sample code: ListQuotaReport.
@@ -4192,7 +6418,7 @@ import com.azure.resourcemanager.netapp.models.ListReplicationsRequest;
*/
public final class VolumesListReplicationsSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ListReplications.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ListReplications.json
*/
/**
* Sample code: Volumes_ListReplications.
@@ -4218,7 +6444,7 @@ import java.util.Arrays;
*/
public final class VolumesPeerExternalClusterSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_PeerExternalCluster.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_PeerExternalCluster.json
*/
/**
* Sample code: Volumes_PeerExternalCluster.
@@ -4243,7 +6469,7 @@ public final class VolumesPeerExternalClusterSamples {
*/
public final class VolumesPerformReplicationTransferSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_PerformReplicationTransfer.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_PerformReplicationTransfer.json
*/
/**
* Sample code: Volumes_PerformReplicationTransfer.
@@ -4267,7 +6493,7 @@ import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
*/
public final class VolumesPoolChangeSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_PoolChange.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_PoolChange.json
*/
/**
* Sample code: Volumes_PoolChange.
@@ -4291,7 +6517,7 @@ public final class VolumesPoolChangeSamples {
*/
public final class VolumesPopulateAvailabilityZoneSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_PopulateAvailabilityZones.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_PopulateAvailabilityZones.json
*/
/**
* Sample code: Volumes_PopulateAvailabilityZones.
@@ -4313,7 +6539,7 @@ public final class VolumesPopulateAvailabilityZoneSamples {
*/
public final class VolumesReInitializeReplicationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ReInitializeReplication.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ReInitializeReplication.json
*/
/**
* Sample code: Volumes_ReInitializeReplication.
@@ -4337,7 +6563,7 @@ import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest;
*/
public final class VolumesReestablishReplicationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ReestablishReplication.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ReestablishReplication.json
*/
/**
* Sample code: Volumes_ReestablishReplication.
@@ -4364,7 +6590,7 @@ import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest;
*/
public final class VolumesRelocateSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_Relocate.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_Relocate.json
*/
/**
* Sample code: Volumes_Relocate.
@@ -4387,7 +6613,7 @@ public final class VolumesRelocateSamples {
*/
public final class VolumesReplicationStatusSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ReplicationStatus.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ReplicationStatus.json
*/
/**
* Sample code: Volumes_ReplicationStatus.
@@ -4409,7 +6635,7 @@ public final class VolumesReplicationStatusSamples {
*/
public final class VolumesResetCifsPasswordSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ResetCifsPassword.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ResetCifsPassword.json
*/
/**
* Sample code: Volumes_ResetCifsPassword.
@@ -4430,7 +6656,7 @@ public final class VolumesResetCifsPasswordSamples {
*/
public final class VolumesResyncReplicationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_ResyncReplication.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_ResyncReplication.json
*/
/**
* Sample code: Volumes_ResyncReplication.
@@ -4453,7 +6679,7 @@ import com.azure.resourcemanager.netapp.models.VolumeRevert;
*/
public final class VolumesRevertSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_Revert.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_Revert.json
*/
/**
* Sample code: Volumes_Revert.
@@ -4477,7 +6703,7 @@ public final class VolumesRevertSamples {
*/
public final class VolumesRevertRelocationSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_RevertRelocation.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_RevertRelocation.json
*/
/**
* Sample code: Volumes_RevertRelocation.
@@ -4498,7 +6724,7 @@ public final class VolumesRevertRelocationSamples {
*/
public final class VolumesSplitCloneFromParentSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_SplitClone.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_SplitClone.json
*/
/**
* Sample code: Volumes_SplitClone.
@@ -4515,6 +6741,8 @@ public final class VolumesSplitCloneFromParentSamples {
### Volumes_Update
```java
+import com.azure.resourcemanager.netapp.models.AsyncDirectoryDelete;
+import com.azure.resourcemanager.netapp.models.AsyncDirectoryDeleteStatus;
import com.azure.resourcemanager.netapp.models.Volume;
/**
@@ -4522,7 +6750,7 @@ import com.azure.resourcemanager.netapp.models.Volume;
*/
public final class VolumesUpdateSamples {
/*
- * x-ms-original-file: 2026-08-01/Volumes_Update.json
+ * x-ms-original-file: 2026-08-15-preview/Volumes_Update.json
*/
/**
* Sample code: Volumes_Update.
@@ -4533,7 +6761,10 @@ public final class VolumesUpdateSamples {
Volume resource = manager.volumes()
.getWithResponse("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE)
.getValue();
- resource.update().apply();
+ resource.update()
+ .withAsyncDirectoryDelete(
+ new AsyncDirectoryDelete().withStatus(AsyncDirectoryDeleteStatus.ENABLED).withTrashBinName("trash"))
+ .apply();
}
}
```
diff --git a/sdk/netapp/azure-resourcemanager-netapp/pom.xml b/sdk/netapp/azure-resourcemanager-netapp/pom.xml
index bb9ef21616fa8..e5570acc0d0b6 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/pom.xml
+++ b/sdk/netapp/azure-resourcemanager-netapp/pom.xml
@@ -18,7 +18,7 @@
jar
Microsoft Azure SDK for NetAppFiles Management
- This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package api-version 2026-08-01.
+ This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package api-version 2026-08-15-preview.
https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java
index cded158586b5c..7db53ce9b6e53 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java
@@ -26,6 +26,7 @@
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.netapp.fluent.NetAppManagementClient;
import com.azure.resourcemanager.netapp.implementation.AccountsImpl;
+import com.azure.resourcemanager.netapp.implementation.ActiveDirectoryConfigsImpl;
import com.azure.resourcemanager.netapp.implementation.BackupPoliciesImpl;
import com.azure.resourcemanager.netapp.implementation.BackupVaultsImpl;
import com.azure.resourcemanager.netapp.implementation.BackupsImpl;
@@ -34,6 +35,19 @@
import com.azure.resourcemanager.netapp.implementation.BackupsUnderVolumesImpl;
import com.azure.resourcemanager.netapp.implementation.BucketsImpl;
import com.azure.resourcemanager.netapp.implementation.CachesImpl;
+import com.azure.resourcemanager.netapp.implementation.ClusterPeersImpl;
+import com.azure.resourcemanager.netapp.implementation.ElasticAccountsImpl;
+import com.azure.resourcemanager.netapp.implementation.ElasticBackupPoliciesImpl;
+import com.azure.resourcemanager.netapp.implementation.ElasticBackupVaultsImpl;
+import com.azure.resourcemanager.netapp.implementation.ElasticBackupsImpl;
+import com.azure.resourcemanager.netapp.implementation.ElasticCapacityPoolsImpl;
+import com.azure.resourcemanager.netapp.implementation.ElasticSnapshotPoliciesImpl;
+import com.azure.resourcemanager.netapp.implementation.ElasticSnapshotsImpl;
+import com.azure.resourcemanager.netapp.implementation.ElasticVolumesImpl;
+import com.azure.resourcemanager.netapp.implementation.ExternalCacheConnectionsImpl;
+import com.azure.resourcemanager.netapp.implementation.ExternalCachesImpl;
+import com.azure.resourcemanager.netapp.implementation.ExternalClustersImpl;
+import com.azure.resourcemanager.netapp.implementation.ExternalSvmsImpl;
import com.azure.resourcemanager.netapp.implementation.NetAppManagementClientBuilder;
import com.azure.resourcemanager.netapp.implementation.NetAppResourceQuotaLimitsAccountsImpl;
import com.azure.resourcemanager.netapp.implementation.NetAppResourceQuotaLimitsImpl;
@@ -46,10 +60,12 @@
import com.azure.resourcemanager.netapp.implementation.SnapshotPoliciesImpl;
import com.azure.resourcemanager.netapp.implementation.SnapshotsImpl;
import com.azure.resourcemanager.netapp.implementation.SubvolumesImpl;
+import com.azure.resourcemanager.netapp.implementation.SvmPeersImpl;
import com.azure.resourcemanager.netapp.implementation.VolumeGroupsImpl;
import com.azure.resourcemanager.netapp.implementation.VolumeQuotaRulesImpl;
import com.azure.resourcemanager.netapp.implementation.VolumesImpl;
import com.azure.resourcemanager.netapp.models.Accounts;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigs;
import com.azure.resourcemanager.netapp.models.BackupPolicies;
import com.azure.resourcemanager.netapp.models.BackupVaults;
import com.azure.resourcemanager.netapp.models.Backups;
@@ -58,6 +74,19 @@
import com.azure.resourcemanager.netapp.models.BackupsUnderVolumes;
import com.azure.resourcemanager.netapp.models.Buckets;
import com.azure.resourcemanager.netapp.models.Caches;
+import com.azure.resourcemanager.netapp.models.ClusterPeers;
+import com.azure.resourcemanager.netapp.models.ElasticAccounts;
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicies;
+import com.azure.resourcemanager.netapp.models.ElasticBackupVaults;
+import com.azure.resourcemanager.netapp.models.ElasticBackups;
+import com.azure.resourcemanager.netapp.models.ElasticCapacityPools;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicies;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshots;
+import com.azure.resourcemanager.netapp.models.ElasticVolumes;
+import com.azure.resourcemanager.netapp.models.ExternalCacheConnections;
+import com.azure.resourcemanager.netapp.models.ExternalCaches;
+import com.azure.resourcemanager.netapp.models.ExternalClusters;
+import com.azure.resourcemanager.netapp.models.ExternalSvms;
import com.azure.resourcemanager.netapp.models.NetAppResourceQuotaLimits;
import com.azure.resourcemanager.netapp.models.NetAppResourceQuotaLimitsAccounts;
import com.azure.resourcemanager.netapp.models.NetAppResourceRegionInfos;
@@ -69,6 +98,7 @@
import com.azure.resourcemanager.netapp.models.SnapshotPolicies;
import com.azure.resourcemanager.netapp.models.Snapshots;
import com.azure.resourcemanager.netapp.models.Subvolumes;
+import com.azure.resourcemanager.netapp.models.SvmPeers;
import com.azure.resourcemanager.netapp.models.VolumeGroups;
import com.azure.resourcemanager.netapp.models.VolumeQuotaRules;
import com.azure.resourcemanager.netapp.models.Volumes;
@@ -111,6 +141,36 @@ public final class NetAppFilesManager {
private Caches caches;
+ private ElasticAccounts elasticAccounts;
+
+ private ElasticCapacityPools elasticCapacityPools;
+
+ private ElasticVolumes elasticVolumes;
+
+ private ElasticSnapshots elasticSnapshots;
+
+ private ElasticSnapshotPolicies elasticSnapshotPolicies;
+
+ private ElasticBackupVaults elasticBackupVaults;
+
+ private ElasticBackupPolicies elasticBackupPolicies;
+
+ private ElasticBackups elasticBackups;
+
+ private ActiveDirectoryConfigs activeDirectoryConfigs;
+
+ private ExternalClusters externalClusters;
+
+ private ClusterPeers clusterPeers;
+
+ private ExternalSvms externalSvms;
+
+ private SvmPeers svmPeers;
+
+ private ExternalCaches externalCaches;
+
+ private ExternalCacheConnections externalCacheConnections;
+
private NetAppResourceQuotaLimits netAppResourceQuotaLimits;
private NetAppResourceRegionInfos netAppResourceRegionInfos;
@@ -503,6 +563,189 @@ public Caches caches() {
return caches;
}
+ /**
+ * Gets the resource collection API of ElasticAccounts. It manages ElasticAccount.
+ *
+ * @return Resource collection API of ElasticAccounts.
+ */
+ public ElasticAccounts elasticAccounts() {
+ if (this.elasticAccounts == null) {
+ this.elasticAccounts = new ElasticAccountsImpl(clientObject.getElasticAccounts(), this);
+ }
+ return elasticAccounts;
+ }
+
+ /**
+ * Gets the resource collection API of ElasticCapacityPools. It manages ElasticCapacityPool.
+ *
+ * @return Resource collection API of ElasticCapacityPools.
+ */
+ public ElasticCapacityPools elasticCapacityPools() {
+ if (this.elasticCapacityPools == null) {
+ this.elasticCapacityPools = new ElasticCapacityPoolsImpl(clientObject.getElasticCapacityPools(), this);
+ }
+ return elasticCapacityPools;
+ }
+
+ /**
+ * Gets the resource collection API of ElasticVolumes. It manages ElasticVolume.
+ *
+ * @return Resource collection API of ElasticVolumes.
+ */
+ public ElasticVolumes elasticVolumes() {
+ if (this.elasticVolumes == null) {
+ this.elasticVolumes = new ElasticVolumesImpl(clientObject.getElasticVolumes(), this);
+ }
+ return elasticVolumes;
+ }
+
+ /**
+ * Gets the resource collection API of ElasticSnapshots. It manages ElasticSnapshot.
+ *
+ * @return Resource collection API of ElasticSnapshots.
+ */
+ public ElasticSnapshots elasticSnapshots() {
+ if (this.elasticSnapshots == null) {
+ this.elasticSnapshots = new ElasticSnapshotsImpl(clientObject.getElasticSnapshots(), this);
+ }
+ return elasticSnapshots;
+ }
+
+ /**
+ * Gets the resource collection API of ElasticSnapshotPolicies. It manages ElasticSnapshotPolicy.
+ *
+ * @return Resource collection API of ElasticSnapshotPolicies.
+ */
+ public ElasticSnapshotPolicies elasticSnapshotPolicies() {
+ if (this.elasticSnapshotPolicies == null) {
+ this.elasticSnapshotPolicies
+ = new ElasticSnapshotPoliciesImpl(clientObject.getElasticSnapshotPolicies(), this);
+ }
+ return elasticSnapshotPolicies;
+ }
+
+ /**
+ * Gets the resource collection API of ElasticBackupVaults. It manages ElasticBackupVault.
+ *
+ * @return Resource collection API of ElasticBackupVaults.
+ */
+ public ElasticBackupVaults elasticBackupVaults() {
+ if (this.elasticBackupVaults == null) {
+ this.elasticBackupVaults = new ElasticBackupVaultsImpl(clientObject.getElasticBackupVaults(), this);
+ }
+ return elasticBackupVaults;
+ }
+
+ /**
+ * Gets the resource collection API of ElasticBackupPolicies. It manages ElasticBackupPolicy.
+ *
+ * @return Resource collection API of ElasticBackupPolicies.
+ */
+ public ElasticBackupPolicies elasticBackupPolicies() {
+ if (this.elasticBackupPolicies == null) {
+ this.elasticBackupPolicies = new ElasticBackupPoliciesImpl(clientObject.getElasticBackupPolicies(), this);
+ }
+ return elasticBackupPolicies;
+ }
+
+ /**
+ * Gets the resource collection API of ElasticBackups. It manages ElasticBackup.
+ *
+ * @return Resource collection API of ElasticBackups.
+ */
+ public ElasticBackups elasticBackups() {
+ if (this.elasticBackups == null) {
+ this.elasticBackups = new ElasticBackupsImpl(clientObject.getElasticBackups(), this);
+ }
+ return elasticBackups;
+ }
+
+ /**
+ * Gets the resource collection API of ActiveDirectoryConfigs. It manages ActiveDirectoryConfig.
+ *
+ * @return Resource collection API of ActiveDirectoryConfigs.
+ */
+ public ActiveDirectoryConfigs activeDirectoryConfigs() {
+ if (this.activeDirectoryConfigs == null) {
+ this.activeDirectoryConfigs
+ = new ActiveDirectoryConfigsImpl(clientObject.getActiveDirectoryConfigs(), this);
+ }
+ return activeDirectoryConfigs;
+ }
+
+ /**
+ * Gets the resource collection API of ExternalClusters. It manages ExternalCluster.
+ *
+ * @return Resource collection API of ExternalClusters.
+ */
+ public ExternalClusters externalClusters() {
+ if (this.externalClusters == null) {
+ this.externalClusters = new ExternalClustersImpl(clientObject.getExternalClusters(), this);
+ }
+ return externalClusters;
+ }
+
+ /**
+ * Gets the resource collection API of ClusterPeers.
+ *
+ * @return Resource collection API of ClusterPeers.
+ */
+ public ClusterPeers clusterPeers() {
+ if (this.clusterPeers == null) {
+ this.clusterPeers = new ClusterPeersImpl(clientObject.getClusterPeers(), this);
+ }
+ return clusterPeers;
+ }
+
+ /**
+ * Gets the resource collection API of ExternalSvms. It manages ExternalSvm.
+ *
+ * @return Resource collection API of ExternalSvms.
+ */
+ public ExternalSvms externalSvms() {
+ if (this.externalSvms == null) {
+ this.externalSvms = new ExternalSvmsImpl(clientObject.getExternalSvms(), this);
+ }
+ return externalSvms;
+ }
+
+ /**
+ * Gets the resource collection API of SvmPeers.
+ *
+ * @return Resource collection API of SvmPeers.
+ */
+ public SvmPeers svmPeers() {
+ if (this.svmPeers == null) {
+ this.svmPeers = new SvmPeersImpl(clientObject.getSvmPeers(), this);
+ }
+ return svmPeers;
+ }
+
+ /**
+ * Gets the resource collection API of ExternalCaches.
+ *
+ * @return Resource collection API of ExternalCaches.
+ */
+ public ExternalCaches externalCaches() {
+ if (this.externalCaches == null) {
+ this.externalCaches = new ExternalCachesImpl(clientObject.getExternalCaches(), this);
+ }
+ return externalCaches;
+ }
+
+ /**
+ * Gets the resource collection API of ExternalCacheConnections. It manages ExternalCacheConnection.
+ *
+ * @return Resource collection API of ExternalCacheConnections.
+ */
+ public ExternalCacheConnections externalCacheConnections() {
+ if (this.externalCacheConnections == null) {
+ this.externalCacheConnections
+ = new ExternalCacheConnectionsImpl(clientObject.getExternalCacheConnections(), this);
+ }
+ return externalCacheConnections;
+ }
+
/**
* Gets the resource collection API of NetAppResourceQuotaLimits.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ActiveDirectoryConfigsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ActiveDirectoryConfigsClient.java
new file mode 100644
index 0000000000000..ab9def2b09538
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ActiveDirectoryConfigsClient.java
@@ -0,0 +1,272 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ActiveDirectoryConfigInner;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ActiveDirectoryConfigsClient.
+ */
+public interface ActiveDirectoryConfigsClient {
+ /**
+ * Get the details of the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the details of the specified active directory configuration along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String activeDirectoryConfigName, Context context);
+
+ /**
+ * Get the details of the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the details of the specified active directory configuration.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActiveDirectoryConfigInner getByResourceGroup(String resourceGroupName, String activeDirectoryConfigName);
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ActiveDirectoryConfigInner> beginCreateOrUpdate(
+ String resourceGroupName, String activeDirectoryConfigName, ActiveDirectoryConfigInner body);
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ActiveDirectoryConfigInner> beginCreateOrUpdate(
+ String resourceGroupName, String activeDirectoryConfigName, ActiveDirectoryConfigInner body, Context context);
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActiveDirectoryConfigInner createOrUpdate(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigInner body);
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActiveDirectoryConfigInner createOrUpdate(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigInner body, Context context);
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ActiveDirectoryConfigInner> beginUpdate(String resourceGroupName,
+ String activeDirectoryConfigName, ActiveDirectoryConfigUpdate body);
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ActiveDirectoryConfigInner> beginUpdate(String resourceGroupName,
+ String activeDirectoryConfigName, ActiveDirectoryConfigUpdate body, Context context);
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActiveDirectoryConfigInner update(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigUpdate body);
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ActiveDirectoryConfigInner update(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigUpdate body, Context context);
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String activeDirectoryConfigName);
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String activeDirectoryConfigName,
+ Context context);
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String activeDirectoryConfigName);
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String activeDirectoryConfigName, Context context);
+
+ /**
+ * List all active directory configurations within the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ActiveDirectoryConfig list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List all active directory configurations within the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ActiveDirectoryConfig list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * List all active directory configurations within the subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ActiveDirectoryConfig list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all active directory configurations within the subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ActiveDirectoryConfig list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ClusterPeersClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ClusterPeersClient.java
new file mode 100644
index 0000000000000..bfaf688801eb0
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ClusterPeersClient.java
@@ -0,0 +1,74 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.netapp.fluent.models.ClusterPeerInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ClusterPeersClient.
+ */
+public interface ClusterPeersClient {
+ /**
+ * Get the Cluster Peer.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param peerId The name of the ClusterPeer.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Cluster Peer along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String externalClusterName, String peerId,
+ Context context);
+
+ /**
+ * Get the Cluster Peer.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param peerId The name of the ClusterPeer.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Cluster Peer.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ClusterPeerInner get(String resourceGroupName, String externalClusterName, String peerId);
+
+ /**
+ * List all Cluster Peers under an External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ClusterPeer list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String externalClusterName);
+
+ /**
+ * List all Cluster Peers under an External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ClusterPeer list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String externalClusterName, Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticAccountsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticAccountsClient.java
new file mode 100644
index 0000000000000..1b42177183dbc
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticAccountsClient.java
@@ -0,0 +1,269 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticAccountInner;
+import com.azure.resourcemanager.netapp.models.ElasticAccountUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ElasticAccountsClient.
+ */
+public interface ElasticAccountsClient {
+ /**
+ * Get the NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the NetApp Elastic Account along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String accountName,
+ Context context);
+
+ /**
+ * Get the NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the NetApp Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticAccountInner getByResourceGroup(String resourceGroupName, String accountName);
+
+ /**
+ * Create or update the specified NetApp Elastic Account within the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp elastic account resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticAccountInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, ElasticAccountInner body);
+
+ /**
+ * Create or update the specified NetApp Elastic Account within the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp elastic account resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticAccountInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, ElasticAccountInner body, Context context);
+
+ /**
+ * Create or update the specified NetApp Elastic Account within the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp elastic account resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticAccountInner createOrUpdate(String resourceGroupName, String accountName, ElasticAccountInner body);
+
+ /**
+ * Create or update the specified NetApp Elastic Account within the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp elastic account resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticAccountInner createOrUpdate(String resourceGroupName, String accountName, ElasticAccountInner body,
+ Context context);
+
+ /**
+ * Patch the specified NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp elastic account resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticAccountInner> beginUpdate(String resourceGroupName,
+ String accountName, ElasticAccountUpdate body);
+
+ /**
+ * Patch the specified NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp elastic account resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticAccountInner> beginUpdate(String resourceGroupName,
+ String accountName, ElasticAccountUpdate body, Context context);
+
+ /**
+ * Patch the specified NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp elastic account resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticAccountInner update(String resourceGroupName, String accountName, ElasticAccountUpdate body);
+
+ /**
+ * Patch the specified NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp elastic account resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticAccountInner update(String resourceGroupName, String accountName, ElasticAccountUpdate body,
+ Context context);
+
+ /**
+ * Delete the specified NetApp elastic account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName);
+
+ /**
+ * Delete the specified NetApp elastic account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, Context context);
+
+ /**
+ * Delete the specified NetApp elastic account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName);
+
+ /**
+ * Delete the specified NetApp elastic account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, Context context);
+
+ /**
+ * List and describe all NetApp elastic accounts in the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticAccount list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List and describe all NetApp elastic accounts in the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticAccount list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * List and describe all NetApp elastic accounts in the subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticAccount list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List and describe all NetApp elastic accounts in the subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticAccount list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupPoliciesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupPoliciesClient.java
new file mode 100644
index 0000000000000..12f8ec5cce35b
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupPoliciesClient.java
@@ -0,0 +1,269 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticBackupPolicyInner;
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicyUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ElasticBackupPoliciesClient.
+ */
+public interface ElasticBackupPoliciesClient {
+ /**
+ * Get the Elastic Backup Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Elastic Backup Policy along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName,
+ String backupPolicyName, Context context);
+
+ /**
+ * Get the Elastic Backup Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Elastic Backup Policy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupPolicyInner get(String resourceGroupName, String accountName, String backupPolicyName);
+
+ /**
+ * Create or update the specified Elastic Backup Policy in the NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupPolicyInner> beginCreateOrUpdate(
+ String resourceGroupName, String accountName, String backupPolicyName, ElasticBackupPolicyInner body);
+
+ /**
+ * Create or update the specified Elastic Backup Policy in the NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupPolicyInner> beginCreateOrUpdate(
+ String resourceGroupName, String accountName, String backupPolicyName, ElasticBackupPolicyInner body,
+ Context context);
+
+ /**
+ * Create or update the specified Elastic Backup Policy in the NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupPolicyInner createOrUpdate(String resourceGroupName, String accountName, String backupPolicyName,
+ ElasticBackupPolicyInner body);
+
+ /**
+ * Create or update the specified Elastic Backup Policy in the NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupPolicyInner createOrUpdate(String resourceGroupName, String accountName, String backupPolicyName,
+ ElasticBackupPolicyInner body, Context context);
+
+ /**
+ * Patch the specified NetApp Elastic Backup Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupPolicyInner> beginUpdate(String resourceGroupName,
+ String accountName, String backupPolicyName, ElasticBackupPolicyUpdate body);
+
+ /**
+ * Patch the specified NetApp Elastic Backup Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupPolicyInner> beginUpdate(String resourceGroupName,
+ String accountName, String backupPolicyName, ElasticBackupPolicyUpdate body, Context context);
+
+ /**
+ * Patch the specified NetApp Elastic Backup Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupPolicyInner update(String resourceGroupName, String accountName, String backupPolicyName,
+ ElasticBackupPolicyUpdate body);
+
+ /**
+ * Patch the specified NetApp Elastic Backup Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupPolicyInner update(String resourceGroupName, String accountName, String backupPolicyName,
+ ElasticBackupPolicyUpdate body, Context context);
+
+ /**
+ * Delete the specified Elastic Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName,
+ String backupPolicyName);
+
+ /**
+ * Delete the specified Elastic Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName,
+ String backupPolicyName, Context context);
+
+ /**
+ * Delete the specified Elastic Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String backupPolicyName);
+
+ /**
+ * Delete the specified Elastic Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupPolicyName The name of the ElasticBackupPolicy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String backupPolicyName, Context context);
+
+ /**
+ * List and describe all Elastic Backup Policies in the elastic account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticBackupPolicy list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticAccount(String resourceGroupName, String accountName);
+
+ /**
+ * List and describe all Elastic Backup Policies in the elastic account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticBackupPolicy list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticAccount(String resourceGroupName, String accountName,
+ Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupVaultsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupVaultsClient.java
new file mode 100644
index 0000000000000..7f9dfbb74b56c
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupVaultsClient.java
@@ -0,0 +1,269 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticBackupVaultInner;
+import com.azure.resourcemanager.netapp.models.ElasticBackupVaultUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ElasticBackupVaultsClient.
+ */
+public interface ElasticBackupVaultsClient {
+ /**
+ * Get the Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Elastic Backup Vault along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName,
+ String backupVaultName, Context context);
+
+ /**
+ * Get the Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupVaultInner get(String resourceGroupName, String accountName, String backupVaultName);
+
+ /**
+ * Create or update the specified Elastic Backup Vault in the Elastic NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupVaultInner> beginCreateOrUpdate(
+ String resourceGroupName, String accountName, String backupVaultName, ElasticBackupVaultInner body);
+
+ /**
+ * Create or update the specified Elastic Backup Vault in the Elastic NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupVaultInner> beginCreateOrUpdate(
+ String resourceGroupName, String accountName, String backupVaultName, ElasticBackupVaultInner body,
+ Context context);
+
+ /**
+ * Create or update the specified Elastic Backup Vault in the Elastic NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupVaultInner createOrUpdate(String resourceGroupName, String accountName, String backupVaultName,
+ ElasticBackupVaultInner body);
+
+ /**
+ * Create or update the specified Elastic Backup Vault in the Elastic NetApp account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupVaultInner createOrUpdate(String resourceGroupName, String accountName, String backupVaultName,
+ ElasticBackupVaultInner body, Context context);
+
+ /**
+ * Patch the specified NetApp Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupVaultInner> beginUpdate(String resourceGroupName,
+ String accountName, String backupVaultName, ElasticBackupVaultUpdate body);
+
+ /**
+ * Patch the specified NetApp Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupVaultInner> beginUpdate(String resourceGroupName,
+ String accountName, String backupVaultName, ElasticBackupVaultUpdate body, Context context);
+
+ /**
+ * Patch the specified NetApp Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupVaultInner update(String resourceGroupName, String accountName, String backupVaultName,
+ ElasticBackupVaultUpdate body);
+
+ /**
+ * Patch the specified NetApp Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupVaultInner update(String resourceGroupName, String accountName, String backupVaultName,
+ ElasticBackupVaultUpdate body, Context context);
+
+ /**
+ * Delete the specified Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName,
+ String backupVaultName);
+
+ /**
+ * Delete the specified Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String backupVaultName,
+ Context context);
+
+ /**
+ * Delete the specified Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String backupVaultName);
+
+ /**
+ * Delete the specified Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String backupVaultName, Context context);
+
+ /**
+ * List and describe all Elastic Backup Vaults in the elastic account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticBackupVault list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticAccount(String resourceGroupName, String accountName);
+
+ /**
+ * List and describe all Elastic Backup Vaults in the elastic account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticBackupVault list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticAccount(String resourceGroupName, String accountName,
+ Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupsClient.java
new file mode 100644
index 0000000000000..ea1cbfc596b46
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupsClient.java
@@ -0,0 +1,284 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticBackupInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ElasticBackupsClient.
+ */
+public interface ElasticBackupsClient {
+ /**
+ * Get the specified Elastic Backup under Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the specified Elastic Backup under Elastic Backup Vault along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String backupVaultName,
+ String backupName, Context context);
+
+ /**
+ * Get the specified Elastic Backup under Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the specified Elastic Backup under Elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupInner get(String resourceGroupName, String accountName, String backupVaultName, String backupName);
+
+ /**
+ * Create an elastic backup under the elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Backup under an elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, String backupVaultName, String backupName, ElasticBackupInner body);
+
+ /**
+ * Create an elastic backup under the elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Backup under an elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, String backupVaultName, String backupName, ElasticBackupInner body, Context context);
+
+ /**
+ * Create an elastic backup under the elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Backup under an elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupInner createOrUpdate(String resourceGroupName, String accountName, String backupVaultName,
+ String backupName, ElasticBackupInner body);
+
+ /**
+ * Create an elastic backup under the elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Backup under an elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupInner createOrUpdate(String resourceGroupName, String accountName, String backupVaultName,
+ String backupName, ElasticBackupInner body, Context context);
+
+ /**
+ * Patch an elastic Backup under the Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Backup under an elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupInner> beginUpdate(String resourceGroupName,
+ String accountName, String backupVaultName, String backupName, ElasticBackupInner body);
+
+ /**
+ * Patch an elastic Backup under the Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Backup under an elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticBackupInner> beginUpdate(String resourceGroupName,
+ String accountName, String backupVaultName, String backupName, ElasticBackupInner body, Context context);
+
+ /**
+ * Patch an elastic Backup under the Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Backup under an elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupInner update(String resourceGroupName, String accountName, String backupVaultName, String backupName,
+ ElasticBackupInner body);
+
+ /**
+ * Patch an elastic Backup under the Elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Backup under an elastic Backup Vault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupInner update(String resourceGroupName, String accountName, String backupVaultName, String backupName,
+ ElasticBackupInner body, Context context);
+
+ /**
+ * Delete a ElasticBackup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String backupVaultName,
+ String backupName);
+
+ /**
+ * Delete a ElasticBackup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String backupVaultName,
+ String backupName, Context context);
+
+ /**
+ * Delete a ElasticBackup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String backupVaultName, String backupName);
+
+ /**
+ * Delete a ElasticBackup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param backupName The name of the ElasticBackup.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String backupVaultName, String backupName,
+ Context context);
+
+ /**
+ * List all elastic backups Under an elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticBackup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVault(String resourceGroupName, String accountName, String backupVaultName);
+
+ /**
+ * List all elastic backups Under an elastic Backup Vault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param backupVaultName The name of the ElasticBackupVault.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticBackup list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByVault(String resourceGroupName, String accountName, String backupVaultName,
+ Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticCapacityPoolsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticCapacityPoolsClient.java
new file mode 100644
index 0000000000000..bdf6643876d8f
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticCapacityPoolsClient.java
@@ -0,0 +1,370 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.CheckElasticResourceAvailabilityResponseInner;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticCapacityPoolInner;
+import com.azure.resourcemanager.netapp.models.ChangeZoneRequest;
+import com.azure.resourcemanager.netapp.models.CheckElasticVolumeFilePathAvailabilityRequest;
+import com.azure.resourcemanager.netapp.models.ElasticCapacityPoolUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ElasticCapacityPoolsClient.
+ */
+public interface ElasticCapacityPoolsClient {
+ /**
+ * Get the NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the NetApp Elastic Capacity Pool along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String poolName,
+ Context context);
+
+ /**
+ * Get the NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the NetApp Elastic Capacity Pool.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticCapacityPoolInner get(String resourceGroupName, String accountName, String poolName);
+
+ /**
+ * Create or update the specified NetApp Elastic Capacity Pool within the resource group and NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticCapacityPoolInner> beginCreateOrUpdate(
+ String resourceGroupName, String accountName, String poolName, ElasticCapacityPoolInner body);
+
+ /**
+ * Create or update the specified NetApp Elastic Capacity Pool within the resource group and NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticCapacityPoolInner> beginCreateOrUpdate(
+ String resourceGroupName, String accountName, String poolName, ElasticCapacityPoolInner body, Context context);
+
+ /**
+ * Create or update the specified NetApp Elastic Capacity Pool within the resource group and NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticCapacityPoolInner createOrUpdate(String resourceGroupName, String accountName, String poolName,
+ ElasticCapacityPoolInner body);
+
+ /**
+ * Create or update the specified NetApp Elastic Capacity Pool within the resource group and NetApp Elastic Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticCapacityPoolInner createOrUpdate(String resourceGroupName, String accountName, String poolName,
+ ElasticCapacityPoolInner body, Context context);
+
+ /**
+ * Patch the specified NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticCapacityPoolInner> beginUpdate(String resourceGroupName,
+ String accountName, String poolName, ElasticCapacityPoolUpdate body);
+
+ /**
+ * Patch the specified NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticCapacityPoolInner> beginUpdate(String resourceGroupName,
+ String accountName, String poolName, ElasticCapacityPoolUpdate body, Context context);
+
+ /**
+ * Patch the specified NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticCapacityPoolInner update(String resourceGroupName, String accountName, String poolName,
+ ElasticCapacityPoolUpdate body);
+
+ /**
+ * Patch the specified NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticCapacityPoolInner update(String resourceGroupName, String accountName, String poolName,
+ ElasticCapacityPoolUpdate body, Context context);
+
+ /**
+ * Delete the specified NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName);
+
+ /**
+ * Delete the specified NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
+ Context context);
+
+ /**
+ * Delete the specified NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName);
+
+ /**
+ * Delete the specified NetApp Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName, Context context);
+
+ /**
+ * List and describe all NetApp Elastic Capacity Pools in the Elastic NetApp Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticCapacityPool list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticAccount(String resourceGroupName, String accountName);
+
+ /**
+ * List and describe all NetApp Elastic Capacity Pools in the Elastic NetApp Account.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticCapacityPool list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticAccount(String resourceGroupName, String accountName,
+ Context context);
+
+ /**
+ * Moves pool to another zone.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticCapacityPoolInner> beginChangeZone(String resourceGroupName,
+ String accountName, String poolName, ChangeZoneRequest body);
+
+ /**
+ * Moves pool to another zone.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticCapacityPoolInner> beginChangeZone(String resourceGroupName,
+ String accountName, String poolName, ChangeZoneRequest body, Context context);
+
+ /**
+ * Moves pool to another zone.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticCapacityPoolInner changeZone(String resourceGroupName, String accountName, String poolName,
+ ChangeZoneRequest body);
+
+ /**
+ * Moves pool to another zone.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Capacity Pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticCapacityPoolInner changeZone(String resourceGroupName, String accountName, String poolName,
+ ChangeZoneRequest body, Context context);
+
+ /**
+ * Check if an Elastic Volume file path is available within the given Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return information regarding availability of a resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response checkVolumeFilePathAvailabilityWithResponse(
+ String resourceGroupName, String accountName, String poolName,
+ CheckElasticVolumeFilePathAvailabilityRequest body, Context context);
+
+ /**
+ * Check if an Elastic Volume file path is available within the given Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return information regarding availability of a resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CheckElasticResourceAvailabilityResponseInner checkVolumeFilePathAvailability(String resourceGroupName,
+ String accountName, String poolName, CheckElasticVolumeFilePathAvailabilityRequest body);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticSnapshotPoliciesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticSnapshotPoliciesClient.java
new file mode 100644
index 0000000000000..062bc0b19bb4b
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticSnapshotPoliciesClient.java
@@ -0,0 +1,301 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticSnapshotPolicyInner;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticVolumeInner;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ElasticSnapshotPoliciesClient.
+ */
+public interface ElasticSnapshotPoliciesClient {
+ /**
+ * Get a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ElasticSnapshotPolicy along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName,
+ String snapshotPolicyName, Context context);
+
+ /**
+ * Get a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ElasticSnapshotPolicy.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotPolicyInner get(String resourceGroupName, String accountName, String snapshotPolicyName);
+
+ /**
+ * Create a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticSnapshotPolicyInner> beginCreateOrUpdate(
+ String resourceGroupName, String accountName, String snapshotPolicyName, ElasticSnapshotPolicyInner body);
+
+ /**
+ * Create a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticSnapshotPolicyInner> beginCreateOrUpdate(
+ String resourceGroupName, String accountName, String snapshotPolicyName, ElasticSnapshotPolicyInner body,
+ Context context);
+
+ /**
+ * Create a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotPolicyInner createOrUpdate(String resourceGroupName, String accountName, String snapshotPolicyName,
+ ElasticSnapshotPolicyInner body);
+
+ /**
+ * Create a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotPolicyInner createOrUpdate(String resourceGroupName, String accountName, String snapshotPolicyName,
+ ElasticSnapshotPolicyInner body, Context context);
+
+ /**
+ * Update a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticSnapshotPolicyInner> beginUpdate(String resourceGroupName,
+ String accountName, String snapshotPolicyName, ElasticSnapshotPolicyUpdate body);
+
+ /**
+ * Update a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticSnapshotPolicyInner> beginUpdate(String resourceGroupName,
+ String accountName, String snapshotPolicyName, ElasticSnapshotPolicyUpdate body, Context context);
+
+ /**
+ * Update a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotPolicyInner update(String resourceGroupName, String accountName, String snapshotPolicyName,
+ ElasticSnapshotPolicyUpdate body);
+
+ /**
+ * Update a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotPolicyInner update(String resourceGroupName, String accountName, String snapshotPolicyName,
+ ElasticSnapshotPolicyUpdate body, Context context);
+
+ /**
+ * Delete a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName,
+ String snapshotPolicyName);
+
+ /**
+ * Delete a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName,
+ String snapshotPolicyName, Context context);
+
+ /**
+ * Delete a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String snapshotPolicyName);
+
+ /**
+ * Delete a ElasticSnapshotPolicy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String snapshotPolicyName, Context context);
+
+ /**
+ * List ElasticSnapshotPolicy resources by ElasticAccount.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticSnapshotPolicy list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticAccount(String resourceGroupName, String accountName);
+
+ /**
+ * List ElasticSnapshotPolicy resources by ElasticAccount.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticSnapshotPolicy list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticAccount(String resourceGroupName, String accountName,
+ Context context);
+
+ /**
+ * Get elastic volumes associated with Elastic Snapshot Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return elastic volumes associated with Elastic Snapshot Policy as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listElasticVolumes(String resourceGroupName, String accountName,
+ String snapshotPolicyName);
+
+ /**
+ * Get elastic volumes associated with Elastic Snapshot Policy.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param snapshotPolicyName The name of the ElasticSnapshotPolicy.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return elastic volumes associated with Elastic Snapshot Policy as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listElasticVolumes(String resourceGroupName, String accountName,
+ String snapshotPolicyName, Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticSnapshotsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticSnapshotsClient.java
new file mode 100644
index 0000000000000..b2021a544dba8
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticSnapshotsClient.java
@@ -0,0 +1,229 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticSnapshotInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ElasticSnapshotsClient.
+ */
+public interface ElasticSnapshotsClient {
+ /**
+ * Get a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ElasticSnapshot along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String snapshotName, Context context);
+
+ /**
+ * Get a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ElasticSnapshot.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotInner get(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String snapshotName);
+
+ /**
+ * Create a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Snapshot under an Elastic Volume.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticSnapshotInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, String poolName, String volumeName, String snapshotName, ElasticSnapshotInner body);
+
+ /**
+ * Create a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Snapshot under an Elastic Volume.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticSnapshotInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, String poolName, String volumeName, String snapshotName, ElasticSnapshotInner body,
+ Context context);
+
+ /**
+ * Create a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Snapshot under an Elastic Volume.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotInner createOrUpdate(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String snapshotName, ElasticSnapshotInner body);
+
+ /**
+ * Create a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Snapshot under an Elastic Volume.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotInner createOrUpdate(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String snapshotName, ElasticSnapshotInner body, Context context);
+
+ /**
+ * Delete a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String snapshotName);
+
+ /**
+ * Delete a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String snapshotName, Context context);
+
+ /**
+ * Delete a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName);
+
+ /**
+ * Delete a ElasticSnapshot.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param snapshotName The name of the ElasticSnapshot.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName,
+ Context context);
+
+ /**
+ * List ElasticSnapshot resources by ElasticVolume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticSnapshot list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticVolume(String resourceGroupName, String accountName,
+ String poolName, String volumeName);
+
+ /**
+ * List ElasticSnapshot resources by ElasticVolume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticSnapshot list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticVolume(String resourceGroupName, String accountName,
+ String poolName, String volumeName, Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticVolumesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticVolumesClient.java
new file mode 100644
index 0000000000000..b273fd6e03d07
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticVolumesClient.java
@@ -0,0 +1,355 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ElasticVolumeInner;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeRevert;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ElasticVolumesClient.
+ */
+public interface ElasticVolumesClient {
+ /**
+ * Get the details of the specified volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the details of the specified volume along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String poolName,
+ String volumeName, Context context);
+
+ /**
+ * Get the details of the specified volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the details of the specified volume.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticVolumeInner get(String resourceGroupName, String accountName, String poolName, String volumeName);
+
+ /**
+ * Create or update the specified volume within the capacity pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticVolumeInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, String poolName, String volumeName, ElasticVolumeInner body);
+
+ /**
+ * Create or update the specified volume within the capacity pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticVolumeInner> beginCreateOrUpdate(String resourceGroupName,
+ String accountName, String poolName, String volumeName, ElasticVolumeInner body, Context context);
+
+ /**
+ * Create or update the specified volume within the capacity pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticVolumeInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName,
+ ElasticVolumeInner body);
+
+ /**
+ * Create or update the specified volume within the capacity pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticVolumeInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName,
+ ElasticVolumeInner body, Context context);
+
+ /**
+ * Patch the specified elastic volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticVolumeInner> beginUpdate(String resourceGroupName,
+ String accountName, String poolName, String volumeName, ElasticVolumeUpdate body);
+
+ /**
+ * Patch the specified elastic volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticVolumeInner> beginUpdate(String resourceGroupName,
+ String accountName, String poolName, String volumeName, ElasticVolumeUpdate body, Context context);
+
+ /**
+ * Patch the specified elastic volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticVolumeInner update(String resourceGroupName, String accountName, String poolName, String volumeName,
+ ElasticVolumeUpdate body);
+
+ /**
+ * Patch the specified elastic volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticVolumeInner update(String resourceGroupName, String accountName, String poolName, String volumeName,
+ ElasticVolumeUpdate body, Context context);
+
+ /**
+ * Delete the specified Elastic Volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
+ String volumeName);
+
+ /**
+ * Delete the specified Elastic Volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName,
+ String volumeName, Context context);
+
+ /**
+ * Delete the specified Elastic Volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName, String volumeName);
+
+ /**
+ * Delete the specified Elastic Volume.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
+
+ /**
+ * List all Elastic Volumes within the Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticVolume list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticPool(String resourceGroupName, String accountName, String poolName);
+
+ /**
+ * List all Elastic Volumes within the Elastic Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ElasticVolume list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByElasticPool(String resourceGroupName, String accountName, String poolName,
+ Context context);
+
+ /**
+ * Revert an Elastic Volume to the snapshot specified in the body.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticVolumeInner> beginRevert(String resourceGroupName,
+ String accountName, String poolName, String volumeName, ElasticVolumeRevert body);
+
+ /**
+ * Revert an Elastic Volume to the snapshot specified in the body.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ElasticVolumeInner> beginRevert(String resourceGroupName,
+ String accountName, String poolName, String volumeName, ElasticVolumeRevert body, Context context);
+
+ /**
+ * Revert an Elastic Volume to the snapshot specified in the body.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticVolumeInner revert(String resourceGroupName, String accountName, String poolName, String volumeName,
+ ElasticVolumeRevert body);
+
+ /**
+ * Revert an Elastic Volume to the snapshot specified in the body.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the ElasticAccount.
+ * @param poolName The name of the ElasticCapacityPool.
+ * @param volumeName The name of the ElasticVolume.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return netApp Elastic Volume resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticVolumeInner revert(String resourceGroupName, String accountName, String poolName, String volumeName,
+ ElasticVolumeRevert body, Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalCacheConnectionsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalCacheConnectionsClient.java
new file mode 100644
index 0000000000000..73f4527db7a7f
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalCacheConnectionsClient.java
@@ -0,0 +1,282 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ExternalCacheConnectionInner;
+import com.azure.resourcemanager.netapp.models.ExternalCacheConnectionTagsUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ExternalCacheConnectionsClient.
+ */
+public interface ExternalCacheConnectionsClient {
+ /**
+ * Get the External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the External Cache Connection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String externalCacheConnectionName, Context context);
+
+ /**
+ * Get the External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the External Cache Connection.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalCacheConnectionInner getByResourceGroup(String resourceGroupName, String externalCacheConnectionName);
+
+ /**
+ * Create or update the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external Cache Connection resource, representing a cache connection
+ * relationship between External and Azure NetApp Files volumes.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalCacheConnectionInner> beginCreateOrUpdate(
+ String resourceGroupName, String externalCacheConnectionName, ExternalCacheConnectionInner resource);
+
+ /**
+ * Create or update the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external Cache Connection resource, representing a cache connection
+ * relationship between External and Azure NetApp Files volumes.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalCacheConnectionInner> beginCreateOrUpdate(
+ String resourceGroupName, String externalCacheConnectionName, ExternalCacheConnectionInner resource,
+ Context context);
+
+ /**
+ * Create or update the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external Cache Connection resource, representing a cache connection relationship between External and
+ * Azure NetApp Files volumes.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalCacheConnectionInner createOrUpdate(String resourceGroupName, String externalCacheConnectionName,
+ ExternalCacheConnectionInner resource);
+
+ /**
+ * Create or update the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external Cache Connection resource, representing a cache connection relationship between External and
+ * Azure NetApp Files volumes.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalCacheConnectionInner createOrUpdate(String resourceGroupName, String externalCacheConnectionName,
+ ExternalCacheConnectionInner resource, Context context);
+
+ /**
+ * Patch the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external Cache Connection resource, representing a cache connection
+ * relationship between External and Azure NetApp Files volumes.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalCacheConnectionInner> beginUpdate(
+ String resourceGroupName, String externalCacheConnectionName, ExternalCacheConnectionTagsUpdate properties);
+
+ /**
+ * Patch the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external Cache Connection resource, representing a cache connection
+ * relationship between External and Azure NetApp Files volumes.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalCacheConnectionInner> beginUpdate(
+ String resourceGroupName, String externalCacheConnectionName, ExternalCacheConnectionTagsUpdate properties,
+ Context context);
+
+ /**
+ * Patch the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external Cache Connection resource, representing a cache connection relationship between External and
+ * Azure NetApp Files volumes.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalCacheConnectionInner update(String resourceGroupName, String externalCacheConnectionName,
+ ExternalCacheConnectionTagsUpdate properties);
+
+ /**
+ * Patch the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external Cache Connection resource, representing a cache connection relationship between External and
+ * Azure NetApp Files volumes.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalCacheConnectionInner update(String resourceGroupName, String externalCacheConnectionName,
+ ExternalCacheConnectionTagsUpdate properties, Context context);
+
+ /**
+ * Delete the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String externalCacheConnectionName);
+
+ /**
+ * Delete the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String externalCacheConnectionName,
+ Context context);
+
+ /**
+ * Delete the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String externalCacheConnectionName);
+
+ /**
+ * Delete the specified External Cache Connection.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalCacheConnectionName The name of the ExternalCacheConnection.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String externalCacheConnectionName, Context context);
+
+ /**
+ * List all External Cache Connections in the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of External Cache Connection resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List all External Cache Connections in the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of External Cache Connection resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * List all External Cache Connections in the subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of External Cache Connection resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all External Cache Connections in the subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of External Cache Connection resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalCachesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalCachesClient.java
new file mode 100644
index 0000000000000..e1da359b1130e
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalCachesClient.java
@@ -0,0 +1,83 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.netapp.fluent.models.ExternalCacheInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in ExternalCachesClient.
+ */
+public interface ExternalCachesClient {
+ /**
+ * Get the External Cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param externalCacheResourceName The externalCacheName with unique identifier added and leading underscores (if
+ * any) removed.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the External Cache along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String externalClusterName,
+ String externalSvmName, String externalCacheResourceName, Context context);
+
+ /**
+ * Get the External Cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param externalCacheResourceName The externalCacheName with unique identifier added and leading underscores (if
+ * any) removed.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the External Cache.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalCacheInner get(String resourceGroupName, String externalClusterName, String externalSvmName,
+ String externalCacheResourceName);
+
+ /**
+ * List all External Caches under an External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExternalCache list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String externalClusterName,
+ String externalSvmName);
+
+ /**
+ * List all External Caches under an External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExternalCache list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String externalClusterName,
+ String externalSvmName, Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalClustersClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalClustersClient.java
new file mode 100644
index 0000000000000..8e31daabd0326
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalClustersClient.java
@@ -0,0 +1,275 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ExternalClusterInner;
+import com.azure.resourcemanager.netapp.models.ExternalClusterUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ExternalClustersClient.
+ */
+public interface ExternalClustersClient {
+ /**
+ * Get the External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the External Cluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String externalClusterName,
+ Context context);
+
+ /**
+ * Get the External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the External Cluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalClusterInner getByResourceGroup(String resourceGroupName, String externalClusterName);
+
+ /**
+ * Create or update the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external Cluster resource, representing a cluster on an external
+ * NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalClusterInner> beginCreateOrUpdate(String resourceGroupName,
+ String externalClusterName, ExternalClusterInner resource);
+
+ /**
+ * Create or update the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external Cluster resource, representing a cluster on an external
+ * NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalClusterInner> beginCreateOrUpdate(String resourceGroupName,
+ String externalClusterName, ExternalClusterInner resource, Context context);
+
+ /**
+ * Create or update the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external Cluster resource, representing a cluster on an external NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalClusterInner createOrUpdate(String resourceGroupName, String externalClusterName,
+ ExternalClusterInner resource);
+
+ /**
+ * Create or update the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external Cluster resource, representing a cluster on an external NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalClusterInner createOrUpdate(String resourceGroupName, String externalClusterName,
+ ExternalClusterInner resource, Context context);
+
+ /**
+ * Patch the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external Cluster resource, representing a cluster on an external
+ * NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalClusterInner> beginUpdate(String resourceGroupName,
+ String externalClusterName, ExternalClusterUpdate properties);
+
+ /**
+ * Patch the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external Cluster resource, representing a cluster on an external
+ * NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalClusterInner> beginUpdate(String resourceGroupName,
+ String externalClusterName, ExternalClusterUpdate properties, Context context);
+
+ /**
+ * Patch the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external Cluster resource, representing a cluster on an external NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalClusterInner update(String resourceGroupName, String externalClusterName, ExternalClusterUpdate properties);
+
+ /**
+ * Patch the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external Cluster resource, representing a cluster on an external NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalClusterInner update(String resourceGroupName, String externalClusterName, ExternalClusterUpdate properties,
+ Context context);
+
+ /**
+ * Delete the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String externalClusterName);
+
+ /**
+ * Delete the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String externalClusterName,
+ Context context);
+
+ /**
+ * Delete the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String externalClusterName);
+
+ /**
+ * Delete the specified External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String externalClusterName, Context context);
+
+ /**
+ * List all External Clusters in the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of External Cluster resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List all External Clusters in the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of External Cluster resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * List all External Clusters in the subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of External Cluster resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List all External Clusters in the subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of External Cluster resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalSvmsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalSvmsClient.java
new file mode 100644
index 0000000000000..f6c131705ef8d
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ExternalSvmsClient.java
@@ -0,0 +1,275 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.models.ExternalSvmInner;
+import com.azure.resourcemanager.netapp.models.ExternalSvmTagsUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ExternalSvmsClient.
+ */
+public interface ExternalSvmsClient {
+ /**
+ * Get the External SVM resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the External SVM resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String externalClusterName,
+ String externalSvmName, Context context);
+
+ /**
+ * Get the External SVM resource.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the External SVM resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalSvmInner get(String resourceGroupName, String externalClusterName, String externalSvmName);
+
+ /**
+ * Create or update the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external SVM (Storage Virtual Machine, Vserver) resource,
+ * representing an SVM on an external NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalSvmInner> beginCreateOrUpdate(String resourceGroupName,
+ String externalClusterName, String externalSvmName, ExternalSvmInner resource);
+
+ /**
+ * Create or update the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external SVM (Storage Virtual Machine, Vserver) resource,
+ * representing an SVM on an external NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalSvmInner> beginCreateOrUpdate(String resourceGroupName,
+ String externalClusterName, String externalSvmName, ExternalSvmInner resource, Context context);
+
+ /**
+ * Create or update the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external SVM (Storage Virtual Machine, Vserver) resource, representing an SVM on an external NetApp ONTAP
+ * system.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalSvmInner createOrUpdate(String resourceGroupName, String externalClusterName, String externalSvmName,
+ ExternalSvmInner resource);
+
+ /**
+ * Create or update the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external SVM (Storage Virtual Machine, Vserver) resource, representing an SVM on an external NetApp ONTAP
+ * system.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalSvmInner createOrUpdate(String resourceGroupName, String externalClusterName, String externalSvmName,
+ ExternalSvmInner resource, Context context);
+
+ /**
+ * Patch the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external SVM (Storage Virtual Machine, Vserver) resource,
+ * representing an SVM on an external NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalSvmInner> beginUpdate(String resourceGroupName,
+ String externalClusterName, String externalSvmName, ExternalSvmTagsUpdate properties);
+
+ /**
+ * Patch the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of external SVM (Storage Virtual Machine, Vserver) resource,
+ * representing an SVM on an external NetApp ONTAP system.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExternalSvmInner> beginUpdate(String resourceGroupName,
+ String externalClusterName, String externalSvmName, ExternalSvmTagsUpdate properties, Context context);
+
+ /**
+ * Patch the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external SVM (Storage Virtual Machine, Vserver) resource, representing an SVM on an external NetApp ONTAP
+ * system.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalSvmInner update(String resourceGroupName, String externalClusterName, String externalSvmName,
+ ExternalSvmTagsUpdate properties);
+
+ /**
+ * Patch the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return external SVM (Storage Virtual Machine, Vserver) resource, representing an SVM on an external NetApp ONTAP
+ * system.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExternalSvmInner update(String resourceGroupName, String externalClusterName, String externalSvmName,
+ ExternalSvmTagsUpdate properties, Context context);
+
+ /**
+ * Delete the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String externalClusterName,
+ String externalSvmName);
+
+ /**
+ * Delete the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String externalClusterName,
+ String externalSvmName, Context context);
+
+ /**
+ * Delete the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String externalClusterName, String externalSvmName);
+
+ /**
+ * Delete the specified External SVM.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param externalSvmName The name of the ExternalSvm.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String externalClusterName, String externalSvmName, Context context);
+
+ /**
+ * List all External SVMs under an External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExternalSvm list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String externalClusterName);
+
+ /**
+ * List all External SVMs under an External Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExternalSvm list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String externalClusterName, Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java
index 39883afaff97c..455244e48210e 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java
@@ -137,6 +137,111 @@ public interface NetAppManagementClient {
*/
CachesClient getCaches();
+ /**
+ * Gets the ElasticAccountsClient object to access its operations.
+ *
+ * @return the ElasticAccountsClient object.
+ */
+ ElasticAccountsClient getElasticAccounts();
+
+ /**
+ * Gets the ElasticCapacityPoolsClient object to access its operations.
+ *
+ * @return the ElasticCapacityPoolsClient object.
+ */
+ ElasticCapacityPoolsClient getElasticCapacityPools();
+
+ /**
+ * Gets the ElasticVolumesClient object to access its operations.
+ *
+ * @return the ElasticVolumesClient object.
+ */
+ ElasticVolumesClient getElasticVolumes();
+
+ /**
+ * Gets the ElasticSnapshotsClient object to access its operations.
+ *
+ * @return the ElasticSnapshotsClient object.
+ */
+ ElasticSnapshotsClient getElasticSnapshots();
+
+ /**
+ * Gets the ElasticSnapshotPoliciesClient object to access its operations.
+ *
+ * @return the ElasticSnapshotPoliciesClient object.
+ */
+ ElasticSnapshotPoliciesClient getElasticSnapshotPolicies();
+
+ /**
+ * Gets the ElasticBackupVaultsClient object to access its operations.
+ *
+ * @return the ElasticBackupVaultsClient object.
+ */
+ ElasticBackupVaultsClient getElasticBackupVaults();
+
+ /**
+ * Gets the ElasticBackupPoliciesClient object to access its operations.
+ *
+ * @return the ElasticBackupPoliciesClient object.
+ */
+ ElasticBackupPoliciesClient getElasticBackupPolicies();
+
+ /**
+ * Gets the ElasticBackupsClient object to access its operations.
+ *
+ * @return the ElasticBackupsClient object.
+ */
+ ElasticBackupsClient getElasticBackups();
+
+ /**
+ * Gets the ActiveDirectoryConfigsClient object to access its operations.
+ *
+ * @return the ActiveDirectoryConfigsClient object.
+ */
+ ActiveDirectoryConfigsClient getActiveDirectoryConfigs();
+
+ /**
+ * Gets the ExternalClustersClient object to access its operations.
+ *
+ * @return the ExternalClustersClient object.
+ */
+ ExternalClustersClient getExternalClusters();
+
+ /**
+ * Gets the ClusterPeersClient object to access its operations.
+ *
+ * @return the ClusterPeersClient object.
+ */
+ ClusterPeersClient getClusterPeers();
+
+ /**
+ * Gets the ExternalSvmsClient object to access its operations.
+ *
+ * @return the ExternalSvmsClient object.
+ */
+ ExternalSvmsClient getExternalSvms();
+
+ /**
+ * Gets the SvmPeersClient object to access its operations.
+ *
+ * @return the SvmPeersClient object.
+ */
+ SvmPeersClient getSvmPeers();
+
+ /**
+ * Gets the ExternalCachesClient object to access its operations.
+ *
+ * @return the ExternalCachesClient object.
+ */
+ ExternalCachesClient getExternalCaches();
+
+ /**
+ * Gets the ExternalCacheConnectionsClient object to access its operations.
+ *
+ * @return the ExternalCacheConnectionsClient object.
+ */
+ ExternalCacheConnectionsClient getExternalCacheConnections();
+
/**
* Gets the NetAppResourceQuotaLimitsClient object to access its operations.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SvmPeersClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SvmPeersClient.java
new file mode 100644
index 0000000000000..9a8abfbb080d0
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SvmPeersClient.java
@@ -0,0 +1,79 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.netapp.fluent.models.SvmPeerInner;
+
+/**
+ * An instance of this class provides access to all the operations defined in SvmPeersClient.
+ */
+public interface SvmPeersClient {
+ /**
+ * Get the SVM Peer.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param peerId The name of the ClusterPeer.
+ * @param svmPeerId The name of the SvmPeer.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the SVM Peer along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String externalClusterName, String peerId,
+ String svmPeerId, Context context);
+
+ /**
+ * Get the SVM Peer.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param peerId The name of the ClusterPeer.
+ * @param svmPeerId The name of the SvmPeer.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the SVM Peer.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SvmPeerInner get(String resourceGroupName, String externalClusterName, String peerId, String svmPeerId);
+
+ /**
+ * List and describe all SVM Peers under a Cluster Peer.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param peerId The name of the ClusterPeer.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a SvmPeer list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String externalClusterName, String peerId);
+
+ /**
+ * List and describe all SVM Peers under a Cluster Peer.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param externalClusterName The name of the ExternalCluster.
+ * @param peerId The name of the ClusterPeer.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a SvmPeer list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String externalClusterName, String peerId,
+ Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java
index 3f77b6afdc9e0..27e42ab8104f9 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java
@@ -11,6 +11,7 @@
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.netapp.models.AccountEncryption;
import com.azure.resourcemanager.netapp.models.ActiveDirectory;
+import com.azure.resourcemanager.netapp.models.EntraIdConfig;
import com.azure.resourcemanager.netapp.models.LdapConfiguration;
import com.azure.resourcemanager.netapp.models.MultiAdStatus;
import java.io.IOException;
@@ -31,6 +32,11 @@ public final class AccountProperties implements JsonSerializable activeDirectories;
+ /*
+ * Entra ID configuration for the account.
+ */
+ private EntraIdConfig entraIdConfig;
+
/*
* Encryption settings
*/
@@ -92,6 +98,26 @@ public AccountProperties withActiveDirectories(List activeDirec
return this;
}
+ /**
+ * Get the entraIdConfig property: Entra ID configuration for the account.
+ *
+ * @return the entraIdConfig value.
+ */
+ public EntraIdConfig entraIdConfig() {
+ return this.entraIdConfig;
+ }
+
+ /**
+ * Set the entraIdConfig property: Entra ID configuration for the account.
+ *
+ * @param entraIdConfig the entraIdConfig value to set.
+ * @return the AccountProperties object itself.
+ */
+ public AccountProperties withEntraIdConfig(EntraIdConfig entraIdConfig) {
+ this.entraIdConfig = entraIdConfig;
+ return this;
+ }
+
/**
* Get the encryption property: Encryption settings.
*
@@ -182,6 +208,9 @@ public void validate() {
if (activeDirectories() != null) {
activeDirectories().forEach(e -> e.validate());
}
+ if (entraIdConfig() != null) {
+ entraIdConfig().validate();
+ }
if (encryption() != null) {
encryption().validate();
}
@@ -198,6 +227,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeArrayField("activeDirectories", this.activeDirectories,
(writer, element) -> writer.writeJson(element));
+ jsonWriter.writeJsonField("entraIdConfig", this.entraIdConfig);
jsonWriter.writeJsonField("encryption", this.encryption);
jsonWriter.writeStringField("nfsV4IDDomain", this.nfsV4IdDomain);
jsonWriter.writeJsonField("ldapConfiguration", this.ldapConfiguration);
@@ -225,6 +255,8 @@ public static AccountProperties fromJson(JsonReader jsonReader) throws IOExcepti
List activeDirectories
= reader.readArray(reader1 -> ActiveDirectory.fromJson(reader1));
deserializedAccountProperties.activeDirectories = activeDirectories;
+ } else if ("entraIdConfig".equals(fieldName)) {
+ deserializedAccountProperties.entraIdConfig = EntraIdConfig.fromJson(reader);
} else if ("encryption".equals(fieldName)) {
deserializedAccountProperties.encryption = AccountEncryption.fromJson(reader);
} else if ("disableShowmount".equals(fieldName)) {
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountPropertiesPatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountPropertiesPatch.java
index 52ff7241c93ba..f2047d7bc775a 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountPropertiesPatch.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountPropertiesPatch.java
@@ -11,6 +11,7 @@
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.netapp.models.AccountEncryptionPatch;
import com.azure.resourcemanager.netapp.models.ActiveDirectory;
+import com.azure.resourcemanager.netapp.models.EntraIdConfigPatch;
import com.azure.resourcemanager.netapp.models.LdapConfigurationPatch;
import java.io.IOException;
import java.util.List;
@@ -36,6 +37,11 @@ public final class AccountPropertiesPatch implements JsonSerializable writer.writeJson(element));
jsonWriter.writeJsonField("encryption", this.encryption);
jsonWriter.writeStringField("nfsV4IDDomain", this.nfsV4IdDomain);
+ jsonWriter.writeJsonField("entraIdConfig", this.entraIdConfig);
jsonWriter.writeJsonField("ldapConfiguration", this.ldapConfiguration);
return jsonWriter.writeEndObject();
}
@@ -183,6 +213,8 @@ public static AccountPropertiesPatch fromJson(JsonReader jsonReader) throws IOEx
deserializedAccountPropertiesPatch.encryption = AccountEncryptionPatch.fromJson(reader);
} else if ("nfsV4IDDomain".equals(fieldName)) {
deserializedAccountPropertiesPatch.nfsV4IdDomain = reader.getString();
+ } else if ("entraIdConfig".equals(fieldName)) {
+ deserializedAccountPropertiesPatch.entraIdConfig = EntraIdConfigPatch.fromJson(reader);
} else if ("ldapConfiguration".equals(fieldName)) {
deserializedAccountPropertiesPatch.ldapConfiguration = LdapConfigurationPatch.fromJson(reader);
} else {
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ActiveDirectoryConfigInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ActiveDirectoryConfigInner.java
new file mode 100644
index 0000000000000..fdbfdf2c2060a
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ActiveDirectoryConfigInner.java
@@ -0,0 +1,245 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigProperties;
+import com.azure.resourcemanager.netapp.models.ManagedServiceIdentity;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * Active Directory Configuration resource.
+ */
+@Fluent
+public final class ActiveDirectoryConfigInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ActiveDirectoryConfigProperties properties;
+
+ /*
+ * "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."
+ * )
+ */
+ private String etag;
+
+ /*
+ * The managed service identities assigned to this resource.
+ */
+ private ManagedServiceIdentity identity;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ActiveDirectoryConfigInner class.
+ */
+ public ActiveDirectoryConfigInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ActiveDirectoryConfigProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ActiveDirectoryConfigInner object itself.
+ */
+ public ActiveDirectoryConfigInner withProperties(ActiveDirectoryConfigProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the etag property: "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.").
+ *
+ * @return the etag value.
+ */
+ public String etag() {
+ return this.etag;
+ }
+
+ /**
+ * Get the identity property: The managed service identities assigned to this resource.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The managed service identities assigned to this resource.
+ *
+ * @param identity the identity value to set.
+ * @return the ActiveDirectoryConfigInner object itself.
+ */
+ public ActiveDirectoryConfigInner withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ActiveDirectoryConfigInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ActiveDirectoryConfigInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (identity() != null) {
+ identity().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeJsonField("identity", this.identity);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ActiveDirectoryConfigInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ActiveDirectoryConfigInner if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ActiveDirectoryConfigInner.
+ */
+ public static ActiveDirectoryConfigInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ActiveDirectoryConfigInner deserializedActiveDirectoryConfigInner = new ActiveDirectoryConfigInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedActiveDirectoryConfigInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedActiveDirectoryConfigInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedActiveDirectoryConfigInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedActiveDirectoryConfigInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedActiveDirectoryConfigInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedActiveDirectoryConfigInner.properties
+ = ActiveDirectoryConfigProperties.fromJson(reader);
+ } else if ("etag".equals(fieldName)) {
+ deserializedActiveDirectoryConfigInner.etag = reader.getString();
+ } else if ("identity".equals(fieldName)) {
+ deserializedActiveDirectoryConfigInner.identity = ManagedServiceIdentity.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedActiveDirectoryConfigInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedActiveDirectoryConfigInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java
index 4ec65b42aeb2f..254bfbbada50b 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java
@@ -147,8 +147,8 @@ public String poolId() {
}
/**
- * Get the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
- * multiple of 1099511627776).
+ * Get the size property: Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or
+ * in 1TiB chunks (value must be multiple of 1099511627776).
*
* @return the size value.
*/
@@ -157,8 +157,8 @@ public long size() {
}
/**
- * Set the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
- * multiple of 1099511627776).
+ * Set the size property: Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or
+ * in 1TiB chunks (value must be multiple of 1099511627776).
*
* @param size the size value to set.
* @return the CapacityPoolInner object itself.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckElasticResourceAvailabilityResponseInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckElasticResourceAvailabilityResponseInner.java
new file mode 100644
index 0000000000000..e510e0cead5c1
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckElasticResourceAvailabilityResponseInner.java
@@ -0,0 +1,129 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.CheckElasticResourceAvailabilityReason;
+import com.azure.resourcemanager.netapp.models.CheckElasticResourceAvailabilityStatus;
+import java.io.IOException;
+
+/**
+ * Information regarding availability of a resource.
+ */
+@Immutable
+public final class CheckElasticResourceAvailabilityResponseInner
+ implements JsonSerializable {
+ /*
+ * True indicates name is valid and available. False indicates the name is invalid, unavailable, or both.
+ */
+ private CheckElasticResourceAvailabilityStatus isAvailable;
+
+ /*
+ * Invalid indicates the name provided does not match Azure NetApp Files naming requirements. AlreadyExists
+ * indicates that the name is already in use and is therefore unavailable.
+ */
+ private CheckElasticResourceAvailabilityReason reason;
+
+ /*
+ * If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource
+ * naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource
+ * name is already in use, and direct them to select a different name.
+ */
+ private String message;
+
+ /**
+ * Creates an instance of CheckElasticResourceAvailabilityResponseInner class.
+ */
+ private CheckElasticResourceAvailabilityResponseInner() {
+ }
+
+ /**
+ * Get the isAvailable property: True indicates name is valid and available. False indicates the name is invalid,
+ * unavailable, or both.
+ *
+ * @return the isAvailable value.
+ */
+ public CheckElasticResourceAvailabilityStatus isAvailable() {
+ return this.isAvailable;
+ }
+
+ /**
+ * Get the reason property: Invalid indicates the name provided does not match Azure NetApp Files naming
+ * requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.
+ *
+ * @return the reason value.
+ */
+ public CheckElasticResourceAvailabilityReason reason() {
+ return this.reason;
+ }
+
+ /**
+ * Get the message property: If reason == invalid, provide the user with the reason why the given name is invalid,
+ * and provide the resource naming requirements so that the user can select a valid name. If reason ==
+ * AlreadyExists, explain that resource name is already in use, and direct them to select a different name.
+ *
+ * @return the message value.
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("isAvailable", this.isAvailable == null ? null : this.isAvailable.toString());
+ jsonWriter.writeStringField("reason", this.reason == null ? null : this.reason.toString());
+ jsonWriter.writeStringField("message", this.message);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of CheckElasticResourceAvailabilityResponseInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of CheckElasticResourceAvailabilityResponseInner if the JsonReader was pointing to an
+ * instance of it, or null if it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the CheckElasticResourceAvailabilityResponseInner.
+ */
+ public static CheckElasticResourceAvailabilityResponseInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ CheckElasticResourceAvailabilityResponseInner deserializedCheckElasticResourceAvailabilityResponseInner
+ = new CheckElasticResourceAvailabilityResponseInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("isAvailable".equals(fieldName)) {
+ deserializedCheckElasticResourceAvailabilityResponseInner.isAvailable
+ = CheckElasticResourceAvailabilityStatus.fromString(reader.getString());
+ } else if ("reason".equals(fieldName)) {
+ deserializedCheckElasticResourceAvailabilityResponseInner.reason
+ = CheckElasticResourceAvailabilityReason.fromString(reader.getString());
+ } else if ("message".equals(fieldName)) {
+ deserializedCheckElasticResourceAvailabilityResponseInner.message = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedCheckElasticResourceAvailabilityResponseInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ClusterPeerInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ClusterPeerInner.java
new file mode 100644
index 0000000000000..6e72ea3b39a48
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ClusterPeerInner.java
@@ -0,0 +1,155 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ClusterPeerProperties;
+import java.io.IOException;
+
+/**
+ * Cluster Peer resource, represents a peer relationship between an external cluster and an Azure NetApp Files cluster.
+ */
+@Immutable
+public final class ClusterPeerInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ClusterPeerProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ClusterPeerInner class.
+ */
+ private ClusterPeerInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ClusterPeerProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ClusterPeerInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ClusterPeerInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ClusterPeerInner.
+ */
+ public static ClusterPeerInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ClusterPeerInner deserializedClusterPeerInner = new ClusterPeerInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedClusterPeerInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedClusterPeerInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedClusterPeerInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedClusterPeerInner.properties = ClusterPeerProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedClusterPeerInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedClusterPeerInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticAccountInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticAccountInner.java
new file mode 100644
index 0000000000000..fec53001fe1a0
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticAccountInner.java
@@ -0,0 +1,246 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ElasticAccountProperties;
+import com.azure.resourcemanager.netapp.models.ManagedServiceIdentity;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * NetApp elastic account resource.
+ */
+@Fluent
+public final class ElasticAccountInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ElasticAccountProperties properties;
+
+ /*
+ * 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.
+ */
+ private String eTag;
+
+ /*
+ * The managed service identities assigned to this resource.
+ */
+ private ManagedServiceIdentity identity;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ElasticAccountInner class.
+ */
+ public ElasticAccountInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ElasticAccountProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ElasticAccountInner object itself.
+ */
+ public ElasticAccountInner withProperties(ElasticAccountProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the eTag property: 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.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the identity property: The managed service identities assigned to this resource.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The managed service identities assigned to this resource.
+ *
+ * @param identity the identity value to set.
+ * @return the ElasticAccountInner object itself.
+ */
+ public ElasticAccountInner withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticAccountInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticAccountInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (identity() != null) {
+ identity().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeJsonField("identity", this.identity);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ElasticAccountInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ElasticAccountInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ElasticAccountInner.
+ */
+ public static ElasticAccountInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ElasticAccountInner deserializedElasticAccountInner = new ElasticAccountInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedElasticAccountInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedElasticAccountInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedElasticAccountInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedElasticAccountInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedElasticAccountInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedElasticAccountInner.properties = ElasticAccountProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedElasticAccountInner.eTag = reader.getString();
+ } else if ("identity".equals(fieldName)) {
+ deserializedElasticAccountInner.identity = ManagedServiceIdentity.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedElasticAccountInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedElasticAccountInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupInner.java
new file mode 100644
index 0000000000000..355c759d9ec70
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupInner.java
@@ -0,0 +1,166 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ElasticBackupProperties;
+import java.io.IOException;
+
+/**
+ * NetApp Elastic Backup under an elastic Backup Vault.
+ */
+@Fluent
+public final class ElasticBackupInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ElasticBackupProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ElasticBackupInner class.
+ */
+ public ElasticBackupInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ElasticBackupProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ElasticBackupInner object itself.
+ */
+ public ElasticBackupInner withProperties(ElasticBackupProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ElasticBackupInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ElasticBackupInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ElasticBackupInner.
+ */
+ public static ElasticBackupInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ElasticBackupInner deserializedElasticBackupInner = new ElasticBackupInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedElasticBackupInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedElasticBackupInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedElasticBackupInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedElasticBackupInner.properties = ElasticBackupProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedElasticBackupInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedElasticBackupInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupPolicyInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupPolicyInner.java
new file mode 100644
index 0000000000000..46c2fe6bfa0d5
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupPolicyInner.java
@@ -0,0 +1,214 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicyProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * NetApp Elastic Backup Policy resource.
+ */
+@Fluent
+public final class ElasticBackupPolicyInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ElasticBackupPolicyProperties properties;
+
+ /*
+ * 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.
+ */
+ private String eTag;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ElasticBackupPolicyInner class.
+ */
+ public ElasticBackupPolicyInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ElasticBackupPolicyProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ElasticBackupPolicyInner object itself.
+ */
+ public ElasticBackupPolicyInner withProperties(ElasticBackupPolicyProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the eTag property: 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.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticBackupPolicyInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticBackupPolicyInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ElasticBackupPolicyInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ElasticBackupPolicyInner if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ElasticBackupPolicyInner.
+ */
+ public static ElasticBackupPolicyInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ElasticBackupPolicyInner deserializedElasticBackupPolicyInner = new ElasticBackupPolicyInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedElasticBackupPolicyInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedElasticBackupPolicyInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedElasticBackupPolicyInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedElasticBackupPolicyInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedElasticBackupPolicyInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedElasticBackupPolicyInner.properties = ElasticBackupPolicyProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedElasticBackupPolicyInner.eTag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedElasticBackupPolicyInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedElasticBackupPolicyInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupVaultInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupVaultInner.java
new file mode 100644
index 0000000000000..578bd49e28cd4
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticBackupVaultInner.java
@@ -0,0 +1,214 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ElasticBackupVaultProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * NetApp elastic backup vault resource.
+ */
+@Fluent
+public final class ElasticBackupVaultInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ElasticBackupVaultProperties properties;
+
+ /*
+ * 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.
+ */
+ private String eTag;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ElasticBackupVaultInner class.
+ */
+ public ElasticBackupVaultInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ElasticBackupVaultProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ElasticBackupVaultInner object itself.
+ */
+ public ElasticBackupVaultInner withProperties(ElasticBackupVaultProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the eTag property: 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.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticBackupVaultInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticBackupVaultInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ElasticBackupVaultInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ElasticBackupVaultInner if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ElasticBackupVaultInner.
+ */
+ public static ElasticBackupVaultInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ElasticBackupVaultInner deserializedElasticBackupVaultInner = new ElasticBackupVaultInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedElasticBackupVaultInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedElasticBackupVaultInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedElasticBackupVaultInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedElasticBackupVaultInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedElasticBackupVaultInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedElasticBackupVaultInner.properties = ElasticBackupVaultProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedElasticBackupVaultInner.eTag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedElasticBackupVaultInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedElasticBackupVaultInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticCapacityPoolInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticCapacityPoolInner.java
new file mode 100644
index 0000000000000..9440f6af3ca57
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticCapacityPoolInner.java
@@ -0,0 +1,244 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ElasticCapacityPoolProperties;
+import java.io.IOException;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * NetApp Elastic Capacity Pool resource.
+ */
+@Fluent
+public final class ElasticCapacityPoolInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ElasticCapacityPoolProperties properties;
+
+ /*
+ * 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.
+ */
+ private String eTag;
+
+ /*
+ * The availability zones.
+ */
+ private List zones;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ElasticCapacityPoolInner class.
+ */
+ public ElasticCapacityPoolInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ElasticCapacityPoolProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ElasticCapacityPoolInner object itself.
+ */
+ public ElasticCapacityPoolInner withProperties(ElasticCapacityPoolProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the eTag property: 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.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the zones property: The availability zones.
+ *
+ * @return the zones value.
+ */
+ public List zones() {
+ return this.zones;
+ }
+
+ /**
+ * Set the zones property: The availability zones.
+ *
+ * @param zones the zones value to set.
+ * @return the ElasticCapacityPoolInner object itself.
+ */
+ public ElasticCapacityPoolInner withZones(List zones) {
+ this.zones = zones;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticCapacityPoolInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticCapacityPoolInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ElasticCapacityPoolInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ElasticCapacityPoolInner if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ElasticCapacityPoolInner.
+ */
+ public static ElasticCapacityPoolInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ElasticCapacityPoolInner deserializedElasticCapacityPoolInner = new ElasticCapacityPoolInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedElasticCapacityPoolInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedElasticCapacityPoolInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedElasticCapacityPoolInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedElasticCapacityPoolInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedElasticCapacityPoolInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedElasticCapacityPoolInner.properties = ElasticCapacityPoolProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedElasticCapacityPoolInner.eTag = reader.getString();
+ } else if ("zones".equals(fieldName)) {
+ List zones = reader.readArray(reader1 -> reader1.getString());
+ deserializedElasticCapacityPoolInner.zones = zones;
+ } else if ("systemData".equals(fieldName)) {
+ deserializedElasticCapacityPoolInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedElasticCapacityPoolInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticSnapshotInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticSnapshotInner.java
new file mode 100644
index 0000000000000..0e81120fbefd6
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticSnapshotInner.java
@@ -0,0 +1,166 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotProperties;
+import java.io.IOException;
+
+/**
+ * NetApp Elastic Snapshot under an Elastic Volume.
+ */
+@Fluent
+public final class ElasticSnapshotInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ElasticSnapshotProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ElasticSnapshotInner class.
+ */
+ public ElasticSnapshotInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ElasticSnapshotProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ElasticSnapshotInner object itself.
+ */
+ public ElasticSnapshotInner withProperties(ElasticSnapshotProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ElasticSnapshotInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ElasticSnapshotInner if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ElasticSnapshotInner.
+ */
+ public static ElasticSnapshotInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ElasticSnapshotInner deserializedElasticSnapshotInner = new ElasticSnapshotInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedElasticSnapshotInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedElasticSnapshotInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedElasticSnapshotInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedElasticSnapshotInner.properties = ElasticSnapshotProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedElasticSnapshotInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedElasticSnapshotInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticSnapshotPolicyInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticSnapshotPolicyInner.java
new file mode 100644
index 0000000000000..2aa9cb9185f20
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticSnapshotPolicyInner.java
@@ -0,0 +1,215 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * NetApp Elastic Snapshot Policy under an Elastic Account.
+ */
+@Fluent
+public final class ElasticSnapshotPolicyInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ElasticSnapshotPolicyProperties properties;
+
+ /*
+ * 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.
+ */
+ private String eTag;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ElasticSnapshotPolicyInner class.
+ */
+ public ElasticSnapshotPolicyInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ElasticSnapshotPolicyProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ElasticSnapshotPolicyInner object itself.
+ */
+ public ElasticSnapshotPolicyInner withProperties(ElasticSnapshotPolicyProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the eTag property: 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.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticSnapshotPolicyInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticSnapshotPolicyInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ElasticSnapshotPolicyInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ElasticSnapshotPolicyInner if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ElasticSnapshotPolicyInner.
+ */
+ public static ElasticSnapshotPolicyInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ElasticSnapshotPolicyInner deserializedElasticSnapshotPolicyInner = new ElasticSnapshotPolicyInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedElasticSnapshotPolicyInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedElasticSnapshotPolicyInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedElasticSnapshotPolicyInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedElasticSnapshotPolicyInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedElasticSnapshotPolicyInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedElasticSnapshotPolicyInner.properties
+ = ElasticSnapshotPolicyProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedElasticSnapshotPolicyInner.eTag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedElasticSnapshotPolicyInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedElasticSnapshotPolicyInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticVolumeInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticVolumeInner.java
new file mode 100644
index 0000000000000..53b43ec7950f7
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticVolumeInner.java
@@ -0,0 +1,244 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeProperties;
+import java.io.IOException;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * NetApp Elastic Volume resource.
+ */
+@Fluent
+public final class ElasticVolumeInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ElasticVolumeProperties properties;
+
+ /*
+ * 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.
+ */
+ private String eTag;
+
+ /*
+ * The availability zones.
+ */
+ private List zones;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ElasticVolumeInner class.
+ */
+ public ElasticVolumeInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ElasticVolumeProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ElasticVolumeInner object itself.
+ */
+ public ElasticVolumeInner withProperties(ElasticVolumeProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the eTag property: 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.
+ *
+ * @return the eTag value.
+ */
+ public String eTag() {
+ return this.eTag;
+ }
+
+ /**
+ * Get the zones property: The availability zones.
+ *
+ * @return the zones value.
+ */
+ public List zones() {
+ return this.zones;
+ }
+
+ /**
+ * Set the zones property: The availability zones.
+ *
+ * @param zones the zones value to set.
+ * @return the ElasticVolumeInner object itself.
+ */
+ public ElasticVolumeInner withZones(List zones) {
+ this.zones = zones;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticVolumeInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ElasticVolumeInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ElasticVolumeInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ElasticVolumeInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ElasticVolumeInner.
+ */
+ public static ElasticVolumeInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ElasticVolumeInner deserializedElasticVolumeInner = new ElasticVolumeInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedElasticVolumeInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedElasticVolumeInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedElasticVolumeInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedElasticVolumeInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedElasticVolumeInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedElasticVolumeInner.properties = ElasticVolumeProperties.fromJson(reader);
+ } else if ("eTag".equals(fieldName)) {
+ deserializedElasticVolumeInner.eTag = reader.getString();
+ } else if ("zones".equals(fieldName)) {
+ List zones = reader.readArray(reader1 -> reader1.getString());
+ deserializedElasticVolumeInner.zones = zones;
+ } else if ("systemData".equals(fieldName)) {
+ deserializedElasticVolumeInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedElasticVolumeInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalCacheConnectionInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalCacheConnectionInner.java
new file mode 100644
index 0000000000000..df9fdc852a68f
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalCacheConnectionInner.java
@@ -0,0 +1,194 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ExternalCacheConnectionProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * External Cache Connection resource, representing a cache connection relationship between External and Azure NetApp
+ * Files volumes.
+ */
+@Fluent
+public final class ExternalCacheConnectionInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ExternalCacheConnectionProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ExternalCacheConnectionInner class.
+ */
+ public ExternalCacheConnectionInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ExternalCacheConnectionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ExternalCacheConnectionInner object itself.
+ */
+ public ExternalCacheConnectionInner withProperties(ExternalCacheConnectionProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExternalCacheConnectionInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExternalCacheConnectionInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ExternalCacheConnectionInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ExternalCacheConnectionInner if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ExternalCacheConnectionInner.
+ */
+ public static ExternalCacheConnectionInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ExternalCacheConnectionInner deserializedExternalCacheConnectionInner = new ExternalCacheConnectionInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedExternalCacheConnectionInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedExternalCacheConnectionInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedExternalCacheConnectionInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedExternalCacheConnectionInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedExternalCacheConnectionInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedExternalCacheConnectionInner.properties
+ = ExternalCacheConnectionProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedExternalCacheConnectionInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedExternalCacheConnectionInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalCacheInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalCacheInner.java
new file mode 100644
index 0000000000000..99873702a06c6
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalCacheInner.java
@@ -0,0 +1,155 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ExternalCacheProperties;
+import java.io.IOException;
+
+/**
+ * External Cache resource, representing a cache volume on an external ONTAP system.
+ */
+@Immutable
+public final class ExternalCacheInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ExternalCacheProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ExternalCacheInner class.
+ */
+ private ExternalCacheInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ExternalCacheProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ExternalCacheInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ExternalCacheInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ExternalCacheInner.
+ */
+ public static ExternalCacheInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ExternalCacheInner deserializedExternalCacheInner = new ExternalCacheInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedExternalCacheInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedExternalCacheInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedExternalCacheInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedExternalCacheInner.properties = ExternalCacheProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedExternalCacheInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedExternalCacheInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalClusterInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalClusterInner.java
new file mode 100644
index 0000000000000..0afdaef409a26
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalClusterInner.java
@@ -0,0 +1,224 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ExternalClusterProperties;
+import com.azure.resourcemanager.netapp.models.ManagedServiceIdentity;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * External Cluster resource, representing a cluster on an external NetApp ONTAP system.
+ */
+@Fluent
+public final class ExternalClusterInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ExternalClusterProperties properties;
+
+ /*
+ * The managed service identities assigned to this resource.
+ */
+ private ManagedServiceIdentity identity;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ExternalClusterInner class.
+ */
+ public ExternalClusterInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ExternalClusterProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ExternalClusterInner object itself.
+ */
+ public ExternalClusterInner withProperties(ExternalClusterProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the identity property: The managed service identities assigned to this resource.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The managed service identities assigned to this resource.
+ *
+ * @param identity the identity value to set.
+ * @return the ExternalClusterInner object itself.
+ */
+ public ExternalClusterInner withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExternalClusterInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExternalClusterInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (identity() != null) {
+ identity().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeJsonField("identity", this.identity);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ExternalClusterInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ExternalClusterInner if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ExternalClusterInner.
+ */
+ public static ExternalClusterInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ExternalClusterInner deserializedExternalClusterInner = new ExternalClusterInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedExternalClusterInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedExternalClusterInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedExternalClusterInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedExternalClusterInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedExternalClusterInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedExternalClusterInner.properties = ExternalClusterProperties.fromJson(reader);
+ } else if ("identity".equals(fieldName)) {
+ deserializedExternalClusterInner.identity = ManagedServiceIdentity.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedExternalClusterInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedExternalClusterInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalSvmInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalSvmInner.java
new file mode 100644
index 0000000000000..3e730a3d65631
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ExternalSvmInner.java
@@ -0,0 +1,192 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.ExternalSvmProperties;
+import java.io.IOException;
+import java.util.Map;
+
+/**
+ * External SVM (Storage Virtual Machine, Vserver) resource, representing an SVM on an external NetApp ONTAP system.
+ */
+@Fluent
+public final class ExternalSvmInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ExternalSvmProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ExternalSvmInner class.
+ */
+ public ExternalSvmInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ExternalSvmProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ExternalSvmInner object itself.
+ */
+ public ExternalSvmInner withProperties(ExternalSvmProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExternalSvmInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExternalSvmInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ExternalSvmInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ExternalSvmInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ExternalSvmInner.
+ */
+ public static ExternalSvmInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ExternalSvmInner deserializedExternalSvmInner = new ExternalSvmInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedExternalSvmInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedExternalSvmInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedExternalSvmInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedExternalSvmInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedExternalSvmInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedExternalSvmInner.properties = ExternalSvmProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedExternalSvmInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedExternalSvmInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/NetAppAccountInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/NetAppAccountInner.java
index fa4ebd7949dc8..c55ef862ec674 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/NetAppAccountInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/NetAppAccountInner.java
@@ -12,6 +12,7 @@
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.netapp.models.AccountEncryption;
import com.azure.resourcemanager.netapp.models.ActiveDirectory;
+import com.azure.resourcemanager.netapp.models.EntraIdConfig;
import com.azure.resourcemanager.netapp.models.LdapConfiguration;
import com.azure.resourcemanager.netapp.models.ManagedServiceIdentity;
import com.azure.resourcemanager.netapp.models.MultiAdStatus;
@@ -196,6 +197,29 @@ public NetAppAccountInner withActiveDirectories(List activeDire
return this;
}
+ /**
+ * Get the entraIdConfig property: Entra ID configuration for the account.
+ *
+ * @return the entraIdConfig value.
+ */
+ public EntraIdConfig entraIdConfig() {
+ return this.innerProperties() == null ? null : this.innerProperties().entraIdConfig();
+ }
+
+ /**
+ * Set the entraIdConfig property: Entra ID configuration for the account.
+ *
+ * @param entraIdConfig the entraIdConfig value to set.
+ * @return the NetAppAccountInner object itself.
+ */
+ public NetAppAccountInner withEntraIdConfig(EntraIdConfig entraIdConfig) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AccountProperties();
+ }
+ this.innerProperties().withEntraIdConfig(entraIdConfig);
+ return this;
+ }
+
/**
* Get the encryption property: Encryption settings.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java
index a7f3357ea72ae..f381063299987 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java
@@ -18,8 +18,8 @@
@Fluent
public final class PoolPatchProperties implements JsonSerializable {
/*
- * Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of
- * 1099511627776).
+ * Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or in 1TiB chunks (value
+ * must be multiple of 1099511627776).
*/
private Long size;
@@ -46,8 +46,8 @@ public PoolPatchProperties() {
}
/**
- * Get the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
- * multiple of 1099511627776).
+ * Get the size property: Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or
+ * in 1TiB chunks (value must be multiple of 1099511627776).
*
* @return the size value.
*/
@@ -56,8 +56,8 @@ public Long size() {
}
/**
- * Set the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
- * multiple of 1099511627776).
+ * Set the size property: Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or
+ * in 1TiB chunks (value must be multiple of 1099511627776).
*
* @param size the size value to set.
* @return the PoolPatchProperties object itself.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java
index 25b7c2934f0f8..f9c2741a0671d 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java
@@ -26,8 +26,8 @@ public final class PoolProperties implements JsonSerializable {
private String poolId;
/*
- * Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of
- * 1099511627776).
+ * Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or in 1TiB chunks (value
+ * must be multiple of 1099511627776).
*/
private long size;
@@ -89,8 +89,8 @@ public String poolId() {
}
/**
- * Get the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
- * multiple of 1099511627776).
+ * Get the size property: Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or
+ * in 1TiB chunks (value must be multiple of 1099511627776).
*
* @return the size value.
*/
@@ -99,8 +99,8 @@ public long size() {
}
/**
- * Set the size property: Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be
- * multiple of 1099511627776).
+ * Set the size property: Provisioned size of the pool (in bytes). Allowed values are 512GiB (549755813888 bytes) or
+ * in 1TiB chunks (value must be multiple of 1099511627776).
*
* @param size the size value to set.
* @return the PoolProperties object itself.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SvmPeerInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SvmPeerInner.java
new file mode 100644
index 0000000000000..5cd380b766803
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SvmPeerInner.java
@@ -0,0 +1,155 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.SvmPeerProperties;
+import java.io.IOException;
+
+/**
+ * SVM Peer resource, represents a peer relationship between an external SVM and an Azure NetApp Files SVM.
+ */
+@Immutable
+public final class SvmPeerInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private SvmPeerProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of SvmPeerInner class.
+ */
+ private SvmPeerInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public SvmPeerProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of SvmPeerInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of SvmPeerInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the SvmPeerInner.
+ */
+ public static SvmPeerInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ SvmPeerInner deserializedSvmPeerInner = new SvmPeerInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedSvmPeerInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedSvmPeerInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedSvmPeerInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedSvmPeerInner.properties = SvmPeerProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedSvmPeerInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedSvmPeerInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java
index dca3ce31427c0..eff5c6abc5244 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeInner.java
@@ -12,6 +12,7 @@
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.netapp.models.AcceptGrowCapacityPoolForShortTermCloneSplit;
+import com.azure.resourcemanager.netapp.models.AsyncDirectoryDelete;
import com.azure.resourcemanager.netapp.models.AvsDataStore;
import com.azure.resourcemanager.netapp.models.BreakthroughMode;
import com.azure.resourcemanager.netapp.models.CoolAccessRetrievalPolicy;
@@ -19,6 +20,8 @@
import com.azure.resourcemanager.netapp.models.EnableSubvolumes;
import com.azure.resourcemanager.netapp.models.EncryptionKeySource;
import com.azure.resourcemanager.netapp.models.FileAccessLogs;
+import com.azure.resourcemanager.netapp.models.LargeVolumeType;
+import com.azure.resourcemanager.netapp.models.LdapServerType;
import com.azure.resourcemanager.netapp.models.MountTargetProperties;
import com.azure.resourcemanager.netapp.models.NetworkFeatures;
import com.azure.resourcemanager.netapp.models.PlacementKeyValuePairs;
@@ -26,6 +29,9 @@
import com.azure.resourcemanager.netapp.models.ServiceLevel;
import com.azure.resourcemanager.netapp.models.SmbAccessBasedEnumeration;
import com.azure.resourcemanager.netapp.models.SmbNonBrowsable;
+import com.azure.resourcemanager.netapp.models.SmbOplocks;
+import com.azure.resourcemanager.netapp.models.VolumeLanguage;
+import com.azure.resourcemanager.netapp.models.VolumeNamespaceProperties;
import com.azure.resourcemanager.netapp.models.VolumePropertiesDataProtection;
import com.azure.resourcemanager.netapp.models.VolumePropertiesExportPolicy;
import com.azure.resourcemanager.netapp.models.VolumeStorageToNetworkProximity;
@@ -235,9 +241,11 @@ public VolumeInner withServiceLevel(ServiceLevel serviceLevel) {
/**
* Get the usageThreshold property: 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. Values
- * expressed in bytes as multiples of 1 GiB.
+ * 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.
*
* @return the usageThreshold value.
*/
@@ -247,9 +255,11 @@ public long usageThreshold() {
/**
* Set the usageThreshold property: 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. Values
- * expressed in bytes as multiples of 1 GiB.
+ * 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.
*
* @param usageThreshold the usageThreshold value to set.
* @return the VolumeInner object itself.
@@ -757,6 +767,31 @@ public VolumeInner withSmbContinuouslyAvailable(Boolean smbContinuouslyAvailable
return this;
}
+ /**
+ * Get the smbOplocks property: Enables or disables SMB opportunistic lock property for SMB Shares. Only applicable
+ * for SMB/DualProtocol volume.
+ *
+ * @return the smbOplocks value.
+ */
+ public SmbOplocks smbOplocks() {
+ return this.innerProperties() == null ? null : this.innerProperties().smbOplocks();
+ }
+
+ /**
+ * Set the smbOplocks property: Enables or disables SMB opportunistic lock property for SMB Shares. Only applicable
+ * for SMB/DualProtocol volume.
+ *
+ * @param smbOplocks the smbOplocks value to set.
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withSmbOplocks(SmbOplocks smbOplocks) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VolumeProperties();
+ }
+ this.innerProperties().withSmbOplocks(smbOplocks);
+ return this;
+ }
+
/**
* Get the throughputMibps property: Maximum throughput in MiB/s that can be achieved by this volume and this will
* be accepted as input only for manual qosType volume.
@@ -867,6 +902,29 @@ public VolumeInner withLdapEnabled(Boolean ldapEnabled) {
return this;
}
+ /**
+ * Get the ldapServerType property: Specifies the type of LDAP server for a given NFS volume.
+ *
+ * @return the ldapServerType value.
+ */
+ public LdapServerType ldapServerType() {
+ return this.innerProperties() == null ? null : this.innerProperties().ldapServerType();
+ }
+
+ /**
+ * Set the ldapServerType property: Specifies the type of LDAP server for a given NFS volume.
+ *
+ * @param ldapServerType the ldapServerType value to set.
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withLdapServerType(LdapServerType ldapServerType) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VolumeProperties();
+ }
+ this.innerProperties().withLdapServerType(ldapServerType);
+ return this;
+ }
+
/**
* Get the coolAccess property: Specifies whether Cool Access(tiering) is enabled for the volume.
*
@@ -1088,6 +1146,29 @@ public VolumeInner withIsDefaultQuotaEnabled(Boolean isDefaultQuotaEnabled) {
return this;
}
+ /**
+ * Get the asyncDirectoryDelete property: Async Directory Delete configuration for the volume.
+ *
+ * @return the asyncDirectoryDelete value.
+ */
+ public AsyncDirectoryDelete asyncDirectoryDelete() {
+ return this.innerProperties() == null ? null : this.innerProperties().asyncDirectoryDelete();
+ }
+
+ /**
+ * Set the asyncDirectoryDelete property: Async Directory Delete configuration for the volume.
+ *
+ * @param asyncDirectoryDelete the asyncDirectoryDelete value to set.
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withAsyncDirectoryDelete(AsyncDirectoryDelete asyncDirectoryDelete) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VolumeProperties();
+ }
+ this.innerProperties().withAsyncDirectoryDelete(asyncDirectoryDelete);
+ return this;
+ }
+
/**
* Get the defaultUserQuotaInKiBs property: Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set,
* the minimum value of 4 KiBs applies .
@@ -1328,6 +1409,37 @@ public VolumeInner withIsLargeVolume(Boolean isLargeVolume) {
return this;
}
+ /**
+ * Get the largeVolumeType property: 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.
+ *
+ * @return the largeVolumeType value.
+ */
+ public LargeVolumeType largeVolumeType() {
+ return this.innerProperties() == null ? null : this.innerProperties().largeVolumeType();
+ }
+
+ /**
+ * Set the largeVolumeType property: 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.
+ *
+ * @param largeVolumeType the largeVolumeType value to set.
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withLargeVolumeType(LargeVolumeType largeVolumeType) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VolumeProperties();
+ }
+ this.innerProperties().withLargeVolumeType(largeVolumeType);
+ return this;
+ }
+
/**
* Get the originatingResourceId property: Id of the snapshot or backup that the volume is restored from.
*
@@ -1346,6 +1458,29 @@ public Long inheritedSizeInBytes() {
return this.innerProperties() == null ? null : this.innerProperties().inheritedSizeInBytes();
}
+ /**
+ * Get the language property: Language supported for volume.
+ *
+ * @return the language value.
+ */
+ public VolumeLanguage language() {
+ return this.innerProperties() == null ? null : this.innerProperties().language();
+ }
+
+ /**
+ * Set the language property: Language supported for volume.
+ *
+ * @param language the language value to set.
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withLanguage(VolumeLanguage language) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VolumeProperties();
+ }
+ this.innerProperties().withLanguage(language);
+ return this;
+ }
+
/**
* Get the breakthroughMode property: Specifies whether the volume operates in Breakthrough Mode.
*
@@ -1369,6 +1504,29 @@ public VolumeInner withBreakthroughMode(BreakthroughMode breakthroughMode) {
return this;
}
+ /**
+ * Get the geoNamespaceProperties property: Geographic namespace properties for this volume.
+ *
+ * @return the geoNamespaceProperties value.
+ */
+ public VolumeNamespaceProperties geoNamespaceProperties() {
+ return this.innerProperties() == null ? null : this.innerProperties().geoNamespaceProperties();
+ }
+
+ /**
+ * Set the geoNamespaceProperties property: Geographic namespace properties for this volume.
+ *
+ * @param geoNamespaceProperties the geoNamespaceProperties value to set.
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withGeoNamespaceProperties(VolumeNamespaceProperties geoNamespaceProperties) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VolumeProperties();
+ }
+ this.innerProperties().withGeoNamespaceProperties(geoNamespaceProperties);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumePatchProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumePatchProperties.java
index ad12e728cbfe0..6bbd6a5dfe559 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumePatchProperties.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumePatchProperties.java
@@ -9,11 +9,14 @@
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.AsyncDirectoryDelete;
import com.azure.resourcemanager.netapp.models.CoolAccessRetrievalPolicy;
import com.azure.resourcemanager.netapp.models.CoolAccessTieringPolicy;
import com.azure.resourcemanager.netapp.models.ServiceLevel;
import com.azure.resourcemanager.netapp.models.SmbAccessBasedEnumeration;
import com.azure.resourcemanager.netapp.models.SmbNonBrowsable;
+import com.azure.resourcemanager.netapp.models.SmbOplocks;
+import com.azure.resourcemanager.netapp.models.VolumePatchNamespaceProperties;
import com.azure.resourcemanager.netapp.models.VolumePatchPropertiesDataProtection;
import com.azure.resourcemanager.netapp.models.VolumePatchPropertiesExportPolicy;
import java.io.IOException;
@@ -31,8 +34,10 @@ public final class VolumePatchProperties implements JsonSerializable e.validate());
}
+ if (geoNamespaceProperties() != null) {
+ geoNamespaceProperties().validate();
+ }
}
private static final ClientLogger LOGGER = new ClientLogger(VolumeProperties.class);
@@ -1501,11 +1683,14 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("smbNonBrowsable",
this.smbNonBrowsable == null ? null : this.smbNonBrowsable.toString());
jsonWriter.writeBooleanField("smbContinuouslyAvailable", this.smbContinuouslyAvailable);
+ jsonWriter.writeStringField("smbOplocks", this.smbOplocks == null ? null : this.smbOplocks.toString());
jsonWriter.writeNumberField("throughputMibps", this.throughputMibps);
jsonWriter.writeStringField("encryptionKeySource",
this.encryptionKeySource == null ? null : this.encryptionKeySource.toString());
jsonWriter.writeStringField("keyVaultPrivateEndpointResourceId", this.keyVaultPrivateEndpointResourceId);
jsonWriter.writeBooleanField("ldapEnabled", this.ldapEnabled);
+ jsonWriter.writeStringField("ldapServerType",
+ this.ldapServerType == null ? null : this.ldapServerType.toString());
jsonWriter.writeBooleanField("coolAccess", this.coolAccess);
jsonWriter.writeNumberField("coolnessPeriod", this.coolnessPeriod);
jsonWriter.writeStringField("coolAccessRetrievalPolicy",
@@ -1515,6 +1700,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("unixPermissions", this.unixPermissions);
jsonWriter.writeStringField("avsDataStore", this.avsDataStore == null ? null : this.avsDataStore.toString());
jsonWriter.writeBooleanField("isDefaultQuotaEnabled", this.isDefaultQuotaEnabled);
+ jsonWriter.writeJsonField("asyncDirectoryDelete", this.asyncDirectoryDelete);
jsonWriter.writeNumberField("defaultUserQuotaInKiBs", this.defaultUserQuotaInKiBs);
jsonWriter.writeNumberField("defaultGroupQuotaInKiBs", this.defaultGroupQuotaInKiBs);
jsonWriter.writeStringField("capacityPoolResourceId", this.capacityPoolResourceId);
@@ -1525,8 +1711,12 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("enableSubvolumes",
this.enableSubvolumes == null ? null : this.enableSubvolumes.toString());
jsonWriter.writeBooleanField("isLargeVolume", this.isLargeVolume);
+ jsonWriter.writeStringField("largeVolumeType",
+ this.largeVolumeType == null ? null : this.largeVolumeType.toString());
+ jsonWriter.writeStringField("language", this.language == null ? null : this.language.toString());
jsonWriter.writeStringField("breakthroughMode",
this.breakthroughMode == null ? null : this.breakthroughMode.toString());
+ jsonWriter.writeJsonField("geoNamespaceProperties", this.geoNamespaceProperties);
return jsonWriter.writeEndObject();
}
@@ -1609,6 +1799,8 @@ public static VolumeProperties fromJson(JsonReader jsonReader) throws IOExceptio
deserializedVolumeProperties.smbNonBrowsable = SmbNonBrowsable.fromString(reader.getString());
} else if ("smbContinuouslyAvailable".equals(fieldName)) {
deserializedVolumeProperties.smbContinuouslyAvailable = reader.getNullable(JsonReader::getBoolean);
+ } else if ("smbOplocks".equals(fieldName)) {
+ deserializedVolumeProperties.smbOplocks = SmbOplocks.fromString(reader.getString());
} else if ("throughputMibps".equals(fieldName)) {
deserializedVolumeProperties.throughputMibps = reader.getNullable(JsonReader::getFloat);
} else if ("actualThroughputMibps".equals(fieldName)) {
@@ -1620,6 +1812,8 @@ public static VolumeProperties fromJson(JsonReader jsonReader) throws IOExceptio
deserializedVolumeProperties.keyVaultPrivateEndpointResourceId = reader.getString();
} else if ("ldapEnabled".equals(fieldName)) {
deserializedVolumeProperties.ldapEnabled = reader.getNullable(JsonReader::getBoolean);
+ } else if ("ldapServerType".equals(fieldName)) {
+ deserializedVolumeProperties.ldapServerType = LdapServerType.fromString(reader.getString());
} else if ("coolAccess".equals(fieldName)) {
deserializedVolumeProperties.coolAccess = reader.getNullable(JsonReader::getBoolean);
} else if ("coolnessPeriod".equals(fieldName)) {
@@ -1643,6 +1837,8 @@ public static VolumeProperties fromJson(JsonReader jsonReader) throws IOExceptio
deserializedVolumeProperties.dataStoreResourceId = dataStoreResourceId;
} else if ("isDefaultQuotaEnabled".equals(fieldName)) {
deserializedVolumeProperties.isDefaultQuotaEnabled = reader.getNullable(JsonReader::getBoolean);
+ } else if ("asyncDirectoryDelete".equals(fieldName)) {
+ deserializedVolumeProperties.asyncDirectoryDelete = AsyncDirectoryDelete.fromJson(reader);
} else if ("defaultUserQuotaInKiBs".equals(fieldName)) {
deserializedVolumeProperties.defaultUserQuotaInKiBs = reader.getNullable(JsonReader::getLong);
} else if ("defaultGroupQuotaInKiBs".equals(fieldName)) {
@@ -1671,12 +1867,18 @@ public static VolumeProperties fromJson(JsonReader jsonReader) throws IOExceptio
deserializedVolumeProperties.provisionedAvailabilityZone = reader.getString();
} else if ("isLargeVolume".equals(fieldName)) {
deserializedVolumeProperties.isLargeVolume = reader.getNullable(JsonReader::getBoolean);
+ } else if ("largeVolumeType".equals(fieldName)) {
+ deserializedVolumeProperties.largeVolumeType = LargeVolumeType.fromString(reader.getString());
} else if ("originatingResourceId".equals(fieldName)) {
deserializedVolumeProperties.originatingResourceId = reader.getString();
} else if ("inheritedSizeInBytes".equals(fieldName)) {
deserializedVolumeProperties.inheritedSizeInBytes = reader.getNullable(JsonReader::getLong);
+ } else if ("language".equals(fieldName)) {
+ deserializedVolumeProperties.language = VolumeLanguage.fromString(reader.getString());
} else if ("breakthroughMode".equals(fieldName)) {
deserializedVolumeProperties.breakthroughMode = BreakthroughMode.fromString(reader.getString());
+ } else if ("geoNamespaceProperties".equals(fieldName)) {
+ deserializedVolumeProperties.geoNamespaceProperties = VolumeNamespaceProperties.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/ActiveDirectoryConfigImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/ActiveDirectoryConfigImpl.java
new file mode 100644
index 0000000000000..9608e5b64d4dc
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/ActiveDirectoryConfigImpl.java
@@ -0,0 +1,204 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.implementation;
+
+import com.azure.core.management.Region;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.netapp.fluent.models.ActiveDirectoryConfigInner;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfig;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigProperties;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigUpdate;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigUpdateProperties;
+import com.azure.resourcemanager.netapp.models.ManagedServiceIdentity;
+import java.util.Collections;
+import java.util.Map;
+
+public final class ActiveDirectoryConfigImpl
+ implements ActiveDirectoryConfig, ActiveDirectoryConfig.Definition, ActiveDirectoryConfig.Update {
+ private ActiveDirectoryConfigInner innerObject;
+
+ private final com.azure.resourcemanager.netapp.NetAppFilesManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public String location() {
+ return this.innerModel().location();
+ }
+
+ public Map tags() {
+ Map inner = this.innerModel().tags();
+ if (inner != null) {
+ return Collections.unmodifiableMap(inner);
+ } else {
+ return Collections.emptyMap();
+ }
+ }
+
+ public ActiveDirectoryConfigProperties properties() {
+ return this.innerModel().properties();
+ }
+
+ public String etag() {
+ return this.innerModel().etag();
+ }
+
+ public ManagedServiceIdentity identity() {
+ return this.innerModel().identity();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public Region region() {
+ return Region.fromName(this.regionName());
+ }
+
+ public String regionName() {
+ return this.location();
+ }
+
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
+ public ActiveDirectoryConfigInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.netapp.NetAppFilesManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String activeDirectoryConfigName;
+
+ private ActiveDirectoryConfigUpdate updateBody;
+
+ public ActiveDirectoryConfigImpl withExistingResourceGroup(String resourceGroupName) {
+ this.resourceGroupName = resourceGroupName;
+ return this;
+ }
+
+ public ActiveDirectoryConfig create() {
+ this.innerObject = serviceManager.serviceClient()
+ .getActiveDirectoryConfigs()
+ .createOrUpdate(resourceGroupName, activeDirectoryConfigName, this.innerModel(), Context.NONE);
+ return this;
+ }
+
+ public ActiveDirectoryConfig create(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getActiveDirectoryConfigs()
+ .createOrUpdate(resourceGroupName, activeDirectoryConfigName, this.innerModel(), context);
+ return this;
+ }
+
+ ActiveDirectoryConfigImpl(String name, com.azure.resourcemanager.netapp.NetAppFilesManager serviceManager) {
+ this.innerObject = new ActiveDirectoryConfigInner();
+ this.serviceManager = serviceManager;
+ this.activeDirectoryConfigName = name;
+ }
+
+ public ActiveDirectoryConfigImpl update() {
+ this.updateBody = new ActiveDirectoryConfigUpdate();
+ return this;
+ }
+
+ public ActiveDirectoryConfig apply() {
+ this.innerObject = serviceManager.serviceClient()
+ .getActiveDirectoryConfigs()
+ .update(resourceGroupName, activeDirectoryConfigName, updateBody, Context.NONE);
+ return this;
+ }
+
+ public ActiveDirectoryConfig apply(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getActiveDirectoryConfigs()
+ .update(resourceGroupName, activeDirectoryConfigName, updateBody, context);
+ return this;
+ }
+
+ ActiveDirectoryConfigImpl(ActiveDirectoryConfigInner innerObject,
+ com.azure.resourcemanager.netapp.NetAppFilesManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.activeDirectoryConfigName
+ = ResourceManagerUtils.getValueFromIdByName(innerObject.id(), "activeDirectoryConfigs");
+ }
+
+ public ActiveDirectoryConfig refresh() {
+ this.innerObject = serviceManager.serviceClient()
+ .getActiveDirectoryConfigs()
+ .getByResourceGroupWithResponse(resourceGroupName, activeDirectoryConfigName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public ActiveDirectoryConfig refresh(Context context) {
+ this.innerObject = serviceManager.serviceClient()
+ .getActiveDirectoryConfigs()
+ .getByResourceGroupWithResponse(resourceGroupName, activeDirectoryConfigName, context)
+ .getValue();
+ return this;
+ }
+
+ public ActiveDirectoryConfigImpl withRegion(Region location) {
+ this.innerModel().withLocation(location.toString());
+ return this;
+ }
+
+ public ActiveDirectoryConfigImpl withRegion(String location) {
+ this.innerModel().withLocation(location);
+ return this;
+ }
+
+ public ActiveDirectoryConfigImpl withTags(Map tags) {
+ if (isInCreateMode()) {
+ this.innerModel().withTags(tags);
+ return this;
+ } else {
+ this.updateBody.withTags(tags);
+ return this;
+ }
+ }
+
+ public ActiveDirectoryConfigImpl withProperties(ActiveDirectoryConfigProperties properties) {
+ this.innerModel().withProperties(properties);
+ return this;
+ }
+
+ public ActiveDirectoryConfigImpl withIdentity(ManagedServiceIdentity identity) {
+ if (isInCreateMode()) {
+ this.innerModel().withIdentity(identity);
+ return this;
+ } else {
+ this.updateBody.withIdentity(identity);
+ return this;
+ }
+ }
+
+ public ActiveDirectoryConfigImpl withProperties(ActiveDirectoryConfigUpdateProperties properties) {
+ this.updateBody.withProperties(properties);
+ return this;
+ }
+
+ private boolean isInCreateMode() {
+ return this.innerModel() == null || this.innerModel().id() == null;
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/ActiveDirectoryConfigsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/ActiveDirectoryConfigsClientImpl.java
new file mode 100644
index 0000000000000..0b1642b1e1788
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/ActiveDirectoryConfigsClientImpl.java
@@ -0,0 +1,1468 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.netapp.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.Patch;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.BinaryData;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.netapp.fluent.ActiveDirectoryConfigsClient;
+import com.azure.resourcemanager.netapp.fluent.models.ActiveDirectoryConfigInner;
+import com.azure.resourcemanager.netapp.implementation.models.ActiveDirectoryConfigListResult;
+import com.azure.resourcemanager.netapp.models.ActiveDirectoryConfigUpdate;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in ActiveDirectoryConfigsClient.
+ */
+public final class ActiveDirectoryConfigsClientImpl implements ActiveDirectoryConfigsClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final ActiveDirectoryConfigsService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final NetAppManagementClientImpl client;
+
+ /**
+ * Initializes an instance of ActiveDirectoryConfigsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ActiveDirectoryConfigsClientImpl(NetAppManagementClientImpl client) {
+ this.service = RestProxy.create(ActiveDirectoryConfigsService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for NetAppManagementClientActiveDirectoryConfigs to be used by the proxy
+ * service to perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "NetAppManagementClientActiveDirectoryConfigs")
+ public interface ActiveDirectoryConfigsService {
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> getByResourceGroup(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("activeDirectoryConfigName") String activeDirectoryConfigName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response getByResourceGroupSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("activeDirectoryConfigName") String activeDirectoryConfigName,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> createOrUpdate(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("activeDirectoryConfigName") String activeDirectoryConfigName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ActiveDirectoryConfigInner body, Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response createOrUpdateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("activeDirectoryConfigName") String activeDirectoryConfigName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ActiveDirectoryConfigInner body, Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> update(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("activeDirectoryConfigName") String activeDirectoryConfigName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ActiveDirectoryConfigUpdate body, Context context);
+
+ @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}")
+ @ExpectedResponses({ 200, 202 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response updateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("activeDirectoryConfigName") String activeDirectoryConfigName,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") ActiveDirectoryConfigUpdate body, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> delete(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("activeDirectoryConfigName") String activeDirectoryConfigName, Context context);
+
+ @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}")
+ @ExpectedResponses({ 202, 204 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response deleteSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("activeDirectoryConfigName") String activeDirectoryConfigName, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByResourceGroup(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByResourceGroupSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/activeDirectoryConfigs")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> list(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/activeDirectoryConfigs")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listByResourceGroupNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listByResourceGroupNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> listBySubscriptionNext(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("{nextLink}")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response listBySubscriptionNextSync(
+ @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint,
+ @HeaderParam("Accept") String accept, Context context);
+ }
+
+ /**
+ * Get the details of the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the details of the specified active directory configuration along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
+ String activeDirectoryConfigName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.getByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, accept, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the details of the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the details of the specified active directory configuration on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getByResourceGroupAsync(String resourceGroupName,
+ String activeDirectoryConfigName) {
+ return getByResourceGroupWithResponseAsync(resourceGroupName, activeDirectoryConfigName)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Get the details of the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the details of the specified active directory configuration along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getByResourceGroupWithResponse(String resourceGroupName,
+ String activeDirectoryConfigName, Context context) {
+ if (this.client.getEndpoint() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return service.getByResourceGroupSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, accept, context);
+ }
+
+ /**
+ * Get the details of the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the details of the specified active directory configuration.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ActiveDirectoryConfigInner getByResourceGroup(String resourceGroupName, String activeDirectoryConfigName) {
+ return getByResourceGroupWithResponse(resourceGroupName, activeDirectoryConfigName, Context.NONE).getValue();
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
+ String activeDirectoryConfigName, ActiveDirectoryConfigInner body) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ if (body == null) {
+ return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, contentType, accept,
+ body, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response createOrUpdateWithResponse(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigInner body) {
+ if (this.client.getEndpoint() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ if (body == null) {
+ throw LOGGER.atError().log(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, contentType, accept, body,
+ Context.NONE);
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response createOrUpdateWithResponse(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigInner body, Context context) {
+ if (this.client.getEndpoint() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ if (body == null) {
+ throw LOGGER.atError().log(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, contentType, accept, body,
+ context);
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ActiveDirectoryConfigInner> beginCreateOrUpdateAsync(
+ String resourceGroupName, String activeDirectoryConfigName, ActiveDirectoryConfigInner body) {
+ Mono>> mono
+ = createOrUpdateWithResponseAsync(resourceGroupName, activeDirectoryConfigName, body);
+ return this.client.getLroResult(mono,
+ this.client.getHttpPipeline(), ActiveDirectoryConfigInner.class, ActiveDirectoryConfigInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ActiveDirectoryConfigInner> beginCreateOrUpdate(
+ String resourceGroupName, String activeDirectoryConfigName, ActiveDirectoryConfigInner body) {
+ Response response = createOrUpdateWithResponse(resourceGroupName, activeDirectoryConfigName, body);
+ return this.client.getLroResult(response,
+ ActiveDirectoryConfigInner.class, ActiveDirectoryConfigInner.class, Context.NONE);
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ActiveDirectoryConfigInner> beginCreateOrUpdate(
+ String resourceGroupName, String activeDirectoryConfigName, ActiveDirectoryConfigInner body, Context context) {
+ Response response
+ = createOrUpdateWithResponse(resourceGroupName, activeDirectoryConfigName, body, context);
+ return this.client.getLroResult(response,
+ ActiveDirectoryConfigInner.class, ActiveDirectoryConfigInner.class, context);
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono createOrUpdateAsync(String resourceGroupName,
+ String activeDirectoryConfigName, ActiveDirectoryConfigInner body) {
+ return beginCreateOrUpdateAsync(resourceGroupName, activeDirectoryConfigName, body).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ActiveDirectoryConfigInner createOrUpdate(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigInner body) {
+ return beginCreateOrUpdate(resourceGroupName, activeDirectoryConfigName, body).getFinalResult();
+ }
+
+ /**
+ * Create or update the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ActiveDirectoryConfigInner createOrUpdate(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigInner body, Context context) {
+ return beginCreateOrUpdate(resourceGroupName, activeDirectoryConfigName, body, context).getFinalResult();
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> updateWithResponseAsync(String resourceGroupName,
+ String activeDirectoryConfigName, ActiveDirectoryConfigUpdate body) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ if (body == null) {
+ return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, contentType, accept,
+ body, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response updateWithResponse(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigUpdate body) {
+ if (this.client.getEndpoint() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ if (body == null) {
+ throw LOGGER.atError().log(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, contentType, accept, body,
+ Context.NONE);
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response updateWithResponse(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigUpdate body, Context context) {
+ if (this.client.getEndpoint() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ if (body == null) {
+ throw LOGGER.atError().log(new IllegalArgumentException("Parameter body is required and cannot be null."));
+ } else {
+ body.validate();
+ }
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, contentType, accept, body,
+ context);
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, ActiveDirectoryConfigInner>
+ beginUpdateAsync(String resourceGroupName, String activeDirectoryConfigName, ActiveDirectoryConfigUpdate body) {
+ Mono>> mono
+ = updateWithResponseAsync(resourceGroupName, activeDirectoryConfigName, body);
+ return this.client.getLroResult(mono,
+ this.client.getHttpPipeline(), ActiveDirectoryConfigInner.class, ActiveDirectoryConfigInner.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ActiveDirectoryConfigInner>
+ beginUpdate(String resourceGroupName, String activeDirectoryConfigName, ActiveDirectoryConfigUpdate body) {
+ Response response = updateWithResponse(resourceGroupName, activeDirectoryConfigName, body);
+ return this.client.getLroResult(response,
+ ActiveDirectoryConfigInner.class, ActiveDirectoryConfigInner.class, Context.NONE);
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, ActiveDirectoryConfigInner> beginUpdate(
+ String resourceGroupName, String activeDirectoryConfigName, ActiveDirectoryConfigUpdate body, Context context) {
+ Response response = updateWithResponse(resourceGroupName, activeDirectoryConfigName, body, context);
+ return this.client.getLroResult(response,
+ ActiveDirectoryConfigInner.class, ActiveDirectoryConfigInner.class, context);
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono updateAsync(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigUpdate body) {
+ return beginUpdateAsync(resourceGroupName, activeDirectoryConfigName, body).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ActiveDirectoryConfigInner update(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigUpdate body) {
+ return beginUpdate(resourceGroupName, activeDirectoryConfigName, body).getFinalResult();
+ }
+
+ /**
+ * Patch the specified active directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param body The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return active Directory Configuration resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ActiveDirectoryConfigInner update(String resourceGroupName, String activeDirectoryConfigName,
+ ActiveDirectoryConfigUpdate body, Context context) {
+ return beginUpdate(resourceGroupName, activeDirectoryConfigName, body, context).getFinalResult();
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>> deleteWithResponseAsync(String resourceGroupName,
+ String activeDirectoryConfigName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ return FluxUtil
+ .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response deleteWithResponse(String resourceGroupName, String activeDirectoryConfigName) {
+ if (this.client.getEndpoint() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, Context.NONE);
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Response deleteWithResponse(String resourceGroupName, String activeDirectoryConfigName,
+ Context context) {
+ if (this.client.getEndpoint() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ if (activeDirectoryConfigName == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Parameter activeDirectoryConfigName is required and cannot be null."));
+ }
+ return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, activeDirectoryConfigName, context);
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link PollerFlux} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ private PollerFlux, Void> beginDeleteAsync(String resourceGroupName,
+ String activeDirectoryConfigName) {
+ Mono>> mono = deleteWithResponseAsync(resourceGroupName, activeDirectoryConfigName);
+ return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class,
+ this.client.getContext());
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String activeDirectoryConfigName) {
+ Response response = deleteWithResponse(resourceGroupName, activeDirectoryConfigName);
+ return this.client.getLroResult(response, Void.class, Void.class, Context.NONE);
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller, Void> beginDelete(String resourceGroupName, String activeDirectoryConfigName,
+ Context context) {
+ Response response = deleteWithResponse(resourceGroupName, activeDirectoryConfigName, context);
+ return this.client.getLroResult(response, Void.class, Void.class, context);
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return A {@link Mono} that completes when a successful response is received.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono deleteAsync(String resourceGroupName, String activeDirectoryConfigName) {
+ return beginDeleteAsync(resourceGroupName, activeDirectoryConfigName).last()
+ .flatMap(this.client::getLroFinalResultOrError);
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String activeDirectoryConfigName) {
+ beginDelete(resourceGroupName, activeDirectoryConfigName).getFinalResult();
+ }
+
+ /**
+ * Delete the specified Active Directory configuration.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param activeDirectoryConfigName The name of the ActiveDirectoryConfig.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public void delete(String resourceGroupName, String activeDirectoryConfigName, Context context) {
+ beginDelete(resourceGroupName, activeDirectoryConfigName, context).getFinalResult();
+ }
+
+ /**
+ * List all active directory configurations within the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ActiveDirectoryConfig list operation along with {@link PagedResponse} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ listByResourceGroupSinglePageAsync(String resourceGroupName) {
+ if (this.client.getEndpoint() == null) {
+ return Mono.error(
+ new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
+ }
+ if (this.client.getSubscriptionId() == null) {
+ return Mono.error(new IllegalArgumentException(
+ "Parameter this.client.getSubscriptionId() is required and cannot be null."));
+ }
+ if (resourceGroupName == null) {
+ return Mono
+ .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * List all active directory configurations within the resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ActiveDirectoryConfig list operation as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ private PagedFlux