diff --git a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
index ce9400e2a77b..7195c8e974b7 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md
@@ -1,270 +1,1064 @@
# Release History
-## 2.1.0-beta.1 (Unreleased)
+## 2.1.0-beta.1 (2025-11-24)
+
+- 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 2025-09-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+### Features Added
+
+* `models.RansomwareSuspects` was added
+
+* `models.BucketPatch` was added
+
+* `models.ElasticBackupProperties` was added
+
+* `models.EncryptionState` was added
+
+* `models.ElasticBackupPolicyProperties` was added
+
+* `models.ElasticSnapshot` was added
+
+* `models.ElasticCapacityPools` was added
+
+* `models.ElasticKeyVaultProperties` was added
+
+* `models.LdapConfiguration` was added
+
+* `models.RansomwareReport` was added
+
+* `models.ElasticVolumeUpdateProperties` was added
+
+* `models.ActualRansomwareProtectionState` was added
+
+* `models.ElasticBackup$Definition` was added
+
+* `models.ElasticSnapshotPolicyHourlySchedule` was added
+
+* `models.ElasticMountTargetProperties` was added
+
+* `models.Bucket$DefinitionStages` was added
+
+* `models.ElasticVolumeUpdate` was added
+
+* `models.ElasticVolume$UpdateStages` was added
+
+* `models.KerberosState` was added
+
+* `models.ElasticVolumeDataProtectionProperties` was added
+
+* `models.ElasticSnapshotPolicyProperties` was added
+
+* `models.ElasticVolumeSnapshotProperties` was added
+
+* `models.ElasticPoolEncryptionKeySource` was added
+
+* `models.ListQuotaReportResponse` was added
+
+* `models.ElasticServiceLevel` was added
+
+* `models.CacheLifeCycleState` was added
+
+* `models.ElasticBackupPolicy` was added
+
+* `models.SmbSettings` was added
+
+* `models.BucketServerProperties` was added
+
+* `models.ElasticResourceAvailabilityStatus` was added
+
+* `models.Cache$UpdateStages` was added
+
+* `models.LdapServerType` was added
+
+* `models.ElasticCapacityPoolUpdateProperties` was added
+
+* `models.ElasticNfsv3Access` was added
+
+* `models.RansomwareSuspectResolution` was added
+
+* `models.CheckElasticVolumeFilePathAvailabilityRequest` was added
+
+* `models.SuspectFile` was added
+
+* `models.VolumeLanguage` was added
+
+* `models.ElasticSmbEncryption` was added
+
+* `models.ElasticVolumeProperties` was added
+
+* `models.BreakthroughMode` was added
+
+* `models.ElasticAccount$DefinitionStages` was added
+
+* `models.ElasticEncryption` was added
+
+* `models.ElasticBackupPolicy$Definition` was added
+
+* `models.RansomwareReportSeverity` was added
+
+* `models.ElasticVolumeRevert` was added
+
+* `models.RansomwareReports` was added
+
+* `models.ActiveDirectoryConfig$Definition` was added
+
+* `models.SnapshotUsage` was added
+
+* `models.ActiveDirectoryConfig` was added
+
+* `models.VolumeSize` was added
+
+* `models.ElasticBackupPolicies` was added
+
+* `models.CacheMountTargetProperties` was added
+
+* `models.ElasticExportPolicyRule` was added
+
+* `models.BucketPermissions` was added
+
+* `models.ActiveDirectoryConfig$DefinitionStages` was added
+
+* `models.ElasticAccountUpdate` was added
+
+* `models.ElasticCapacityPoolUpdate` was added
+
+* `models.ElasticSnapshot$UpdateStages` was added
+
+* `models.CifsChangeNotifyState` was added
+
+* `models.ActiveDirectoryConfigUpdateProperties` was added
+
+* `models.ElasticAccountProperties` was added
+
+* `models.ElasticSnapshots` was added
+
+* `models.ElasticKeyVaultStatus` was added
+
+* `models.BucketPatchPermissions` was added
+
+* `models.Bucket$Definition` was added
+
+* `models.ElasticEncryptionIdentity` was added
+
+* `models.Bucket` was added
+
+* `models.ElasticSnapshotProperties` was added
+
+* `models.ActiveDirectoryConfigs` was added
+
+* `models.ElasticBackup$UpdateStages` was added
+
+* `models.CacheProperties` was added
+
+* `models.NfsUser` was added
+
+* `models.BucketGenerateCredentials` was added
+
+* `models.ActiveDirectoryConfig$Update` was added
+
+* `models.SecretPasswordIdentity` was added
+
+* `models.Caches` was added
+
+* `models.Cache$Definition` was added
+
+* `models.ElasticAccount$UpdateStages` was added
+
+* `models.ElasticBackupPolicy$Update` was added
+
+* `models.ElasticBackupVaults` was added
+
+* `models.RansomwareReportState` was added
+
+* `models.ElasticCapacityPool` was added
+
+* `models.CacheProvisioningState` was added
+
+* `models.ElasticExportPolicy` was added
+
+* `models.ElasticSnapshotPolicyWeeklySchedule` was added
+
+* `models.OriginClusterInformation` was added
+
+* `models.ElasticVolume$Definition` was added
+
+* `models.BucketCredentialsExpiry` was added
+
+* `models.CacheUpdate` was added
+
+* `models.ElasticRootAccess` was added
+
+* `models.ElasticBackupVault$Update` was added
+
+* `models.RansomwareSuspectsClearRequest` 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.PeeringPassphrases` was added
+
+* `models.Bucket$Update` was added
+
+* `models.ElasticAccount$Update` was added
+
+* `models.LdapState` was added
+
+* `models.Cache$Update` was added
+
+* `models.RansomwareProtectionPatchSettings` was added
+
+* `models.Cache` was added
+
+* `models.ElasticSnapshotPolicy$Definition` was added
+
+* `models.RansomwareProtectionSettings` 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.ElasticVolumeRestorationState` was added
+
+* `models.ElasticVolumePolicyEnforcement` was added
+
+* `models.SecretPasswordKeyVaultProperties` was added
+
+* `models.ElasticAccount$Definition` was added
+
+* `models.ElasticVolumes` was added
+
+* `models.ElasticBackupVault$Definition` was added
+
+* `models.ElasticSnapshotPolicy$Update` was added
+
+* `models.ProtocolTypes` was added
+
+* `models.ElasticBackup$DefinitionStages` was added
+
+* `models.CifsUser` was added
+
+* `models.DesiredRansomwareProtectionState` was added
+
+* `models.ElasticSnapshotPolicies` was added
+
+* `models.ElasticAccount` was added
+
+* `models.QuotaReport` was added
+
+* `models.CheckElasticResourceAvailabilityReason` was added
+
+* `models.ElasticCapacityPoolProperties` was added
+
+* `models.ActiveDirectoryConfigUpdate` was added
+
+* `models.BucketServerPatchProperties` was added
+
+* `models.ElasticVolume$DefinitionStages` was added
+
+* `models.CacheUpdateProperties` was added
+
+* `models.ElasticAccountUpdateProperties` was added
+
+* `models.ElasticCapacityPool$DefinitionStages` was added
+
+* `models.CredentialsStatus` was added
+
+* `models.ElasticSmbProperties` was added
+
+* `models.LargeVolumeType` was added
+
+* `models.PolicyStatus` was added
+
+* `models.ElasticVolumeBackupProperties` was added
+
+* `models.ElasticBackup` was added
+
+* `models.ChangeZoneRequest` was added
+
+* `models.ElasticBackupVault$DefinitionStages` was added
+
+* `models.ElasticSnapshot$Update` was added
+
+* `models.CheckElasticResourceAvailabilityResponse` was added
+
+* `models.SmbEncryptionState` was added
+
+* `models.ElasticBackupVault` was added
+
+* `models.ElasticUnixAccessRule` was added
+
+* `models.ActiveDirectoryConfig$UpdateStages` was added
+
+* `models.ElasticVolume` was added
+
+* `models.ElasticVolume$Update` was added
+
+* `models.RansomwareReportProperties` was added
+
+* `models.ElasticBackupPolicyState` was added
+
+* `models.ElasticSnapshotPolicyMonthlySchedule` was added
+
+* `models.ExternalReplicationSetupStatus` was added
+
+* `models.GlobalFileLockingState` was added
+
+* `models.Cache$DefinitionStages` was added
+
+* `models.ElasticVolumeDataProtectionPatchProperties` was added
+
+* `models.ElasticAccounts` was added
+
+* `models.ElasticSmbPatchProperties` was added
+
+* `models.Bucket$UpdateStages` was added
+
+* `models.Buckets` was added
+
+* `models.ElasticSnapshot$DefinitionStages` was added
+
+* `models.FileSystemUser` was added
+
+* `models.ElasticBackupVault$UpdateStages` was added
+
+* `models.SnapshotDirectoryVisibility` was added
+
+* `models.ElasticBackupPolicy$UpdateStages` was added
+
+* `models.ElasticEncryptionConfiguration` was added
+
+* `models.EnableWriteBackState` was added
+
+* `models.DayOfWeek` was added
+
+* `models.ElasticCapacityPool$Definition` was added
+
+* `models.ElasticSnapshotPolicy$DefinitionStages` was added
+
+* `models.ElasticBackupType` was added
+
+* `models.ElasticProtocolType` was added
+
+* `models.ElasticSnapshotPolicy$UpdateStages` was added
+
+#### `models.NetAppAccount$Definition` was modified
+
+* `withLdapConfiguration(models.LdapConfiguration)` was added
+
+#### `models.Volume$Definition` was modified
+
+* `withLdapServerType(models.LdapServerType)` was added
+* `withBreakthroughMode(models.BreakthroughMode)` was added
+* `withLargeVolumeType(models.LargeVolumeType)` was added
+* `withLanguage(models.VolumeLanguage)` was added
+
+#### `models.ReplicationObject` was modified
+
+* `externalReplicationSetupStatus()` was added
+* `mirrorState()` was added
+* `relationshipStatus()` was added
+* `externalReplicationSetupInfo()` was added
+
+#### `models.NetAppAccountPatch` was modified
+
+* `withLdapConfiguration(models.LdapConfiguration)` was added
+* `ldapConfiguration()` was added
+
+#### `models.NetAppAccount$Update` was modified
+
+* `withLdapConfiguration(models.LdapConfiguration)` was added
+
+#### `models.VolumeGroupVolumeProperties` was modified
+
+* `withLanguage(models.VolumeLanguage)` was added
+* `language()` was added
+* `ldapServerType()` was added
+* `withLdapServerType(models.LdapServerType)` was added
+* `breakthroughMode()` was added
+* `withLargeVolumeType(models.LargeVolumeType)` was added
+* `largeVolumeType()` was added
+* `withBreakthroughMode(models.BreakthroughMode)` was added
+
+#### `models.Volume` was modified
+
+* `ldapServerType()` was added
+* `listQuotaReport(com.azure.core.util.Context)` was added
+* `listQuotaReport()` was added
+* `language()` was added
+* `largeVolumeType()` was added
+* `breakthroughMode()` was added
+
+#### `models.VolumePropertiesDataProtection` was modified
+
+* `withRansomwareProtection(models.RansomwareProtectionSettings)` was added
+* `ransomwareProtection()` was added
+
+#### `NetAppFilesManager` was modified
+
+* `elasticAccounts()` was added
+* `elasticVolumes()` was added
+* `elasticSnapshotPolicies()` was added
+* `elasticCapacityPools()` was added
+* `elasticBackupPolicies()` was added
+* `caches()` was added
+* `activeDirectoryConfigs()` was added
+* `buckets()` was added
+* `elasticSnapshots()` was added
+* `ransomwareReports()` was added
+* `elasticBackups()` was added
+* `elasticBackupVaults()` was added
+
+#### `models.VolumePatchPropertiesDataProtection` was modified
+
+* `withRansomwareProtection(models.RansomwareProtectionPatchSettings)` was added
+* `ransomwareProtection()` was added
+
+#### `models.Volumes` was modified
+
+* `listQuotaReport(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+* `listQuotaReport(java.lang.String,java.lang.String,java.lang.String,java.lang.String)` was added
+
+#### `models.NetAppAccount` was modified
+
+* `ldapConfiguration()` was added
+
+## 2.0.0 (2025-11-19)
+
+- 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 2025-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+### Breaking Changes
+
+#### `models.VolumeQuotaRulesList` was removed
+
+#### `models.BackupPoliciesList` was removed
+
+#### `models.SnapshotsList` was removed
+
+#### `models.UsagesListResult` was removed
+
+#### `models.OperationListResult` was removed
+
+#### `models.RegionInfosList` was removed
+
+#### `models.VolumeList` was removed
+
+#### `models.CapacityPoolList` was removed
+
+#### `models.NetAppAccountList` was removed
+
+#### `models.SnapshotPoliciesList` was removed
+
+#### `models.VolumeGroupList` was removed
+
+#### `models.RelationshipStatus` was removed
+
+#### `models.BackupsList` was removed
+
+#### `models.BackupVaultsList` was removed
+
+#### `models.SubscriptionQuotaItemList` was removed
+
+#### `models.SubvolumesList` was removed
+
+#### `models.ListReplications` was removed
+
+#### `models.MetricSpecification` was modified
+
+* `MetricSpecification()` was changed to private access
+* `withSupportedAggregationTypes(java.util.List)` was removed
+* `withResourceIdDimensionNameOverride(java.lang.String)` was removed
+* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed
+* `withAggregationType(java.lang.String)` was removed
+* `withFillGapWithZero(java.lang.Boolean)` was removed
+* `withDisplayName(java.lang.String)` was removed
+* `withIsInternal(java.lang.Boolean)` was removed
+* `withSourceMdmNamespace(java.lang.String)` was removed
+* `withSourceMdmAccount(java.lang.String)` was removed
+* `withDimensions(java.util.List)` was removed
+* `withInternalMetricName(java.lang.String)` was removed
+* `withUnit(java.lang.String)` was removed
+* `withSupportedTimeGrainTypes(java.util.List)` was removed
+* `withDisplayDescription(java.lang.String)` was removed
+* `withName(java.lang.String)` was removed
+* `withCategory(java.lang.String)` was removed
+
+#### `models.ReplicationStatus` was modified
+
+* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeReplicationRelationshipStatus relationshipStatus()`
+
+#### `models.OperationDisplay` was modified
+
+* `OperationDisplay()` was changed to private access
+* `withOperation(java.lang.String)` was removed
+* `withDescription(java.lang.String)` was removed
+* `withResource(java.lang.String)` was removed
+* `withProvider(java.lang.String)` was removed
+
+#### `models.CapacityPool$Update` was modified
+
+* `withCustomThroughputMibps(java.lang.Float)` was removed
+
+#### `models.CapacityPool` was modified
+
+* `java.lang.Float customThroughputMibps()` -> `java.lang.Integer customThroughputMibps()`
+
+#### `models.ProvisioningState` was modified
+
+* `models.ProvisioningState[] values()` -> `java.util.Collection values()`
+* `toString()` was removed
+* `valueOf(java.lang.String)` was removed
+
+#### `models.NetAppAccountPatch` was modified
+
+* `withTags(java.util.Map)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.RegionInfoAvailabilityZoneMappingsItem` was modified
+
+* `RegionInfoAvailabilityZoneMappingsItem()` was changed to private access
+* `withAvailabilityZone(java.lang.String)` was removed
+* `withIsAvailable(java.lang.Boolean)` was removed
+
+#### `models.CapacityPoolPatch` was modified
+
+* `withCustomThroughputMibps(java.lang.Float)` was removed
+* `java.lang.Float customThroughputMibps()` -> `java.lang.Integer customThroughputMibps()`
+* `withLocation(java.lang.String)` was removed
+* `withTags(java.util.Map)` was removed
+
+#### `models.Dimension` was modified
+
+* `Dimension()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `withDisplayName(java.lang.String)` was removed
+
+#### `models.ServiceSpecification` was modified
+
+* `ServiceSpecification()` was changed to private access
+* `withLogSpecifications(java.util.List)` was removed
+* `withMetricSpecifications(java.util.List)` was removed
+
+#### `models.BackupStatus` was modified
+
+* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeBackupRelationshipStatus relationshipStatus()`
+
+#### `models.Volume` was modified
+
+* `listReplications(com.azure.core.util.Context)` was removed
+
+#### `models.VolumePatch` was modified
+
+* `withLocation(java.lang.String)` was removed
+* `withTags(java.util.Map)` was removed
+
+#### `models.CapacityPool$Definition` was modified
+
+* `withCustomThroughputMibps(java.lang.Float)` was removed
+
+#### `models.UsageName` was modified
+
+* `UsageName()` was changed to private access
+* `withValue(java.lang.String)` was removed
+* `withLocalizedValue(java.lang.String)` was removed
+
+#### `models.LogSpecification` was modified
+
+* `LogSpecification()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `withDisplayName(java.lang.String)` was removed
+
+#### `models.NicInfo` was modified
+
+* `NicInfo()` was changed to private access
+* `withVolumeResourceIds(java.util.List)` was removed
+
+#### `models.VolumeBackups` was modified
+
+* `VolumeBackups()` was changed to private access
+* `withBackupsCount(java.lang.Integer)` was removed
+* `withPolicyEnabled(java.lang.Boolean)` was removed
+* `withVolumeName(java.lang.String)` was removed
+* `withVolumeResourceId(java.lang.String)` was removed
+
+#### `models.DestinationReplication` was modified
+
+* `DestinationReplication()` was changed to private access
+* `withZone(java.lang.String)` was removed
+* `withReplicationType(models.ReplicationType)` was removed
+* `withResourceId(java.lang.String)` was removed
+* `withRegion(java.lang.String)` was removed
+
+#### `models.RestoreStatus` was modified
+
+* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeRestoreRelationshipStatus relationshipStatus()`
+
+#### `models.BackupPolicyPatch` was modified
+
+* `withTags(java.util.Map)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.Volumes` was modified
+
+* `listReplications(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.Snapshots` was modified
+
+* `update(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Object)` was removed
+* `update(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Object,com.azure.core.util.Context)` was removed
### Features Added
-### Breaking Changes
+* `models.RansomwareSuspects` was added
+
+* `models.BucketPatch` was added
+
+* `models.ElasticBackupProperties` was added
+
+* `models.EncryptionState` was added
+
+* `models.ElasticBackupPolicyProperties` was added
+
+* `models.ElasticSnapshot` was added
+
+* `models.ElasticCapacityPools` was added
+
+* `models.ElasticKeyVaultProperties` was added
+
+* `models.LdapConfiguration` was added
+
+* `models.RansomwareReport` was added
+
+* `models.ElasticVolumeUpdateProperties` was added
+
+* `models.ActualRansomwareProtectionState` was added
+
+* `models.ElasticBackup$Definition` was added
+
+* `models.ElasticSnapshotPolicyHourlySchedule` was added
+
+* `models.ElasticMountTargetProperties` was added
+
+* `models.Bucket$DefinitionStages` was added
+
+* `models.ElasticVolumeUpdate` was added
+
+* `models.ElasticVolume$UpdateStages` was added
+
+* `models.KerberosState` was added
+
+* `models.ElasticVolumeDataProtectionProperties` was added
+
+* `models.ElasticSnapshotPolicyProperties` was added
+
+* `models.ElasticVolumeSnapshotProperties` was added
+
+* `models.ElasticPoolEncryptionKeySource` was added
+
+* `models.ListQuotaReportResponse` was added
+
+* `models.ElasticServiceLevel` was added
+
+* `models.CacheLifeCycleState` was added
+
+* `models.ElasticBackupPolicy` was added
+
+* `models.SmbSettings` was added
+
+* `models.BucketServerProperties` was added
+
+* `models.ElasticResourceAvailabilityStatus` was added
+
+* `models.Cache$UpdateStages` was added
+
+* `models.LdapServerType` was added
+
+* `models.ReplicationMirrorState` was added
+
+* `models.ElasticCapacityPoolUpdateProperties` was added
+
+* `models.ElasticNfsv3Access` was added
+
+* `models.RansomwareSuspectResolution` was added
+
+* `models.CheckElasticVolumeFilePathAvailabilityRequest` was added
+
+* `models.SuspectFile` was added
+
+* `models.VolumeLanguage` was added
+
+* `models.ElasticSmbEncryption` was added
+
+* `models.ElasticVolumeProperties` was added
+
+* `models.BreakthroughMode` was added
+
+* `models.ElasticAccount$DefinitionStages` was added
+
+* `models.ElasticEncryption` was added
+
+* `models.ElasticBackupPolicy$Definition` was added
+
+* `models.RansomwareReportSeverity` was added
+
+* `models.ElasticVolumeRevert` was added
+
+* `models.RansomwareReports` was added
+
+* `models.ActiveDirectoryConfig$Definition` was added
+
+* `models.SnapshotUsage` was added
+
+* `models.ActiveDirectoryConfig` was added
+
+* `models.VolumeSize` was added
+
+* `models.ElasticBackupPolicies` was added
+
+* `models.CacheMountTargetProperties` was added
+
+* `models.ElasticExportPolicyRule` was added
+
+* `models.BucketPermissions` was added
+
+* `models.ActiveDirectoryConfig$DefinitionStages` was added
+
+* `models.ElasticAccountUpdate` was added
+
+* `models.ElasticCapacityPoolUpdate` was added
+
+* `models.ElasticSnapshot$UpdateStages` was added
+
+* `models.CifsChangeNotifyState` was added
+
+* `models.ActiveDirectoryConfigUpdateProperties` was added
+
+* `models.ElasticAccountProperties` was added
+
+* `models.ElasticSnapshots` was added
+
+* `models.ElasticKeyVaultStatus` was added
+
+* `models.BucketPatchPermissions` was added
+
+* `models.Bucket$Definition` was added
+
+* `models.ElasticEncryptionIdentity` was added
+
+* `models.Bucket` was added
+
+* `models.ElasticSnapshotProperties` was added
+
+* `models.ActiveDirectoryConfigs` was added
+
+* `models.ElasticBackup$UpdateStages` was added
+
+* `models.CacheProperties` was added
+
+* `models.Exclude` was added
+
+* `models.NfsUser` was added
+
+* `models.BucketGenerateCredentials` was added
+
+* `models.ActiveDirectoryConfig$Update` was added
-### Bugs Fixed
+* `models.SecretPasswordIdentity` was added
-### Other Changes
+* `models.Caches` was added
-## 2.0.0 (2025-11-14)
+* `models.Cache$Definition` was added
-- 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 2025-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+* `models.ElasticAccount$UpdateStages` was added
-### Breaking Changes
+* `models.ElasticBackupPolicy$Update` was added
-#### `models.SnapshotPoliciesList` was removed
+* `models.ElasticBackupVaults` was added
-#### `models.VolumeQuotaRulesList` was removed
+* `models.RansomwareReportState` was added
-#### `models.BackupPoliciesList` was removed
+* `models.ElasticCapacityPool` was added
-#### `models.SnapshotsList` was removed
+* `models.CacheProvisioningState` was added
-#### `models.VolumeGroupList` was removed
+* `models.ElasticExportPolicy` was added
-#### `models.RelationshipStatus` was removed
+* `models.ElasticSnapshotPolicyWeeklySchedule` was added
-#### `models.UsagesListResult` was removed
+* `models.OriginClusterInformation` was added
-#### `models.OperationListResult` was removed
+* `models.ElasticVolume$Definition` was added
-#### `models.BackupsList` was removed
+* `models.BucketCredentialsExpiry` was added
-#### `models.BackupVaultsList` was removed
+* `models.CacheUpdate` was added
-#### `models.SubscriptionQuotaItemList` was removed
+* `models.ElasticRootAccess` was added
-#### `models.RegionInfosList` was removed
+* `models.ElasticBackupVault$Update` was added
-#### `models.VolumeList` was removed
+* `models.RansomwareSuspectsClearRequest` was added
-#### `models.CapacityPoolList` was removed
+* `models.ElasticBackups` was added
-#### `models.SubvolumesList` was removed
+* `models.ElasticSnapshotPolicy` was added
-#### `models.ListReplications` was removed
+* `models.CheckElasticResourceAvailabilityStatus` was added
-#### `models.NetAppAccountList` was removed
+* `models.SecretPassword` was added
-#### `models.ServiceSpecification` was modified
+* `models.NetAppResourceQuotaLimitsAccounts` was added
-* `ServiceSpecification()` was changed to private access
-* `withMetricSpecifications(java.util.List)` was removed
-* `withLogSpecifications(java.util.List)` was removed
+* `models.ElasticBackup$Update` was added
-#### `models.MetricSpecification` was modified
+* `models.ElasticCapacityPool$Update` was added
-* `MetricSpecification()` was changed to private access
-* `withInternalMetricName(java.lang.String)` was removed
-* `withIsInternal(java.lang.Boolean)` was removed
-* `withFillGapWithZero(java.lang.Boolean)` was removed
-* `withSourceMdmNamespace(java.lang.String)` was removed
-* `withEnableRegionalMdmAccount(java.lang.Boolean)` was removed
-* `withSourceMdmAccount(java.lang.String)` was removed
-* `withDimensions(java.util.List)` was removed
-* `withAggregationType(java.lang.String)` was removed
-* `withCategory(java.lang.String)` was removed
-* `withDisplayDescription(java.lang.String)` was removed
-* `withSupportedTimeGrainTypes(java.util.List)` was removed
-* `withUnit(java.lang.String)` was removed
-* `withDisplayName(java.lang.String)` was removed
-* `withResourceIdDimensionNameOverride(java.lang.String)` was removed
-* `withSupportedAggregationTypes(java.util.List)` was removed
-* `withName(java.lang.String)` was removed
+* `models.ElasticSnapshotPolicyDailySchedule` was added
-#### `models.BackupStatus` was modified
+* `models.ElasticCapacityPool$UpdateStages` was added
-* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeBackupRelationshipStatus relationshipStatus()`
+* `models.PeeringPassphrases` was added
-#### `models.ReplicationStatus` was modified
+* `models.Bucket$Update` was added
-* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeReplicationRelationshipStatus relationshipStatus()`
+* `models.ElasticAccount$Update` was added
-#### `models.Volume` was modified
+* `models.MountTargetProperties` was added
-* `listReplications(com.azure.core.util.Context)` was removed
+* `models.LdapState` was added
-#### `models.OperationDisplay` was modified
+* `models.Cache$Update` was added
-* `OperationDisplay()` was changed to private access
-* `withProvider(java.lang.String)` was removed
-* `withOperation(java.lang.String)` was removed
-* `withDescription(java.lang.String)` was removed
-* `withResource(java.lang.String)` was removed
+* `models.RansomwareProtectionPatchSettings` was added
-#### `models.VolumePatch` was modified
+* `models.Cache` was added
-* `withLocation(java.lang.String)` was removed
-* `withTags(java.util.Map)` was removed
+* `models.ElasticSnapshotPolicy$Definition` was added
-#### `models.CapacityPool$Definition` was modified
+* `models.RansomwareProtectionSettings` was added
-* `withCustomThroughputMibps(java.lang.Float)` was removed
+* `models.ElasticSnapshot$Definition` was added
-#### `models.UsageName` was modified
+* `models.ElasticBackupVaultProperties` was added
-* `UsageName()` was changed to private access
-* `withLocalizedValue(java.lang.String)` was removed
-* `withValue(java.lang.String)` was removed
+* `models.ElasticBackupPolicy$DefinitionStages` was added
-#### `models.LogSpecification` was modified
+* `models.ElasticNfsv4Access` was added
-* `LogSpecification()` was changed to private access
-* `withName(java.lang.String)` was removed
-* `withDisplayName(java.lang.String)` was removed
+* `models.ActiveDirectoryConfigProperties` was added
-#### `models.CapacityPool$Update` was modified
+* `models.ElasticVolumeRestorationState` was added
-* `withCustomThroughputMibps(java.lang.Float)` was removed
+* `models.ElasticVolumePolicyEnforcement` was added
-#### `models.CapacityPool` was modified
+* `models.SecretPasswordKeyVaultProperties` was added
-* `java.lang.Float customThroughputMibps()` -> `java.lang.Integer customThroughputMibps()`
+* `models.ElasticAccount$Definition` was added
-#### `models.ProvisioningState` was modified
+* `models.ElasticVolumes` was added
-* `models.ProvisioningState[] values()` -> `java.util.Collection values()`
-* `toString()` was removed
-* `valueOf(java.lang.String)` was removed
+* `models.ElasticBackupVault$Definition` was added
-#### `models.NicInfo` was modified
+* `models.ElasticSnapshotPolicy$Update` was added
-* `NicInfo()` was changed to private access
-* `withVolumeResourceIds(java.util.List)` was removed
+* `models.ProtocolTypes` was added
-#### `models.VolumeBackups` was modified
+* `models.ElasticBackup$DefinitionStages` was added
-* `VolumeBackups()` was changed to private access
-* `withVolumeName(java.lang.String)` was removed
-* `withBackupsCount(java.lang.Integer)` was removed
-* `withPolicyEnabled(java.lang.Boolean)` was removed
-* `withVolumeResourceId(java.lang.String)` was removed
+* `models.CifsUser` was added
-#### `models.DestinationReplication` was modified
+* `models.DesiredRansomwareProtectionState` was added
-* `DestinationReplication()` was changed to private access
-* `withResourceId(java.lang.String)` was removed
-* `withReplicationType(models.ReplicationType)` was removed
-* `withRegion(java.lang.String)` was removed
-* `withZone(java.lang.String)` was removed
+* `models.ElasticSnapshotPolicies` was added
-#### `models.RestoreStatus` was modified
+* `models.ElasticAccount` was added
-* `models.RelationshipStatus relationshipStatus()` -> `models.VolumeRestoreRelationshipStatus relationshipStatus()`
+* `models.QuotaReport` was added
-#### `models.BackupPolicyPatch` was modified
+* `models.ListReplicationsRequest` was added
-* `withTags(java.util.Map)` was removed
-* `withLocation(java.lang.String)` was removed
+* `models.CheckElasticResourceAvailabilityReason` was added
-#### `models.Volumes` was modified
+* `models.ElasticCapacityPoolProperties` was added
-* `listReplications(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed
+* `models.ActiveDirectoryConfigUpdate` was added
-#### `models.NetAppAccountPatch` was modified
+* `models.BucketServerPatchProperties` was added
-* `withLocation(java.lang.String)` was removed
-* `withTags(java.util.Map)` was removed
+* `models.ElasticVolume$DefinitionStages` was added
-#### `models.RegionInfoAvailabilityZoneMappingsItem` was modified
+* `models.VolumeReplicationRelationshipStatus` was added
-* `RegionInfoAvailabilityZoneMappingsItem()` was changed to private access
-* `withIsAvailable(java.lang.Boolean)` was removed
-* `withAvailabilityZone(java.lang.String)` was removed
+* `models.CacheUpdateProperties` was added
-#### `models.CapacityPoolPatch` was modified
+* `models.ElasticAccountUpdateProperties` was added
-* `withCustomThroughputMibps(java.lang.Float)` was removed
-* `java.lang.Float customThroughputMibps()` -> `java.lang.Integer customThroughputMibps()`
-* `withTags(java.util.Map)` was removed
-* `withLocation(java.lang.String)` was removed
+* `models.ElasticCapacityPool$DefinitionStages` was added
-#### `models.Dimension` was modified
+* `models.CredentialsStatus` was added
-* `Dimension()` was changed to private access
-* `withName(java.lang.String)` was removed
-* `withDisplayName(java.lang.String)` was removed
+* `models.ElasticSmbProperties` was added
-#### `models.Snapshots` was modified
+* `models.LargeVolumeType` was added
-* `update(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Object,com.azure.core.util.Context)` was removed
-* `update(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Object)` was removed
+* `models.PolicyStatus` was added
-### Features Added
+* `models.ElasticVolumeBackupProperties` was added
-* `models.NetAppResourceQuotaLimitsAccounts` was added
+* `models.ElasticBackup` was added
-* `models.MountTargetProperties` was added
+* `models.ChangeZoneRequest` was added
-* `models.ReplicationMirrorState` was added
+* `models.ElasticBackupVault$DefinitionStages` was added
-* `models.ListReplicationsRequest` was added
+* `models.ElasticSnapshot$Update` was added
-* `models.VolumeReplicationRelationshipStatus` was added
+* `models.CheckElasticResourceAvailabilityResponse` was added
-* `models.Exclude` was added
+* `models.SmbEncryptionState` was added
+
+* `models.ElasticBackupVault` was added
+
+* `models.ElasticUnixAccessRule` was added
+
+* `models.ActiveDirectoryConfig$UpdateStages` was added
+
+* `models.ElasticVolume` was added
+
+* `models.ElasticVolume$Update` was added
+
+* `models.RansomwareReportProperties` was added
+
+* `models.ElasticBackupPolicyState` was added
+
+* `models.ElasticSnapshotPolicyMonthlySchedule` was added
+
+* `models.ExternalReplicationSetupStatus` was added
+
+* `models.GlobalFileLockingState` was added
+
+* `models.Cache$DefinitionStages` was added
+
+* `models.ElasticVolumeDataProtectionPatchProperties` was added
+
+* `models.ElasticAccounts` was added
+
+* `models.ElasticSmbPatchProperties` was added
+
+* `models.Bucket$UpdateStages` was added
+
+* `models.Buckets` was added
+
+* `models.ElasticSnapshot$DefinitionStages` was added
+
+* `models.FileSystemUser` was added
+
+* `models.ElasticBackupVault$UpdateStages` was added
+
+* `models.SnapshotDirectoryVisibility` was added
+
+* `models.ElasticBackupPolicy$UpdateStages` was added
+
+* `models.ElasticEncryptionConfiguration` was added
+
+* `models.EnableWriteBackState` was added
* `models.VolumeBackupRelationshipStatus` was added
-* `models.VolumeRestoreRelationshipStatus` was added
+* `models.DayOfWeek` was added
-#### `models.SnapshotPolicyVolumeList` was modified
+* `models.ElasticCapacityPool$Definition` was added
-* `nextLink()` was added
+* `models.ElasticSnapshotPolicy$DefinitionStages` was added
-#### `models.Volume` was modified
+* `models.VolumeRestoreRelationshipStatus` was added
-* `listReplications(models.ListReplicationsRequest,com.azure.core.util.Context)` was added
+* `models.ElasticBackupType` was added
-#### `models.VolumePatch` was modified
+* `models.ElasticProtocolType` was added
-* `tags()` was added
-* `location()` was added
+* `models.ElasticSnapshotPolicy$UpdateStages` was added
-#### `models.CapacityPool$Definition` was modified
+#### `models.NetAppAccount$Definition` was modified
-* `withCustomThroughputMibps(java.lang.Integer)` was added
+* `withLdapConfiguration(models.LdapConfiguration)` was added
-#### `models.CapacityPool$Update` was modified
+#### `models.SnapshotPolicyVolumeList` was modified
-* `withCustomThroughputMibps(java.lang.Integer)` was added
+* `nextLink()` was added
-#### `NetAppFilesManager` was modified
+#### `models.CapacityPool$Update` was modified
-* `netAppResourceQuotaLimitsAccounts()` was added
+* `withCustomThroughputMibps(java.lang.Integer)` was added
#### `models.VolumeGroupDetails` was modified
* `systemData()` was added
-#### `models.ProvisioningState` was modified
+#### `models.Volume$Definition` was modified
-* `ProvisioningState()` was added
+* `withBreakthroughMode(models.BreakthroughMode)` was added
+* `withLdapServerType(models.LdapServerType)` was added
+* `withLargeVolumeType(models.LargeVolumeType)` was added
+* `withLanguage(models.VolumeLanguage)` was added
-#### `models.BackupPolicyPatch` was modified
+#### `models.ProvisioningState` was modified
-* `location()` was added
-* `tags()` was added
+* `ProvisioningState()` was added
-#### `models.Volumes` was modified
+#### `models.ReplicationObject` was modified
-* `listReplications(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.ListReplicationsRequest,com.azure.core.util.Context)` was added
+* `mirrorState()` was added
+* `relationshipStatus()` was added
+* `externalReplicationSetupInfo()` was added
+* `externalReplicationSetupStatus()` was added
#### `models.NetAppAccountPatch` was modified
+* `ldapConfiguration()` was added
+* `withLdapConfiguration(models.LdapConfiguration)` was added
* `tags()` was added
* `location()` was added
+#### `models.NetAppAccount$Update` was modified
+
+* `withLdapConfiguration(models.LdapConfiguration)` was added
+
#### `models.CapacityPoolPatch` was modified
* `withCustomThroughputMibps(java.lang.Integer)` was added
* `location()` was added
* `tags()` was added
+#### `models.VolumeGroupVolumeProperties` was modified
+
+* `withLdapServerType(models.LdapServerType)` was added
+* `largeVolumeType()` was added
+* `withLanguage(models.VolumeLanguage)` was added
+* `withBreakthroughMode(models.BreakthroughMode)` was added
+* `language()` was added
+* `ldapServerType()` was added
+* `withLargeVolumeType(models.LargeVolumeType)` was added
+* `breakthroughMode()` was added
+
#### `models.Replication` was modified
* `mirrorState()` was added
@@ -275,6 +1069,66 @@
* `usage()` was added
+#### `models.Volume` was modified
+
+* `largeVolumeType()` was added
+* `language()` was added
+* `breakthroughMode()` was added
+* `listReplications(models.ListReplicationsRequest,com.azure.core.util.Context)` was added
+* `ldapServerType()` was added
+* `listQuotaReport(com.azure.core.util.Context)` was added
+* `listQuotaReport()` was added
+
+#### `models.VolumePatch` was modified
+
+* `location()` was added
+* `tags()` was added
+
+#### `models.CapacityPool$Definition` was modified
+
+* `withCustomThroughputMibps(java.lang.Integer)` was added
+
+#### `models.VolumePropertiesDataProtection` was modified
+
+* `withRansomwareProtection(models.RansomwareProtectionSettings)` was added
+* `ransomwareProtection()` was added
+
+#### `NetAppFilesManager` was modified
+
+* `activeDirectoryConfigs()` was added
+* `elasticBackupPolicies()` was added
+* `elasticCapacityPools()` was added
+* `elasticBackups()` was added
+* `elasticSnapshotPolicies()` was added
+* `elasticVolumes()` was added
+* `elasticBackupVaults()` was added
+* `caches()` was added
+* `elasticSnapshots()` was added
+* `ransomwareReports()` was added
+* `buckets()` was added
+* `elasticAccounts()` was added
+* `netAppResourceQuotaLimitsAccounts()` was added
+
+#### `models.VolumePatchPropertiesDataProtection` was modified
+
+* `ransomwareProtection()` was added
+* `withRansomwareProtection(models.RansomwareProtectionPatchSettings)` was added
+
+#### `models.BackupPolicyPatch` was modified
+
+* `location()` was added
+* `tags()` was added
+
+#### `models.Volumes` was modified
+
+* `listReplications(java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.ListReplicationsRequest,com.azure.core.util.Context)` was added
+* `listQuotaReport(java.lang.String,java.lang.String,java.lang.String,java.lang.String)` was added
+* `listQuotaReport(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.NetAppAccount` was modified
+
+* `ldapConfiguration()` was added
+
## 1.10.0-beta.1 (2025-10-15)
- 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 tag package-preview-2025-07-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/netapp/azure-resourcemanager-netapp/README.md b/sdk/netapp/azure-resourcemanager-netapp/README.md
index 0b8c251666c9..c3de9f22d1a4 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 2025-09-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 2025-09-01-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.0.0
+ 2.1.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 9efb1f0e562a..73fd32d47dd2 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
+++ b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md
@@ -14,6 +14,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)
@@ -52,6 +61,93 @@
- [MigrateBackups](#backupsundervolume_migratebackups)
+## Buckets
+
+- [CreateOrUpdate](#buckets_createorupdate)
+- [Delete](#buckets_delete)
+- [GenerateCredentials](#buckets_generatecredentials)
+- [Get](#buckets_get)
+- [List](#buckets_list)
+- [Update](#buckets_update)
+
+## Caches
+
+- [CreateOrUpdate](#caches_createorupdate)
+- [Delete](#caches_delete)
+- [Get](#caches_get)
+- [ListByCapacityPools](#caches_listbycapacitypools)
+- [ListPeeringPassphrases](#caches_listpeeringpassphrases)
+- [PoolChange](#caches_poolchange)
+- [Update](#caches_update)
+
+## 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)
+
## NetAppResource
- [CheckFilePathAvailability](#netappresource_checkfilepathavailability)
@@ -93,6 +189,12 @@
- [List](#pools_list)
- [Update](#pools_update)
+## RansomwareReports
+
+- [ClearSuspects](#ransomwarereports_clearsuspects)
+- [Get](#ransomwarereports_get)
+- [List](#ransomwarereports_list)
+
## SnapshotPolicies
- [Create](#snapshotpolicies_create)
@@ -148,6 +250,7 @@
- [Get](#volumes_get)
- [List](#volumes_list)
- [ListGetGroupIdListForLdapUser](#volumes_listgetgroupidlistforldapuser)
+- [ListQuotaReport](#volumes_listquotareport)
- [ListReplications](#volumes_listreplications)
- [PeerExternalCluster](#volumes_peerexternalcluster)
- [PerformReplicationTransfer](#volumes_performreplicationtransfer)
@@ -175,7 +278,7 @@ import java.util.Arrays;
*/
public final class AccountsChangeKeyVaultSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_ChangeKeyVault.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_ChangeKeyVault.json
*/
/**
* Sample code: Accounts_ChangeKeyVault.
@@ -207,7 +310,7 @@ import java.util.Arrays;
*/
public final class AccountsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_CreateOrUpdate.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_CreateOrUpdate.json
*/
/**
* Sample code: Accounts_CreateOrUpdate.
@@ -219,7 +322,7 @@ public final class AccountsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2025-09-01/Accounts_CreateOrUpdateAD.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_CreateOrUpdateAD.json
*/
/**
* Sample code: Accounts_CreateOrUpdateWithActiveDirectory.
@@ -255,7 +358,7 @@ public final class AccountsCreateOrUpdateSamples {
*/
public final class AccountsDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_Delete.json
*/
/**
* Sample code: Accounts_Delete.
@@ -276,7 +379,7 @@ public final class AccountsDeleteSamples {
*/
public final class AccountsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_Get.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_Get.json
*/
/**
* Sample code: Accounts_Get.
@@ -297,7 +400,7 @@ public final class AccountsGetByResourceGroupSamples {
*/
public final class AccountsGetChangeKeyVaultInformationSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_GetChangeKeyVaultInformation.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_GetChangeKeyVaultInformation.json
*/
/**
* Sample code: Accounts_GetChangeKeyVaultInformation.
@@ -319,7 +422,7 @@ public final class AccountsGetChangeKeyVaultInformationSamples {
*/
public final class AccountsListSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_ListBySubscription.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_ListBySubscription.json
*/
/**
* Sample code: Accounts_ListBySubscription.
@@ -340,7 +443,7 @@ public final class AccountsListSamples {
*/
public final class AccountsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_List.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_List.json
*/
/**
* Sample code: Accounts_List.
@@ -361,7 +464,7 @@ public final class AccountsListByResourceGroupSamples {
*/
public final class AccountsRenewCredentialsSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_RenewCredentials.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_RenewCredentials.json
*/
/**
* Sample code: Accounts_RenewCredentials.
@@ -384,7 +487,7 @@ import com.azure.resourcemanager.netapp.models.EncryptionTransitionRequest;
*/
public final class AccountsTransitionToCmkSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_TransitionEncryptionKey.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_TransitionEncryptionKey.json
*/
/**
* Sample code: Accounts_MigrateEncryptionKey.
@@ -414,7 +517,7 @@ import java.util.Map;
*/
public final class AccountsUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/Accounts_Update.json
+ * x-ms-original-file: 2025-09-01-preview/Accounts_Update.json
*/
/**
* Sample code: Accounts_Update.
@@ -442,6 +545,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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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
@@ -450,7 +738,7 @@ public final class AccountsUpdateSamples {
*/
public final class BackupPoliciesCreateSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupPolicies_Create.json
+ * x-ms-original-file: 2025-09-01-preview/BackupPolicies_Create.json
*/
/**
* Sample code: BackupPolicies_Create.
@@ -479,7 +767,7 @@ public final class BackupPoliciesCreateSamples {
*/
public final class BackupPoliciesDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupPolicies_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/BackupPolicies_Delete.json
*/
/**
* Sample code: BackupPolicies_Delete.
@@ -501,7 +789,7 @@ public final class BackupPoliciesDeleteSamples {
*/
public final class BackupPoliciesGetSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupPolicies_Get.json
+ * x-ms-original-file: 2025-09-01-preview/BackupPolicies_Get.json
*/
/**
* Sample code: Backups_Get.
@@ -523,7 +811,7 @@ public final class BackupPoliciesGetSamples {
*/
public final class BackupPoliciesListSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupPolicies_List.json
+ * x-ms-original-file: 2025-09-01-preview/BackupPolicies_List.json
*/
/**
* Sample code: BackupPolicies_List.
@@ -542,399 +830,1975 @@ public final class BackupPoliciesListSamples {
import com.azure.resourcemanager.netapp.models.BackupPolicy;
/**
- * Samples for BackupPolicies Update.
+ * Samples for BackupPolicies Update.
+ */
+public final class BackupPoliciesUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupPolicies_Update.json
+ */
+ /**
+ * Sample code: BackupPolicies_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupPoliciesUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ BackupPolicy resource = manager.backupPolicies()
+ .getWithResponse("myRG", "account1", "backupPolicyName", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withDailyBackupsToKeep(5)
+ .withWeeklyBackupsToKeep(10)
+ .withMonthlyBackupsToKeep(10)
+ .withEnabled(false)
+ .apply();
+ }
+}
+```
+
+### BackupVaults_CreateOrUpdate
+
+```java
+/**
+ * Samples for BackupVaults CreateOrUpdate.
+ */
+public final class BackupVaultsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupVaults_Create.json
+ */
+ /**
+ * Sample code: BackupVault_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupVaultCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backupVaults()
+ .define("backupVault1")
+ .withRegion("eastus")
+ .withExistingNetAppAccount("myRG", "account1")
+ .create();
+ }
+}
+```
+
+### BackupVaults_Delete
+
+```java
+/**
+ * Samples for BackupVaults Delete.
+ */
+public final class BackupVaultsDeleteSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupVaults_Delete.json
+ */
+ /**
+ * Sample code: BackupVaults_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupVaultsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backupVaults().delete("resourceGroup", "account1", "backupVault1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### BackupVaults_Get
+
+```java
+/**
+ * Samples for BackupVaults Get.
+ */
+public final class BackupVaultsGetSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupVaults_Get.json
+ */
+ /**
+ * Sample code: BackupVaults_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupVaultsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backupVaults().getWithResponse("myRG", "account1", "backupVault1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### BackupVaults_ListByNetAppAccount
+
+```java
+/**
+ * Samples for BackupVaults ListByNetAppAccount.
+ */
+public final class BackupVaultsListByNetAppAccountSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupVaults_List.json
+ */
+ /**
+ * Sample code: BackupVaults_List.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupVaultsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backupVaults().listByNetAppAccount("myRG", "account1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### BackupVaults_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.BackupVault;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for BackupVaults Update.
+ */
+public final class BackupVaultsUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupVaults_Update.json
+ */
+ /**
+ * Sample code: BackupVaults_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupVaultsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ BackupVault resource = manager.backupVaults()
+ .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;
+ }
+}
+```
+
+### Backups_Create
+
+```java
+/**
+ * Samples for Backups Create.
+ */
+public final class BackupsCreateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupsUnderBackupVault_Create.json
+ */
+ /**
+ * Sample code: BackupsUnderBackupVault_Create.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupsUnderBackupVaultCreate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backups()
+ .define("backup1")
+ .withExistingBackupVault("myRG", "account1", "backupVault1")
+ .withVolumeResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1")
+ .withLabel("myLabel")
+ .create();
+ }
+}
+```
+
+### Backups_Delete
+
+```java
+/**
+ * Samples for Backups Delete.
+ */
+public final class BackupsDeleteSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupsUnderBackupVault_Delete.json
+ */
+ /**
+ * Sample code: BackupsUnderBackupVault_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupsUnderBackupVaultDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backups()
+ .delete("resourceGroup", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Backups_Get
+
+```java
+/**
+ * Samples for Backups Get.
+ */
+public final class BackupsGetSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupsUnderBackupVault_Get.json
+ */
+ /**
+ * Sample code: BackupsUnderBackupVault_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupsUnderBackupVaultGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backups()
+ .getWithResponse("myRG", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Backups_GetLatestStatus
+
+```java
+/**
+ * Samples for Backups GetLatestStatus.
+ */
+public final class BackupsGetLatestStatusSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Volumes_LatestBackupStatus.json
+ */
+ /**
+ * Sample code: Volumes_BackupStatus.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumesBackupStatus(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backups()
+ .getLatestStatusWithResponse("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Backups_GetVolumeLatestRestoreStatus
+
+```java
+/**
+ * Samples for Backups GetVolumeLatestRestoreStatus.
+ */
+public final class BackupsGetVolumeLatestRestoreStatusSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Volumes_LatestRestoreStatus.json
+ */
+ /**
+ * Sample code: Volumes_RestoreStatus.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumesRestoreStatus(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backups()
+ .getVolumeLatestRestoreStatusWithResponse("myRG", "account1", "pool1", "volume1",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Backups_ListByVault
+
+```java
+/**
+ * Samples for Backups ListByVault.
+ */
+public final class BackupsListByVaultSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Backups_ListByVault.json
+ */
+ /**
+ * Sample code: Backups_ListByVault.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupsListByVault(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backups().listByVault("myRG", "account1", "backupVault1", null, com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Backups_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.Backup;
+
+/**
+ * Samples for Backups Update.
+ */
+public final class BackupsUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupsUnderBackupVault_Update.json
+ */
+ /**
+ * Sample code: BackupsUnderBackupVault_Update.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupsUnderBackupVaultUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ Backup resource = manager.backups()
+ .getWithResponse("myRG", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().apply();
+ }
+}
+```
+
+### BackupsUnderAccount_MigrateBackups
+
+```java
+import com.azure.resourcemanager.netapp.models.BackupsMigrationRequest;
+
+/**
+ * Samples for BackupsUnderAccount MigrateBackups.
+ */
+public final class BackupsUnderAccountMigrateBackupsSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupsUnderAccount_Migrate.json
+ */
+ /**
+ * Sample code: BackupsUnderAccount_Migrate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupsUnderAccountMigrate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backupsUnderAccounts()
+ .migrateBackups("myRG", "account1", new BackupsMigrationRequest().withBackupVaultId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### BackupsUnderBackupVault_RestoreFiles
+
+```java
+import com.azure.resourcemanager.netapp.models.BackupRestoreFiles;
+import java.util.Arrays;
+
+/**
+ * Samples for BackupsUnderBackupVault RestoreFiles.
+ */
+public final class BackupsUnderBackupVaultRestoreFilesSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupsUnderBackupVault_SingleFileRestore.json
+ */
+ /**
+ * Sample code: Backups_SingleFileRestore.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupsSingleFileRestore(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backupsUnderBackupVaults()
+ .restoreFiles("myRG", "account1", "backupVault1", "backup1", new BackupRestoreFiles()
+ .withFileList(Arrays.asList("/dir1/customer1.db", "/dir1/customer2.db"))
+ .withDestinationVolumeId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### BackupsUnderVolume_MigrateBackups
+
+```java
+import com.azure.resourcemanager.netapp.models.BackupsMigrationRequest;
+
+/**
+ * Samples for BackupsUnderVolume MigrateBackups.
+ */
+public final class BackupsUnderVolumeMigrateBackupsSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/BackupsUnderVolume_Migrate.json
+ */
+ /**
+ * Sample code: BackupsUnderVolume_Migrate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void backupsUnderVolumeMigrate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.backupsUnderVolumes()
+ .migrateBackups("myRG", "account1", "pool1", "volume1", new BackupsMigrationRequest().withBackupVaultId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Buckets_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.netapp.models.BucketPermissions;
+import com.azure.resourcemanager.netapp.models.BucketServerProperties;
+import com.azure.resourcemanager.netapp.models.FileSystemUser;
+import com.azure.resourcemanager.netapp.models.NfsUser;
+
+/**
+ * Samples for Buckets CreateOrUpdate.
+ */
+public final class BucketsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Buckets_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Buckets_CreateOrUpdate.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void bucketsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.buckets()
+ .define("bucket1")
+ .withExistingVolume("myRG", "account1", "pool1", "volume1")
+ .withPath("/path")
+ .withFileSystemUser(new FileSystemUser().withNfsUser(new NfsUser().withUserId(1001L).withGroupId(1000L)))
+ .withServer(new BucketServerProperties().withFqdn("fullyqualified.domainname.com")
+ .withCertificateObject(""))
+ .withPermissions(BucketPermissions.READ_ONLY)
+ .create();
+ }
+}
+```
+
+### Buckets_Delete
+
+```java
+/**
+ * Samples for Buckets Delete.
+ */
+public final class BucketsDeleteSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Buckets_Delete.json
+ */
+ /**
+ * Sample code: Buckets_Delete.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void bucketsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.buckets().delete("myRG", "account1", "pool1", "volume1", "bucket1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Buckets_GenerateCredentials
+
+```java
+import com.azure.resourcemanager.netapp.models.BucketCredentialsExpiry;
+
+/**
+ * Samples for Buckets GenerateCredentials.
+ */
+public final class BucketsGenerateCredentialsSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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_Update
+
+```java
+import com.azure.resourcemanager.netapp.models.Bucket;
+import com.azure.resourcemanager.netapp.models.BucketPatchPermissions;
+import com.azure.resourcemanager.netapp.models.BucketServerPatchProperties;
+
+/**
+ * Samples for Buckets Update.
+ */
+public final class BucketsUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-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(""))
+ .withPermissions(BucketPatchPermissions.READ_WRITE)
+ .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 java.util.Arrays;
+
+/**
+ * Samples for Caches CreateOrUpdate.
+ */
+public final class CachesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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_ListByCapacityPools
+
+```java
+/**
+ * Samples for Caches ListByCapacityPools.
+ */
+public final class CachesListByCapacityPoolsSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Caches_ListByCapacityPools.json
+ */
+ /**
+ * Sample code: Caches_List.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void cachesList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.caches().listByCapacityPools("myRG", "account1", "pool1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### Caches_ListPeeringPassphrases
+
+```java
+/**
+ * Samples for Caches ListPeeringPassphrases.
+ */
+public final class CachesListPeeringPassphrasesSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-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: 2025-09-01-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_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: 2025-09-01-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();
+ }
+}
+```
+
+### 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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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.ElasticBackupPolicyProperties;
+import com.azure.resourcemanager.netapp.models.ElasticBackupPolicyState;
+
+/**
+ * Samples for ElasticBackupPolicies Update.
+ */
+public final class ElasticBackupPoliciesUpdateSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-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 ElasticBackupPolicyProperties().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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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-filepth"),
+ 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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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: 2025-09-01-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 BackupPoliciesUpdateSamples {
+public final class ElasticSnapshotPoliciesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupPolicies_Update.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshotPolicies_CreateOrUpdate.json
*/
/**
- * Sample code: BackupPolicies_Update.
+ * Sample code: ElasticSnapshotPolicies_CreateOrUpdate.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupPoliciesUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- BackupPolicy resource = manager.backupPolicies()
- .getWithResponse("myRG", "account1", "backupPolicyName", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update()
- .withDailyBackupsToKeep(5)
- .withWeeklyBackupsToKeep(10)
- .withMonthlyBackupsToKeep(10)
- .withEnabled(false)
- .apply();
+ 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();
}
}
```
-### BackupVaults_CreateOrUpdate
+### ElasticSnapshotPolicies_Delete
```java
/**
- * Samples for BackupVaults CreateOrUpdate.
+ * Samples for ElasticSnapshotPolicies Delete.
*/
-public final class BackupVaultsCreateOrUpdateSamples {
+public final class ElasticSnapshotPoliciesDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupVaults_Create.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshotPolicies_Delete.json
*/
/**
- * Sample code: BackupVault_CreateOrUpdate.
+ * Sample code: ElasticSnapshotPolicies_Delete.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupVaultCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backupVaults()
- .define("backupVault1")
- .withRegion("eastus")
- .withExistingNetAppAccount("myRG", "account1")
- .create();
+ public static void elasticSnapshotPoliciesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies()
+ .delete("resourceGroup", "accountName", "snapshotPolicyName", com.azure.core.util.Context.NONE);
}
}
```
-### BackupVaults_Delete
+### ElasticSnapshotPolicies_Get
```java
/**
- * Samples for BackupVaults Delete.
+ * Samples for ElasticSnapshotPolicies Get.
*/
-public final class BackupVaultsDeleteSamples {
+public final class ElasticSnapshotPoliciesGetSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupVaults_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshotPolicies_Get.json
*/
/**
- * Sample code: BackupVaults_Delete.
+ * Sample code: ElasticSnapshotPolicies_Get.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupVaultsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backupVaults().delete("resourceGroup", "account1", "backupVault1", com.azure.core.util.Context.NONE);
+ public static void elasticSnapshotPoliciesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies()
+ .getWithResponse("myRG", "account1", "snapshotPolicyName", com.azure.core.util.Context.NONE);
}
}
```
-### BackupVaults_Get
+### ElasticSnapshotPolicies_ListByElasticAccount
```java
/**
- * Samples for BackupVaults Get.
+ * Samples for ElasticSnapshotPolicies ListByElasticAccount.
*/
-public final class BackupVaultsGetSamples {
+public final class ElasticSnapshotPoliciesListByElasticAccountSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupVaults_Get.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshotPolicies_ListByElasticAccount.json
*/
/**
- * Sample code: BackupVaults_Get.
+ * Sample code: ElasticSnapshotPolicies_ListByElasticAccount.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupVaultsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backupVaults().getWithResponse("myRG", "account1", "backupVault1", com.azure.core.util.Context.NONE);
+ public static void
+ elasticSnapshotPoliciesListByElasticAccount(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies().listByElasticAccount("myRG", "account1", com.azure.core.util.Context.NONE);
}
}
```
-### BackupVaults_ListByNetAppAccount
+### ElasticSnapshotPolicies_ListElasticVolumes
```java
/**
- * Samples for BackupVaults ListByNetAppAccount.
+ * Samples for ElasticSnapshotPolicies ListElasticVolumes.
*/
-public final class BackupVaultsListByNetAppAccountSamples {
+public final class ElasticSnapshotPoliciesListElasticVolumesSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupVaults_List.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshotPolicies_ListElasticVolumes.json
*/
/**
- * Sample code: BackupVaults_List.
+ * Sample code: ElasticSnapshotPolicies_ListElasticVolumes.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupVaultsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backupVaults().listByNetAppAccount("myRG", "account1", com.azure.core.util.Context.NONE);
+ public static void
+ elasticSnapshotPoliciesListElasticVolumes(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshotPolicies()
+ .listElasticVolumes("myRG", "account1", "snapshotPolicyName", com.azure.core.util.Context.NONE);
}
}
```
-### BackupVaults_Update
+### ElasticSnapshotPolicies_Update
```java
-import com.azure.resourcemanager.netapp.models.BackupVault;
-import java.util.HashMap;
-import java.util.Map;
+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.ElasticSnapshotPolicyProperties;
+import com.azure.resourcemanager.netapp.models.ElasticSnapshotPolicyWeeklySchedule;
+import com.azure.resourcemanager.netapp.models.PolicyStatus;
+import java.util.Arrays;
/**
- * Samples for BackupVaults Update.
+ * Samples for ElasticSnapshotPolicies Update.
*/
-public final class BackupVaultsUpdateSamples {
+public final class ElasticSnapshotPoliciesUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupVaults_Update.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshotPolicies_Update.json
*/
/**
- * Sample code: BackupVaults_Update.
+ * Sample code: ElasticSnapshotPolicies_Update.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupVaultsUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- BackupVault resource = manager.backupVaults()
- .getWithResponse("myRG", "account1", "backupVault1", com.azure.core.util.Context.NONE)
+ 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().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;
+ resource.update()
+ .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))
+ .apply();
}
}
```
-### Backups_Create
+### ElasticSnapshots_CreateOrUpdate
```java
/**
- * Samples for Backups Create.
+ * Samples for ElasticSnapshots CreateOrUpdate.
*/
-public final class BackupsCreateSamples {
+public final class ElasticSnapshotsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_Create.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshots_CreateOrUpdate.json
*/
/**
- * Sample code: BackupsUnderBackupVault_Create.
+ * Sample code: ElasticSnapshots_CreateOrUpdate.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupsUnderBackupVaultCreate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backups()
- .define("backup1")
- .withExistingBackupVault("myRG", "account1", "backupVault1")
- .withVolumeResourceId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1")
- .withLabel("myLabel")
+ public static void elasticSnapshotsCreateOrUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshots()
+ .define("snapshot1")
+ .withExistingElasticVolume("myRG", "account1", "pool1", "volume1")
.create();
}
}
```
-### Backups_Delete
+### ElasticSnapshots_Delete
```java
/**
- * Samples for Backups Delete.
+ * Samples for ElasticSnapshots Delete.
*/
-public final class BackupsDeleteSamples {
+public final class ElasticSnapshotsDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshots_Delete.json
*/
/**
- * Sample code: BackupsUnderBackupVault_Delete.
+ * Sample code: ElasticSnapshots_Delete.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupsUnderBackupVaultDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backups()
- .delete("resourceGroup", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE);
+ public static void elasticSnapshotsDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshots()
+ .delete("myRG", "account1", "pool1", "volume1", "snapshot1", com.azure.core.util.Context.NONE);
}
}
```
-### Backups_Get
+### ElasticSnapshots_Get
```java
/**
- * Samples for Backups Get.
+ * Samples for ElasticSnapshots Get.
*/
-public final class BackupsGetSamples {
+public final class ElasticSnapshotsGetSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_Get.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshots_Get.json
*/
/**
- * Sample code: BackupsUnderBackupVault_Get.
+ * Sample code: ElasticSnapshots_Get.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupsUnderBackupVaultGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backups()
- .getWithResponse("myRG", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE);
+ public static void elasticSnapshotsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshots()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", "snapshot1", com.azure.core.util.Context.NONE);
}
}
```
-### Backups_GetLatestStatus
+### ElasticSnapshots_ListByElasticVolume
```java
/**
- * Samples for Backups GetLatestStatus.
+ * Samples for ElasticSnapshots ListByElasticVolume.
*/
-public final class BackupsGetLatestStatusSamples {
+public final class ElasticSnapshotsListByElasticVolumeSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_LatestBackupStatus.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticSnapshots_ListByElasticVolume.json
*/
/**
- * Sample code: Volumes_BackupStatus.
+ * Sample code: ElasticSnapshots_ListByElasticVolume.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void volumesBackupStatus(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backups()
- .getLatestStatusWithResponse("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ public static void
+ elasticSnapshotsListByElasticVolume(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticSnapshots()
+ .listByElasticVolume("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
}
}
```
-### Backups_GetVolumeLatestRestoreStatus
+### 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 Backups GetVolumeLatestRestoreStatus.
+ * Samples for ElasticVolumes CreateOrUpdate.
*/
-public final class BackupsGetVolumeLatestRestoreStatusSamples {
+public final class ElasticVolumesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_LatestRestoreStatus.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticVolumes_CreateOrUpdate.json
*/
/**
- * Sample code: Volumes_RestoreStatus.
+ * Sample code: ElasticVolumes_CreateOrUpdate.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void volumesRestoreStatus(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backups()
- .getVolumeLatestRestoreStatusWithResponse("myRG", "account1", "pool1", "volume1",
- com.azure.core.util.Context.NONE);
+ 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();
}
}
```
-### Backups_ListByVault
+### ElasticVolumes_Delete
```java
/**
- * Samples for Backups ListByVault.
+ * Samples for ElasticVolumes Delete.
*/
-public final class BackupsListByVaultSamples {
+public final class ElasticVolumesDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_List.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticVolumes_Delete.json
*/
/**
- * Sample code: Backups_List.
+ * Sample code: ElasticVolumes_Delete.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backups().listByVault("myRG", "account1", "backupVault1", null, com.azure.core.util.Context.NONE);
+ public static void elasticVolumesDelete(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticVolumes().delete("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
}
}
```
-### Backups_Update
+### ElasticVolumes_Get
```java
-import com.azure.resourcemanager.netapp.models.Backup;
-
/**
- * Samples for Backups Update.
+ * Samples for ElasticVolumes Get.
*/
-public final class BackupsUpdateSamples {
+public final class ElasticVolumesGetSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_Update.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticVolumes_Get.json
*/
/**
- * Sample code: BackupsUnderBackupVault_Update.
+ * Sample code: ElasticVolumes_Get.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupsUnderBackupVaultUpdate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- Backup resource = manager.backups()
- .getWithResponse("myRG", "account1", "backupVault1", "backup1", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update().apply();
+ public static void elasticVolumesGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticVolumes()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
}
}
```
-### BackupsUnderAccount_MigrateBackups
+### ElasticVolumes_ListByElasticPool
```java
-import com.azure.resourcemanager.netapp.models.BackupsMigrationRequest;
-
/**
- * Samples for BackupsUnderAccount MigrateBackups.
+ * Samples for ElasticVolumes ListByElasticPool.
*/
-public final class BackupsUnderAccountMigrateBackupsSamples {
+public final class ElasticVolumesListByElasticPoolSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupsUnderAccount_Migrate.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticVolumes_ListByElasticPool.json
*/
/**
- * Sample code: BackupsUnderAccount_Migrate.
+ * Sample code: ElasticVolumes_ListByElasticPool.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupsUnderAccountMigrate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backupsUnderAccounts()
- .migrateBackups("myRG", "account1", new BackupsMigrationRequest().withBackupVaultId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"),
- com.azure.core.util.Context.NONE);
+ public static void elasticVolumesListByElasticPool(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.elasticVolumes().listByElasticPool("myRG", "account1", "pool1", com.azure.core.util.Context.NONE);
}
}
```
-### BackupsUnderBackupVault_RestoreFiles
+### ElasticVolumes_Revert
```java
-import com.azure.resourcemanager.netapp.models.BackupRestoreFiles;
-import java.util.Arrays;
+import com.azure.resourcemanager.netapp.models.ElasticVolumeRevert;
/**
- * Samples for BackupsUnderBackupVault RestoreFiles.
+ * Samples for ElasticVolumes Revert.
*/
-public final class BackupsUnderBackupVaultRestoreFilesSamples {
+public final class ElasticVolumesRevertSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupsUnderBackupVault_SingleFileRestore.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticVolumes_Revert.json
*/
/**
- * Sample code: Backups_SingleFileRestore.
+ * Sample code: ElasticVolumes_Revert.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupsSingleFileRestore(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backupsUnderBackupVaults()
- .restoreFiles("myRG", "account1", "backupVault1", "backup1", new BackupRestoreFiles()
- .withFileList(Arrays.asList("/dir1/customer1.db", "/dir1/customer2.db"))
- .withDestinationVolumeId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1"),
+ 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);
}
}
```
-### BackupsUnderVolume_MigrateBackups
+### ElasticVolumes_Update
```java
-import com.azure.resourcemanager.netapp.models.BackupsMigrationRequest;
+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 BackupsUnderVolume MigrateBackups.
+ * Samples for ElasticVolumes Update.
*/
-public final class BackupsUnderVolumeMigrateBackupsSamples {
+public final class ElasticVolumesUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/BackupsUnderVolume_Migrate.json
+ * x-ms-original-file: 2025-09-01-preview/ElasticVolumes_Update.json
*/
/**
- * Sample code: BackupsUnderVolume_Migrate.
+ * Sample code: ElasticVolumes_Update.
*
* @param manager Entry point to NetAppFilesManager.
*/
- public static void backupsUnderVolumeMigrate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
- manager.backupsUnderVolumes()
- .migrateBackups("myRG", "account1", "pool1", "volume1", new BackupsMigrationRequest().withBackupVaultId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"),
- com.azure.core.util.Context.NONE);
+ 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();
}
}
```
@@ -949,7 +2813,7 @@ import com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest;
*/
public final class NetAppResourceCheckFilePathAvailabilitySamples {
/*
- * x-ms-original-file: 2025-09-01/CheckFilePathAvailability.json
+ * x-ms-original-file: 2025-09-01-preview/CheckFilePathAvailability.json
*/
/**
* Sample code: CheckFilePathAvailability.
@@ -961,7 +2825,7 @@ public final class NetAppResourceCheckFilePathAvailabilitySamples {
.checkFilePathAvailabilityWithResponse("eastus", new FilePathAvailabilityRequest()
.withName("my-exact-filepth")
.withSubnetId(
- "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"),
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"),
com.azure.core.util.Context.NONE);
}
}
@@ -978,7 +2842,7 @@ import com.azure.resourcemanager.netapp.models.ResourceNameAvailabilityRequest;
*/
public final class NetAppResourceCheckNameAvailabilitySamples {
/*
- * x-ms-original-file: 2025-09-01/CheckNameAvailability.json
+ * x-ms-original-file: 2025-09-01-preview/CheckNameAvailability.json
*/
/**
* Sample code: CheckNameAvailability.
@@ -1007,7 +2871,7 @@ import com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest;
*/
public final class NetAppResourceCheckQuotaAvailabilitySamples {
/*
- * x-ms-original-file: 2025-09-01/CheckQuotaAvailability.json
+ * x-ms-original-file: 2025-09-01-preview/CheckQuotaAvailability.json
*/
/**
* Sample code: CheckQuotaAvailability.
@@ -1035,7 +2899,7 @@ import com.azure.resourcemanager.netapp.models.QueryNetworkSiblingSetRequest;
*/
public final class NetAppResourceQueryNetworkSiblingSetSamples {
/*
- * x-ms-original-file: 2025-09-01/NetworkSiblingSet_Query.json
+ * x-ms-original-file: 2025-09-01-preview/NetworkSiblingSet_Query.json
*/
/**
* Sample code: NetworkSiblingSet_Query.
@@ -1047,7 +2911,7 @@ public final class NetAppResourceQueryNetworkSiblingSetSamples {
.queryNetworkSiblingSetWithResponse("eastus", new QueryNetworkSiblingSetRequest()
.withNetworkSiblingSetId("9760acf5-4638-11e7-9bdb-020073ca3333")
.withSubnetId(
- "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet"),
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet"),
com.azure.core.util.Context.NONE);
}
}
@@ -1061,7 +2925,7 @@ public final class NetAppResourceQueryNetworkSiblingSetSamples {
*/
public final class NetAppResourceQueryRegionInfoSamples {
/*
- * x-ms-original-file: 2025-09-01/RegionInfo.json
+ * x-ms-original-file: 2025-09-01-preview/RegionInfo.json
*/
/**
* Sample code: RegionInfo_Query.
@@ -1085,7 +2949,7 @@ import com.azure.resourcemanager.netapp.models.UpdateNetworkSiblingSetRequest;
*/
public final class NetAppResourceUpdateNetworkSiblingSetSamples {
/*
- * x-ms-original-file: 2025-09-01/NetworkSiblingSet_Update.json
+ * x-ms-original-file: 2025-09-01-preview/NetworkSiblingSet_Update.json
*/
/**
* Sample code: NetworkFeatures_Update.
@@ -1097,7 +2961,7 @@ public final class NetAppResourceUpdateNetworkSiblingSetSamples {
.updateNetworkSiblingSet("eastus", new UpdateNetworkSiblingSetRequest()
.withNetworkSiblingSetId("9760acf5-4638-11e7-9bdb-020073ca3333")
.withSubnetId(
- "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet")
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet")
.withNetworkSiblingSetStateId("12345_44420.8001578125")
.withNetworkFeatures(NetworkFeatures.STANDARD), com.azure.core.util.Context.NONE);
}
@@ -1112,7 +2976,7 @@ public final class NetAppResourceUpdateNetworkSiblingSetSamples {
*/
public final class NetAppResourceQuotaLimitsGetSamples {
/*
- * x-ms-original-file: 2025-09-01/NetAppResourceQuotaLimits_Get.json
+ * x-ms-original-file: 2025-09-01-preview/NetAppResourceQuotaLimits_Get.json
*/
/**
* Sample code: QuotaLimits.
@@ -1134,7 +2998,7 @@ public final class NetAppResourceQuotaLimitsGetSamples {
*/
public final class NetAppResourceQuotaLimitsListSamples {
/*
- * x-ms-original-file: 2025-09-01/NetAppResourceQuotaLimits_List.json
+ * x-ms-original-file: 2025-09-01-preview/NetAppResourceQuotaLimits_List.json
*/
/**
* Sample code: QuotaLimits.
@@ -1155,7 +3019,7 @@ public final class NetAppResourceQuotaLimitsListSamples {
*/
public final class NetAppResourceQuotaLimitsAccountGetSamples {
/*
- * x-ms-original-file: 2025-09-01/NetAppResourceQuotaLimitsAccount_Get.json
+ * x-ms-original-file: 2025-09-01-preview/NetAppResourceQuotaLimitsAccount_Get.json
*/
/**
* Sample code: QuotaLimits.
@@ -1177,7 +3041,7 @@ public final class NetAppResourceQuotaLimitsAccountGetSamples {
*/
public final class NetAppResourceQuotaLimitsAccountListSamples {
/*
- * x-ms-original-file: 2025-09-01/NetAppResourceQuotaLimitsAccount_List.json
+ * x-ms-original-file: 2025-09-01-preview/NetAppResourceQuotaLimitsAccount_List.json
*/
/**
* Sample code: QuotaLimits.
@@ -1198,7 +3062,7 @@ public final class NetAppResourceQuotaLimitsAccountListSamples {
*/
public final class NetAppResourceRegionInfosGetSamples {
/*
- * x-ms-original-file: 2025-09-01/RegionInfos_Get.json
+ * x-ms-original-file: 2025-09-01-preview/RegionInfos_Get.json
*/
/**
* Sample code: RegionInfos_Get.
@@ -1219,7 +3083,7 @@ public final class NetAppResourceRegionInfosGetSamples {
*/
public final class NetAppResourceRegionInfosListSamples {
/*
- * x-ms-original-file: 2025-09-01/RegionInfos_List.json
+ * x-ms-original-file: 2025-09-01-preview/RegionInfos_List.json
*/
/**
* Sample code: RegionInfos_List.
@@ -1240,7 +3104,7 @@ public final class NetAppResourceRegionInfosListSamples {
*/
public final class NetAppResourceUsagesGetSamples {
/*
- * x-ms-original-file: 2025-09-01/Usages_Get.json
+ * x-ms-original-file: 2025-09-01-preview/Usages_Get.json
*/
/**
* Sample code: Usages_Get.
@@ -1262,7 +3126,7 @@ public final class NetAppResourceUsagesGetSamples {
*/
public final class NetAppResourceUsagesListSamples {
/*
- * x-ms-original-file: 2025-09-01/Usages_List.json
+ * x-ms-original-file: 2025-09-01-preview/Usages_List.json
*/
/**
* Sample code: Usages_List.
@@ -1283,7 +3147,7 @@ public final class NetAppResourceUsagesListSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2025-09-01/OperationList.json
+ * x-ms-original-file: 2025-09-01-preview/OperationList.json
*/
/**
* Sample code: OperationList.
@@ -1307,7 +3171,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel;
*/
public final class PoolsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/Pools_CreateOrUpdate.json
+ * x-ms-original-file: 2025-09-01-preview/Pools_CreateOrUpdate.json
*/
/**
* Sample code: Pools_CreateOrUpdate.
@@ -1326,7 +3190,7 @@ public final class PoolsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2025-09-01/Pools_CreateOrUpdate_CustomThroughput.json
+ * x-ms-original-file: 2025-09-01-preview/Pools_CreateOrUpdate_CustomThroughput.json
*/
/**
* Sample code: Pools_CreateOrUpdate_CustomThroughput.
@@ -1356,7 +3220,7 @@ public final class PoolsCreateOrUpdateSamples {
*/
public final class PoolsDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/Pools_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/Pools_Delete.json
*/
/**
* Sample code: Pools_Delete.
@@ -1377,7 +3241,7 @@ public final class PoolsDeleteSamples {
*/
public final class PoolsGetSamples {
/*
- * x-ms-original-file: 2025-09-01/Pools_Get_CustomThroughput.json
+ * x-ms-original-file: 2025-09-01-preview/Pools_Get_CustomThroughput.json
*/
/**
* Sample code: Pools_Get_CustomThroughput.
@@ -1389,7 +3253,7 @@ public final class PoolsGetSamples {
}
/*
- * x-ms-original-file: 2025-09-01/Pools_Get.json
+ * x-ms-original-file: 2025-09-01-preview/Pools_Get.json
*/
/**
* Sample code: Pools_Get.
@@ -1410,7 +3274,7 @@ public final class PoolsGetSamples {
*/
public final class PoolsListSamples {
/*
- * x-ms-original-file: 2025-09-01/Pools_List.json
+ * x-ms-original-file: 2025-09-01-preview/Pools_List.json
*/
/**
* Sample code: Pools_List.
@@ -1433,7 +3297,7 @@ import com.azure.resourcemanager.netapp.models.CapacityPool;
*/
public final class PoolsUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/Pools_Update.json
+ * x-ms-original-file: 2025-09-01-preview/Pools_Update.json
*/
/**
* Sample code: Pools_Update.
@@ -1447,7 +3311,7 @@ public final class PoolsUpdateSamples {
}
/*
- * x-ms-original-file: 2025-09-01/Pools_Update_CustomThroughput.json
+ * x-ms-original-file: 2025-09-01-preview/Pools_Update_CustomThroughput.json
*/
/**
* Sample code: Pools_Update_CustomThroughput.
@@ -1463,6 +3327,79 @@ public final class PoolsUpdateSamples {
}
```
+### RansomwareReports_ClearSuspects
+
+```java
+import com.azure.resourcemanager.netapp.models.RansomwareSuspectResolution;
+import com.azure.resourcemanager.netapp.models.RansomwareSuspectsClearRequest;
+import java.util.Arrays;
+
+/**
+ * Samples for RansomwareReports ClearSuspects.
+ */
+public final class RansomwareReportsClearSuspectsSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/RansomwareReports_ClearSuspects.json
+ */
+ /**
+ * Sample code: RansomwareReports_ClearSuspects.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void ransomwareReportsClearSuspects(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.ransomwareReports()
+ .clearSuspects("myRG", "account1", "pool1", "volume1", "ransomwareReport1",
+ new RansomwareSuspectsClearRequest().withResolution(RansomwareSuspectResolution.POTENTIAL_THREAT)
+ .withExtensions(Arrays.asList(".threat")),
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### RansomwareReports_Get
+
+```java
+/**
+ * Samples for RansomwareReports Get.
+ */
+public final class RansomwareReportsGetSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/RansomwareReports_Get.json
+ */
+ /**
+ * Sample code: RansomwareReports_Get.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void ransomwareReportsGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.ransomwareReports()
+ .getWithResponse("myRG", "account1", "pool1", "volume1", "ransomwareReport1",
+ com.azure.core.util.Context.NONE);
+ }
+}
+```
+
+### RansomwareReports_List
+
+```java
+/**
+ * Samples for RansomwareReports List.
+ */
+public final class RansomwareReportsListSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/RansomwareReports_List.json
+ */
+ /**
+ * Sample code: RansomwareReports_List.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void ransomwareReportsList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.ransomwareReports().list("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### SnapshotPolicies_Create
```java
@@ -1476,7 +3413,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule;
*/
public final class SnapshotPoliciesCreateSamples {
/*
- * x-ms-original-file: 2025-09-01/SnapshotPolicies_Create.json
+ * x-ms-original-file: 2025-09-01-preview/SnapshotPolicies_Create.json
*/
/**
* Sample code: SnapshotPolicies_Create.
@@ -1508,7 +3445,7 @@ public final class SnapshotPoliciesCreateSamples {
*/
public final class SnapshotPoliciesDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/SnapshotPolicies_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/SnapshotPolicies_Delete.json
*/
/**
* Sample code: SnapshotPolicies_Delete.
@@ -1530,7 +3467,7 @@ public final class SnapshotPoliciesDeleteSamples {
*/
public final class SnapshotPoliciesGetSamples {
/*
- * x-ms-original-file: 2025-09-01/SnapshotPolicies_Get.json
+ * x-ms-original-file: 2025-09-01-preview/SnapshotPolicies_Get.json
*/
/**
* Sample code: SnapshotPolicies_Get.
@@ -1552,7 +3489,7 @@ public final class SnapshotPoliciesGetSamples {
*/
public final class SnapshotPoliciesListSamples {
/*
- * x-ms-original-file: 2025-09-01/SnapshotPolicies_List.json
+ * x-ms-original-file: 2025-09-01-preview/SnapshotPolicies_List.json
*/
/**
* Sample code: SnapshotPolicies_List.
@@ -1573,7 +3510,7 @@ public final class SnapshotPoliciesListSamples {
*/
public final class SnapshotPoliciesListVolumesSamples {
/*
- * x-ms-original-file: 2025-09-01/SnapshotPolicies_ListVolumes.json
+ * x-ms-original-file: 2025-09-01-preview/SnapshotPolicies_ListVolumes.json
*/
/**
* Sample code: SnapshotPolicies_ListVolumes.
@@ -1601,7 +3538,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule;
*/
public final class SnapshotPoliciesUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/SnapshotPolicies_Update.json
+ * x-ms-original-file: 2025-09-01-preview/SnapshotPolicies_Update.json
*/
/**
* Sample code: SnapshotPolicies_Update.
@@ -1633,7 +3570,7 @@ public final class SnapshotPoliciesUpdateSamples {
*/
public final class SnapshotsCreateSamples {
/*
- * x-ms-original-file: 2025-09-01/Snapshots_Create.json
+ * x-ms-original-file: 2025-09-01-preview/Snapshots_Create.json
*/
/**
* Sample code: Snapshots_Create.
@@ -1658,7 +3595,7 @@ public final class SnapshotsCreateSamples {
*/
public final class SnapshotsDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/Snapshots_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/Snapshots_Delete.json
*/
/**
* Sample code: Snapshots_Delete.
@@ -1680,7 +3617,7 @@ public final class SnapshotsDeleteSamples {
*/
public final class SnapshotsGetSamples {
/*
- * x-ms-original-file: 2025-09-01/Snapshots_Get.json
+ * x-ms-original-file: 2025-09-01-preview/Snapshots_Get.json
*/
/**
* Sample code: Snapshots_Get.
@@ -1702,7 +3639,7 @@ public final class SnapshotsGetSamples {
*/
public final class SnapshotsListSamples {
/*
- * x-ms-original-file: 2025-09-01/Snapshots_List.json
+ * x-ms-original-file: 2025-09-01-preview/Snapshots_List.json
*/
/**
* Sample code: Snapshots_List.
@@ -1726,7 +3663,7 @@ import java.util.Arrays;
*/
public final class SnapshotsRestoreFilesSamples {
/*
- * x-ms-original-file: 2025-09-01/Snapshots_SingleFileRestore.json
+ * x-ms-original-file: 2025-09-01-preview/Snapshots_SingleFileRestore.json
*/
/**
* Sample code: Snapshots_SingleFileRestore.
@@ -1750,7 +3687,7 @@ public final class SnapshotsRestoreFilesSamples {
*/
public final class SubvolumesCreateSamples {
/*
- * x-ms-original-file: 2025-09-01/Subvolumes_Create.json
+ * x-ms-original-file: 2025-09-01-preview/Subvolumes_Create.json
*/
/**
* Sample code: Subvolumes_Create.
@@ -1775,7 +3712,7 @@ public final class SubvolumesCreateSamples {
*/
public final class SubvolumesDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/Subvolumes_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/Subvolumes_Delete.json
*/
/**
* Sample code: Subvolumes_Delete.
@@ -1797,7 +3734,7 @@ public final class SubvolumesDeleteSamples {
*/
public final class SubvolumesGetSamples {
/*
- * x-ms-original-file: 2025-09-01/Subvolumes_Get.json
+ * x-ms-original-file: 2025-09-01-preview/Subvolumes_Get.json
*/
/**
* Sample code: Subvolumes_Get.
@@ -1819,7 +3756,7 @@ public final class SubvolumesGetSamples {
*/
public final class SubvolumesGetMetadataSamples {
/*
- * x-ms-original-file: 2025-09-01/Subvolumes_Metadata.json
+ * x-ms-original-file: 2025-09-01-preview/Subvolumes_Metadata.json
*/
/**
* Sample code: Subvolumes_Metadata.
@@ -1841,7 +3778,7 @@ public final class SubvolumesGetMetadataSamples {
*/
public final class SubvolumesListByVolumeSamples {
/*
- * x-ms-original-file: 2025-09-01/Subvolumes_List.json
+ * x-ms-original-file: 2025-09-01-preview/Subvolumes_List.json
*/
/**
* Sample code: Subvolumes_List.
@@ -1864,7 +3801,7 @@ import com.azure.resourcemanager.netapp.models.SubvolumeInfo;
*/
public final class SubvolumesUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/Subvolumes_Update.json
+ * x-ms-original-file: 2025-09-01-preview/Subvolumes_Update.json
*/
/**
* Sample code: Subvolumes_Update.
@@ -1896,7 +3833,7 @@ import java.util.Arrays;
*/
public final class VolumeGroupsCreateSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeGroups_Create_SapHana.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_SapHana.json
*/
/**
* Sample code: VolumeGroups_Create_SapHana.
@@ -2056,7 +3993,7 @@ public final class VolumeGroupsCreateSamples {
}
/*
- * x-ms-original-file: 2025-09-01/VolumeGroups_Create_Oracle.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Create_Oracle.json
*/
/**
* Sample code: VolumeGroups_Create_Oracle.
@@ -2409,7 +4346,7 @@ public final class VolumeGroupsCreateSamples {
*/
public final class VolumeGroupsDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeGroups_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Delete.json
*/
/**
* Sample code: VolumeGroups_Delete.
@@ -2430,7 +4367,7 @@ public final class VolumeGroupsDeleteSamples {
*/
public final class VolumeGroupsGetSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeGroups_Get_SapHana.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Get_SapHana.json
*/
/**
* Sample code: VolumeGroups_Get_SapHana.
@@ -2442,7 +4379,7 @@ public final class VolumeGroupsGetSamples {
}
/*
- * x-ms-original-file: 2025-09-01/VolumeGroups_Get_Oracle.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeGroups_Get_Oracle.json
*/
/**
* Sample code: VolumeGroups_Get_Oracle.
@@ -2463,7 +4400,7 @@ public final class VolumeGroupsGetSamples {
*/
public final class VolumeGroupsListByNetAppAccountSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeGroups_List_Oracle.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeGroups_List_Oracle.json
*/
/**
* Sample code: VolumeGroups_List_Oracle.
@@ -2475,7 +4412,7 @@ public final class VolumeGroupsListByNetAppAccountSamples {
}
/*
- * x-ms-original-file: 2025-09-01/VolumeGroups_List_SapHana.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeGroups_List_SapHana.json
*/
/**
* Sample code: VolumeGroups_List_SapHana.
@@ -2498,7 +4435,7 @@ import com.azure.resourcemanager.netapp.models.Type;
*/
public final class VolumeQuotaRulesCreateSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeQuotaRules_Create.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeQuotaRules_Create.json
*/
/**
* Sample code: VolumeQuotaRules_Create.
@@ -2526,7 +4463,7 @@ public final class VolumeQuotaRulesCreateSamples {
*/
public final class VolumeQuotaRulesDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeQuotaRules_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeQuotaRules_Delete.json
*/
/**
* Sample code: VolumeQuotaRules_Delete.
@@ -2548,7 +4485,7 @@ public final class VolumeQuotaRulesDeleteSamples {
*/
public final class VolumeQuotaRulesGetSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeQuotaRules_Get.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeQuotaRules_Get.json
*/
/**
* Sample code: VolumeQuotaRules_Get.
@@ -2571,7 +4508,7 @@ public final class VolumeQuotaRulesGetSamples {
*/
public final class VolumeQuotaRulesListByVolumeSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeQuotaRules_List.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeQuotaRules_List.json
*/
/**
* Sample code: VolumeQuotaRules_List.
@@ -2595,7 +4532,7 @@ import com.azure.resourcemanager.netapp.models.VolumeQuotaRule;
*/
public final class VolumeQuotaRulesUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/VolumeQuotaRules_Update.json
+ * x-ms-original-file: 2025-09-01-preview/VolumeQuotaRules_Update.json
*/
/**
* Sample code: VolumeQuotaRules_Update.
@@ -2620,7 +4557,7 @@ public final class VolumeQuotaRulesUpdateSamples {
*/
public final class VolumesAuthorizeExternalReplicationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_AuthorizeExternalReplication.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_AuthorizeExternalReplication.json
*/
/**
* Sample code: Volumes_AuthorizeExternalReplication.
@@ -2645,7 +4582,7 @@ import com.azure.resourcemanager.netapp.models.AuthorizeRequest;
*/
public final class VolumesAuthorizeReplicationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_AuthorizeReplication.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_AuthorizeReplication.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -2672,7 +4609,7 @@ import com.azure.resourcemanager.netapp.models.BreakFileLocksRequest;
*/
public final class VolumesBreakFileLocksSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_BreakFileLocks.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_BreakFileLocks.json
*/
/**
* Sample code: Volumes_BreakFileLocks.
@@ -2698,7 +4635,7 @@ import com.azure.resourcemanager.netapp.models.BreakReplicationRequest;
*/
public final class VolumesBreakReplicationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_BreakReplication.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_BreakReplication.json
*/
/**
* Sample code: Volumes_BreakReplication.
@@ -2723,7 +4660,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel;
*/
public final class VolumesCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_CreateOrUpdate.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_CreateOrUpdate.json
*/
/**
* Sample code: Volumes_CreateOrUpdate.
@@ -2738,7 +4675,7 @@ public final class VolumesCreateOrUpdateSamples {
.withCreationToken("my-unique-file-path")
.withUsageThreshold(107374182400L)
.withSubnetId(
- "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3")
.withServiceLevel(ServiceLevel.PREMIUM)
.create();
}
@@ -2753,7 +4690,7 @@ public final class VolumesCreateOrUpdateSamples {
*/
public final class VolumesDeleteSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_Delete.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_Delete.json
*/
/**
* Sample code: Volumes_Delete.
@@ -2774,7 +4711,7 @@ public final class VolumesDeleteSamples {
*/
public final class VolumesDeleteReplicationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_DeleteReplication.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_DeleteReplication.json
*/
/**
* Sample code: Volumes_DeleteReplication.
@@ -2795,7 +4732,7 @@ public final class VolumesDeleteReplicationSamples {
*/
public final class VolumesFinalizeExternalReplicationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_FinalizeExternalReplication.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_FinalizeExternalReplication.json
*/
/**
* Sample code: Volumes_FinalizeExternalReplication.
@@ -2817,7 +4754,7 @@ public final class VolumesFinalizeExternalReplicationSamples {
*/
public final class VolumesFinalizeRelocationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_FinalizeRelocation.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_FinalizeRelocation.json
*/
/**
* Sample code: Volumes_FinalizeRelocation.
@@ -2838,7 +4775,19 @@ public final class VolumesFinalizeRelocationSamples {
*/
public final class VolumesGetSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_Get.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ExtraLargeVolumes_Get.json
+ */
+ /**
+ * Sample code: Volumes_ExtralargeVolumeGet.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumesExtralargeVolumeGet(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.volumes().getWithResponse("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Volumes_Get.json
*/
/**
* Sample code: Volumes_Get.
@@ -2859,7 +4808,19 @@ public final class VolumesGetSamples {
*/
public final class VolumesListSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_List.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ExtraLargeVolumes_List.json
+ */
+ /**
+ * Sample code: Volumes_ExtralargeVolumeList.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void volumesExtralargeVolumeList(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.volumes().list("myRG", "account1", "pool1", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Volumes_List.json
*/
/**
* Sample code: Volumes_List.
@@ -2882,7 +4843,7 @@ import com.azure.resourcemanager.netapp.models.GetGroupIdListForLdapUserRequest;
*/
public final class VolumesListGetGroupIdListForLdapUserSamples {
/*
- * x-ms-original-file: 2025-09-01/GroupIdListForLDAPUser.json
+ * x-ms-original-file: 2025-09-01-preview/GroupIdListForLDAPUser.json
*/
/**
* Sample code: GetGroupIdListForUser.
@@ -2897,6 +4858,27 @@ public final class VolumesListGetGroupIdListForLdapUserSamples {
}
```
+### Volumes_ListQuotaReport
+
+```java
+/**
+ * Samples for Volumes ListQuotaReport.
+ */
+public final class VolumesListQuotaReportSamples {
+ /*
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ListQuotaReport.json
+ */
+ /**
+ * Sample code: ListQuotaReport.
+ *
+ * @param manager Entry point to NetAppFilesManager.
+ */
+ public static void listQuotaReport(com.azure.resourcemanager.netapp.NetAppFilesManager manager) {
+ manager.volumes().listQuotaReport("myRG", "account1", "pool1", "volume1", com.azure.core.util.Context.NONE);
+ }
+}
+```
+
### Volumes_ListReplications
```java
@@ -2908,7 +4890,7 @@ import com.azure.resourcemanager.netapp.models.ListReplicationsRequest;
*/
public final class VolumesListReplicationsSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_ListReplications.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ListReplications.json
*/
/**
* Sample code: Volumes_ListReplications.
@@ -2934,7 +4916,7 @@ import java.util.Arrays;
*/
public final class VolumesPeerExternalClusterSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_PeerExternalCluster.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_PeerExternalCluster.json
*/
/**
* Sample code: Volumes_PeerExternalCluster.
@@ -2959,7 +4941,7 @@ public final class VolumesPeerExternalClusterSamples {
*/
public final class VolumesPerformReplicationTransferSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_PerformReplicationTransfer.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_PerformReplicationTransfer.json
*/
/**
* Sample code: Volumes_PerformReplicationTransfer.
@@ -2983,7 +4965,7 @@ import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
*/
public final class VolumesPoolChangeSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_PoolChange.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_PoolChange.json
*/
/**
* Sample code: Volumes_AuthorizeReplication.
@@ -3007,7 +4989,7 @@ public final class VolumesPoolChangeSamples {
*/
public final class VolumesPopulateAvailabilityZoneSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_PopulateAvailabilityZones.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_PopulateAvailabilityZones.json
*/
/**
* Sample code: Volumes_PopulateAvailabilityZones.
@@ -3029,7 +5011,7 @@ public final class VolumesPopulateAvailabilityZoneSamples {
*/
public final class VolumesReInitializeReplicationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_ReInitializeReplication.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ReInitializeReplication.json
*/
/**
* Sample code: Volumes_ReInitializeReplication.
@@ -3053,7 +5035,7 @@ import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest;
*/
public final class VolumesReestablishReplicationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_ReestablishReplication.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ReestablishReplication.json
*/
/**
* Sample code: Volumes_ReestablishReplication.
@@ -3080,7 +5062,7 @@ import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest;
*/
public final class VolumesRelocateSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_Relocate.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_Relocate.json
*/
/**
* Sample code: Volumes_Relocate.
@@ -3103,7 +5085,7 @@ public final class VolumesRelocateSamples {
*/
public final class VolumesReplicationStatusSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_ReplicationStatus.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ReplicationStatus.json
*/
/**
* Sample code: Volumes_ReplicationStatus.
@@ -3125,7 +5107,7 @@ public final class VolumesReplicationStatusSamples {
*/
public final class VolumesResetCifsPasswordSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_ResetCifsPassword.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ResetCifsPassword.json
*/
/**
* Sample code: Volumes_ResetCifsPassword.
@@ -3146,7 +5128,7 @@ public final class VolumesResetCifsPasswordSamples {
*/
public final class VolumesResyncReplicationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_ResyncReplication.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_ResyncReplication.json
*/
/**
* Sample code: Volumes_ResyncReplication.
@@ -3169,7 +5151,7 @@ import com.azure.resourcemanager.netapp.models.VolumeRevert;
*/
public final class VolumesRevertSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_Revert.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_Revert.json
*/
/**
* Sample code: Volumes_Revert.
@@ -3193,7 +5175,7 @@ public final class VolumesRevertSamples {
*/
public final class VolumesRevertRelocationSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_RevertRelocation.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_RevertRelocation.json
*/
/**
* Sample code: Volumes_RevertRelocation.
@@ -3214,7 +5196,7 @@ public final class VolumesRevertRelocationSamples {
*/
public final class VolumesSplitCloneFromParentSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_SplitClone.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_SplitClone.json
*/
/**
* Sample code: Volumes_SplitClone.
@@ -3238,7 +5220,7 @@ import com.azure.resourcemanager.netapp.models.Volume;
*/
public final class VolumesUpdateSamples {
/*
- * x-ms-original-file: 2025-09-01/Volumes_Update.json
+ * x-ms-original-file: 2025-09-01-preview/Volumes_Update.json
*/
/**
* Sample code: Volumes_Update.
diff --git a/sdk/netapp/azure-resourcemanager-netapp/pom.xml b/sdk/netapp/azure-resourcemanager-netapp/pom.xml
index 004fd9aa4790..fbc8f73dfe8e 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 2025-09-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 2025-09-01-preview.
https://github.com/Azure/azure-sdk-for-java
@@ -45,6 +45,7 @@
UTF-8
0
0
+ true
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 75a5d99763eb..c9dd2c1cdbd6 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,12 +26,23 @@
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;
import com.azure.resourcemanager.netapp.implementation.BackupsUnderAccountsImpl;
import com.azure.resourcemanager.netapp.implementation.BackupsUnderBackupVaultsImpl;
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.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.NetAppManagementClientBuilder;
import com.azure.resourcemanager.netapp.implementation.NetAppResourceQuotaLimitsAccountsImpl;
import com.azure.resourcemanager.netapp.implementation.NetAppResourceQuotaLimitsImpl;
@@ -40,6 +51,7 @@
import com.azure.resourcemanager.netapp.implementation.NetAppResourcesImpl;
import com.azure.resourcemanager.netapp.implementation.OperationsImpl;
import com.azure.resourcemanager.netapp.implementation.PoolsImpl;
+import com.azure.resourcemanager.netapp.implementation.RansomwareReportsImpl;
import com.azure.resourcemanager.netapp.implementation.SnapshotPoliciesImpl;
import com.azure.resourcemanager.netapp.implementation.SnapshotsImpl;
import com.azure.resourcemanager.netapp.implementation.SubvolumesImpl;
@@ -47,12 +59,23 @@
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;
import com.azure.resourcemanager.netapp.models.BackupsUnderAccounts;
import com.azure.resourcemanager.netapp.models.BackupsUnderBackupVaults;
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.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.NetAppResourceQuotaLimits;
import com.azure.resourcemanager.netapp.models.NetAppResourceQuotaLimitsAccounts;
import com.azure.resourcemanager.netapp.models.NetAppResourceRegionInfos;
@@ -60,6 +83,7 @@
import com.azure.resourcemanager.netapp.models.NetAppResources;
import com.azure.resourcemanager.netapp.models.Operations;
import com.azure.resourcemanager.netapp.models.Pools;
+import com.azure.resourcemanager.netapp.models.RansomwareReports;
import com.azure.resourcemanager.netapp.models.SnapshotPolicies;
import com.azure.resourcemanager.netapp.models.Snapshots;
import com.azure.resourcemanager.netapp.models.Subvolumes;
@@ -97,8 +121,32 @@ public final class NetAppFilesManager {
private VolumeQuotaRules volumeQuotaRules;
+ private RansomwareReports ransomwareReports;
+
private BackupVaults backupVaults;
+ private Buckets buckets;
+
+ 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 NetAppResourceQuotaLimits netAppResourceQuotaLimits;
private NetAppResourceRegionInfos netAppResourceRegionInfos;
@@ -443,6 +491,18 @@ public VolumeQuotaRules volumeQuotaRules() {
return volumeQuotaRules;
}
+ /**
+ * Gets the resource collection API of RansomwareReports.
+ *
+ * @return Resource collection API of RansomwareReports.
+ */
+ public RansomwareReports ransomwareReports() {
+ if (this.ransomwareReports == null) {
+ this.ransomwareReports = new RansomwareReportsImpl(clientObject.getRansomwareReports(), this);
+ }
+ return ransomwareReports;
+ }
+
/**
* Gets the resource collection API of BackupVaults. It manages BackupVault.
*
@@ -455,6 +515,140 @@ public BackupVaults backupVaults() {
return backupVaults;
}
+ /**
+ * Gets the resource collection API of Buckets. It manages Bucket.
+ *
+ * @return Resource collection API of Buckets.
+ */
+ public Buckets buckets() {
+ if (this.buckets == null) {
+ this.buckets = new BucketsImpl(clientObject.getBuckets(), this);
+ }
+ return buckets;
+ }
+
+ /**
+ * Gets the resource collection API of Caches. It manages Cache.
+ *
+ * @return Resource collection API of Caches.
+ */
+ public Caches caches() {
+ if (this.caches == null) {
+ this.caches = new CachesImpl(clientObject.getCaches(), this);
+ }
+ 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 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 000000000000..ab9def2b0953
--- /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/BucketsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BucketsClient.java
new file mode 100644
index 000000000000..a604c10979b3
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BucketsClient.java
@@ -0,0 +1,360 @@
+// 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.BucketGenerateCredentialsInner;
+import com.azure.resourcemanager.netapp.fluent.models.BucketInner;
+import com.azure.resourcemanager.netapp.models.BucketCredentialsExpiry;
+import com.azure.resourcemanager.netapp.models.BucketPatch;
+
+/**
+ * An instance of this class provides access to all the operations defined in BucketsClient.
+ */
+public interface BucketsClient {
+ /**
+ * Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services,
+ * connect to the volume data contained in those buckets.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @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's bucket along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String bucketName, Context context);
+
+ /**
+ * Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services,
+ * connect to the volume data contained in those buckets.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @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's bucket.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BucketInner get(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String bucketName);
+
+ /**
+ * Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to
+ * the volume data contained in those buckets.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket details including user details, and the volume path that should be mounted inside the
+ * bucket.
+ * @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 bucket resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BucketInner> beginCreateOrUpdate(String resourceGroupName, String accountName,
+ String poolName, String volumeName, String bucketName, BucketInner body);
+
+ /**
+ * Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to
+ * the volume data contained in those buckets.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket details including user details, and the volume path that should be mounted inside the
+ * bucket.
+ * @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 bucket resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BucketInner> beginCreateOrUpdate(String resourceGroupName, String accountName,
+ String poolName, String volumeName, String bucketName, BucketInner body, Context context);
+
+ /**
+ * Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to
+ * the volume data contained in those buckets.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket details including user details, and the volume path that should be mounted inside the
+ * bucket.
+ * @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 bucket resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BucketInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String bucketName, BucketInner body);
+
+ /**
+ * Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to
+ * the volume data contained in those buckets.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket details including user details, and the volume path that should be mounted inside the
+ * bucket.
+ * @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 bucket resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BucketInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String bucketName, BucketInner body, Context context);
+
+ /**
+ * Updates the details of a volume bucket.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket details including user details, and the volume path that should be mounted inside the
+ * bucket.
+ * @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 bucket resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BucketInner> beginUpdate(String resourceGroupName, String accountName,
+ String poolName, String volumeName, String bucketName, BucketPatch body);
+
+ /**
+ * Updates the details of a volume bucket.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket details including user details, and the volume path that should be mounted inside the
+ * bucket.
+ * @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 bucket resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BucketInner> beginUpdate(String resourceGroupName, String accountName,
+ String poolName, String volumeName, String bucketName, BucketPatch body, Context context);
+
+ /**
+ * Updates the details of a volume bucket.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket details including user details, and the volume path that should be mounted inside the
+ * bucket.
+ * @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 bucket resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BucketInner update(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String bucketName, BucketPatch body);
+
+ /**
+ * Updates the details of a volume bucket.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket details including user details, and the volume path that should be mounted inside the
+ * bucket.
+ * @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 bucket resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BucketInner update(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String bucketName, BucketPatch body, Context context);
+
+ /**
+ * Delete a volume's bucket.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @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 bucketName);
+
+ /**
+ * Delete a volume's bucket.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @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 bucketName, Context context);
+
+ /**
+ * Delete a volume's bucket.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @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 bucketName);
+
+ /**
+ * Delete a volume's bucket.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @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 bucketName,
+ Context context);
+
+ /**
+ * Describes all buckets belonging to a volume. Buckets allow additional services, such as AI services, connect to
+ * the volume data contained in those buckets.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @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 volume bucket resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName);
+
+ /**
+ * Describes all buckets belonging to a volume. Buckets allow additional services, such as AI services, connect to
+ * the volume data contained in those buckets.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @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 volume bucket resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName,
+ Context context);
+
+ /**
+ * Generate the access key and secret key used for accessing the specified volume bucket. Also return expiry date
+ * and time of key pair (in UTC).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket's Access and Secret key pair expiry time expressed as the number of days from now.
+ * @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 bucket Access Key, Secret Key, and Expiry date and time of the key pair along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response generateCredentialsWithResponse(String resourceGroupName,
+ String accountName, String poolName, String volumeName, String bucketName, BucketCredentialsExpiry body,
+ Context context);
+
+ /**
+ * Generate the access key and secret key used for accessing the specified volume bucket. Also return expiry date
+ * and time of key pair (in UTC).
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param bucketName The name of the bucket.
+ * @param body The bucket's Access and Secret key pair expiry time expressed as the number of days from now.
+ * @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 bucket Access Key, Secret Key, and Expiry date and time of the key pair.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BucketGenerateCredentialsInner generateCredentials(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String bucketName, BucketCredentialsExpiry body);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/CachesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/CachesClient.java
new file mode 100644
index 000000000000..3b9f98aa04e7
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/CachesClient.java
@@ -0,0 +1,390 @@
+// 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.CacheInner;
+import com.azure.resourcemanager.netapp.fluent.models.PeeringPassphrasesInner;
+import com.azure.resourcemanager.netapp.models.CacheUpdate;
+import com.azure.resourcemanager.netapp.models.PoolChangeRequest;
+
+/**
+ * An instance of this class provides access to all the operations defined in CachesClient.
+ */
+public interface CachesClient {
+ /**
+ * Get the details of the specified Cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 Cache along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String poolName,
+ String cacheName, Context context);
+
+ /**
+ * Get the details of the specified Cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 Cache.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CacheInner get(String resourceGroupName, String accountName, String poolName, String cacheName);
+
+ /**
+ * Create or update the specified Cache within the Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cache resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CacheInner> beginCreateOrUpdate(String resourceGroupName, String accountName,
+ String poolName, String cacheName, CacheInner body);
+
+ /**
+ * Create or update the specified Cache within the Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cache resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CacheInner> beginCreateOrUpdate(String resourceGroupName, String accountName,
+ String poolName, String cacheName, CacheInner body, Context context);
+
+ /**
+ * Create or update the specified Cache within the Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cache resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CacheInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String cacheName,
+ CacheInner body);
+
+ /**
+ * Create or update the specified Cache within the Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cache resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CacheInner createOrUpdate(String resourceGroupName, String accountName, String poolName, String cacheName,
+ CacheInner body, Context context);
+
+ /**
+ * Patch the specified Cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cache resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CacheInner> beginUpdate(String resourceGroupName, String accountName,
+ String poolName, String cacheName, CacheUpdate body);
+
+ /**
+ * Patch the specified Cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cache resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CacheInner> beginUpdate(String resourceGroupName, String accountName,
+ String poolName, String cacheName, CacheUpdate body, Context context);
+
+ /**
+ * Patch the specified Cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cache resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CacheInner update(String resourceGroupName, String accountName, String poolName, String cacheName,
+ CacheUpdate body);
+
+ /**
+ * Patch the specified Cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cache resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CacheInner update(String resourceGroupName, String accountName, String poolName, String cacheName, CacheUpdate body,
+ Context context);
+
+ /**
+ * Delete the specified cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cacheName);
+
+ /**
+ * Delete the specified cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cacheName, Context context);
+
+ /**
+ * Delete the specified cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cacheName);
+
+ /**
+ * Delete the specified cache.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 cacheName, Context context);
+
+ /**
+ * List all Caches within the Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @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 Cache resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByCapacityPools(String resourceGroupName, String accountName, String poolName);
+
+ /**
+ * List all Caches within the Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @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 Cache resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByCapacityPools(String resourceGroupName, String accountName, String poolName,
+ Context context);
+
+ /**
+ * This operation will list the cluster peering command, cluster peering passphrase and the vserver peering command.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 containing peering passphrases and commands for cluster and vserver peering along with
+ * {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listPeeringPassphrasesWithResponse(String resourceGroupName, String accountName,
+ String poolName, String cacheName, Context context);
+
+ /**
+ * This operation will list the cluster peering command, cluster peering passphrase and the vserver peering command.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @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 containing peering passphrases and commands for cluster and vserver peering.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PeeringPassphrasesInner listPeeringPassphrases(String resourceGroupName, String accountName, String poolName,
+ String cacheName);
+
+ /**
+ * Moves Cache to another Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @param body Move cache to the pool supplied in the body of the 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, CacheInner> beginPoolChange(String resourceGroupName, String accountName,
+ String poolName, String cacheName, PoolChangeRequest body);
+
+ /**
+ * Moves Cache to another Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @param body Move cache to the pool supplied in the body of the operation.
+ * @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, CacheInner> beginPoolChange(String resourceGroupName, String accountName,
+ String poolName, String cacheName, PoolChangeRequest body, Context context);
+
+ /**
+ * Moves Cache to another Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @param body Move cache to the pool supplied in the body of the 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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CacheInner poolChange(String resourceGroupName, String accountName, String poolName, String cacheName,
+ PoolChangeRequest body);
+
+ /**
+ * Moves Cache to another Capacity Pool.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param cacheName The name of the cache resource.
+ * @param body Move cache to the pool supplied in the body of the operation.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CacheInner poolChange(String resourceGroupName, String accountName, String poolName, String cacheName,
+ PoolChangeRequest body, 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 000000000000..1b42177183db
--- /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 000000000000..89294ce811df
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupPoliciesClient.java
@@ -0,0 +1,268 @@
+// 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;
+
+/**
+ * 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, ElasticBackupPolicyInner 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, 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 netApp Elastic Backup Policy resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupPolicyInner update(String resourceGroupName, String accountName, String backupPolicyName,
+ ElasticBackupPolicyInner 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,
+ ElasticBackupPolicyInner 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 000000000000..5cc09f89bd27
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticBackupVaultsClient.java
@@ -0,0 +1,268 @@
+// 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;
+
+/**
+ * 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, ElasticBackupVaultInner 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, 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 netApp elastic backup vault resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticBackupVaultInner update(String resourceGroupName, String accountName, String backupVaultName,
+ ElasticBackupVaultInner 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,
+ ElasticBackupVaultInner 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 000000000000..ea1cbfc596b4
--- /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 000000000000..c3188ddaecef
--- /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 long-running operation.
+ */
+ @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 long-running operation.
+ */
+ @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 the response.
+ */
+ @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 the response.
+ */
+ @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 000000000000..b41249b994bf
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/ElasticSnapshotPoliciesClient.java
@@ -0,0 +1,300 @@
+// 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;
+
+/**
+ * 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, ElasticSnapshotPolicyInner 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, 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 netApp Elastic Snapshot Policy under an Elastic Account.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ElasticSnapshotPolicyInner update(String resourceGroupName, String accountName, String snapshotPolicyName,
+ ElasticSnapshotPolicyInner 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,
+ ElasticSnapshotPolicyInner 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 000000000000..b2021a544dba
--- /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 000000000000..6c2a45df398f
--- /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 long-running operation.
+ */
+ @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 long-running operation.
+ */
+ @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 the response.
+ */
+ @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 the response.
+ */
+ @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/NetAppManagementClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppManagementClient.java
index 9dc942a052a9..57bd68b86eac 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
@@ -109,6 +109,13 @@ public interface NetAppManagementClient {
*/
VolumeQuotaRulesClient getVolumeQuotaRules();
+ /**
+ * Gets the RansomwareReportsClient object to access its operations.
+ *
+ * @return the RansomwareReportsClient object.
+ */
+ RansomwareReportsClient getRansomwareReports();
+
/**
* Gets the BackupVaultsClient object to access its operations.
*
@@ -116,6 +123,83 @@ public interface NetAppManagementClient {
*/
BackupVaultsClient getBackupVaults();
+ /**
+ * Gets the BucketsClient object to access its operations.
+ *
+ * @return the BucketsClient object.
+ */
+ BucketsClient getBuckets();
+
+ /**
+ * Gets the CachesClient object to access its operations.
+ *
+ * @return the CachesClient object.
+ */
+ 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 NetAppResourceQuotaLimitsClient object to access its operations.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/RansomwareReportsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/RansomwareReportsClient.java
new file mode 100644
index 000000000000..8c3d4a0f5852
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/RansomwareReportsClient.java
@@ -0,0 +1,197 @@
+// 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.RansomwareReportInner;
+import com.azure.resourcemanager.netapp.models.RansomwareSuspectsClearRequest;
+
+/**
+ * An instance of this class provides access to all the operations defined in RansomwareReportsClient.
+ */
+public interface RansomwareReportsClient {
+ /**
+ * Get details of the specified ransomware report (ARP)
+ * ARP reports are created with a list of suspected files when it detects any combination of high data entropy,
+ * abnormal volume activity with data encryption, and unusual file extensions.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one
+ * of these ARP snapshots or another snapshot of your volume to restore data.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param ransomwareReportName The name of the ransomware report.
+ * @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 details of the specified ransomware report (ARP)
+ * ARP reports are created with a list of suspected files when it detects any combination of high data entropy,
+ * abnormal volume activity with data encryption, and unusual file extensions.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat along with
+ * {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String ransomwareReportName, Context context);
+
+ /**
+ * Get details of the specified ransomware report (ARP)
+ * ARP reports are created with a list of suspected files when it detects any combination of high data entropy,
+ * abnormal volume activity with data encryption, and unusual file extensions.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one
+ * of these ARP snapshots or another snapshot of your volume to restore data.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param ransomwareReportName The name of the ransomware report.
+ * @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 details of the specified ransomware report (ARP)
+ * ARP reports are created with a list of suspected files when it detects any combination of high data entropy,
+ * abnormal volume activity with data encryption, and unusual file extensions.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RansomwareReportInner get(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String ransomwareReportName);
+
+ /**
+ * List all ransomware reports for the volume
+ * Returns a list of the Advanced Ransomware Protection (ARP) reports for the volume.
+ * ARP reports are created with a list of suspected files when it detects any combination of high data entropy,
+ * abnormal volume activity with data encryption, and unusual file extensions.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one
+ * of these ARP snapshots or another snapshot of your volume to restore data".
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @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 Advanced Ransomware Protection (ARP) reports as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, String poolName,
+ String volumeName);
+
+ /**
+ * List all ransomware reports for the volume
+ * Returns a list of the Advanced Ransomware Protection (ARP) reports for the volume.
+ * ARP reports are created with a list of suspected files when it detects any combination of high data entropy,
+ * abnormal volume activity with data encryption, and unusual file extensions.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one
+ * of these ARP snapshots or another snapshot of your volume to restore data".
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @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 Advanced Ransomware Protection (ARP) reports as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String accountName, String poolName,
+ String volumeName, Context context);
+
+ /**
+ * "Clear ransomware suspects for the given Advanced Ransomware Protection report. You should evaluate the report to
+ * determine whether the activity is acceptable (false positive) or whether an attack seems malicious.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one
+ * of these ARP snapshots or another snapshot of your volume to restore data",.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param ransomwareReportName The name of the ransomware report.
+ * @param body Clear suspects request object supplied in the body of the 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> beginClearSuspects(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String ransomwareReportName, RansomwareSuspectsClearRequest body);
+
+ /**
+ * "Clear ransomware suspects for the given Advanced Ransomware Protection report. You should evaluate the report to
+ * determine whether the activity is acceptable (false positive) or whether an attack seems malicious.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one
+ * of these ARP snapshots or another snapshot of your volume to restore data",.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param ransomwareReportName The name of the ransomware report.
+ * @param body Clear suspects request object supplied in the body of the operation.
+ * @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> beginClearSuspects(String resourceGroupName, String accountName, String poolName,
+ String volumeName, String ransomwareReportName, RansomwareSuspectsClearRequest body, Context context);
+
+ /**
+ * "Clear ransomware suspects for the given Advanced Ransomware Protection report. You should evaluate the report to
+ * determine whether the activity is acceptable (false positive) or whether an attack seems malicious.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one
+ * of these ARP snapshots or another snapshot of your volume to restore data",.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param ransomwareReportName The name of the ransomware report.
+ * @param body Clear suspects request object supplied in the body of the 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 clearSuspects(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String ransomwareReportName, RansomwareSuspectsClearRequest body);
+
+ /**
+ * "Clear ransomware suspects for the given Advanced Ransomware Protection report. You should evaluate the report to
+ * determine whether the activity is acceptable (false positive) or whether an attack seems malicious.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one
+ * of these ARP snapshots or another snapshot of your volume to restore data",.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @param ransomwareReportName The name of the ransomware report.
+ * @param body Clear suspects request object supplied in the body of the operation.
+ * @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 clearSuspects(String resourceGroupName, String accountName, String poolName, String volumeName,
+ String ransomwareReportName, RansomwareSuspectsClearRequest body, Context context);
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java
index 4d0e89ff44f0..b0fb9bac0327 100644
--- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumesClient.java
@@ -13,6 +13,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.netapp.fluent.models.ClusterPeerCommandResponseInner;
import com.azure.resourcemanager.netapp.fluent.models.GetGroupIdListForLdapUserResponseInner;
+import com.azure.resourcemanager.netapp.fluent.models.ListQuotaReportResponseInner;
import com.azure.resourcemanager.netapp.fluent.models.ReplicationInner;
import com.azure.resourcemanager.netapp.fluent.models.ReplicationStatusInner;
import com.azure.resourcemanager.netapp.fluent.models.SvmPeerCommandResponseInner;
@@ -1694,4 +1695,70 @@ SyncPoller, Void> beginRevertRelocation(String resourceGroupNam
@ServiceMethod(returns = ReturnType.SINGLE)
void revertRelocation(String resourceGroupName, String accountName, String poolName, String volumeName,
Context context);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @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, ListQuotaReportResponseInner>
+ beginListQuotaReport(String resourceGroupName, String accountName, String poolName, String volumeName);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @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, ListQuotaReportResponseInner> beginListQuotaReport(
+ String resourceGroupName, String accountName, String poolName, String volumeName, Context context);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ListQuotaReportResponseInner listQuotaReport(String resourceGroupName, String accountName, String poolName,
+ String volumeName);
+
+ /**
+ * A long-running resource action.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param accountName The name of the NetApp account.
+ * @param poolName The name of the capacity pool.
+ * @param volumeName The name of the volume.
+ * @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ListQuotaReportResponseInner listQuotaReport(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/models/AccountProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/AccountProperties.java
index 667ce9fe0bd8..3f77b6afdc9e 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.LdapConfiguration;
import com.azure.resourcemanager.netapp.models.MultiAdStatus;
import java.io.IOException;
import java.util.List;
@@ -51,6 +52,11 @@ public final class AccountProperties implements JsonSerializable writer.writeJson(element));
jsonWriter.writeJsonField("encryption", this.encryption);
jsonWriter.writeStringField("nfsV4IDDomain", this.nfsV4IdDomain);
+ jsonWriter.writeJsonField("ldapConfiguration", this.ldapConfiguration);
return jsonWriter.writeEndObject();
}
@@ -203,6 +233,8 @@ public static AccountProperties fromJson(JsonReader jsonReader) throws IOExcepti
deserializedAccountProperties.nfsV4IdDomain = reader.getString();
} else if ("multiAdStatus".equals(fieldName)) {
deserializedAccountProperties.multiAdStatus = MultiAdStatus.fromString(reader.getString());
+ } else if ("ldapConfiguration".equals(fieldName)) {
+ deserializedAccountProperties.ldapConfiguration = LdapConfiguration.fromJson(reader);
} else {
reader.skipChildren();
}
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 000000000000..fdbfdf2c2060
--- /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/BucketGenerateCredentialsInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketGenerateCredentialsInner.java
new file mode 100644
index 000000000000..c0b2d5a0e60c
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketGenerateCredentialsInner.java
@@ -0,0 +1,117 @@
+// 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.util.CoreUtils;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+
+/**
+ * Bucket Access Key, Secret Key, and Expiry date and time of the key pair.
+ */
+@Immutable
+public final class BucketGenerateCredentialsInner implements JsonSerializable {
+ /*
+ * The Access Key that is required along with the Secret Key to access the bucket.
+ */
+ private String accessKey;
+
+ /*
+ * The Secret Key that is required along with the Access Key to access the bucket.
+ */
+ private String secretKey;
+
+ /*
+ * The bucket's Access and Secret key pair expiry date and time (in UTC).
+ */
+ private OffsetDateTime keyPairExpiry;
+
+ /**
+ * Creates an instance of BucketGenerateCredentialsInner class.
+ */
+ private BucketGenerateCredentialsInner() {
+ }
+
+ /**
+ * Get the accessKey property: The Access Key that is required along with the Secret Key to access the bucket.
+ *
+ * @return the accessKey value.
+ */
+ public String accessKey() {
+ return this.accessKey;
+ }
+
+ /**
+ * Get the secretKey property: The Secret Key that is required along with the Access Key to access the bucket.
+ *
+ * @return the secretKey value.
+ */
+ public String secretKey() {
+ return this.secretKey;
+ }
+
+ /**
+ * Get the keyPairExpiry property: The bucket's Access and Secret key pair expiry date and time (in UTC).
+ *
+ * @return the keyPairExpiry value.
+ */
+ public OffsetDateTime keyPairExpiry() {
+ return this.keyPairExpiry;
+ }
+
+ /**
+ * 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();
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of BucketGenerateCredentialsInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of BucketGenerateCredentialsInner 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 BucketGenerateCredentialsInner.
+ */
+ public static BucketGenerateCredentialsInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ BucketGenerateCredentialsInner deserializedBucketGenerateCredentialsInner
+ = new BucketGenerateCredentialsInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("accessKey".equals(fieldName)) {
+ deserializedBucketGenerateCredentialsInner.accessKey = reader.getString();
+ } else if ("secretKey".equals(fieldName)) {
+ deserializedBucketGenerateCredentialsInner.secretKey = reader.getString();
+ } else if ("keyPairExpiry".equals(fieldName)) {
+ deserializedBucketGenerateCredentialsInner.keyPairExpiry = reader
+ .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedBucketGenerateCredentialsInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketInner.java
new file mode 100644
index 000000000000..a6675476ea2f
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketInner.java
@@ -0,0 +1,281 @@
+// 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.BucketPermissions;
+import com.azure.resourcemanager.netapp.models.BucketServerProperties;
+import com.azure.resourcemanager.netapp.models.CredentialsStatus;
+import com.azure.resourcemanager.netapp.models.FileSystemUser;
+import com.azure.resourcemanager.netapp.models.ProvisioningState;
+import java.io.IOException;
+
+/**
+ * Bucket resource.
+ */
+@Fluent
+public final class BucketInner extends ProxyResource {
+ /*
+ * Bucket properties
+ */
+ private BucketProperties innerProperties;
+
+ /*
+ * 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 BucketInner class.
+ */
+ public BucketInner() {
+ }
+
+ /**
+ * Get the innerProperties property: Bucket properties.
+ *
+ * @return the innerProperties value.
+ */
+ private BucketProperties innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * 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;
+ }
+
+ /**
+ * Get the path property: The volume path mounted inside the bucket. The default is the root path '/' if no value is
+ * provided when the bucket is created.
+ *
+ * @return the path value.
+ */
+ public String path() {
+ return this.innerProperties() == null ? null : this.innerProperties().path();
+ }
+
+ /**
+ * Set the path property: The volume path mounted inside the bucket. The default is the root path '/' if no value is
+ * provided when the bucket is created.
+ *
+ * @param path the path value to set.
+ * @return the BucketInner object itself.
+ */
+ public BucketInner withPath(String path) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BucketProperties();
+ }
+ this.innerProperties().withPath(path);
+ return this;
+ }
+
+ /**
+ * Get the fileSystemUser property: File System user having access to volume data. For Unix, this is the user's uid
+ * and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually
+ * exclusive, meaning one or other must be supplied, but not both.
+ *
+ * @return the fileSystemUser value.
+ */
+ public FileSystemUser fileSystemUser() {
+ return this.innerProperties() == null ? null : this.innerProperties().fileSystemUser();
+ }
+
+ /**
+ * Set the fileSystemUser property: File System user having access to volume data. For Unix, this is the user's uid
+ * and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually
+ * exclusive, meaning one or other must be supplied, but not both.
+ *
+ * @param fileSystemUser the fileSystemUser value to set.
+ * @return the BucketInner object itself.
+ */
+ public BucketInner withFileSystemUser(FileSystemUser fileSystemUser) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BucketProperties();
+ }
+ this.innerProperties().withFileSystemUser(fileSystemUser);
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the resource.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the status property: The bucket credentials status. There states:
+ *
+ * "NoCredentialsSet": Access and Secret key pair have not been generated.
+ * "CredentialsExpired": Access and Secret key pair have expired.
+ * "Active": The certificate has been installed and credentials are unexpired.
+ *
+ * @return the status value.
+ */
+ public CredentialsStatus status() {
+ return this.innerProperties() == null ? null : this.innerProperties().status();
+ }
+
+ /**
+ * Get the server property: Properties of the server managing the lifecycle of volume buckets.
+ *
+ * @return the server value.
+ */
+ public BucketServerProperties server() {
+ return this.innerProperties() == null ? null : this.innerProperties().server();
+ }
+
+ /**
+ * Set the server property: Properties of the server managing the lifecycle of volume buckets.
+ *
+ * @param server the server value to set.
+ * @return the BucketInner object itself.
+ */
+ public BucketInner withServer(BucketServerProperties server) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BucketProperties();
+ }
+ this.innerProperties().withServer(server);
+ return this;
+ }
+
+ /**
+ * Get the permissions property: Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is
+ * ReadOnly if no value is provided during bucket creation.
+ *
+ * @return the permissions value.
+ */
+ public BucketPermissions permissions() {
+ return this.innerProperties() == null ? null : this.innerProperties().permissions();
+ }
+
+ /**
+ * Set the permissions property: Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is
+ * ReadOnly if no value is provided during bucket creation.
+ *
+ * @param permissions the permissions value to set.
+ * @return the BucketInner object itself.
+ */
+ public BucketInner withPermissions(BucketPermissions permissions) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new BucketProperties();
+ }
+ this.innerProperties().withPermissions(permissions);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() != null) {
+ innerProperties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.innerProperties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of BucketInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of BucketInner 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 BucketInner.
+ */
+ public static BucketInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ BucketInner deserializedBucketInner = new BucketInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedBucketInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedBucketInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedBucketInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedBucketInner.innerProperties = BucketProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedBucketInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedBucketInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketPatchProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketPatchProperties.java
new file mode 100644
index 000000000000..54a536995baa
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketPatchProperties.java
@@ -0,0 +1,211 @@
+// 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.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.BucketPatchPermissions;
+import com.azure.resourcemanager.netapp.models.BucketServerPatchProperties;
+import com.azure.resourcemanager.netapp.models.FileSystemUser;
+import com.azure.resourcemanager.netapp.models.ProvisioningState;
+import java.io.IOException;
+
+/**
+ * Bucket resource properties for a Patch operation.
+ */
+@Fluent
+public final class BucketPatchProperties implements JsonSerializable {
+ /*
+ * The volume path mounted inside the bucket.
+ */
+ private String path;
+
+ /*
+ * File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the
+ * user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be
+ * supplied, but not both.
+ */
+ private FileSystemUser fileSystemUser;
+
+ /*
+ * Provisioning state of the resource
+ */
+ private ProvisioningState provisioningState;
+
+ /*
+ * Properties of the server managing the lifecycle of volume buckets
+ */
+ private BucketServerPatchProperties server;
+
+ /*
+ * Access permissions for the bucket. Either ReadOnly or ReadWrite.
+ */
+ private BucketPatchPermissions permissions;
+
+ /**
+ * Creates an instance of BucketPatchProperties class.
+ */
+ public BucketPatchProperties() {
+ }
+
+ /**
+ * Get the path property: The volume path mounted inside the bucket.
+ *
+ * @return the path value.
+ */
+ public String path() {
+ return this.path;
+ }
+
+ /**
+ * Set the path property: The volume path mounted inside the bucket.
+ *
+ * @param path the path value to set.
+ * @return the BucketPatchProperties object itself.
+ */
+ public BucketPatchProperties withPath(String path) {
+ this.path = path;
+ return this;
+ }
+
+ /**
+ * Get the fileSystemUser property: File System user having access to volume data. For Unix, this is the user's uid
+ * and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually
+ * exclusive, meaning one or other must be supplied, but not both.
+ *
+ * @return the fileSystemUser value.
+ */
+ public FileSystemUser fileSystemUser() {
+ return this.fileSystemUser;
+ }
+
+ /**
+ * Set the fileSystemUser property: File System user having access to volume data. For Unix, this is the user's uid
+ * and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually
+ * exclusive, meaning one or other must be supplied, but not both.
+ *
+ * @param fileSystemUser the fileSystemUser value to set.
+ * @return the BucketPatchProperties object itself.
+ */
+ public BucketPatchProperties withFileSystemUser(FileSystemUser fileSystemUser) {
+ this.fileSystemUser = fileSystemUser;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the resource.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the server property: Properties of the server managing the lifecycle of volume buckets.
+ *
+ * @return the server value.
+ */
+ public BucketServerPatchProperties server() {
+ return this.server;
+ }
+
+ /**
+ * Set the server property: Properties of the server managing the lifecycle of volume buckets.
+ *
+ * @param server the server value to set.
+ * @return the BucketPatchProperties object itself.
+ */
+ public BucketPatchProperties withServer(BucketServerPatchProperties server) {
+ this.server = server;
+ return this;
+ }
+
+ /**
+ * Get the permissions property: Access permissions for the bucket. Either ReadOnly or ReadWrite.
+ *
+ * @return the permissions value.
+ */
+ public BucketPatchPermissions permissions() {
+ return this.permissions;
+ }
+
+ /**
+ * Set the permissions property: Access permissions for the bucket. Either ReadOnly or ReadWrite.
+ *
+ * @param permissions the permissions value to set.
+ * @return the BucketPatchProperties object itself.
+ */
+ public BucketPatchProperties withPermissions(BucketPatchPermissions permissions) {
+ this.permissions = permissions;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (fileSystemUser() != null) {
+ fileSystemUser().validate();
+ }
+ if (server() != null) {
+ server().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("path", this.path);
+ jsonWriter.writeJsonField("fileSystemUser", this.fileSystemUser);
+ jsonWriter.writeJsonField("server", this.server);
+ jsonWriter.writeStringField("permissions", this.permissions == null ? null : this.permissions.toString());
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of BucketPatchProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of BucketPatchProperties 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 BucketPatchProperties.
+ */
+ public static BucketPatchProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ BucketPatchProperties deserializedBucketPatchProperties = new BucketPatchProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("path".equals(fieldName)) {
+ deserializedBucketPatchProperties.path = reader.getString();
+ } else if ("fileSystemUser".equals(fieldName)) {
+ deserializedBucketPatchProperties.fileSystemUser = FileSystemUser.fromJson(reader);
+ } else if ("provisioningState".equals(fieldName)) {
+ deserializedBucketPatchProperties.provisioningState
+ = ProvisioningState.fromString(reader.getString());
+ } else if ("server".equals(fieldName)) {
+ deserializedBucketPatchProperties.server = BucketServerPatchProperties.fromJson(reader);
+ } else if ("permissions".equals(fieldName)) {
+ deserializedBucketPatchProperties.permissions
+ = BucketPatchPermissions.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedBucketPatchProperties;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketProperties.java
new file mode 100644
index 000000000000..8b629e58abc6
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BucketProperties.java
@@ -0,0 +1,240 @@
+// 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.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.BucketPermissions;
+import com.azure.resourcemanager.netapp.models.BucketServerProperties;
+import com.azure.resourcemanager.netapp.models.CredentialsStatus;
+import com.azure.resourcemanager.netapp.models.FileSystemUser;
+import com.azure.resourcemanager.netapp.models.ProvisioningState;
+import java.io.IOException;
+
+/**
+ * Bucket resource properties.
+ */
+@Fluent
+public final class BucketProperties implements JsonSerializable {
+ /*
+ * The volume path mounted inside the bucket. The default is the root path '/' if no value is provided when the
+ * bucket is created.
+ */
+ private String path;
+
+ /*
+ * File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the
+ * user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be
+ * supplied, but not both.
+ */
+ private FileSystemUser fileSystemUser;
+
+ /*
+ * Provisioning state of the resource
+ */
+ private ProvisioningState provisioningState;
+
+ /*
+ * The bucket credentials status. There states:
+ *
+ * "NoCredentialsSet": Access and Secret key pair have not been generated.
+ * "CredentialsExpired": Access and Secret key pair have expired.
+ * "Active": The certificate has been installed and credentials are unexpired.
+ */
+ private CredentialsStatus status;
+
+ /*
+ * Properties of the server managing the lifecycle of volume buckets
+ */
+ private BucketServerProperties server;
+
+ /*
+ * Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is ReadOnly if no value is provided
+ * during bucket creation.
+ */
+ private BucketPermissions permissions;
+
+ /**
+ * Creates an instance of BucketProperties class.
+ */
+ public BucketProperties() {
+ }
+
+ /**
+ * Get the path property: The volume path mounted inside the bucket. The default is the root path '/' if no value is
+ * provided when the bucket is created.
+ *
+ * @return the path value.
+ */
+ public String path() {
+ return this.path;
+ }
+
+ /**
+ * Set the path property: The volume path mounted inside the bucket. The default is the root path '/' if no value is
+ * provided when the bucket is created.
+ *
+ * @param path the path value to set.
+ * @return the BucketProperties object itself.
+ */
+ public BucketProperties withPath(String path) {
+ this.path = path;
+ return this;
+ }
+
+ /**
+ * Get the fileSystemUser property: File System user having access to volume data. For Unix, this is the user's uid
+ * and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually
+ * exclusive, meaning one or other must be supplied, but not both.
+ *
+ * @return the fileSystemUser value.
+ */
+ public FileSystemUser fileSystemUser() {
+ return this.fileSystemUser;
+ }
+
+ /**
+ * Set the fileSystemUser property: File System user having access to volume data. For Unix, this is the user's uid
+ * and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually
+ * exclusive, meaning one or other must be supplied, but not both.
+ *
+ * @param fileSystemUser the fileSystemUser value to set.
+ * @return the BucketProperties object itself.
+ */
+ public BucketProperties withFileSystemUser(FileSystemUser fileSystemUser) {
+ this.fileSystemUser = fileSystemUser;
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: Provisioning state of the resource.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the status property: The bucket credentials status. There states:
+ *
+ * "NoCredentialsSet": Access and Secret key pair have not been generated.
+ * "CredentialsExpired": Access and Secret key pair have expired.
+ * "Active": The certificate has been installed and credentials are unexpired.
+ *
+ * @return the status value.
+ */
+ public CredentialsStatus status() {
+ return this.status;
+ }
+
+ /**
+ * Get the server property: Properties of the server managing the lifecycle of volume buckets.
+ *
+ * @return the server value.
+ */
+ public BucketServerProperties server() {
+ return this.server;
+ }
+
+ /**
+ * Set the server property: Properties of the server managing the lifecycle of volume buckets.
+ *
+ * @param server the server value to set.
+ * @return the BucketProperties object itself.
+ */
+ public BucketProperties withServer(BucketServerProperties server) {
+ this.server = server;
+ return this;
+ }
+
+ /**
+ * Get the permissions property: Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is
+ * ReadOnly if no value is provided during bucket creation.
+ *
+ * @return the permissions value.
+ */
+ public BucketPermissions permissions() {
+ return this.permissions;
+ }
+
+ /**
+ * Set the permissions property: Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is
+ * ReadOnly if no value is provided during bucket creation.
+ *
+ * @param permissions the permissions value to set.
+ * @return the BucketProperties object itself.
+ */
+ public BucketProperties withPermissions(BucketPermissions permissions) {
+ this.permissions = permissions;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (fileSystemUser() != null) {
+ fileSystemUser().validate();
+ }
+ if (server() != null) {
+ server().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("path", this.path);
+ jsonWriter.writeJsonField("fileSystemUser", this.fileSystemUser);
+ jsonWriter.writeJsonField("server", this.server);
+ jsonWriter.writeStringField("permissions", this.permissions == null ? null : this.permissions.toString());
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of BucketProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of BucketProperties 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 BucketProperties.
+ */
+ public static BucketProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ BucketProperties deserializedBucketProperties = new BucketProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("path".equals(fieldName)) {
+ deserializedBucketProperties.path = reader.getString();
+ } else if ("fileSystemUser".equals(fieldName)) {
+ deserializedBucketProperties.fileSystemUser = FileSystemUser.fromJson(reader);
+ } else if ("provisioningState".equals(fieldName)) {
+ deserializedBucketProperties.provisioningState = ProvisioningState.fromString(reader.getString());
+ } else if ("status".equals(fieldName)) {
+ deserializedBucketProperties.status = CredentialsStatus.fromString(reader.getString());
+ } else if ("server".equals(fieldName)) {
+ deserializedBucketProperties.server = BucketServerProperties.fromJson(reader);
+ } else if ("permissions".equals(fieldName)) {
+ deserializedBucketProperties.permissions = BucketPermissions.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedBucketProperties;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CacheInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CacheInner.java
new file mode 100644
index 000000000000..626d88faf123
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CacheInner.java
@@ -0,0 +1,248 @@
+// 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.core.util.logging.ClientLogger;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.netapp.models.CacheProperties;
+import java.io.IOException;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Cache resource.
+ */
+@Fluent
+public final class CacheInner extends Resource {
+ /*
+ * Cache properties
+ */
+ private CacheProperties 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 CacheInner class.
+ */
+ public CacheInner() {
+ }
+
+ /**
+ * Get the properties property: Cache properties.
+ *
+ * @return the properties value.
+ */
+ public CacheProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Cache properties.
+ *
+ * @param properties the properties value to set.
+ * @return the CacheInner object itself.
+ */
+ public CacheInner withProperties(CacheProperties 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 CacheInner object itself.
+ */
+ public CacheInner 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 CacheInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public CacheInner 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) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException("Missing required property properties in model CacheInner"));
+ } else {
+ properties().validate();
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(CacheInner.class);
+
+ /**
+ * {@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 CacheInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of CacheInner 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 CacheInner.
+ */
+ public static CacheInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ CacheInner deserializedCacheInner = new CacheInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedCacheInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedCacheInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedCacheInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedCacheInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedCacheInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedCacheInner.properties = CacheProperties.fromJson(reader);
+ } else if ("etag".equals(fieldName)) {
+ deserializedCacheInner.etag = reader.getString();
+ } else if ("zones".equals(fieldName)) {
+ List zones = reader.readArray(reader1 -> reader1.getString());
+ deserializedCacheInner.zones = zones;
+ } else if ("systemData".equals(fieldName)) {
+ deserializedCacheInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedCacheInner;
+ });
+ }
+}
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 000000000000..e510e0cead5c
--- /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/ElasticAccountInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ElasticAccountInner.java
new file mode 100644
index 000000000000..fec53001fe1a
--- /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 000000000000..355c759d9ec7
--- /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 000000000000..46c2fe6bfa0d
--- /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 000000000000..578bd49e28cd
--- /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 000000000000..9440f6af3ca5
--- /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 000000000000..0e81120fbefd
--- /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 000000000000..2aa9cb9185f2
--- /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 000000000000..53b43ec7950f
--- /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/ListQuotaReportResponseInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ListQuotaReportResponseInner.java
new file mode 100644
index 000000000000..e88504dd61f7
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ListQuotaReportResponseInner.java
@@ -0,0 +1,88 @@
+// 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.QuotaReport;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * Quota Report for volume.
+ */
+@Immutable
+public final class ListQuotaReportResponseInner implements JsonSerializable {
+ /*
+ * List of quota reports
+ */
+ private List value;
+
+ /**
+ * Creates an instance of ListQuotaReportResponseInner class.
+ */
+ private ListQuotaReportResponseInner() {
+ }
+
+ /**
+ * Get the value property: List of quota reports.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() != null) {
+ value().forEach(e -> e.validate());
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ListQuotaReportResponseInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ListQuotaReportResponseInner 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 ListQuotaReportResponseInner.
+ */
+ public static ListQuotaReportResponseInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ListQuotaReportResponseInner deserializedListQuotaReportResponseInner = new ListQuotaReportResponseInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("value".equals(fieldName)) {
+ List value = reader.readArray(reader1 -> QuotaReport.fromJson(reader1));
+ deserializedListQuotaReportResponseInner.value = value;
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedListQuotaReportResponseInner;
+ });
+ }
+}
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 ec793e09817a..fa4ebd7949dc 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.LdapConfiguration;
import com.azure.resourcemanager.netapp.models.ManagedServiceIdentity;
import com.azure.resourcemanager.netapp.models.MultiAdStatus;
import java.io.IOException;
@@ -262,6 +263,29 @@ public MultiAdStatus multiAdStatus() {
return this.innerProperties() == null ? null : this.innerProperties().multiAdStatus();
}
+ /**
+ * Get the ldapConfiguration property: LDAP Configuration for the account.
+ *
+ * @return the ldapConfiguration value.
+ */
+ public LdapConfiguration ldapConfiguration() {
+ return this.innerProperties() == null ? null : this.innerProperties().ldapConfiguration();
+ }
+
+ /**
+ * Set the ldapConfiguration property: LDAP Configuration for the account.
+ *
+ * @param ldapConfiguration the ldapConfiguration value to set.
+ * @return the NetAppAccountInner object itself.
+ */
+ public NetAppAccountInner withLdapConfiguration(LdapConfiguration ldapConfiguration) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AccountProperties();
+ }
+ this.innerProperties().withLdapConfiguration(ldapConfiguration);
+ return this;
+ }
+
/**
* Validates the instance.
*
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PeeringPassphrasesInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PeeringPassphrasesInner.java
new file mode 100644
index 000000000000..0f4de639e040
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PeeringPassphrasesInner.java
@@ -0,0 +1,135 @@
+// 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.util.logging.ClientLogger;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The response containing peering passphrases and commands for cluster and vserver peering.
+ */
+@Immutable
+public final class PeeringPassphrasesInner implements JsonSerializable {
+ /*
+ * The cluster peering command.
+ */
+ private String clusterPeeringCommand;
+
+ /*
+ * The cluster peering passphrase.
+ */
+ private String clusterPeeringPassphrase;
+
+ /*
+ * The vserver peering command.
+ */
+ private String vserverPeeringCommand;
+
+ /**
+ * Creates an instance of PeeringPassphrasesInner class.
+ */
+ private PeeringPassphrasesInner() {
+ }
+
+ /**
+ * Get the clusterPeeringCommand property: The cluster peering command.
+ *
+ * @return the clusterPeeringCommand value.
+ */
+ public String clusterPeeringCommand() {
+ return this.clusterPeeringCommand;
+ }
+
+ /**
+ * Get the clusterPeeringPassphrase property: The cluster peering passphrase.
+ *
+ * @return the clusterPeeringPassphrase value.
+ */
+ public String clusterPeeringPassphrase() {
+ return this.clusterPeeringPassphrase;
+ }
+
+ /**
+ * Get the vserverPeeringCommand property: The vserver peering command.
+ *
+ * @return the vserverPeeringCommand value.
+ */
+ public String vserverPeeringCommand() {
+ return this.vserverPeeringCommand;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (clusterPeeringCommand() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property clusterPeeringCommand in model PeeringPassphrasesInner"));
+ }
+ if (clusterPeeringPassphrase() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property clusterPeeringPassphrase in model PeeringPassphrasesInner"));
+ }
+ if (vserverPeeringCommand() == null) {
+ throw LOGGER.atError()
+ .log(new IllegalArgumentException(
+ "Missing required property vserverPeeringCommand in model PeeringPassphrasesInner"));
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(PeeringPassphrasesInner.class);
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("clusterPeeringCommand", this.clusterPeeringCommand);
+ jsonWriter.writeStringField("clusterPeeringPassphrase", this.clusterPeeringPassphrase);
+ jsonWriter.writeStringField("vserverPeeringCommand", this.vserverPeeringCommand);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of PeeringPassphrasesInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of PeeringPassphrasesInner 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 PeeringPassphrasesInner.
+ */
+ public static PeeringPassphrasesInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ PeeringPassphrasesInner deserializedPeeringPassphrasesInner = new PeeringPassphrasesInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("clusterPeeringCommand".equals(fieldName)) {
+ deserializedPeeringPassphrasesInner.clusterPeeringCommand = reader.getString();
+ } else if ("clusterPeeringPassphrase".equals(fieldName)) {
+ deserializedPeeringPassphrasesInner.clusterPeeringPassphrase = reader.getString();
+ } else if ("vserverPeeringCommand".equals(fieldName)) {
+ deserializedPeeringPassphrasesInner.vserverPeeringCommand = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedPeeringPassphrasesInner;
+ });
+ }
+}
diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RansomwareReportInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RansomwareReportInner.java
new file mode 100644
index 000000000000..e09288e574cb
--- /dev/null
+++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RansomwareReportInner.java
@@ -0,0 +1,160 @@
+// 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.RansomwareReportProperties;
+import java.io.IOException;
+
+/**
+ * Advanced Ransomware Protection (ARP) report
+ * Get details of the specified Advanced Ransomware Protection report (ARP).
+ * ARP reports are created with a list of suspected files when it detects any combination of high data entropy, abnormal
+ * volume activity with data encryption, and unusual file extensions.
+ * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of
+ * these ARP snapshots or another snapshot of your volume to restore data.
+ */
+@Immutable
+public final class RansomwareReportInner extends ProxyResource {
+ /*
+ * Advanced Ransomware Protection reports Properties
+ */
+ private RansomwareReportProperties 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 RansomwareReportInner class.
+ */
+ private RansomwareReportInner() {
+ }
+
+ /**
+ * Get the properties property: Advanced Ransomware Protection reports Properties.
+ *
+ * @return the properties value.
+ */
+ public RansomwareReportProperties 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 RansomwareReportInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of RansomwareReportInner 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 RansomwareReportInner.
+ */
+ public static RansomwareReportInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ RansomwareReportInner deserializedRansomwareReportInner = new RansomwareReportInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedRansomwareReportInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedRansomwareReportInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedRansomwareReportInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedRansomwareReportInner.properties = RansomwareReportProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedRansomwareReportInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedRansomwareReportInner;
+ });
+ }
+}
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 5a4ea7f2feb7..23790850280f 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
@@ -13,11 +13,14 @@
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.netapp.models.AcceptGrowCapacityPoolForShortTermCloneSplit;
import com.azure.resourcemanager.netapp.models.AvsDataStore;
+import com.azure.resourcemanager.netapp.models.BreakthroughMode;
import com.azure.resourcemanager.netapp.models.CoolAccessRetrievalPolicy;
import com.azure.resourcemanager.netapp.models.CoolAccessTieringPolicy;
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;
@@ -25,6 +28,7 @@
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.VolumeLanguage;
import com.azure.resourcemanager.netapp.models.VolumePropertiesDataProtection;
import com.azure.resourcemanager.netapp.models.VolumePropertiesExportPolicy;
import com.azure.resourcemanager.netapp.models.VolumeStorageToNetworkProximity;
@@ -234,9 +238,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.
*/
@@ -246,9 +252,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.
@@ -862,6 +870,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.
*
@@ -1321,6 +1352,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.
*
@@ -1339,6 +1401,52 @@ 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.
+ *
+ * @return the breakthroughMode value.
+ */
+ public BreakthroughMode breakthroughMode() {
+ return this.innerProperties() == null ? null : this.innerProperties().breakthroughMode();
+ }
+
+ /**
+ * Set the breakthroughMode property: Specifies whether the volume operates in Breakthrough Mode.
+ *
+ * @param breakthroughMode the breakthroughMode value to set.
+ * @return the VolumeInner object itself.
+ */
+ public VolumeInner withBreakthroughMode(BreakthroughMode breakthroughMode) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new VolumeProperties();
+ }
+ this.innerProperties().withBreakthroughMode(breakthroughMode);
+ 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 b03bf0e90072..a719bc951111 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
@@ -31,8 +31,10 @@ public final class VolumePatchProperties implements JsonSerializable 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 000000000000..0b1642b1e178
--- /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 listByResourceGroupAsync(String resourceGroupName) {
+ return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName),
+ nextLink -> listByResourceGroupNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * 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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByResourceGroupSinglePage(String resourceGroupName) {
+ 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."));
+ }
+ final String accept = "application/json";
+ Response res = service.listByResourceGroupSync(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * 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 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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse listByResourceGroupSinglePage(String resourceGroupName,
+ 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."));
+ }
+ final String accept = "application/json";
+ Response res = service.listByResourceGroupSync(this.client.getEndpoint(),
+ this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ res.getValue().nextLink(), null);
+ }
+
+ /**
+ * 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 PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable listByResourceGroup(String resourceGroupName) {
+ return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName),
+ nextLink -> listByResourceGroupNextSinglePage(nextLink));
+ }
+
+ /**
+ * 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 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)
+ public PagedIterable listByResourceGroup(String resourceGroupName, Context context) {
+ return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName, context),
+ nextLink -> listByResourceGroupNextSinglePage(nextLink, context));
+ }
+
+ /**
+ * List all active directory configurations within the subscription.
+ *
+ * @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> listSinglePageAsync() {
+ 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."));
+ }
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), 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 subscription.
+ *
+ * @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 listAsync() {
+ return new PagedFlux<>(() -> listSinglePageAsync(),
+ nextLink -> listBySubscriptionNextSinglePageAsync(nextLink));
+ }
+
+ /**
+ * List all active directory configurations within the subscription.
+ *
+ * @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}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse