diff --git a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md index b39f9e0ae351..504166ebc213 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md +++ b/sdk/netapp/azure-resourcemanager-netapp/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 1.0.0-beta.11 (Unreleased) +## 1.0.0-beta.1 (2022-09-10) + +- 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-netapp-2022-05-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Features Added diff --git a/sdk/netapp/azure-resourcemanager-netapp/README.md b/sdk/netapp/azure-resourcemanager-netapp/README.md index 3bffbbc5a466..c0e8a41e5c83 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 tag package-netapp-2022-03-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 tag package-netapp-2022-05-01. 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 - 1.0.0-beta.10 + 1.0.0-beta.11 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md index dc53899c41ad..4efc66fc9a9f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md +++ b/sdk/netapp/azure-resourcemanager-netapp/SAMPLE.md @@ -14,6 +14,7 @@ - [GetByResourceGroup](#accounts_getbyresourcegroup) - [List](#accounts_list) - [ListByResourceGroup](#accounts_listbyresourcegroup) +- [RenewCredentials](#accounts_renewcredentials) - [Update](#accounts_update) ## BackupPolicies @@ -39,6 +40,7 @@ - [CheckFilePathAvailability](#netappresource_checkfilepathavailability) - [CheckNameAvailability](#netappresource_checknameavailability) - [CheckQuotaAvailability](#netappresource_checkquotaavailability) +- [QueryRegionInfo](#netappresource_queryregioninfo) ## NetAppResourceQuotaLimits @@ -132,7 +134,7 @@ import com.azure.core.util.Context; /** Samples for AccountBackups Delete. */ public final class AccountBackupsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Account_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Account_Delete.json */ /** * Sample code: AccountBackups_Delete. @@ -153,7 +155,7 @@ import com.azure.core.util.Context; /** Samples for AccountBackups Get. */ public final class AccountBackupsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Account_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Account_Get.json */ /** * Sample code: AccountBackups_Get. @@ -174,7 +176,7 @@ import com.azure.core.util.Context; /** Samples for AccountBackups List. */ public final class AccountBackupsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Account_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Account_List.json */ /** * Sample code: AccountBackups_List. @@ -196,7 +198,7 @@ import java.util.Arrays; /** Samples for Accounts CreateOrUpdate. */ public final class AccountsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_CreateOrUpdate.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_CreateOrUpdate.json */ /** * Sample code: Accounts_CreateOrUpdate. @@ -236,7 +238,7 @@ import com.azure.core.util.Context; /** Samples for Accounts Delete. */ public final class AccountsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_Delete.json */ /** * Sample code: Accounts_Delete. @@ -257,7 +259,7 @@ import com.azure.core.util.Context; /** Samples for Accounts GetByResourceGroup. */ public final class AccountsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_Get.json */ /** * Sample code: Accounts_Get. @@ -278,7 +280,7 @@ import com.azure.core.util.Context; /** Samples for Accounts List. */ public final class AccountsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_List.json */ /** * Sample code: Accounts_List. @@ -299,7 +301,7 @@ import com.azure.core.util.Context; /** Samples for Accounts ListByResourceGroup. */ public final class AccountsListByResourceGroupSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_List.json */ /** * Sample code: Accounts_List. @@ -312,6 +314,27 @@ public final class AccountsListByResourceGroupSamples { } ``` +### Accounts_RenewCredentials + +```java +import com.azure.core.util.Context; + +/** Samples for Accounts RenewCredentials. */ +public final class AccountsRenewCredentialsSamples { + /* + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_RenewCredentials.json + */ + /** + * Sample code: Accounts_RenewCredentials. + * + * @param manager Entry point to NetAppFilesManager. + */ + public static void accountsRenewCredentials(com.azure.resourcemanager.netapp.NetAppFilesManager manager) { + manager.accounts().renewCredentials("myRG", "account1", Context.NONE); + } +} +``` + ### Accounts_Update ```java @@ -323,7 +346,7 @@ import java.util.Map; /** Samples for Accounts Update. */ public final class AccountsUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_Update.json */ /** * Sample code: Accounts_Update. @@ -355,7 +378,7 @@ public final class AccountsUpdateSamples { /** Samples for BackupPolicies Create. */ public final class BackupPoliciesCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_Create.json */ /** * Sample code: BackupPolicies_Create. @@ -385,7 +408,7 @@ import com.azure.core.util.Context; /** Samples for BackupPolicies Delete. */ public final class BackupPoliciesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_Delete.json */ /** * Sample code: Backups_Delete. @@ -406,7 +429,7 @@ import com.azure.core.util.Context; /** Samples for BackupPolicies Get. */ public final class BackupPoliciesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_Get.json */ /** * Sample code: Backups_Get. @@ -427,7 +450,7 @@ import com.azure.core.util.Context; /** Samples for BackupPolicies List. */ public final class BackupPoliciesListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_List.json */ /** * Sample code: Backups_List. @@ -449,7 +472,7 @@ import com.azure.resourcemanager.netapp.models.BackupPolicy; /** Samples for BackupPolicies Update. */ public final class BackupPoliciesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_Update.json */ /** * Sample code: BackupPolicies_Update. @@ -476,7 +499,7 @@ public final class BackupPoliciesUpdateSamples { /** Samples for Backups Create. */ public final class BackupsCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Create.json */ /** * Sample code: Backups_Create. @@ -503,7 +526,7 @@ import com.azure.core.util.Context; /** Samples for Backups Delete. */ public final class BackupsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Delete.json */ /** * Sample code: Backups_Delete. @@ -524,7 +547,7 @@ import com.azure.core.util.Context; /** Samples for Backups Get. */ public final class BackupsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Get.json */ /** * Sample code: Backups_Get. @@ -545,7 +568,7 @@ import com.azure.core.util.Context; /** Samples for Backups GetStatus. */ public final class BackupsGetStatusSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_BackupStatus.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_BackupStatus.json */ /** * Sample code: Volumes_BackupStatus. @@ -566,7 +589,7 @@ import com.azure.core.util.Context; /** Samples for Backups GetVolumeRestoreStatus. */ public final class BackupsGetVolumeRestoreStatusSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_RestoreStatus.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_RestoreStatus.json */ /** * Sample code: Volumes_RestoreStatus. @@ -587,7 +610,7 @@ import com.azure.core.util.Context; /** Samples for Backups List. */ public final class BackupsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_List.json */ /** * Sample code: Backups_List. @@ -609,7 +632,7 @@ import com.azure.resourcemanager.netapp.models.Backup; /** Samples for Backups Update. */ public final class BackupsUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Update.json */ /** * Sample code: Backups_Update. @@ -636,7 +659,7 @@ import com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest; /** Samples for NetAppResource CheckFilePathAvailability. */ public final class NetAppResourceCheckFilePathAvailabilitySamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/CheckFilePathAvailability.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/CheckFilePathAvailability.json */ /** * Sample code: CheckFilePathAvailability. @@ -667,7 +690,7 @@ import com.azure.resourcemanager.netapp.models.ResourceNameAvailabilityRequest; /** Samples for NetAppResource CheckNameAvailability. */ public final class NetAppResourceCheckNameAvailabilitySamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/CheckNameAvailability.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/CheckNameAvailability.json */ /** * Sample code: CheckNameAvailability. @@ -698,7 +721,7 @@ import com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest; /** Samples for NetAppResource CheckQuotaAvailability. */ public final class NetAppResourceCheckQuotaAvailabilitySamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/CheckQuotaAvailability.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/CheckQuotaAvailability.json */ /** * Sample code: CheckQuotaAvailability. @@ -719,6 +742,27 @@ public final class NetAppResourceCheckQuotaAvailabilitySamples { } ``` +### NetAppResource_QueryRegionInfo + +```java +import com.azure.core.util.Context; + +/** Samples for NetAppResource QueryRegionInfo. */ +public final class NetAppResourceQueryRegionInfoSamples { + /* + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/RegionInfo.json + */ + /** + * Sample code: RegionInfo_Query. + * + * @param manager Entry point to NetAppFilesManager. + */ + public static void regionInfoQuery(com.azure.resourcemanager.netapp.NetAppFilesManager manager) { + manager.netAppResources().queryRegionInfoWithResponse("eastus", Context.NONE); + } +} +``` + ### NetAppResourceQuotaLimits_Get ```java @@ -727,7 +771,7 @@ import com.azure.core.util.Context; /** Samples for NetAppResourceQuotaLimits Get. */ public final class NetAppResourceQuotaLimitsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/QuotaLimits_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/QuotaLimits_Get.json */ /** * Sample code: QuotaLimits. @@ -750,7 +794,7 @@ import com.azure.core.util.Context; /** Samples for NetAppResourceQuotaLimits List. */ public final class NetAppResourceQuotaLimitsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/QuotaLimits_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/QuotaLimits_List.json */ /** * Sample code: QuotaLimits. @@ -771,7 +815,7 @@ import com.azure.core.util.Context; /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/OperationList.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/OperationList.json */ /** * Sample code: OperationList. @@ -793,7 +837,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel; /** Samples for Pools CreateOrUpdate. */ public final class PoolsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_CreateOrUpdate.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_CreateOrUpdate.json */ /** * Sample code: Pools_CreateOrUpdate. @@ -822,7 +866,7 @@ import com.azure.core.util.Context; /** Samples for Pools Delete. */ public final class PoolsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_Delete.json */ /** * Sample code: Pools_Delete. @@ -843,7 +887,7 @@ import com.azure.core.util.Context; /** Samples for Pools Get. */ public final class PoolsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_Get.json */ /** * Sample code: Pools_Get. @@ -864,7 +908,7 @@ import com.azure.core.util.Context; /** Samples for Pools List. */ public final class PoolsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_List.json */ /** * Sample code: Pools_List. @@ -886,7 +930,7 @@ import com.azure.resourcemanager.netapp.models.CapacityPool; /** Samples for Pools Update. */ public final class PoolsUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_Update.json */ /** * Sample code: Pools_Update. @@ -911,7 +955,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule; /** Samples for SnapshotPolicies Create. */ public final class SnapshotPoliciesCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_Create.json */ /** * Sample code: SnapshotPolicies_Create. @@ -944,7 +988,7 @@ import com.azure.core.util.Context; /** Samples for SnapshotPolicies Delete. */ public final class SnapshotPoliciesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_Delete.json */ /** * Sample code: SnapshotPolicies_Delete. @@ -965,7 +1009,7 @@ import com.azure.core.util.Context; /** Samples for SnapshotPolicies Get. */ public final class SnapshotPoliciesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_Get.json */ /** * Sample code: SnapshotPolicies_Get. @@ -986,7 +1030,7 @@ import com.azure.core.util.Context; /** Samples for SnapshotPolicies List. */ public final class SnapshotPoliciesListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_List.json */ /** * Sample code: SnapshotPolicies_List. @@ -1007,7 +1051,7 @@ import com.azure.core.util.Context; /** Samples for SnapshotPolicies ListVolumes. */ public final class SnapshotPoliciesListVolumesSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_ListVolumes.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_ListVolumes.json */ /** * Sample code: SnapshotPolicies_ListVolumes. @@ -1033,7 +1077,7 @@ import com.azure.resourcemanager.netapp.models.WeeklySchedule; /** Samples for SnapshotPolicies Update. */ public final class SnapshotPoliciesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_Update.json */ /** * Sample code: SnapshotPolicies_Update. @@ -1066,7 +1110,7 @@ public final class SnapshotPoliciesUpdateSamples { /** Samples for Snapshots Create. */ public final class SnapshotsCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_Create.json */ /** * Sample code: Snapshots_Create. @@ -1092,7 +1136,7 @@ import com.azure.core.util.Context; /** Samples for Snapshots Delete. */ public final class SnapshotsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_Delete.json */ /** * Sample code: Snapshots_Delete. @@ -1113,7 +1157,7 @@ import com.azure.core.util.Context; /** Samples for Snapshots Get. */ public final class SnapshotsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_Get.json */ /** * Sample code: Snapshots_Get. @@ -1134,7 +1178,7 @@ import com.azure.core.util.Context; /** Samples for Snapshots List. */ public final class SnapshotsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_List.json */ /** * Sample code: Snapshots_List. @@ -1157,7 +1201,7 @@ import java.util.Arrays; /** Samples for Snapshots RestoreFiles. */ public final class SnapshotsRestoreFilesSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_SingleFileRestore.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_SingleFileRestore.json */ /** * Sample code: Snapshots_SingleFileRestore. @@ -1190,7 +1234,7 @@ import java.io.IOException; /** Samples for Snapshots Update. */ public final class SnapshotsUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_Update.json */ /** * Sample code: Snapshots_Update. @@ -1220,7 +1264,7 @@ public final class SnapshotsUpdateSamples { /** Samples for Subvolumes Create. */ public final class SubvolumesCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Create.json */ /** * Sample code: Subvolumes_Create. @@ -1246,7 +1290,7 @@ import com.azure.core.util.Context; /** Samples for Subvolumes Delete. */ public final class SubvolumesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Delete.json */ /** * Sample code: Subvolumes_Delete. @@ -1267,7 +1311,7 @@ import com.azure.core.util.Context; /** Samples for Subvolumes Get. */ public final class SubvolumesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Get.json */ /** * Sample code: Subvolumes_Get. @@ -1288,7 +1332,7 @@ import com.azure.core.util.Context; /** Samples for Subvolumes GetMetadata. */ public final class SubvolumesGetMetadataSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Metadata.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Metadata.json */ /** * Sample code: Subvolumes_Metadata. @@ -1309,7 +1353,7 @@ import com.azure.core.util.Context; /** Samples for Subvolumes ListByVolume. */ public final class SubvolumesListByVolumeSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_List.json */ /** * Sample code: Subvolumes_List. @@ -1331,7 +1375,7 @@ import com.azure.resourcemanager.netapp.models.SubvolumeInfo; /** Samples for Subvolumes Update. */ public final class SubvolumesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Update.json */ /** * Sample code: Subvolumes_Update. @@ -1357,7 +1401,7 @@ import com.azure.core.util.Context; /** Samples for Vaults List. */ public final class VaultsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Vaults_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Vaults_List.json */ /** * Sample code: Vaults_List. @@ -1382,7 +1426,7 @@ import java.util.Arrays; /** Samples for VolumeGroups Create. */ public final class VolumeGroupsCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeGroups_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_Create.json */ /** * Sample code: VolumeGroups_Create. @@ -1411,7 +1455,7 @@ public final class VolumeGroupsCreateSamples { .withUsageThreshold(107374182400L) .withSubnetId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3") - .withThroughputMibps(10.0f) + .withThroughputMibps(10.0F) .withCapacityPoolResourceId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1") .withProximityPlacementGroup( @@ -1424,7 +1468,7 @@ public final class VolumeGroupsCreateSamples { .withUsageThreshold(107374182400L) .withSubnetId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3") - .withThroughputMibps(10.0f) + .withThroughputMibps(10.0F) .withCapacityPoolResourceId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1") .withProximityPlacementGroup( @@ -1437,7 +1481,7 @@ public final class VolumeGroupsCreateSamples { .withUsageThreshold(107374182400L) .withSubnetId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3") - .withThroughputMibps(10.0f) + .withThroughputMibps(10.0F) .withCapacityPoolResourceId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1") .withProximityPlacementGroup( @@ -1456,7 +1500,7 @@ import com.azure.core.util.Context; /** Samples for VolumeGroups Delete. */ public final class VolumeGroupsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeGroups_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_Delete.json */ /** * Sample code: VolumeGroups_Delete. @@ -1477,7 +1521,7 @@ import com.azure.core.util.Context; /** Samples for VolumeGroups Get. */ public final class VolumeGroupsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeGroups_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_Get.json */ /** * Sample code: VolumeGroups_Get. @@ -1498,7 +1542,7 @@ import com.azure.core.util.Context; /** Samples for VolumeGroups ListByNetAppAccount. */ public final class VolumeGroupsListByNetAppAccountSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeGroups_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_List.json */ /** * Sample code: VolumeGroups_List. @@ -1519,7 +1563,7 @@ import com.azure.resourcemanager.netapp.models.Type; /** Samples for VolumeQuotaRules Create. */ public final class VolumeQuotaRulesCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_Create.json */ /** * Sample code: VolumeQuotaRules_Create. @@ -1548,7 +1592,7 @@ import com.azure.core.util.Context; /** Samples for VolumeQuotaRules Delete. */ public final class VolumeQuotaRulesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_Delete.json */ /** * Sample code: VolumeQuotaRules_Delete. @@ -1571,7 +1615,7 @@ import com.azure.core.util.Context; /** Samples for VolumeQuotaRules Get. */ public final class VolumeQuotaRulesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_Get.json */ /** * Sample code: VolumeQuotaRules_Get. @@ -1594,7 +1638,7 @@ import com.azure.core.util.Context; /** Samples for VolumeQuotaRules ListByVolume. */ public final class VolumeQuotaRulesListByVolumeSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_List.json */ /** * Sample code: VolumeQuotaRules_List. @@ -1616,7 +1660,7 @@ import com.azure.resourcemanager.netapp.models.VolumeQuotaRule; /** Samples for VolumeQuotaRules Update. */ public final class VolumeQuotaRulesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_Update.json */ /** * Sample code: VolumeQuotaRules_Update. @@ -1643,7 +1687,7 @@ import com.azure.resourcemanager.netapp.models.AuthorizeRequest; /** Samples for Volumes AuthorizeReplication. */ public final class VolumesAuthorizeReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_AuthorizeReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_AuthorizeReplication.json */ /** * Sample code: Volumes_AuthorizeReplication. @@ -1675,7 +1719,7 @@ import com.azure.resourcemanager.netapp.models.BreakReplicationRequest; /** Samples for Volumes BreakReplication. */ public final class VolumesBreakReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_BreakReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_BreakReplication.json */ /** * Sample code: Volumes_BreakReplication. @@ -1705,7 +1749,7 @@ import com.azure.resourcemanager.netapp.models.ServiceLevel; /** Samples for Volumes CreateOrUpdate. */ public final class VolumesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_CreateOrUpdate.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_CreateOrUpdate.json */ /** * Sample code: Volumes_CreateOrUpdate. @@ -1723,7 +1767,7 @@ public final class VolumesCreateOrUpdateSamples { .withSubnetId( "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3") .withServiceLevel(ServiceLevel.PREMIUM) - .withThroughputMibps(128.0f) + .withThroughputMibps(128.0F) .withEncryptionKeySource(EncryptionKeySource.MICROSOFT_KEY_VAULT) .create(); } @@ -1738,7 +1782,7 @@ import com.azure.core.util.Context; /** Samples for Volumes Delete. */ public final class VolumesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Delete.json */ /** * Sample code: Volumes_Delete. @@ -1759,7 +1803,7 @@ import com.azure.core.util.Context; /** Samples for Volumes DeleteReplication. */ public final class VolumesDeleteReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_DeleteReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_DeleteReplication.json */ /** * Sample code: Volumes_DeleteReplication. @@ -1780,7 +1824,7 @@ import com.azure.core.util.Context; /** Samples for Volumes FinalizeRelocation. */ public final class VolumesFinalizeRelocationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_FinalizeRelocation.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_FinalizeRelocation.json */ /** * Sample code: Volumes_FinalizeRelocation. @@ -1801,7 +1845,7 @@ import com.azure.core.util.Context; /** Samples for Volumes Get. */ public final class VolumesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Get.json */ /** * Sample code: Volumes_Get. @@ -1822,7 +1866,7 @@ import com.azure.core.util.Context; /** Samples for Volumes List. */ public final class VolumesListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_List.json */ /** * Sample code: Volumes_List. @@ -1843,7 +1887,7 @@ import com.azure.core.util.Context; /** Samples for Volumes ListReplications. */ public final class VolumesListReplicationsSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ListReplications.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ListReplications.json */ /** * Sample code: Volumes_ListReplications. @@ -1865,7 +1909,7 @@ import com.azure.resourcemanager.netapp.models.PoolChangeRequest; /** Samples for Volumes PoolChange. */ public final class VolumesPoolChangeSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_PoolChange.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_PoolChange.json */ /** * Sample code: Volumes_AuthorizeReplication. @@ -1896,7 +1940,7 @@ import com.azure.core.util.Context; /** Samples for Volumes ReInitializeReplication. */ public final class VolumesReInitializeReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ReInitializeReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ReInitializeReplication.json */ /** * Sample code: Volumes_ReInitializeReplication. @@ -1918,7 +1962,7 @@ import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest; /** Samples for Volumes ReestablishReplication. */ public final class VolumesReestablishReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ReestablishReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ReestablishReplication.json */ /** * Sample code: Volumes_ReestablishReplication. @@ -1945,11 +1989,12 @@ public final class VolumesReestablishReplicationSamples { ```java import com.azure.core.util.Context; +import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest; /** Samples for Volumes Relocate. */ public final class VolumesRelocateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Relocate.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Relocate.json */ /** * Sample code: Volumes_Relocate. @@ -1957,7 +2002,7 @@ public final class VolumesRelocateSamples { * @param manager Entry point to NetAppFilesManager. */ public static void volumesRelocate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) { - manager.volumes().relocate("myRG", "account1", "pool1", "volume1", Context.NONE); + manager.volumes().relocate("myRG", "account1", "pool1", "volume1", new RelocateVolumeRequest(), Context.NONE); } } ``` @@ -1970,7 +2015,7 @@ import com.azure.core.util.Context; /** Samples for Volumes ReplicationStatus. */ public final class VolumesReplicationStatusSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ReplicationStatus.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ReplicationStatus.json */ /** * Sample code: Volumes_ReplicationStatus. @@ -1991,7 +2036,7 @@ import com.azure.core.util.Context; /** Samples for Volumes ResetCifsPassword. */ public final class VolumesResetCifsPasswordSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ResetCifsPassword.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ResetCifsPassword.json */ /** * Sample code: Volumes_ResetCifsPassword. @@ -2012,7 +2057,7 @@ import com.azure.core.util.Context; /** Samples for Volumes ResyncReplication. */ public final class VolumesResyncReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ResyncReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ResyncReplication.json */ /** * Sample code: Volumes_ResyncReplication. @@ -2034,7 +2079,7 @@ import com.azure.resourcemanager.netapp.models.VolumeRevert; /** Samples for Volumes Revert. */ public final class VolumesRevertSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Revert.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Revert.json */ /** * Sample code: Volumes_Revert. @@ -2065,7 +2110,7 @@ import com.azure.core.util.Context; /** Samples for Volumes RevertRelocation. */ public final class VolumesRevertRelocationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_RevertRelocation.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_RevertRelocation.json */ /** * Sample code: Volumes_RevertRelocation. @@ -2087,7 +2132,7 @@ import com.azure.resourcemanager.netapp.models.Volume; /** Samples for Volumes Update. */ public final class VolumesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/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 773ce3d2cacb..f0f35deaea69 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/pom.xml +++ b/sdk/netapp/azure-resourcemanager-netapp/pom.xml @@ -13,7 +13,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 tag package-netapp-2022-03-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 tag package-netapp-2022-05-01. https://github.com/Azure/azure-sdk-for-java diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/NetAppFilesManager.java index a50d51b7b2cf..8e1f0bf9ea67 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 @@ -259,7 +259,7 @@ public NetAppFilesManager authenticate(TokenCredential credential, AzureProfile .append("-") .append("com.azure.resourcemanager.netapp") .append("/") - .append("1.0.0-beta.10"); + .append("1.0.0-beta.1"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java index f6a216d9c04c..a98b52933ef6 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountBackupsClient.java @@ -16,7 +16,9 @@ /** An instance of this class provides access to all the operations defined in AccountBackupsClient. */ public interface AccountBackupsClient { /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -29,7 +31,9 @@ public interface AccountBackupsClient { PagedIterable list(String resourceGroupName, String accountName); /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -43,7 +47,9 @@ public interface AccountBackupsClient { PagedIterable list(String resourceGroupName, String accountName, Context context); /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -57,7 +63,9 @@ public interface AccountBackupsClient { BackupInner get(String resourceGroupName, String accountName, String backupName); /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -73,7 +81,9 @@ Response getWithResponse( String resourceGroupName, String accountName, String backupName, Context context); /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -87,7 +97,9 @@ Response getWithResponse( SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String backupName); /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -103,7 +115,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupName, Context context); /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -116,7 +130,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String backupName); /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java index 6f39c6584f1e..8179914c4615 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/AccountsClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in AccountsClient. */ public interface AccountsClient { /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp 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. @@ -27,7 +29,9 @@ public interface AccountsClient { PagedIterable list(); /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp accounts in the subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -39,7 +43,9 @@ public interface AccountsClient { PagedIterable list(Context context); /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -51,7 +57,9 @@ public interface AccountsClient { PagedIterable listByResourceGroup(String resourceGroupName); /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. @@ -64,7 +72,9 @@ public interface AccountsClient { PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -77,7 +87,9 @@ public interface AccountsClient { NetAppAccountInner getByResourceGroup(String resourceGroupName, String accountName); /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -92,7 +104,9 @@ Response getByResourceGroupWithResponse( String resourceGroupName, String accountName, Context context); /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -107,7 +121,9 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda String resourceGroupName, String accountName, NetAppAccountInner body); /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -123,7 +139,9 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda String resourceGroupName, String accountName, NetAppAccountInner body, Context context); /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -137,7 +155,9 @@ SyncPoller, NetAppAccountInner> beginCreateOrUpda NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body); /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -153,7 +173,9 @@ NetAppAccountInner createOrUpdate( String resourceGroupName, String accountName, NetAppAccountInner body, Context context); /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -166,7 +188,9 @@ NetAppAccountInner createOrUpdate( SyncPoller, Void> beginDelete(String resourceGroupName, String accountName); /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -180,7 +204,9 @@ NetAppAccountInner createOrUpdate( SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, Context context); /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -192,7 +218,9 @@ NetAppAccountInner createOrUpdate( void delete(String resourceGroupName, String accountName); /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -205,7 +233,9 @@ NetAppAccountInner createOrUpdate( void delete(String resourceGroupName, String accountName, Context context); /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -220,7 +250,9 @@ SyncPoller, NetAppAccountInner> beginUpdate( String resourceGroupName, String accountName, NetAppAccountPatch body); /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -236,7 +268,9 @@ SyncPoller, NetAppAccountInner> beginUpdate( String resourceGroupName, String accountName, NetAppAccountPatch body, Context context); /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -250,7 +284,9 @@ SyncPoller, NetAppAccountInner> beginUpdate( NetAppAccountInner update(String resourceGroupName, String accountName, NetAppAccountPatch body); /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -263,4 +299,69 @@ SyncPoller, NetAppAccountInner> beginUpdate( */ @ServiceMethod(returns = ReturnType.SINGLE) NetAppAccountInner update(String resourceGroupName, String accountName, NetAppAccountPatch body, Context context); + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException 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> beginRenewCredentials(String resourceGroupName, String accountName); + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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> beginRenewCredentials( + String resourceGroupName, String accountName, Context context); + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.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 renewCredentials(String resourceGroupName, String accountName); + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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 renewCredentials(String resourceGroupName, String accountName, Context context); } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java index 1470142af77c..1877c3946e5d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupPoliciesClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in BackupPoliciesClient. */ public interface BackupPoliciesClient { /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -30,7 +32,9 @@ public interface BackupPoliciesClient { PagedIterable list(String resourceGroupName, String accountName); /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -44,7 +48,9 @@ public interface BackupPoliciesClient { PagedIterable list(String resourceGroupName, String accountName, Context context); /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -58,7 +64,9 @@ public interface BackupPoliciesClient { BackupPolicyInner get(String resourceGroupName, String accountName, String backupPolicyName); /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -74,7 +82,9 @@ Response getWithResponse( String resourceGroupName, String accountName, String backupPolicyName, Context context); /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -90,7 +100,9 @@ SyncPoller, BackupPolicyInner> beginCreate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body); /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -107,7 +119,9 @@ SyncPoller, BackupPolicyInner> beginCreate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body, Context context); /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -123,7 +137,9 @@ BackupPolicyInner create( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body); /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -140,7 +156,9 @@ BackupPolicyInner create( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyInner body, Context context); /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -156,7 +174,9 @@ SyncPoller, BackupPolicyInner> beginUpdate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body); /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -173,7 +193,9 @@ SyncPoller, BackupPolicyInner> beginUpdate( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body, Context context); /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -189,7 +211,9 @@ BackupPolicyInner update( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body); /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -206,7 +230,9 @@ BackupPolicyInner update( String resourceGroupName, String accountName, String backupPolicyName, BackupPolicyPatch body, Context context); /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -221,7 +247,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupPolicyName); /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -237,7 +265,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String backupPolicyName, Context context); /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -250,7 +280,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String backupPolicyName); /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java index 5f05ab9015cf..44ba58dcd6ee 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/BackupsClient.java @@ -19,7 +19,9 @@ /** An instance of this class provides access to all the operations defined in BackupsClient. */ public interface BackupsClient { /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -34,7 +36,9 @@ public interface BackupsClient { BackupStatusInner getStatus(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -51,7 +55,9 @@ Response getStatusWithResponse( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -67,7 +73,9 @@ RestoreStatusInner getVolumeRestoreStatus( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -84,7 +92,9 @@ Response getVolumeRestoreStatusWithResponse( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -99,7 +109,9 @@ Response getVolumeRestoreStatusWithResponse( PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -116,7 +128,9 @@ PagedIterable list( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -133,7 +147,9 @@ BackupInner get( String resourceGroupName, String accountName, String poolName, String volumeName, String backupName); /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -156,7 +172,9 @@ Response getWithResponse( Context context); /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -179,7 +197,9 @@ SyncPoller, BackupInner> beginCreate( BackupInner body); /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -204,7 +224,9 @@ SyncPoller, BackupInner> beginCreate( Context context); /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -227,7 +249,9 @@ BackupInner create( BackupInner body); /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -252,7 +276,9 @@ BackupInner create( Context context); /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -275,7 +301,9 @@ SyncPoller, BackupInner> beginUpdate( BackupPatch body); /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -300,7 +328,9 @@ SyncPoller, BackupInner> beginUpdate( Context context); /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -323,7 +353,9 @@ BackupInner update( BackupPatch body); /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -340,7 +372,9 @@ BackupInner update( String resourceGroupName, String accountName, String poolName, String volumeName, String backupName); /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -365,7 +399,9 @@ BackupInner update( Context context); /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -382,7 +418,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, String backupName); /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -405,7 +443,9 @@ SyncPoller, Void> beginDelete( Context context); /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -420,7 +460,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName); /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsClient.java index fc77a10cebe9..b1e9dcb3f61c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourceQuotaLimitsClient.java @@ -14,7 +14,9 @@ /** An instance of this class provides access to all the operations defined in NetAppResourceQuotaLimitsClient. */ public interface NetAppResourceQuotaLimitsClient { /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -26,7 +28,9 @@ public interface NetAppResourceQuotaLimitsClient { PagedIterable list(String location); /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @param context The context to associate with this operation. @@ -39,7 +43,9 @@ public interface NetAppResourceQuotaLimitsClient { PagedIterable list(String location, Context context); /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. @@ -52,7 +58,9 @@ public interface NetAppResourceQuotaLimitsClient { SubscriptionQuotaItemInner get(String location, String quotaLimitName); /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourcesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourcesClient.java index cdccd2a85b45..4b546040dece 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourcesClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/NetAppResourcesClient.java @@ -9,6 +9,7 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.Context; import com.azure.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner; +import com.azure.resourcemanager.netapp.fluent.models.RegionInfoInner; import com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest; import com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest; import com.azure.resourcemanager.netapp.models.ResourceNameAvailabilityRequest; @@ -16,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in NetAppResourcesClient. */ public interface NetAppResourcesClient { /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -29,7 +32,9 @@ public interface NetAppResourcesClient { CheckAvailabilityResponseInner checkNameAvailability(String location, ResourceNameAvailabilityRequest body); /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -44,7 +49,9 @@ Response checkNameAvailabilityWithResponse( String location, ResourceNameAvailabilityRequest body, Context context); /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -57,7 +64,9 @@ Response checkNameAvailabilityWithResponse( CheckAvailabilityResponseInner checkFilePathAvailability(String location, FilePathAvailabilityRequest body); /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -72,7 +81,9 @@ Response checkFilePathAvailabilityWithResponse( String location, FilePathAvailabilityRequest body, Context context); /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -85,7 +96,9 @@ Response checkFilePathAvailabilityWithResponse( CheckAvailabilityResponseInner checkQuotaAvailability(String location, QuotaAvailabilityRequest body); /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -98,4 +111,33 @@ Response checkFilePathAvailabilityWithResponse( @ServiceMethod(returns = ReturnType.SINGLE) Response checkQuotaAvailabilityWithResponse( String location, QuotaAvailabilityRequest body, Context context); + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return provides region specific information. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + RegionInfoInner queryRegionInfo(String location); + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @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 provides region specific information along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response queryRegionInfoWithResponse(String location, Context context); } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/OperationsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/OperationsClient.java index 06a293c42d6b..9fe05c07e721 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/OperationsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/OperationsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in OperationsClient. */ public interface OperationsClient { /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -23,7 +25,9 @@ public interface OperationsClient { PagedIterable list(); /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java index 20798d7af946..7c96ea805bf1 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/PoolsClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in PoolsClient. */ public interface PoolsClient { /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -30,7 +32,9 @@ public interface PoolsClient { PagedIterable list(String resourceGroupName, String accountName); /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -44,7 +48,9 @@ public interface PoolsClient { PagedIterable list(String resourceGroupName, String accountName, Context context); /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -58,7 +64,9 @@ public interface PoolsClient { CapacityPoolInner get(String resourceGroupName, String accountName, String poolName); /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -74,7 +82,9 @@ Response getWithResponse( String resourceGroupName, String accountName, String poolName, Context context); /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -90,7 +100,9 @@ SyncPoller, CapacityPoolInner> beginCreateOrUpdate String resourceGroupName, String accountName, String poolName, CapacityPoolInner body); /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -107,7 +119,9 @@ SyncPoller, CapacityPoolInner> beginCreateOrUpdate String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, Context context); /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -123,7 +137,9 @@ CapacityPoolInner createOrUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolInner body); /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -140,7 +156,9 @@ CapacityPoolInner createOrUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolInner body, Context context); /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -156,7 +174,9 @@ SyncPoller, CapacityPoolInner> beginUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body); /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -173,7 +193,9 @@ SyncPoller, CapacityPoolInner> beginUpdate( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, Context context); /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -188,7 +210,9 @@ SyncPoller, CapacityPoolInner> beginUpdate( CapacityPoolInner update(String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body); /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -205,7 +229,9 @@ CapacityPoolInner update( String resourceGroupName, String accountName, String poolName, CapacityPoolPatch body, Context context); /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -219,7 +245,9 @@ CapacityPoolInner update( SyncPoller, Void> beginDelete(String resourceGroupName, String accountName, String poolName); /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -235,7 +263,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, Context context); /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -248,7 +278,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String poolName); /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java index 88ad47209435..3d8aa38a8d3f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotPoliciesClient.java @@ -244,7 +244,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String snapshotPolicyName, Context context); /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -258,7 +260,9 @@ SyncPoller, Void> beginDelete( SnapshotPolicyVolumeListInner listVolumes(String resourceGroupName, String accountName, String snapshotPolicyName); /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java index 0128331e21fa..7637b1788c6e 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SnapshotsClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in SnapshotsClient. */ public interface SnapshotsClient { /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -32,7 +34,9 @@ public interface SnapshotsClient { PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -49,7 +53,9 @@ PagedIterable list( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -66,7 +72,9 @@ SnapshotInner get( String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName); /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -89,7 +97,9 @@ Response getWithResponse( Context context); /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -112,7 +122,9 @@ SyncPoller, SnapshotInner> beginCreate( SnapshotInner body); /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -137,7 +149,9 @@ SyncPoller, SnapshotInner> beginCreate( Context context); /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -160,7 +174,9 @@ SnapshotInner create( SnapshotInner body); /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -185,7 +201,9 @@ SnapshotInner create( Context context); /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -208,7 +226,9 @@ SyncPoller, SnapshotInner> beginUpdate( Object body); /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -233,7 +253,9 @@ SyncPoller, SnapshotInner> beginUpdate( Context context); /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -256,7 +278,9 @@ SnapshotInner update( Object body); /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -281,7 +305,9 @@ SnapshotInner update( Context context); /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -298,7 +324,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName); /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -321,7 +349,9 @@ SyncPoller, Void> beginDelete( Context context); /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -336,7 +366,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName); /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -358,7 +390,9 @@ void delete( Context context); /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -381,7 +415,9 @@ SyncPoller, Void> beginRestoreFiles( SnapshotRestoreFiles body); /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -406,7 +442,9 @@ SyncPoller, Void> beginRestoreFiles( Context context); /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -428,7 +466,9 @@ void restoreFiles( SnapshotRestoreFiles body); /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java index cca592b2f91b..77e85357240a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/SubvolumesClient.java @@ -18,7 +18,9 @@ /** An instance of this class provides access to all the operations defined in SubvolumesClient. */ public interface SubvolumesClient { /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -34,7 +36,9 @@ PagedIterable listByVolume( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -51,7 +55,9 @@ PagedIterable listByVolume( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -68,7 +74,9 @@ SubvolumeInfoInner get( String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName); /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -91,7 +99,9 @@ Response getWithResponse( Context context); /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -114,7 +124,9 @@ SyncPoller, SubvolumeInfoInner> beginCreate( SubvolumeInfoInner body); /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -139,7 +151,9 @@ SyncPoller, SubvolumeInfoInner> beginCreate( Context context); /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -162,7 +176,9 @@ SubvolumeInfoInner create( SubvolumeInfoInner body); /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -187,7 +203,9 @@ SubvolumeInfoInner create( Context context); /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -210,7 +228,9 @@ SyncPoller, SubvolumeInfoInner> beginUpdate( SubvolumePatchRequest body); /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -235,7 +255,9 @@ SyncPoller, SubvolumeInfoInner> beginUpdate( Context context); /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -258,7 +280,9 @@ SubvolumeInfoInner update( SubvolumePatchRequest body); /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -283,7 +307,9 @@ SubvolumeInfoInner update( Context context); /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -300,7 +326,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName); /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -323,7 +351,9 @@ SyncPoller, Void> beginDelete( Context context); /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -338,7 +368,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName); /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -360,7 +392,9 @@ void delete( Context context); /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -377,7 +411,9 @@ SyncPoller, SubvolumeModelInner> beginGetMetadat String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName); /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -400,7 +436,9 @@ SyncPoller, SubvolumeModelInner> beginGetMetadat Context context); /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -417,7 +455,9 @@ SubvolumeModelInner getMetadata( String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName); /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VaultsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VaultsClient.java index 777fed24c4f1..c13e2b8258ec 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VaultsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VaultsClient.java @@ -13,7 +13,9 @@ /** An instance of this class provides access to all the operations defined in VaultsClient. */ public interface VaultsClient { /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -26,7 +28,9 @@ public interface VaultsClient { PagedIterable list(String resourceGroupName, String accountName); /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java index 5dc2ff348d45..1e019e7fcab6 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeGroupsClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in VolumeGroupsClient. */ public interface VolumeGroupsClient { /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -30,7 +32,9 @@ public interface VolumeGroupsClient { PagedIterable listByNetAppAccount(String resourceGroupName, String accountName); /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -44,7 +48,9 @@ public interface VolumeGroupsClient { PagedIterable listByNetAppAccount(String resourceGroupName, String accountName, Context context); /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -58,7 +64,9 @@ public interface VolumeGroupsClient { VolumeGroupDetailsInner get(String resourceGroupName, String accountName, String volumeGroupName); /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -74,7 +82,11 @@ Response getWithResponse( String resourceGroupName, String accountName, String volumeGroupName, Context context); /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -90,7 +102,11 @@ SyncPoller, VolumeGroupDetailsInner> beginCr String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body); /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -111,7 +127,11 @@ SyncPoller, VolumeGroupDetailsInner> beginCr Context context); /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -127,7 +147,11 @@ VolumeGroupDetailsInner create( String resourceGroupName, String accountName, String volumeGroupName, VolumeGroupDetailsInner body); /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -148,7 +172,9 @@ VolumeGroupDetailsInner create( Context context); /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -163,7 +189,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String volumeGroupName); /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -179,7 +207,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String volumeGroupName, Context context); /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -192,7 +222,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String volumeGroupName); /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java index c4c76fcac92d..f72182325895 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/VolumeQuotaRulesClient.java @@ -17,7 +17,9 @@ /** An instance of this class provides access to all the operations defined in VolumeQuotaRulesClient. */ public interface VolumeQuotaRulesClient { /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -33,7 +35,9 @@ PagedIterable listByVolume( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -50,7 +54,9 @@ PagedIterable listByVolume( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -67,7 +73,9 @@ VolumeQuotaRuleInner get( String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName); /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -90,7 +98,9 @@ Response getWithResponse( Context context); /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -113,7 +123,9 @@ SyncPoller, VolumeQuotaRuleInner> beginCreate( VolumeQuotaRuleInner body); /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -138,7 +150,9 @@ SyncPoller, VolumeQuotaRuleInner> beginCreate( Context context); /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -161,7 +175,9 @@ VolumeQuotaRuleInner create( VolumeQuotaRuleInner body); /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -186,7 +202,9 @@ VolumeQuotaRuleInner create( Context context); /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -209,7 +227,9 @@ SyncPoller, VolumeQuotaRuleInner> beginUpdate( VolumeQuotaRulePatch body); /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -234,7 +254,9 @@ SyncPoller, VolumeQuotaRuleInner> beginUpdate( Context context); /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -257,7 +279,9 @@ VolumeQuotaRuleInner update( VolumeQuotaRulePatch body); /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -282,7 +306,9 @@ VolumeQuotaRuleInner update( Context context); /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -299,7 +325,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName); /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -322,7 +350,9 @@ SyncPoller, Void> beginDelete( Context context); /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -338,7 +368,9 @@ void delete( String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName); /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. 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 d5fbe46e7f2e..d40a33f804af 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 @@ -18,13 +18,16 @@ import com.azure.resourcemanager.netapp.models.BreakReplicationRequest; import com.azure.resourcemanager.netapp.models.PoolChangeRequest; import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest; +import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest; import com.azure.resourcemanager.netapp.models.VolumePatch; import com.azure.resourcemanager.netapp.models.VolumeRevert; /** An instance of this class provides access to all the operations defined in VolumesClient. */ public interface VolumesClient { /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -38,7 +41,9 @@ public interface VolumesClient { PagedIterable list(String resourceGroupName, String accountName, String poolName); /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -53,7 +58,9 @@ public interface VolumesClient { PagedIterable list(String resourceGroupName, String accountName, String poolName, Context context); /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -68,7 +75,9 @@ public interface VolumesClient { VolumeInner get(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -85,7 +94,9 @@ Response getWithResponse( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -102,7 +113,9 @@ SyncPoller, VolumeInner> beginCreateOrUpdate( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body); /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -125,7 +138,9 @@ SyncPoller, VolumeInner> beginCreateOrUpdate( Context context); /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -142,7 +157,9 @@ VolumeInner createOrUpdate( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeInner body); /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -165,7 +182,9 @@ VolumeInner createOrUpdate( Context context); /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -182,7 +201,9 @@ SyncPoller, VolumeInner> beginUpdate( String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body); /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -205,7 +226,9 @@ SyncPoller, VolumeInner> beginUpdate( Context context); /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -222,7 +245,9 @@ VolumeInner update( String resourceGroupName, String accountName, String poolName, String volumeName, VolumePatch body); /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -245,7 +270,9 @@ VolumeInner update( Context context); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -263,7 +290,9 @@ SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -287,7 +316,9 @@ SyncPoller, Void> beginDelete( Context context); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -303,7 +334,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -317,7 +350,9 @@ SyncPoller, Void> beginDelete( void delete(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -340,7 +375,9 @@ void delete( Context context); /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -357,7 +394,9 @@ SyncPoller, Void> beginRevert( String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body); /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -380,7 +419,9 @@ SyncPoller, Void> beginRevert( Context context); /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -395,7 +436,9 @@ SyncPoller, Void> beginRevert( void revert(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body); /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -417,7 +460,9 @@ void revert( Context context); /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -433,7 +478,9 @@ SyncPoller, Void> beginResetCifsPassword( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -450,7 +497,9 @@ SyncPoller, Void> beginResetCifsPassword( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -464,7 +513,9 @@ SyncPoller, Void> beginResetCifsPassword( void resetCifsPassword(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -480,7 +531,9 @@ void resetCifsPassword( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -497,7 +550,9 @@ SyncPoller, Void> beginBreakReplication( String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -520,7 +575,9 @@ SyncPoller, Void> beginBreakReplication( Context context); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -536,7 +593,9 @@ void breakReplication( String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -550,7 +609,9 @@ void breakReplication( void breakReplication(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -572,7 +633,9 @@ void breakReplication( Context context); /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -594,7 +657,9 @@ SyncPoller, Void> beginReestablishReplication( ReestablishReplicationRequest body); /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -618,7 +683,9 @@ SyncPoller, Void> beginReestablishReplication( Context context); /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -639,7 +706,9 @@ void reestablishReplication( ReestablishReplicationRequest body); /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -662,7 +731,9 @@ void reestablishReplication( Context context); /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -678,7 +749,9 @@ ReplicationStatusInner replicationStatus( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -695,7 +768,9 @@ Response replicationStatusWithResponse( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -711,7 +786,9 @@ PagedIterable listReplications( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -728,7 +805,9 @@ PagedIterable listReplications( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -745,7 +824,9 @@ SyncPoller, Void> beginResyncReplication( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -763,7 +844,9 @@ SyncPoller, Void> beginResyncReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -778,7 +861,9 @@ SyncPoller, Void> beginResyncReplication( void resyncReplication(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -795,7 +880,9 @@ void resyncReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -811,7 +898,9 @@ SyncPoller, Void> beginDeleteReplication( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -828,7 +917,9 @@ SyncPoller, Void> beginDeleteReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -842,7 +933,9 @@ SyncPoller, Void> beginDeleteReplication( void deleteReplication(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -858,7 +951,9 @@ void deleteReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -875,7 +970,9 @@ SyncPoller, Void> beginAuthorizeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body); /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -898,7 +995,9 @@ SyncPoller, Void> beginAuthorizeReplication( Context context); /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -914,7 +1013,9 @@ void authorizeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body); /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -936,7 +1037,9 @@ void authorizeReplication( Context context); /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -952,7 +1055,9 @@ SyncPoller, Void> beginReInitializeReplication( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -969,7 +1074,9 @@ SyncPoller, Void> beginReInitializeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -983,7 +1090,9 @@ SyncPoller, Void> beginReInitializeReplication( void reInitializeReplication(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -999,7 +1108,9 @@ void reInitializeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1016,7 +1127,9 @@ SyncPoller, Void> beginPoolChange( String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body); /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1039,7 +1152,9 @@ SyncPoller, Void> beginPoolChange( Context context); /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1055,7 +1170,9 @@ void poolChange( String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body); /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1077,12 +1194,15 @@ void poolChange( Context context); /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume 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. @@ -1090,15 +1210,18 @@ void poolChange( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginRelocate( - String resourceGroupName, String accountName, String poolName, String volumeName); + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body); /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume 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. @@ -1107,10 +1230,35 @@ SyncPoller, Void> beginRelocate( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginRelocate( - String resourceGroupName, String accountName, String poolName, String volumeName, Context context); + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context); /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @param poolName The name of the capacity pool. + * @param volumeName The name of the volume. + * @param body Relocate volume 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. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void relocate( + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body); + + /** + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1124,22 +1272,33 @@ SyncPoller, Void> beginRelocate( void relocate(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume 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. */ @ServiceMethod(returns = ReturnType.SINGLE) - void relocate(String resourceGroupName, String accountName, String poolName, String volumeName, Context context); + void relocate( + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context); /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1155,7 +1314,9 @@ SyncPoller, Void> beginFinalizeRelocation( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1172,7 +1333,9 @@ SyncPoller, Void> beginFinalizeRelocation( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1186,7 +1349,9 @@ SyncPoller, Void> beginFinalizeRelocation( void finalizeRelocation(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1202,7 +1367,9 @@ void finalizeRelocation( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1218,7 +1385,9 @@ SyncPoller, Void> beginRevertRelocation( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1235,7 +1404,9 @@ SyncPoller, Void> beginRevertRelocation( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1249,7 +1420,9 @@ SyncPoller, Void> beginRevertRelocation( void revertRelocation(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. 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 27f7ac66283c..438681c784b4 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 @@ -31,6 +31,12 @@ public final class AccountProperties { @JsonProperty(value = "encryption") private AccountEncryption encryption; + /* + * Shows the status of disableShowmount for all volumes under the subscription, null equals false + */ + @JsonProperty(value = "disableShowmount", access = JsonProperty.Access.WRITE_ONLY) + private Boolean disableShowmount; + /** * Get the provisioningState property: Azure lifecycle management. * @@ -80,6 +86,16 @@ public AccountProperties withEncryption(AccountEncryption encryption) { return this; } + /** + * Get the disableShowmount property: Shows the status of disableShowmount for all volumes under the subscription, + * null equals false. + * + * @return the disableShowmount value. + */ + public Boolean disableShowmount() { + return this.disableShowmount; + } + /** * Validates the instance. * diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupInner.java index ce1c66b22fcb..aebc97b88693 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupInner.java @@ -56,7 +56,9 @@ private BackupProperties innerProperties() { } /** - * Get the backupId property: backupId UUID v4 used to identify the Backup. + * Get the backupId property: backupId + * + *

UUID v4 used to identify the Backup. * * @return the backupId value. */ @@ -65,7 +67,9 @@ public String backupId() { } /** - * Get the creationDate property: creationDate The creation date of the backup. + * Get the creationDate property: creationDate + * + *

The creation date of the backup. * * @return the creationDate value. */ @@ -115,7 +119,9 @@ public BackupInner withLabel(String label) { } /** - * Get the backupType property: backupType Type of backup Manual or Scheduled. + * Get the backupType property: backupType + * + *

Type of backup Manual or Scheduled. * * @return the backupType value. */ diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyInner.java index 1b95eef8d564..57577aa4f21d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupPolicyInner.java @@ -29,8 +29,7 @@ public final class BackupPolicyInner extends Resource { private BackupPolicyProperties innerProperties = new BackupPolicyProperties(); /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java index bded98966e81..47e6ab529c15 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/BackupProperties.java @@ -13,13 +13,17 @@ @Fluent public final class BackupProperties { /* - * backupId UUID v4 used to identify the Backup + * backupId + * + * UUID v4 used to identify the Backup */ @JsonProperty(value = "backupId", access = JsonProperty.Access.WRITE_ONLY) private String backupId; /* - * creationDate The creation date of the backup + * creationDate + * + * The creation date of the backup */ @JsonProperty(value = "creationDate", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime creationDate; @@ -43,7 +47,9 @@ public final class BackupProperties { private String label; /* - * backupType Type of backup Manual or Scheduled + * backupType + * + * Type of backup Manual or Scheduled */ @JsonProperty(value = "backupType", access = JsonProperty.Access.WRITE_ONLY) private BackupType backupType; @@ -61,14 +67,16 @@ public final class BackupProperties { private String volumeName; /* - * Manual backup an already existing snapshot. This will always be false - * for scheduled backups and true/false for manual backups + * Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for + * manual backups */ @JsonProperty(value = "useExistingSnapshot") private Boolean useExistingSnapshot; /** - * Get the backupId property: backupId UUID v4 used to identify the Backup. + * Get the backupId property: backupId + * + *

UUID v4 used to identify the Backup. * * @return the backupId value. */ @@ -77,7 +85,9 @@ public String backupId() { } /** - * Get the creationDate property: creationDate The creation date of the backup. + * Get the creationDate property: creationDate + * + *

The creation date of the backup. * * @return the creationDate value. */ @@ -124,7 +134,9 @@ public BackupProperties withLabel(String label) { } /** - * Get the backupType property: backupType Type of backup Manual or Scheduled. + * Get the backupType property: backupType + * + *

Type of backup Manual or Scheduled. * * @return the backupType value. */ diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java index b12c8c0df59f..c7532860ac1c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CapacityPoolInner.java @@ -30,8 +30,7 @@ public final class CapacityPoolInner extends Resource { private PoolProperties innerProperties = new PoolProperties(); /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; @@ -78,7 +77,9 @@ public CapacityPoolInner withTags(Map tags) { } /** - * Get the poolId property: poolId UUID v4 used to identify the Pool. + * Get the poolId property: poolId + * + *

UUID v4 used to identify the Pool. * * @return the poolId value. */ @@ -87,8 +88,10 @@ public String poolId() { } /** - * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Get the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @return the size value. */ @@ -97,8 +100,10 @@ public long size() { } /** - * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Set the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @param size the size value to set. * @return the CapacityPoolInner object itself. @@ -112,7 +117,9 @@ public CapacityPoolInner withSize(long size) { } /** - * Get the serviceLevel property: serviceLevel The service level of the file system. + * Get the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ @@ -121,7 +128,9 @@ public ServiceLevel serviceLevel() { } /** - * Set the serviceLevel property: serviceLevel The service level of the file system. + * Set the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @param serviceLevel the serviceLevel value to set. * @return the CapacityPoolInner object itself. @@ -208,8 +217,10 @@ public CapacityPoolInner withCoolAccess(Boolean coolAccess) { } /** - * Get the encryptionType property: encryptionType Encryption type of the capacity pool, set encryption type for - * data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + * Get the encryptionType property: encryptionType + * + *

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in + * it. This value can only be set when creating new pool. * * @return the encryptionType value. */ @@ -218,8 +229,10 @@ public EncryptionType encryptionType() { } /** - * Set the encryptionType property: encryptionType Encryption type of the capacity pool, set encryption type for - * data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + * Set the encryptionType property: encryptionType + * + *

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in + * it. This value can only be set when creating new pool. * * @param encryptionType the encryptionType value to set. * @return the CapacityPoolInner object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckAvailabilityResponseInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckAvailabilityResponseInner.java index dd7e8330f074..8ac2e4a1054b 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckAvailabilityResponseInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/CheckAvailabilityResponseInner.java @@ -12,26 +12,23 @@ @Fluent public final class CheckAvailabilityResponseInner { /* - * true indicates name is valid and available. - * false indicates the name is invalid, unavailable, or both. + * true indicates name is valid and available. false indicates the name is invalid, + * unavailable, or both. */ @JsonProperty(value = "isAvailable") private Boolean isAvailable; /* - * Invalid indicates the name provided does not match Azure - * App Service naming requirements. AlreadyExists indicates - * that the name is already in use and is therefore unavailable. + * Invalid indicates the name provided does not match Azure App Service naming requirements. + * AlreadyExists indicates that the name is already in use and is therefore unavailable. */ @JsonProperty(value = "reason") private InAvailabilityReasonType 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. + * 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. */ @JsonProperty(value = "message") private String message; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/MountTargetProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/MountTargetProperties.java index f9b279297cfc..a1efd0ef7b3c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/MountTargetProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/MountTargetProperties.java @@ -12,31 +12,41 @@ @Fluent public final class MountTargetProperties { /* - * mountTargetId UUID v4 used to identify the MountTarget + * mountTargetId + * + * UUID v4 used to identify the MountTarget */ @JsonProperty(value = "mountTargetId", access = JsonProperty.Access.WRITE_ONLY) private String mountTargetId; /* - * fileSystemId UUID v4 used to identify the MountTarget + * fileSystemId + * + * UUID v4 used to identify the MountTarget */ @JsonProperty(value = "fileSystemId", required = true) private String fileSystemId; /* - * ipAddress The mount target's IPv4 address + * ipAddress + * + * The mount target's IPv4 address */ @JsonProperty(value = "ipAddress", access = JsonProperty.Access.WRITE_ONLY) private String ipAddress; /* - * smbServerFQDN The SMB server's Fully Qualified Domain Name, FQDN + * smbServerFQDN + * + * The SMB server's Fully Qualified Domain Name, FQDN */ @JsonProperty(value = "smbServerFqdn") private String smbServerFqdn; /** - * Get the mountTargetId property: mountTargetId UUID v4 used to identify the MountTarget. + * Get the mountTargetId property: mountTargetId + * + *

UUID v4 used to identify the MountTarget. * * @return the mountTargetId value. */ @@ -45,7 +55,9 @@ public String mountTargetId() { } /** - * Get the fileSystemId property: fileSystemId UUID v4 used to identify the MountTarget. + * Get the fileSystemId property: fileSystemId + * + *

UUID v4 used to identify the MountTarget. * * @return the fileSystemId value. */ @@ -54,7 +66,9 @@ public String fileSystemId() { } /** - * Set the fileSystemId property: fileSystemId UUID v4 used to identify the MountTarget. + * Set the fileSystemId property: fileSystemId + * + *

UUID v4 used to identify the MountTarget. * * @param fileSystemId the fileSystemId value to set. * @return the MountTargetProperties object itself. @@ -65,7 +79,9 @@ public MountTargetProperties withFileSystemId(String fileSystemId) { } /** - * Get the ipAddress property: ipAddress The mount target's IPv4 address. + * Get the ipAddress property: ipAddress + * + *

The mount target's IPv4 address. * * @return the ipAddress value. */ @@ -74,7 +90,9 @@ public String ipAddress() { } /** - * Get the smbServerFqdn property: smbServerFQDN The SMB server's Fully Qualified Domain Name, FQDN. + * Get the smbServerFqdn property: smbServerFQDN + * + *

The SMB server's Fully Qualified Domain Name, FQDN. * * @return the smbServerFqdn value. */ @@ -83,7 +101,9 @@ public String smbServerFqdn() { } /** - * Set the smbServerFqdn property: smbServerFQDN The SMB server's Fully Qualified Domain Name, FQDN. + * Set the smbServerFqdn property: smbServerFQDN + * + *

The SMB server's Fully Qualified Domain Name, FQDN. * * @param smbServerFqdn the smbServerFqdn value to set. * @return the MountTargetProperties object itself. 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 a7941717b3ae..2db669ff0c2f 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 @@ -8,6 +8,7 @@ import com.azure.core.management.Resource; import com.azure.resourcemanager.netapp.models.AccountEncryption; import com.azure.resourcemanager.netapp.models.ActiveDirectory; +import com.azure.resourcemanager.netapp.models.Identity; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import java.util.Map; @@ -27,6 +28,12 @@ public final class NetAppAccountInner extends Resource { @JsonProperty(value = "properties") private AccountProperties innerProperties; + /* + * The identity of the resource. + */ + @JsonProperty(value = "identity") + private Identity identity; + /** * Get the etag property: A unique read-only string that changes whenever the resource is updated. * @@ -45,6 +52,26 @@ private AccountProperties innerProperties() { return this.innerProperties; } + /** + * Get the identity property: The identity of the resource. + * + * @return the identity value. + */ + public Identity identity() { + return this.identity; + } + + /** + * Set the identity property: The identity of the resource. + * + * @param identity the identity value to set. + * @return the NetAppAccountInner object itself. + */ + public NetAppAccountInner withIdentity(Identity identity) { + this.identity = identity; + return this; + } + /** {@inheritDoc} */ @Override public NetAppAccountInner withLocation(String location) { @@ -114,6 +141,16 @@ public NetAppAccountInner withEncryption(AccountEncryption encryption) { return this; } + /** + * Get the disableShowmount property: Shows the status of disableShowmount for all volumes under the subscription, + * null equals false. + * + * @return the disableShowmount value. + */ + public Boolean disableShowmount() { + return this.innerProperties() == null ? null : this.innerProperties().disableShowmount(); + } + /** * Validates the instance. * @@ -123,5 +160,8 @@ public void validate() { if (innerProperties() != null) { innerProperties().validate(); } + if (identity() != null) { + identity().validate(); + } } } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java index c45d52995f4f..d40f3adce2ee 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolPatchProperties.java @@ -12,8 +12,10 @@ @Fluent public final class PoolPatchProperties { /* - * size Provisioned size of the pool (in bytes). Allowed values are in 1TiB - * chunks (value must be multiply of 4398046511104). + * size + * + * Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). */ @JsonProperty(value = "size") private Long size; @@ -31,8 +33,10 @@ public final class PoolPatchProperties { private Boolean coolAccess; /** - * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Get the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @return the size value. */ @@ -41,8 +45,10 @@ public Long size() { } /** - * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Set the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @param size the size value to set. * @return the PoolPatchProperties object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java index 28f3f5d3e96c..171aafa0ad5d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/PoolProperties.java @@ -15,20 +15,26 @@ @Fluent public final class PoolProperties { /* - * poolId UUID v4 used to identify the Pool + * poolId + * + * UUID v4 used to identify the Pool */ @JsonProperty(value = "poolId", access = JsonProperty.Access.WRITE_ONLY) private String poolId; /* - * size Provisioned size of the pool (in bytes). Allowed values are in 1TiB - * chunks (value must be multiply of 4398046511104). + * size + * + * Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). */ @JsonProperty(value = "size", required = true) private long size; /* - * serviceLevel The service level of the file system + * serviceLevel + * + * The service level of the file system */ @JsonProperty(value = "serviceLevel", required = true) private ServiceLevel serviceLevel; @@ -64,15 +70,18 @@ public final class PoolProperties { private Boolean coolAccess; /* - * encryptionType Encryption type of the capacity pool, set encryption type - * for data at rest for this pool and all volumes in it. This value can - * only be set when creating new pool. + * encryptionType + * + * Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. + * This value can only be set when creating new pool. */ @JsonProperty(value = "encryptionType") private EncryptionType encryptionType; /** - * Get the poolId property: poolId UUID v4 used to identify the Pool. + * Get the poolId property: poolId + * + *

UUID v4 used to identify the Pool. * * @return the poolId value. */ @@ -81,8 +90,10 @@ public String poolId() { } /** - * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Get the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @return the size value. */ @@ -91,8 +102,10 @@ public long size() { } /** - * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Set the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @param size the size value to set. * @return the PoolProperties object itself. @@ -103,7 +116,9 @@ public PoolProperties withSize(long size) { } /** - * Get the serviceLevel property: serviceLevel The service level of the file system. + * Get the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ @@ -112,7 +127,9 @@ public ServiceLevel serviceLevel() { } /** - * Set the serviceLevel property: serviceLevel The service level of the file system. + * Set the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @param serviceLevel the serviceLevel value to set. * @return the PoolProperties object itself. @@ -190,8 +207,10 @@ public PoolProperties withCoolAccess(Boolean coolAccess) { } /** - * Get the encryptionType property: encryptionType Encryption type of the capacity pool, set encryption type for - * data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + * Get the encryptionType property: encryptionType + * + *

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in + * it. This value can only be set when creating new pool. * * @return the encryptionType value. */ @@ -200,8 +219,10 @@ public EncryptionType encryptionType() { } /** - * Set the encryptionType property: encryptionType Encryption type of the capacity pool, set encryption type for - * data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + * Set the encryptionType property: encryptionType + * + *

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in + * it. This value can only be set when creating new pool. * * @param encryptionType the encryptionType value to set. * @return the PoolProperties object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RegionInfoInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RegionInfoInner.java new file mode 100644 index 000000000000..e2658a04b55e --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/RegionInfoInner.java @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.netapp.models.RegionInfoAvailabilityZoneMappingsItem; +import com.azure.resourcemanager.netapp.models.RegionStorageToNetworkProximity; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Provides region specific information. */ +@Fluent +public final class RegionInfoInner { + /* + * Storage to Network Proximity + * + * Provides storage to network proximity information in the region. + */ + @JsonProperty(value = "storageToNetworkProximity") + private RegionStorageToNetworkProximity storageToNetworkProximity; + + /* + * Logical availability zone mappings. + * + * Provides logical availability zone mappings for the subscription for a region. + */ + @JsonProperty(value = "availabilityZoneMappings") + private List availabilityZoneMappings; + + /** + * Get the storageToNetworkProximity property: Storage to Network Proximity + * + *

Provides storage to network proximity information in the region. + * + * @return the storageToNetworkProximity value. + */ + public RegionStorageToNetworkProximity storageToNetworkProximity() { + return this.storageToNetworkProximity; + } + + /** + * Set the storageToNetworkProximity property: Storage to Network Proximity + * + *

Provides storage to network proximity information in the region. + * + * @param storageToNetworkProximity the storageToNetworkProximity value to set. + * @return the RegionInfoInner object itself. + */ + public RegionInfoInner withStorageToNetworkProximity(RegionStorageToNetworkProximity storageToNetworkProximity) { + this.storageToNetworkProximity = storageToNetworkProximity; + return this; + } + + /** + * Get the availabilityZoneMappings property: Logical availability zone mappings. + * + *

Provides logical availability zone mappings for the subscription for a region. + * + * @return the availabilityZoneMappings value. + */ + public List availabilityZoneMappings() { + return this.availabilityZoneMappings; + } + + /** + * Set the availabilityZoneMappings property: Logical availability zone mappings. + * + *

Provides logical availability zone mappings for the subscription for a region. + * + * @param availabilityZoneMappings the availabilityZoneMappings value to set. + * @return the RegionInfoInner object itself. + */ + public RegionInfoInner withAvailabilityZoneMappings( + List availabilityZoneMappings) { + this.availabilityZoneMappings = availabilityZoneMappings; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (availabilityZoneMappings() != null) { + availabilityZoneMappings().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java index 6985eb191f5b..0fafec427ba4 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/ReplicationInner.java @@ -14,8 +14,7 @@ @Fluent public final class ReplicationInner { /* - * Indicates whether the local volume is the source or destination for the - * Volume Replication + * Indicates whether the local volume is the source or destination for the Volume Replication */ @JsonProperty(value = "endpointType") private EndpointType endpointType; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotInner.java index 6c0c2bfbbbeb..3cf9b6d34d67 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotInner.java @@ -55,7 +55,9 @@ private SnapshotProperties innerProperties() { } /** - * Get the snapshotId property: snapshotId UUID v4 used to identify the Snapshot. + * Get the snapshotId property: snapshotId + * + *

UUID v4 used to identify the Snapshot. * * @return the snapshotId value. */ @@ -64,7 +66,9 @@ public String snapshotId() { } /** - * Get the created property: name The creation date of the snapshot. + * Get the created property: name + * + *

The creation date of the snapshot. * * @return the created value. */ diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyInner.java index d205a5f07fb5..36968f3582a1 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotPolicyInner.java @@ -31,8 +31,7 @@ public final class SnapshotPolicyInner extends Resource { private SnapshotPolicyProperties innerProperties = new SnapshotPolicyProperties(); /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotProperties.java index 2971b475f2fe..3c9f188dbc8f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SnapshotProperties.java @@ -12,13 +12,17 @@ @Immutable public final class SnapshotProperties { /* - * snapshotId UUID v4 used to identify the Snapshot + * snapshotId + * + * UUID v4 used to identify the Snapshot */ @JsonProperty(value = "snapshotId", access = JsonProperty.Access.WRITE_ONLY) private String snapshotId; /* - * name The creation date of the snapshot + * name + * + * The creation date of the snapshot */ @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime created; @@ -30,7 +34,9 @@ public final class SnapshotProperties { private String provisioningState; /** - * Get the snapshotId property: snapshotId UUID v4 used to identify the Snapshot. + * Get the snapshotId property: snapshotId + * + *

UUID v4 used to identify the Snapshot. * * @return the snapshotId value. */ @@ -39,7 +45,9 @@ public String snapshotId() { } /** - * Get the created property: name The creation date of the snapshot. + * Get the created property: name + * + *

The creation date of the snapshot. * * @return the created value. */ diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeInfoInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeInfoInner.java index 75e561fe9639..7434e120eaba 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeInfoInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeInfoInner.java @@ -19,8 +19,7 @@ public final class SubvolumeInfoInner extends ProxyResource { private SubvolumeProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; @@ -44,7 +43,9 @@ public SystemData systemData() { } /** - * Get the path property: path Path to the subvolume. + * Get the path property: path + * + *

Path to the subvolume. * * @return the path value. */ @@ -53,7 +54,9 @@ public String path() { } /** - * Set the path property: path Path to the subvolume. + * Set the path property: path + * + *

Path to the subvolume. * * @param path the path value to set. * @return the SubvolumeInfoInner object itself. @@ -67,7 +70,9 @@ public SubvolumeInfoInner withPath(String path) { } /** - * Get the size property: size Truncate subvolume to the provided size in bytes. + * Get the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @return the size value. */ @@ -76,7 +81,9 @@ public Long size() { } /** - * Set the size property: size Truncate subvolume to the provided size in bytes. + * Set the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @param size the size value to set. * @return the SubvolumeInfoInner object itself. @@ -90,7 +97,9 @@ public SubvolumeInfoInner withSize(Long size) { } /** - * Get the parentPath property: name parent path to the subvolume. + * Get the parentPath property: name + * + *

parent path to the subvolume. * * @return the parentPath value. */ @@ -99,7 +108,9 @@ public String parentPath() { } /** - * Set the parentPath property: name parent path to the subvolume. + * Set the parentPath property: name + * + *

parent path to the subvolume. * * @param parentPath the parentPath value to set. * @return the SubvolumeInfoInner object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelInner.java index e7203d37283d..43eed355a1b8 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelInner.java @@ -72,7 +72,9 @@ private SubvolumeModelProperties innerProperties() { } /** - * Get the path property: path Path to the subvolume. + * Get the path property: path + * + *

Path to the subvolume. * * @return the path value. */ @@ -81,7 +83,9 @@ public String path() { } /** - * Set the path property: path Path to the subvolume. + * Set the path property: path + * + *

Path to the subvolume. * * @param path the path value to set. * @return the SubvolumeModelInner object itself. @@ -95,7 +99,9 @@ public SubvolumeModelInner withPath(String path) { } /** - * Get the parentPath property: parentpath Path to the parent subvolume. + * Get the parentPath property: parentpath + * + *

Path to the parent subvolume. * * @return the parentPath value. */ @@ -104,7 +110,9 @@ public String parentPath() { } /** - * Set the parentPath property: parentpath Path to the parent subvolume. + * Set the parentPath property: parentpath + * + *

Path to the parent subvolume. * * @param parentPath the parentPath value to set. * @return the SubvolumeModelInner object itself. @@ -118,7 +126,9 @@ public SubvolumeModelInner withParentPath(String parentPath) { } /** - * Get the size property: size Size of subvolume. + * Get the size property: size + * + *

Size of subvolume. * * @return the size value. */ @@ -127,7 +137,9 @@ public Long size() { } /** - * Set the size property: size Size of subvolume. + * Set the size property: size + * + *

Size of subvolume. * * @param size the size value to set. * @return the SubvolumeModelInner object itself. @@ -141,7 +153,9 @@ public SubvolumeModelInner withSize(Long size) { } /** - * Get the bytesUsed property: bytesUsed Bytes used. + * Get the bytesUsed property: bytesUsed + * + *

Bytes used. * * @return the bytesUsed value. */ @@ -150,7 +164,9 @@ public Long bytesUsed() { } /** - * Set the bytesUsed property: bytesUsed Bytes used. + * Set the bytesUsed property: bytesUsed + * + *

Bytes used. * * @param bytesUsed the bytesUsed value to set. * @return the SubvolumeModelInner object itself. @@ -164,7 +180,9 @@ public SubvolumeModelInner withBytesUsed(Long bytesUsed) { } /** - * Get the permissions property: permissions Permissions of the subvolume. + * Get the permissions property: permissions + * + *

Permissions of the subvolume. * * @return the permissions value. */ @@ -173,7 +191,9 @@ public String permissions() { } /** - * Set the permissions property: permissions Permissions of the subvolume. + * Set the permissions property: permissions + * + *

Permissions of the subvolume. * * @param permissions the permissions value to set. * @return the SubvolumeModelInner object itself. @@ -187,7 +207,9 @@ public SubvolumeModelInner withPermissions(String permissions) { } /** - * Get the creationTimestamp property: creationTimeStamp Creation time and date. + * Get the creationTimestamp property: creationTimeStamp + * + *

Creation time and date. * * @return the creationTimestamp value. */ @@ -196,7 +218,9 @@ public OffsetDateTime creationTimestamp() { } /** - * Set the creationTimestamp property: creationTimeStamp Creation time and date. + * Set the creationTimestamp property: creationTimeStamp + * + *

Creation time and date. * * @param creationTimestamp the creationTimestamp value to set. * @return the SubvolumeModelInner object itself. @@ -210,7 +234,9 @@ public SubvolumeModelInner withCreationTimestamp(OffsetDateTime creationTimestam } /** - * Get the accessedTimestamp property: accessedTimeStamp Most recent access time and date. + * Get the accessedTimestamp property: accessedTimeStamp + * + *

Most recent access time and date. * * @return the accessedTimestamp value. */ @@ -219,7 +245,9 @@ public OffsetDateTime accessedTimestamp() { } /** - * Set the accessedTimestamp property: accessedTimeStamp Most recent access time and date. + * Set the accessedTimestamp property: accessedTimeStamp + * + *

Most recent access time and date. * * @param accessedTimestamp the accessedTimestamp value to set. * @return the SubvolumeModelInner object itself. @@ -233,7 +261,9 @@ public SubvolumeModelInner withAccessedTimestamp(OffsetDateTime accessedTimestam } /** - * Get the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date. + * Get the modifiedTimestamp property: modifiedTimeStamp + * + *

Most recent modification time and date. * * @return the modifiedTimestamp value. */ @@ -242,7 +272,9 @@ public OffsetDateTime modifiedTimestamp() { } /** - * Set the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date. + * Set the modifiedTimestamp property: modifiedTimeStamp + * + *

Most recent modification time and date. * * @param modifiedTimestamp the modifiedTimestamp value to set. * @return the SubvolumeModelInner object itself. @@ -256,7 +288,9 @@ public SubvolumeModelInner withModifiedTimestamp(OffsetDateTime modifiedTimestam } /** - * Get the changedTimestamp property: changedTimeStamp Most recent change time and date. + * Get the changedTimestamp property: changedTimeStamp + * + *

Most recent change time and date. * * @return the changedTimestamp value. */ @@ -265,7 +299,9 @@ public OffsetDateTime changedTimestamp() { } /** - * Set the changedTimestamp property: changedTimeStamp Most recent change time and date. + * Set the changedTimestamp property: changedTimeStamp + * + *

Most recent change time and date. * * @param changedTimestamp the changedTimestamp value to set. * @return the SubvolumeModelInner object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelProperties.java index a81a51fa61da..1885be3c0c20 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeModelProperties.java @@ -12,55 +12,73 @@ @Fluent public final class SubvolumeModelProperties { /* - * path Path to the subvolume + * path + * + * Path to the subvolume */ @JsonProperty(value = "path") private String path; /* - * parentpath Path to the parent subvolume + * parentpath + * + * Path to the parent subvolume */ @JsonProperty(value = "parentPath") private String parentPath; /* - * size Size of subvolume + * size + * + * Size of subvolume */ @JsonProperty(value = "size") private Long size; /* - * bytesUsed Bytes used + * bytesUsed + * + * Bytes used */ @JsonProperty(value = "bytesUsed") private Long bytesUsed; /* - * permissions Permissions of the subvolume + * permissions + * + * Permissions of the subvolume */ @JsonProperty(value = "permissions") private String permissions; /* - * creationTimeStamp Creation time and date + * creationTimeStamp + * + * Creation time and date */ @JsonProperty(value = "creationTimeStamp") private OffsetDateTime creationTimestamp; /* - * accessedTimeStamp Most recent access time and date + * accessedTimeStamp + * + * Most recent access time and date */ @JsonProperty(value = "accessedTimeStamp") private OffsetDateTime accessedTimestamp; /* - * modifiedTimeStamp Most recent modification time and date + * modifiedTimeStamp + * + * Most recent modification time and date */ @JsonProperty(value = "modifiedTimeStamp") private OffsetDateTime modifiedTimestamp; /* - * changedTimeStamp Most recent change time and date + * changedTimeStamp + * + * Most recent change time and date */ @JsonProperty(value = "changedTimeStamp") private OffsetDateTime changedTimestamp; @@ -72,7 +90,9 @@ public final class SubvolumeModelProperties { private String provisioningState; /** - * Get the path property: path Path to the subvolume. + * Get the path property: path + * + *

Path to the subvolume. * * @return the path value. */ @@ -81,7 +101,9 @@ public String path() { } /** - * Set the path property: path Path to the subvolume. + * Set the path property: path + * + *

Path to the subvolume. * * @param path the path value to set. * @return the SubvolumeModelProperties object itself. @@ -92,7 +114,9 @@ public SubvolumeModelProperties withPath(String path) { } /** - * Get the parentPath property: parentpath Path to the parent subvolume. + * Get the parentPath property: parentpath + * + *

Path to the parent subvolume. * * @return the parentPath value. */ @@ -101,7 +125,9 @@ public String parentPath() { } /** - * Set the parentPath property: parentpath Path to the parent subvolume. + * Set the parentPath property: parentpath + * + *

Path to the parent subvolume. * * @param parentPath the parentPath value to set. * @return the SubvolumeModelProperties object itself. @@ -112,7 +138,9 @@ public SubvolumeModelProperties withParentPath(String parentPath) { } /** - * Get the size property: size Size of subvolume. + * Get the size property: size + * + *

Size of subvolume. * * @return the size value. */ @@ -121,7 +149,9 @@ public Long size() { } /** - * Set the size property: size Size of subvolume. + * Set the size property: size + * + *

Size of subvolume. * * @param size the size value to set. * @return the SubvolumeModelProperties object itself. @@ -132,7 +162,9 @@ public SubvolumeModelProperties withSize(Long size) { } /** - * Get the bytesUsed property: bytesUsed Bytes used. + * Get the bytesUsed property: bytesUsed + * + *

Bytes used. * * @return the bytesUsed value. */ @@ -141,7 +173,9 @@ public Long bytesUsed() { } /** - * Set the bytesUsed property: bytesUsed Bytes used. + * Set the bytesUsed property: bytesUsed + * + *

Bytes used. * * @param bytesUsed the bytesUsed value to set. * @return the SubvolumeModelProperties object itself. @@ -152,7 +186,9 @@ public SubvolumeModelProperties withBytesUsed(Long bytesUsed) { } /** - * Get the permissions property: permissions Permissions of the subvolume. + * Get the permissions property: permissions + * + *

Permissions of the subvolume. * * @return the permissions value. */ @@ -161,7 +197,9 @@ public String permissions() { } /** - * Set the permissions property: permissions Permissions of the subvolume. + * Set the permissions property: permissions + * + *

Permissions of the subvolume. * * @param permissions the permissions value to set. * @return the SubvolumeModelProperties object itself. @@ -172,7 +210,9 @@ public SubvolumeModelProperties withPermissions(String permissions) { } /** - * Get the creationTimestamp property: creationTimeStamp Creation time and date. + * Get the creationTimestamp property: creationTimeStamp + * + *

Creation time and date. * * @return the creationTimestamp value. */ @@ -181,7 +221,9 @@ public OffsetDateTime creationTimestamp() { } /** - * Set the creationTimestamp property: creationTimeStamp Creation time and date. + * Set the creationTimestamp property: creationTimeStamp + * + *

Creation time and date. * * @param creationTimestamp the creationTimestamp value to set. * @return the SubvolumeModelProperties object itself. @@ -192,7 +234,9 @@ public SubvolumeModelProperties withCreationTimestamp(OffsetDateTime creationTim } /** - * Get the accessedTimestamp property: accessedTimeStamp Most recent access time and date. + * Get the accessedTimestamp property: accessedTimeStamp + * + *

Most recent access time and date. * * @return the accessedTimestamp value. */ @@ -201,7 +245,9 @@ public OffsetDateTime accessedTimestamp() { } /** - * Set the accessedTimestamp property: accessedTimeStamp Most recent access time and date. + * Set the accessedTimestamp property: accessedTimeStamp + * + *

Most recent access time and date. * * @param accessedTimestamp the accessedTimestamp value to set. * @return the SubvolumeModelProperties object itself. @@ -212,7 +258,9 @@ public SubvolumeModelProperties withAccessedTimestamp(OffsetDateTime accessedTim } /** - * Get the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date. + * Get the modifiedTimestamp property: modifiedTimeStamp + * + *

Most recent modification time and date. * * @return the modifiedTimestamp value. */ @@ -221,7 +269,9 @@ public OffsetDateTime modifiedTimestamp() { } /** - * Set the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date. + * Set the modifiedTimestamp property: modifiedTimeStamp + * + *

Most recent modification time and date. * * @param modifiedTimestamp the modifiedTimestamp value to set. * @return the SubvolumeModelProperties object itself. @@ -232,7 +282,9 @@ public SubvolumeModelProperties withModifiedTimestamp(OffsetDateTime modifiedTim } /** - * Get the changedTimestamp property: changedTimeStamp Most recent change time and date. + * Get the changedTimestamp property: changedTimeStamp + * + *

Most recent change time and date. * * @return the changedTimestamp value. */ @@ -241,7 +293,9 @@ public OffsetDateTime changedTimestamp() { } /** - * Set the changedTimestamp property: changedTimeStamp Most recent change time and date. + * Set the changedTimestamp property: changedTimeStamp + * + *

Most recent change time and date. * * @param changedTimestamp the changedTimestamp value to set. * @return the SubvolumeModelProperties object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumePatchParams.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumePatchParams.java index 70603a89eef2..9e1943b0020c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumePatchParams.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumePatchParams.java @@ -11,19 +11,25 @@ @Fluent public final class SubvolumePatchParams { /* - * size Truncate subvolume to the provided size in bytes + * size + * + * Truncate subvolume to the provided size in bytes */ @JsonProperty(value = "size") private Long size; /* - * path path to the subvolume + * path + * + * path to the subvolume */ @JsonProperty(value = "path") private String path; /** - * Get the size property: size Truncate subvolume to the provided size in bytes. + * Get the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @return the size value. */ @@ -32,7 +38,9 @@ public Long size() { } /** - * Set the size property: size Truncate subvolume to the provided size in bytes. + * Set the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @param size the size value to set. * @return the SubvolumePatchParams object itself. @@ -43,7 +51,9 @@ public SubvolumePatchParams withSize(Long size) { } /** - * Get the path property: path path to the subvolume. + * Get the path property: path + * + *

path to the subvolume. * * @return the path value. */ @@ -52,7 +62,9 @@ public String path() { } /** - * Set the path property: path path to the subvolume. + * Set the path property: path + * + *

path to the subvolume. * * @param path the path value to set. * @return the SubvolumePatchParams object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeProperties.java index 3694df6f18c3..c2dd240f5286 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/SubvolumeProperties.java @@ -11,19 +11,25 @@ @Fluent public final class SubvolumeProperties { /* - * path Path to the subvolume + * path + * + * Path to the subvolume */ @JsonProperty(value = "path") private String path; /* - * size Truncate subvolume to the provided size in bytes + * size + * + * Truncate subvolume to the provided size in bytes */ @JsonProperty(value = "size") private Long size; /* - * name parent path to the subvolume + * name + * + * parent path to the subvolume */ @JsonProperty(value = "parentPath") private String parentPath; @@ -35,7 +41,9 @@ public final class SubvolumeProperties { private String provisioningState; /** - * Get the path property: path Path to the subvolume. + * Get the path property: path + * + *

Path to the subvolume. * * @return the path value. */ @@ -44,7 +52,9 @@ public String path() { } /** - * Set the path property: path Path to the subvolume. + * Set the path property: path + * + *

Path to the subvolume. * * @param path the path value to set. * @return the SubvolumeProperties object itself. @@ -55,7 +65,9 @@ public SubvolumeProperties withPath(String path) { } /** - * Get the size property: size Truncate subvolume to the provided size in bytes. + * Get the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @return the size value. */ @@ -64,7 +76,9 @@ public Long size() { } /** - * Set the size property: size Truncate subvolume to the provided size in bytes. + * Set the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @param size the size value to set. * @return the SubvolumeProperties object itself. @@ -75,7 +89,9 @@ public SubvolumeProperties withSize(Long size) { } /** - * Get the parentPath property: name parent path to the subvolume. + * Get the parentPath property: name + * + *

parent path to the subvolume. * * @return the parentPath value. */ @@ -84,7 +100,9 @@ public String parentPath() { } /** - * Set the parentPath property: name parent path to the subvolume. + * Set the parentPath property: name + * + *

parent path to the subvolume. * * @param parentPath the parentPath value to set. * @return the SubvolumeProperties object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultInner.java index b7947496a06e..1674295c1526 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VaultInner.java @@ -12,38 +12,12 @@ /** Vault information. */ @Fluent public final class VaultInner extends ProxyResource { - /* - * Resource location - */ - @JsonProperty(value = "location", required = true) - private String location; - /* * Vault Properties */ @JsonProperty(value = "properties", required = true) private VaultProperties innerProperties = new VaultProperties(); - /** - * Get the location property: Resource location. - * - * @return the location value. - */ - public String location() { - return this.location; - } - - /** - * Set the location property: Resource location. - * - * @param location the location value to set. - * @return the VaultInner object itself. - */ - public VaultInner withLocation(String location) { - this.location = location; - return this; - } - /** * Get the innerProperties property: Vault Properties. * @@ -82,11 +56,6 @@ public VaultInner withVaultName(String vaultName) { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (location() == null) { - throw LOGGER - .logExceptionAsError( - new IllegalArgumentException("Missing required property location in model VaultInner")); - } if (innerProperties() == null) { throw LOGGER .logExceptionAsError( 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 231e9b028311..ea01a5a10d5d 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 @@ -15,6 +15,8 @@ import com.azure.resourcemanager.netapp.models.PlacementKeyValuePairs; import com.azure.resourcemanager.netapp.models.SecurityStyle; 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.VolumePropertiesDataProtection; import com.azure.resourcemanager.netapp.models.VolumePropertiesExportPolicy; import com.azure.resourcemanager.netapp.models.VolumeStorageToNetworkProximity; @@ -44,8 +46,7 @@ public final class VolumeInner extends Resource { private VolumeProperties innerProperties = new VolumeProperties(); /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; @@ -112,7 +113,9 @@ public VolumeInner withTags(Map tags) { } /** - * Get the fileSystemId property: FileSystem ID Unique FileSystem Identifier. + * Get the fileSystemId property: FileSystem ID + * + *

Unique FileSystem Identifier. * * @return the fileSystemId value. */ @@ -121,8 +124,9 @@ public String fileSystemId() { } /** - * Get the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating - * mount targets. + * Get the creationToken property: Creation Token or File Path + * + *

A unique file path for the volume. Used when creating mount targets. * * @return the creationToken value. */ @@ -131,8 +135,9 @@ public String creationToken() { } /** - * Set the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating - * mount targets. + * Set the creationToken property: Creation Token or File Path + * + *

A unique file path for the volume. Used when creating mount targets. * * @param creationToken the creationToken value to set. * @return the VolumeInner object itself. @@ -146,7 +151,9 @@ public VolumeInner withCreationToken(String creationToken) { } /** - * Get the serviceLevel property: serviceLevel The service level of the file system. + * Get the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ @@ -155,7 +162,9 @@ public ServiceLevel serviceLevel() { } /** - * Set the serviceLevel property: serviceLevel The service level of the file system. + * Set the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @param serviceLevel the serviceLevel value to set. * @return the VolumeInner object itself. @@ -169,8 +178,10 @@ public VolumeInner withServiceLevel(ServiceLevel serviceLevel) { } /** - * Get the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Get the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @return the usageThreshold value. */ @@ -179,8 +190,10 @@ public long usageThreshold() { } /** - * Set the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Set the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @param usageThreshold the usageThreshold value to set. * @return the VolumeInner object itself. @@ -194,7 +207,9 @@ public VolumeInner withUsageThreshold(long usageThreshold) { } /** - * Get the exportPolicy property: exportPolicy Set of export policy rules. + * Get the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @return the exportPolicy value. */ @@ -203,7 +218,9 @@ public VolumePropertiesExportPolicy exportPolicy() { } /** - * Set the exportPolicy property: exportPolicy Set of export policy rules. + * Set the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @param exportPolicy the exportPolicy value to set. * @return the VolumeInner object itself. @@ -217,7 +234,9 @@ public VolumeInner withExportPolicy(VolumePropertiesExportPolicy exportPolicy) { } /** - * Get the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol. + * Get the protocolTypes property: protocolTypes + * + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. * * @return the protocolTypes value. */ @@ -226,7 +245,9 @@ public List protocolTypes() { } /** - * Set the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol. + * Set the protocolTypes property: protocolTypes + * + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. * * @param protocolTypes the protocolTypes value to set. * @return the VolumeInner object itself. @@ -249,7 +270,9 @@ public String provisioningState() { } /** - * Get the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot. + * Get the snapshotId property: Snapshot ID + * + *

UUID v4 or resource identifier used to identify the Snapshot. * * @return the snapshotId value. */ @@ -258,7 +281,9 @@ public String snapshotId() { } /** - * Set the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot. + * Set the snapshotId property: Snapshot ID + * + *

UUID v4 or resource identifier used to identify the Snapshot. * * @param snapshotId the snapshotId value to set. * @return the VolumeInner object itself. @@ -272,7 +297,34 @@ public VolumeInner withSnapshotId(String snapshotId) { } /** - * Get the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup. + * Get the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be + * automatically deleted after the volume create operation has finished. Defaults to false. + * + * @return the deleteBaseSnapshot value. + */ + public Boolean deleteBaseSnapshot() { + return this.innerProperties() == null ? null : this.innerProperties().deleteBaseSnapshot(); + } + + /** + * Set the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be + * automatically deleted after the volume create operation has finished. Defaults to false. + * + * @param deleteBaseSnapshot the deleteBaseSnapshot value to set. + * @return the VolumeInner object itself. + */ + public VolumeInner withDeleteBaseSnapshot(Boolean deleteBaseSnapshot) { + if (this.innerProperties() == null) { + this.innerProperties = new VolumeProperties(); + } + this.innerProperties().withDeleteBaseSnapshot(deleteBaseSnapshot); + return this; + } + + /** + * Get the backupId property: Backup ID + * + *

UUID v4 or resource identifier used to identify the Backup. * * @return the backupId value. */ @@ -281,7 +333,9 @@ public String backupId() { } /** - * Set the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup. + * Set the backupId property: Backup ID + * + *

UUID v4 or resource identifier used to identify the Backup. * * @param backupId the backupId value to set. * @return the VolumeInner object itself. @@ -295,7 +349,9 @@ public VolumeInner withBackupId(String backupId) { } /** - * Get the baremetalTenantId property: Baremetal Tenant ID Unique Baremetal Tenant Identifier. + * Get the baremetalTenantId property: Baremetal Tenant ID + * + *

Unique Baremetal Tenant Identifier. * * @return the baremetalTenantId value. */ @@ -329,7 +385,9 @@ public VolumeInner withSubnetId(String subnetId) { } /** - * Get the networkFeatures property: Network features Basic network, or Standard features available to the volume. + * Get the networkFeatures property: Network features + * + *

Basic network, or Standard features available to the volume. * * @return the networkFeatures value. */ @@ -338,7 +396,9 @@ public NetworkFeatures networkFeatures() { } /** - * Set the networkFeatures property: Network features Basic network, or Standard features available to the volume. + * Set the networkFeatures property: Network features + * + *

Basic network, or Standard features available to the volume. * * @param networkFeatures the networkFeatures value to set. * @return the VolumeInner object itself. @@ -352,8 +412,9 @@ public VolumeInner withNetworkFeatures(NetworkFeatures networkFeatures) { } /** - * Get the networkSiblingSetId property: Network Sibling Set ID Network Sibling Set ID for the the group of volumes - * sharing networking resources. + * Get the networkSiblingSetId property: Network Sibling Set ID + * + *

Network Sibling Set ID for the the group of volumes sharing networking resources. * * @return the networkSiblingSetId value. */ @@ -362,8 +423,9 @@ public String networkSiblingSetId() { } /** - * Get the storageToNetworkProximity property: Storage to Network Proximity Provides storage to network proximity - * information for the volume. + * Get the storageToNetworkProximity property: Storage to Network Proximity + * + *

Provides storage to network proximity information for the volume. * * @return the storageToNetworkProximity value. */ @@ -372,7 +434,9 @@ public VolumeStorageToNetworkProximity storageToNetworkProximity() { } /** - * Get the mountTargets property: mountTargets List of mount targets. + * Get the mountTargets property: mountTargets + * + *

List of mount targets. * * @return the mountTargets value. */ @@ -406,8 +470,9 @@ public VolumeInner withVolumeType(String volumeType) { } /** - * Get the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Get the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @return the dataProtection value. */ @@ -416,8 +481,9 @@ public VolumePropertiesDataProtection dataProtection() { } /** - * Set the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Set the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @param dataProtection the dataProtection value to set. * @return the VolumeInner object itself. @@ -553,6 +619,60 @@ public VolumeInner withSmbEncryption(Boolean smbEncryption) { return this; } + /** + * Get the smbAccessBasedEnumeration property: smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @return the smbAccessBasedEnumeration value. + */ + public SmbAccessBasedEnumeration smbAccessBasedEnumeration() { + return this.innerProperties() == null ? null : this.innerProperties().smbAccessBasedEnumeration(); + } + + /** + * Set the smbAccessBasedEnumeration property: smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @param smbAccessBasedEnumeration the smbAccessBasedEnumeration value to set. + * @return the VolumeInner object itself. + */ + public VolumeInner withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration smbAccessBasedEnumeration) { + if (this.innerProperties() == null) { + this.innerProperties = new VolumeProperties(); + } + this.innerProperties().withSmbAccessBasedEnumeration(smbAccessBasedEnumeration); + return this; + } + + /** + * Get the smbNonBrowsable property: smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @return the smbNonBrowsable value. + */ + public SmbNonBrowsable smbNonBrowsable() { + return this.innerProperties() == null ? null : this.innerProperties().smbNonBrowsable(); + } + + /** + * Set the smbNonBrowsable property: smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @param smbNonBrowsable the smbNonBrowsable value to set. + * @return the VolumeInner object itself. + */ + public VolumeInner withSmbNonBrowsable(SmbNonBrowsable smbNonBrowsable) { + if (this.innerProperties() == null) { + this.innerProperties = new VolumeProperties(); + } + this.innerProperties().withSmbNonBrowsable(smbNonBrowsable); + return this; + } + /** * Get the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only * applicable for SMB volume. @@ -769,8 +889,9 @@ public Integer cloneProgress() { } /** - * Get the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution - * (AVS) datastore purpose. + * Get the avsDataStore property: avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * * @return the avsDataStore value. */ @@ -779,8 +900,9 @@ public AvsDataStore avsDataStore() { } /** - * Set the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution - * (AVS) datastore purpose. + * Set the avsDataStore property: avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * * @param avsDataStore the avsDataStore value to set. * @return the VolumeInner object itself. @@ -976,8 +1098,9 @@ public Boolean encrypted() { } /** - * Get the placementRules property: Volume placement rules Application specific placement rules for the particular - * volume. + * Get the placementRules property: Volume placement rules + * + *

Application specific placement rules for the particular volume. * * @return the placementRules value. */ @@ -986,8 +1109,9 @@ public List placementRules() { } /** - * Set the placementRules property: Volume placement rules Application specific placement rules for the particular - * volume. + * Set the placementRules property: Volume placement rules + * + *

Application specific placement rules for the particular volume. * * @param placementRules the placementRules value to set. * @return the VolumeInner object itself. 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 b7cd64c315ff..c8b40ca2a949 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 @@ -14,35 +14,41 @@ @Fluent public final class VolumePatchProperties { /* - * serviceLevel The service level of the file system + * serviceLevel + * + * The service level of the file system */ @JsonProperty(value = "serviceLevel") private ServiceLevel serviceLevel; /* - * usageThreshold Maximum storage quota allowed for a file system in bytes. - * This is a soft quota used for alerting only. Minimum size is 100 GiB. - * Upper limit is 100TiB. Specified in bytes. + * usageThreshold + * + * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. */ @JsonProperty(value = "usageThreshold") private Long usageThreshold; /* - * exportPolicy Set of export policy rules + * exportPolicy + * + * Set of export policy rules */ @JsonProperty(value = "exportPolicy") private VolumePatchPropertiesExportPolicy exportPolicy; /* - * Maximum throughput in Mibps that can be achieved by this volume and this - * will be accepted as input only for manual qosType volume + * Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for + * manual qosType volume */ @JsonProperty(value = "throughputMibps") private Float throughputMibps; /* - * DataProtection DataProtection type volumes include an object containing - * details of the replication + * DataProtection + * + * DataProtection type volumes include an object containing details of the replication */ @JsonProperty(value = "dataProtection") private VolumePatchPropertiesDataProtection dataProtection; @@ -54,27 +60,23 @@ public final class VolumePatchProperties { private Boolean isDefaultQuotaEnabled; /* - * Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, - * the minimum value of 4 KiBs applies . + * Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . */ @JsonProperty(value = "defaultUserQuotaInKiBs") private Long defaultUserQuotaInKiBs; /* - * Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, - * the minimum value of 4 KiBs applies. + * Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. */ @JsonProperty(value = "defaultGroupQuotaInKiBs") private Long defaultGroupQuotaInKiBs; /* - * UNIX permissions for NFS volume accepted in octal 4 digit format. First - * digit selects the set user ID(4), set group ID (2) and sticky (1) - * attributes. Second digit selects permission for the owner of the file: - * read (4), write (2) and execute (1). Third selects permissions for other - * users in the same group. the fourth for other users not in the group. - * 0755 - gives read/write/execute permissions to owner and read/execute to - * group and other users. + * UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set + * group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), + * write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other + * users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other + * users. */ @JsonProperty(value = "unixPermissions") private String unixPermissions; @@ -86,14 +88,15 @@ public final class VolumePatchProperties { private Boolean coolAccess; /* - * Specifies the number of days after which data that is not accessed by - * clients will be tiered. + * Specifies the number of days after which data that is not accessed by clients will be tiered. */ @JsonProperty(value = "coolnessPeriod") private Integer coolnessPeriod; /** - * Get the serviceLevel property: serviceLevel The service level of the file system. + * Get the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ @@ -102,7 +105,9 @@ public ServiceLevel serviceLevel() { } /** - * Set the serviceLevel property: serviceLevel The service level of the file system. + * Set the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @param serviceLevel the serviceLevel value to set. * @return the VolumePatchProperties object itself. @@ -113,8 +118,10 @@ public VolumePatchProperties withServiceLevel(ServiceLevel serviceLevel) { } /** - * Get the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Get the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @return the usageThreshold value. */ @@ -123,8 +130,10 @@ public Long usageThreshold() { } /** - * Set the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Set the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @param usageThreshold the usageThreshold value to set. * @return the VolumePatchProperties object itself. @@ -135,7 +144,9 @@ public VolumePatchProperties withUsageThreshold(Long usageThreshold) { } /** - * Get the exportPolicy property: exportPolicy Set of export policy rules. + * Get the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @return the exportPolicy value. */ @@ -144,7 +155,9 @@ public VolumePatchPropertiesExportPolicy exportPolicy() { } /** - * Set the exportPolicy property: exportPolicy Set of export policy rules. + * Set the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @param exportPolicy the exportPolicy value to set. * @return the VolumePatchProperties object itself. @@ -177,8 +190,9 @@ public VolumePatchProperties withThroughputMibps(Float throughputMibps) { } /** - * Get the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Get the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @return the dataProtection value. */ @@ -187,8 +201,9 @@ public VolumePatchPropertiesDataProtection dataProtection() { } /** - * Set the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Set the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @param dataProtection the dataProtection value to set. * @return the VolumePatchProperties object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeProperties.java index 683f76bb3a1f..4718a6c1a1da 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeProperties.java @@ -13,6 +13,8 @@ import com.azure.resourcemanager.netapp.models.PlacementKeyValuePairs; import com.azure.resourcemanager.netapp.models.SecurityStyle; 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.VolumePropertiesDataProtection; import com.azure.resourcemanager.netapp.models.VolumePropertiesExportPolicy; import com.azure.resourcemanager.netapp.models.VolumeStorageToNetworkProximity; @@ -23,41 +25,50 @@ @Fluent public final class VolumeProperties { /* - * FileSystem ID Unique FileSystem Identifier. + * FileSystem ID + * + * Unique FileSystem Identifier. */ @JsonProperty(value = "fileSystemId", access = JsonProperty.Access.WRITE_ONLY) private String fileSystemId; /* - * Creation Token or File Path A unique file path for the volume. Used when - * creating mount targets + * Creation Token or File Path + * + * A unique file path for the volume. Used when creating mount targets */ @JsonProperty(value = "creationToken", required = true) private String creationToken; /* - * serviceLevel The service level of the file system + * serviceLevel + * + * The service level of the file system */ @JsonProperty(value = "serviceLevel") private ServiceLevel serviceLevel; /* - * usageThreshold Maximum storage quota allowed for a file system in bytes. - * This is a soft quota used for alerting only. Minimum size is 100 GiB. - * Upper limit is 100TiB. Specified in bytes. + * usageThreshold + * + * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. */ @JsonProperty(value = "usageThreshold", required = true) private long usageThreshold; /* - * exportPolicy Set of export policy rules + * exportPolicy + * + * Set of export policy rules */ @JsonProperty(value = "exportPolicy") private VolumePropertiesExportPolicy exportPolicy; /* - * protocolTypes Set of protocol types, default NFSv3, CIFS for SMB - * protocol + * protocolTypes + * + * Set of protocol types, default NFSv3, CIFS for SMB protocol */ @JsonProperty(value = "protocolTypes") private List protocolTypes; @@ -69,68 +80,84 @@ public final class VolumeProperties { private String provisioningState; /* - * Snapshot ID UUID v4 or resource identifier used to identify the - * Snapshot. + * Snapshot ID + * + * UUID v4 or resource identifier used to identify the Snapshot. */ @JsonProperty(value = "snapshotId") private String snapshotId; /* - * Backup ID UUID v4 or resource identifier used to identify the Backup. + * If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create + * operation has finished. Defaults to false + */ + @JsonProperty(value = "deleteBaseSnapshot") + private Boolean deleteBaseSnapshot; + + /* + * Backup ID + * + * UUID v4 or resource identifier used to identify the Backup. */ @JsonProperty(value = "backupId") private String backupId; /* - * Baremetal Tenant ID Unique Baremetal Tenant Identifier. + * Baremetal Tenant ID + * + * Unique Baremetal Tenant Identifier. */ @JsonProperty(value = "baremetalTenantId", access = JsonProperty.Access.WRITE_ONLY) private String baremetalTenantId; /* - * The Azure Resource URI for a delegated subnet. Must have the delegation - * Microsoft.NetApp/volumes + * The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes */ @JsonProperty(value = "subnetId", required = true) private String subnetId; /* - * Network features Basic network, or Standard features available to the - * volume. + * Network features + * + * Basic network, or Standard features available to the volume. */ @JsonProperty(value = "networkFeatures") private NetworkFeatures networkFeatures; /* - * Network Sibling Set ID Network Sibling Set ID for the the group of - * volumes sharing networking resources. + * Network Sibling Set ID + * + * Network Sibling Set ID for the the group of volumes sharing networking resources. */ @JsonProperty(value = "networkSiblingSetId", access = JsonProperty.Access.WRITE_ONLY) private String networkSiblingSetId; /* - * Storage to Network Proximity Provides storage to network proximity - * information for the volume. + * Storage to Network Proximity + * + * Provides storage to network proximity information for the volume. */ @JsonProperty(value = "storageToNetworkProximity", access = JsonProperty.Access.WRITE_ONLY) private VolumeStorageToNetworkProximity storageToNetworkProximity; /* - * mountTargets List of mount targets + * mountTargets + * + * List of mount targets */ @JsonProperty(value = "mountTargets", access = JsonProperty.Access.WRITE_ONLY) private List mountTargets; /* - * What type of volume is this. For destination volumes in Cross Region - * Replication, set type to DataProtection + * What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection */ @JsonProperty(value = "volumeType") private String volumeType; /* - * DataProtection DataProtection type volumes include an object containing - * details of the replication + * DataProtection + * + * DataProtection type volumes include an object containing details of the replication */ @JsonProperty(value = "dataProtection") private VolumePropertiesDataProtection dataProtection; @@ -142,61 +169,70 @@ public final class VolumeProperties { private Boolean isRestoring; /* - * If enabled (true) the volume will contain a read-only snapshot directory - * which provides access to each of the volume's snapshots (default to - * true). + * If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the + * volume's snapshots (default to true). */ @JsonProperty(value = "snapshotDirectoryVisible") private Boolean snapshotDirectoryVisible; /* - * Describe if a volume is KerberosEnabled. To be use with swagger version - * 2020-05-01 or later + * Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later */ @JsonProperty(value = "kerberosEnabled") private Boolean kerberosEnabled; /* - * The security style of volume, default unix, defaults to ntfs for dual - * protocol or CIFS protocol + * The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol */ @JsonProperty(value = "securityStyle") private SecurityStyle securityStyle; /* - * Enables encryption for in-flight smb3 data. Only applicable for - * SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or - * later + * Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger + * version 2020-08-01 or later */ @JsonProperty(value = "smbEncryption") private Boolean smbEncryption; /* - * Enables continuously available share property for smb volume. Only - * applicable for SMB volume + * smbAccessBasedEnumeration + * + * Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + */ + @JsonProperty(value = "smbAccessBasedEnumeration") + private SmbAccessBasedEnumeration smbAccessBasedEnumeration; + + /* + * smbNonBrowsable + * + * Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + */ + @JsonProperty(value = "smbNonBrowsable") + private SmbNonBrowsable smbNonBrowsable; + + /* + * Enables continuously available share property for smb volume. Only applicable for SMB volume */ @JsonProperty(value = "smbContinuouslyAvailable") private Boolean smbContinuouslyAvailable; /* - * Maximum throughput in MiB/s that can be achieved by this volume and this - * will be accepted as input only for manual qosType volume + * Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for + * manual qosType volume */ @JsonProperty(value = "throughputMibps") private Float throughputMibps; /* - * Source of key used to encrypt data in volume. Applicable if NetApp - * account has encryption.keySource = 'Microsoft.KeyVault'. Possible values - * (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + * Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = + * 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' */ @JsonProperty(value = "encryptionKeySource") private EncryptionKeySource encryptionKeySource; /* - * The resource ID of private endpoint for KeyVault. It must reside in the - * same VNET as the volume. Only applicable if encryptionKeySource = - * 'Microsoft.KeyVault'. + * The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable + * if encryptionKeySource = 'Microsoft.KeyVault'. */ @JsonProperty(value = "keyVaultPrivateEndpointResourceId") private String keyVaultPrivateEndpointResourceId; @@ -214,36 +250,33 @@ public final class VolumeProperties { private Boolean coolAccess; /* - * Specifies the number of days after which data that is not accessed by - * clients will be tiered. + * Specifies the number of days after which data that is not accessed by clients will be tiered. */ @JsonProperty(value = "coolnessPeriod") private Integer coolnessPeriod; /* - * UNIX permissions for NFS volume accepted in octal 4 digit format. First - * digit selects the set user ID(4), set group ID (2) and sticky (1) - * attributes. Second digit selects permission for the owner of the file: - * read (4), write (2) and execute (1). Third selects permissions for other - * users in the same group. the fourth for other users not in the group. - * 0755 - gives read/write/execute permissions to owner and read/execute to - * group and other users. + * UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set + * group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), + * write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other + * users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other + * users. */ @JsonProperty(value = "unixPermissions") private String unixPermissions; /* - * When a volume is being restored from another volume's snapshot, will - * show the percentage completion of this cloning process. When this value - * is empty/null there is no cloning process currently happening on this - * volume. This value will update every 5 minutes during cloning. + * When a volume is being restored from another volume's snapshot, will show the percentage completion of this + * cloning process. When this value is empty/null there is no cloning process currently happening on this volume. + * This value will update every 5 minutes during cloning. */ @JsonProperty(value = "cloneProgress", access = JsonProperty.Access.WRITE_ONLY) private Integer cloneProgress; /* - * avsDataStore Specifies whether the volume is enabled for Azure VMware - * Solution (AVS) datastore purpose + * avsDataStore + * + * Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose */ @JsonProperty(value = "avsDataStore") private AvsDataStore avsDataStore; @@ -255,22 +288,20 @@ public final class VolumeProperties { private Boolean isDefaultQuotaEnabled; /* - * Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, - * the minimum value of 4 KiBs applies . + * Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . */ @JsonProperty(value = "defaultUserQuotaInKiBs") private Long defaultUserQuotaInKiBs; /* - * Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, - * the minimum value of 4 KiBs applies. + * Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. */ @JsonProperty(value = "defaultGroupQuotaInKiBs") private Long defaultGroupQuotaInKiBs; /* - * Maximum number of files allowed. Needs a service request in order to be - * changed. Only allowed to be changed if volume quota is more than 4TiB. + * Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if + * volume quota is more than 4TiB. */ @JsonProperty(value = "maximumNumberOfFiles", access = JsonProperty.Access.WRITE_ONLY) private Long maximumNumberOfFiles; @@ -300,22 +331,22 @@ public final class VolumeProperties { private String t2Network; /* - * Volume spec name is the application specific designation or identifier - * for the particular volume in a volume group for e.g. data, log + * Volume spec name is the application specific designation or identifier for the particular volume in a volume + * group for e.g. data, log */ @JsonProperty(value = "volumeSpecName") private String volumeSpecName; /* - * Specifies if the volume is encrypted or not. Only available on volumes - * created or updated after 2022-01-01. + * Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. */ @JsonProperty(value = "encrypted", access = JsonProperty.Access.WRITE_ONLY) private Boolean encrypted; /* - * Volume placement rules Application specific placement rules for the - * particular volume + * Volume placement rules + * + * Application specific placement rules for the particular volume */ @JsonProperty(value = "placementRules") private List placementRules; @@ -327,7 +358,9 @@ public final class VolumeProperties { private EnableSubvolumes enableSubvolumes; /** - * Get the fileSystemId property: FileSystem ID Unique FileSystem Identifier. + * Get the fileSystemId property: FileSystem ID + * + *

Unique FileSystem Identifier. * * @return the fileSystemId value. */ @@ -336,8 +369,9 @@ public String fileSystemId() { } /** - * Get the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating - * mount targets. + * Get the creationToken property: Creation Token or File Path + * + *

A unique file path for the volume. Used when creating mount targets. * * @return the creationToken value. */ @@ -346,8 +380,9 @@ public String creationToken() { } /** - * Set the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating - * mount targets. + * Set the creationToken property: Creation Token or File Path + * + *

A unique file path for the volume. Used when creating mount targets. * * @param creationToken the creationToken value to set. * @return the VolumeProperties object itself. @@ -358,7 +393,9 @@ public VolumeProperties withCreationToken(String creationToken) { } /** - * Get the serviceLevel property: serviceLevel The service level of the file system. + * Get the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ @@ -367,7 +404,9 @@ public ServiceLevel serviceLevel() { } /** - * Set the serviceLevel property: serviceLevel The service level of the file system. + * Set the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @param serviceLevel the serviceLevel value to set. * @return the VolumeProperties object itself. @@ -378,8 +417,10 @@ public VolumeProperties withServiceLevel(ServiceLevel serviceLevel) { } /** - * Get the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Get the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @return the usageThreshold value. */ @@ -388,8 +429,10 @@ public long usageThreshold() { } /** - * Set the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Set the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @param usageThreshold the usageThreshold value to set. * @return the VolumeProperties object itself. @@ -400,7 +443,9 @@ public VolumeProperties withUsageThreshold(long usageThreshold) { } /** - * Get the exportPolicy property: exportPolicy Set of export policy rules. + * Get the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @return the exportPolicy value. */ @@ -409,7 +454,9 @@ public VolumePropertiesExportPolicy exportPolicy() { } /** - * Set the exportPolicy property: exportPolicy Set of export policy rules. + * Set the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @param exportPolicy the exportPolicy value to set. * @return the VolumeProperties object itself. @@ -420,7 +467,9 @@ public VolumeProperties withExportPolicy(VolumePropertiesExportPolicy exportPoli } /** - * Get the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol. + * Get the protocolTypes property: protocolTypes + * + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. * * @return the protocolTypes value. */ @@ -429,7 +478,9 @@ public List protocolTypes() { } /** - * Set the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol. + * Set the protocolTypes property: protocolTypes + * + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. * * @param protocolTypes the protocolTypes value to set. * @return the VolumeProperties object itself. @@ -449,7 +500,9 @@ public String provisioningState() { } /** - * Get the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot. + * Get the snapshotId property: Snapshot ID + * + *

UUID v4 or resource identifier used to identify the Snapshot. * * @return the snapshotId value. */ @@ -458,7 +511,9 @@ public String snapshotId() { } /** - * Set the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot. + * Set the snapshotId property: Snapshot ID + * + *

UUID v4 or resource identifier used to identify the Snapshot. * * @param snapshotId the snapshotId value to set. * @return the VolumeProperties object itself. @@ -469,7 +524,31 @@ public VolumeProperties withSnapshotId(String snapshotId) { } /** - * Get the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup. + * Get the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be + * automatically deleted after the volume create operation has finished. Defaults to false. + * + * @return the deleteBaseSnapshot value. + */ + public Boolean deleteBaseSnapshot() { + return this.deleteBaseSnapshot; + } + + /** + * Set the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be + * automatically deleted after the volume create operation has finished. Defaults to false. + * + * @param deleteBaseSnapshot the deleteBaseSnapshot value to set. + * @return the VolumeProperties object itself. + */ + public VolumeProperties withDeleteBaseSnapshot(Boolean deleteBaseSnapshot) { + this.deleteBaseSnapshot = deleteBaseSnapshot; + return this; + } + + /** + * Get the backupId property: Backup ID + * + *

UUID v4 or resource identifier used to identify the Backup. * * @return the backupId value. */ @@ -478,7 +557,9 @@ public String backupId() { } /** - * Set the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup. + * Set the backupId property: Backup ID + * + *

UUID v4 or resource identifier used to identify the Backup. * * @param backupId the backupId value to set. * @return the VolumeProperties object itself. @@ -489,7 +570,9 @@ public VolumeProperties withBackupId(String backupId) { } /** - * Get the baremetalTenantId property: Baremetal Tenant ID Unique Baremetal Tenant Identifier. + * Get the baremetalTenantId property: Baremetal Tenant ID + * + *

Unique Baremetal Tenant Identifier. * * @return the baremetalTenantId value. */ @@ -520,7 +603,9 @@ public VolumeProperties withSubnetId(String subnetId) { } /** - * Get the networkFeatures property: Network features Basic network, or Standard features available to the volume. + * Get the networkFeatures property: Network features + * + *

Basic network, or Standard features available to the volume. * * @return the networkFeatures value. */ @@ -529,7 +614,9 @@ public NetworkFeatures networkFeatures() { } /** - * Set the networkFeatures property: Network features Basic network, or Standard features available to the volume. + * Set the networkFeatures property: Network features + * + *

Basic network, or Standard features available to the volume. * * @param networkFeatures the networkFeatures value to set. * @return the VolumeProperties object itself. @@ -540,8 +627,9 @@ public VolumeProperties withNetworkFeatures(NetworkFeatures networkFeatures) { } /** - * Get the networkSiblingSetId property: Network Sibling Set ID Network Sibling Set ID for the the group of volumes - * sharing networking resources. + * Get the networkSiblingSetId property: Network Sibling Set ID + * + *

Network Sibling Set ID for the the group of volumes sharing networking resources. * * @return the networkSiblingSetId value. */ @@ -550,8 +638,9 @@ public String networkSiblingSetId() { } /** - * Get the storageToNetworkProximity property: Storage to Network Proximity Provides storage to network proximity - * information for the volume. + * Get the storageToNetworkProximity property: Storage to Network Proximity + * + *

Provides storage to network proximity information for the volume. * * @return the storageToNetworkProximity value. */ @@ -560,7 +649,9 @@ public VolumeStorageToNetworkProximity storageToNetworkProximity() { } /** - * Get the mountTargets property: mountTargets List of mount targets. + * Get the mountTargets property: mountTargets + * + *

List of mount targets. * * @return the mountTargets value. */ @@ -591,8 +682,9 @@ public VolumeProperties withVolumeType(String volumeType) { } /** - * Get the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Get the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @return the dataProtection value. */ @@ -601,8 +693,9 @@ public VolumePropertiesDataProtection dataProtection() { } /** - * Set the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Set the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @param dataProtection the dataProtection value to set. * @return the VolumeProperties object itself. @@ -720,6 +813,54 @@ public VolumeProperties withSmbEncryption(Boolean smbEncryption) { return this; } + /** + * Get the smbAccessBasedEnumeration property: smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @return the smbAccessBasedEnumeration value. + */ + public SmbAccessBasedEnumeration smbAccessBasedEnumeration() { + return this.smbAccessBasedEnumeration; + } + + /** + * Set the smbAccessBasedEnumeration property: smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @param smbAccessBasedEnumeration the smbAccessBasedEnumeration value to set. + * @return the VolumeProperties object itself. + */ + public VolumeProperties withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration smbAccessBasedEnumeration) { + this.smbAccessBasedEnumeration = smbAccessBasedEnumeration; + return this; + } + + /** + * Get the smbNonBrowsable property: smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @return the smbNonBrowsable value. + */ + public SmbNonBrowsable smbNonBrowsable() { + return this.smbNonBrowsable; + } + + /** + * Set the smbNonBrowsable property: smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @param smbNonBrowsable the smbNonBrowsable value to set. + * @return the VolumeProperties object itself. + */ + public VolumeProperties withSmbNonBrowsable(SmbNonBrowsable smbNonBrowsable) { + this.smbNonBrowsable = smbNonBrowsable; + return this; + } + /** * Get the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only * applicable for SMB volume. @@ -912,8 +1053,9 @@ public Integer cloneProgress() { } /** - * Get the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution - * (AVS) datastore purpose. + * Get the avsDataStore property: avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * * @return the avsDataStore value. */ @@ -922,8 +1064,9 @@ public AvsDataStore avsDataStore() { } /** - * Set the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution - * (AVS) datastore purpose. + * Set the avsDataStore property: avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * * @param avsDataStore the avsDataStore value to set. * @return the VolumeProperties object itself. @@ -1098,8 +1241,9 @@ public Boolean encrypted() { } /** - * Get the placementRules property: Volume placement rules Application specific placement rules for the particular - * volume. + * Get the placementRules property: Volume placement rules + * + *

Application specific placement rules for the particular volume. * * @return the placementRules value. */ @@ -1108,8 +1252,9 @@ public List placementRules() { } /** - * Set the placementRules property: Volume placement rules Application specific placement rules for the particular - * volume. + * Set the placementRules property: Volume placement rules + * + *

Application specific placement rules for the particular volume. * * @param placementRules the placementRules value to set. * @return the VolumeProperties object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRuleInner.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRuleInner.java index a23a8f04f1a5..287e929f86c5 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRuleInner.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRuleInner.java @@ -22,8 +22,7 @@ public final class VolumeQuotaRuleInner extends Resource { private VolumeQuotaRulesProperties innerProperties; /* - * Azure Resource Manager metadata containing createdBy and modifiedBy - * information. + * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; @@ -93,7 +92,9 @@ public VolumeQuotaRuleInner withQuotaSizeInKiBs(Long quotaSizeInKiBs) { } /** - * Get the quotaType property: quotaType Type of quota. + * Get the quotaType property: quotaType + * + *

Type of quota. * * @return the quotaType value. */ @@ -102,7 +103,9 @@ public Type quotaType() { } /** - * Set the quotaType property: quotaType Type of quota. + * Set the quotaType property: quotaType + * + *

Type of quota. * * @param quotaType the quotaType value to set. * @return the VolumeQuotaRuleInner object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRulesProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRulesProperties.java index d77294e346fa..c1b86dd6ab9c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRulesProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/fluent/models/VolumeQuotaRulesProperties.java @@ -13,8 +13,7 @@ @Fluent public final class VolumeQuotaRulesProperties { /* - * Gets the status of the VolumeQuotaRule at the time the operation was - * called. + * Gets the status of the VolumeQuotaRule at the time the operation was called. */ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState; @@ -26,16 +25,16 @@ public final class VolumeQuotaRulesProperties { private Long quotaSizeInKiBs; /* - * quotaType Type of quota + * quotaType + * + * Type of quota */ @JsonProperty(value = "quotaType") private Type quotaType; /* - * UserID/GroupID/SID based on the quota target type. UserID and groupID - * can be found by running ‘id’ or ‘getent’ command for the user or group - * and SID can be found by running + * UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ + * command for the user or group and SID can be found by running */ @JsonProperty(value = "quotaTarget") private String quotaTarget; @@ -70,7 +69,9 @@ public VolumeQuotaRulesProperties withQuotaSizeInKiBs(Long quotaSizeInKiBs) { } /** - * Get the quotaType property: quotaType Type of quota. + * Get the quotaType property: quotaType + * + *

Type of quota. * * @return the quotaType value. */ @@ -79,7 +80,9 @@ public Type quotaType() { } /** - * Set the quotaType property: quotaType Type of quota. + * Set the quotaType property: quotaType + * + *

Type of quota. * * @param quotaType the quotaType value to set. * @return the VolumeQuotaRulesProperties object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsClientImpl.java index b9a6053fc7e5..0ccfde96c28a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountBackupsClientImpl.java @@ -110,7 +110,9 @@ Mono>> delete( } /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -161,7 +163,9 @@ private Mono> listSinglePageAsync(String resourceGrou } /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -211,7 +215,9 @@ private Mono> listSinglePageAsync( } /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -226,7 +232,9 @@ private PagedFlux listAsync(String resourceGroupName, String accoun } /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -242,7 +250,9 @@ private PagedFlux listAsync(String resourceGroupName, String accoun } /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -257,7 +267,9 @@ public PagedIterable list(String resourceGroupName, String accountN } /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -273,7 +285,9 @@ public PagedIterable list(String resourceGroupName, String accountN } /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -327,7 +341,9 @@ private Mono> getWithResponseAsync( } /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -379,7 +395,9 @@ private Mono> getWithResponseAsync( } /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -396,7 +414,9 @@ private Mono getAsync(String resourceGroupName, String accountName, } /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -412,7 +432,9 @@ public BackupInner get(String resourceGroupName, String accountName, String back } /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -430,7 +452,9 @@ public Response getWithResponse( } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -481,7 +505,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -530,7 +556,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -551,7 +579,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -574,7 +604,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -591,7 +623,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -609,7 +643,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -627,7 +663,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -646,7 +684,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -661,7 +701,9 @@ public void delete(String resourceGroupName, String accountName, String backupNa } /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsClientImpl.java index eebe4f4794e8..24fb5520004b 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsClientImpl.java @@ -14,6 +14,7 @@ import com.azure.core.annotation.HostParam; import com.azure.core.annotation.Patch; import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; import com.azure.core.annotation.Put; import com.azure.core.annotation.QueryParam; import com.azure.core.annotation.ReturnType; @@ -151,6 +152,19 @@ Mono>> update( @HeaderParam("Accept") String accept, Context context); + @Headers({"Accept: application/json;q=0.9", "Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp" + + "/netAppAccounts/{accountName}/renewCredentials") + @ExpectedResponses({200, 202}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> renewCredentials( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + Context context); + @Headers({"Content-Type: application/json"}) @Get("{nextLink}") @ExpectedResponses({200}) @@ -173,7 +187,9 @@ Mono> listNext( } /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp accounts in 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. @@ -218,7 +234,9 @@ private Mono> listSinglePageAsync() { } /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp accounts in the subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -262,7 +280,9 @@ private Mono> listSinglePageAsync(Context cont } /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp accounts in 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. @@ -275,7 +295,9 @@ private PagedFlux listAsync() { } /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp accounts in the subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -290,7 +312,9 @@ private PagedFlux listAsync(Context context) { } /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp accounts in 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. @@ -302,7 +326,9 @@ public PagedIterable list() { } /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp accounts in the subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -316,7 +342,9 @@ public PagedIterable list(Context context) { } /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -368,7 +396,9 @@ private Mono> listByResourceGroupSinglePageAsy } /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. @@ -419,7 +449,9 @@ private Mono> listByResourceGroupSinglePageAsy } /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -434,7 +466,9 @@ private PagedFlux listByResourceGroupAsync(String resourceGr } /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. @@ -451,7 +485,9 @@ private PagedFlux listByResourceGroupAsync(String resourceGr } /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -465,7 +501,9 @@ public PagedIterable listByResourceGroup(String resourceGrou } /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. @@ -480,7 +518,9 @@ public PagedIterable listByResourceGroup(String resourceGrou } /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -528,7 +568,9 @@ private Mono> getByResourceGroupWithResponseAsync( } /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -574,7 +616,9 @@ private Mono> getByResourceGroupWithResponseAsync( } /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -590,7 +634,9 @@ private Mono getByResourceGroupAsync(String resourceGroupNam } /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -605,7 +651,9 @@ public NetAppAccountInner getByResourceGroup(String resourceGroupName, String ac } /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -622,7 +670,9 @@ public Response getByResourceGroupWithResponse( } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -677,7 +727,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -730,7 +782,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -755,7 +809,9 @@ private PollerFlux, NetAppAccountInner> beginCrea } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -779,7 +835,9 @@ private PollerFlux, NetAppAccountInner> beginCrea } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -796,7 +854,9 @@ public SyncPoller, NetAppAccountInner> beginCreat } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -814,7 +874,9 @@ public SyncPoller, NetAppAccountInner> beginCreat } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -833,7 +895,9 @@ private Mono createOrUpdateAsync( } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -853,7 +917,9 @@ private Mono createOrUpdateAsync( } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -869,7 +935,9 @@ public NetAppAccountInner createOrUpdate(String resourceGroupName, String accoun } /** - * Create or update the specified NetApp account within the resource group. + * Create or update a NetApp account + * + *

Create or update the specified NetApp account within the resource group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -887,7 +955,9 @@ public NetAppAccountInner createOrUpdate( } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -932,7 +1002,9 @@ private Mono>> deleteWithResponseAsync(String resource } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -976,7 +1048,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -995,7 +1069,9 @@ private PollerFlux, Void> beginDeleteAsync(String resourceGroup } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1016,7 +1092,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1031,7 +1109,9 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1048,7 +1128,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1063,7 +1145,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName) { } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1081,7 +1165,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Con } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1095,7 +1181,9 @@ public void delete(String resourceGroupName, String accountName) { } /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1110,7 +1198,9 @@ public void delete(String resourceGroupName, String accountName, Context context } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1165,7 +1255,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1218,7 +1310,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1243,7 +1337,9 @@ private PollerFlux, NetAppAccountInner> beginUpda } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1266,7 +1362,9 @@ private PollerFlux, NetAppAccountInner> beginUpda } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1283,7 +1381,9 @@ public SyncPoller, NetAppAccountInner> beginUpdat } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1301,7 +1401,9 @@ public SyncPoller, NetAppAccountInner> beginUpdat } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1320,7 +1422,9 @@ private Mono updateAsync( } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1340,7 +1444,9 @@ private Mono updateAsync( } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1356,7 +1462,9 @@ public NetAppAccountInner update(String resourceGroupName, String accountName, N } /** - * Patch the specified NetApp account. + * Update a NetApp account + * + *

Patch the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1373,10 +1481,263 @@ public NetAppAccountInner update( return updateAsync(resourceGroupName, accountName, body, context).block(); } + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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>> renewCredentialsWithResponseAsync( + String resourceGroupName, String accountName) { + 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 (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + return FluxUtil + .withContext( + context -> + service + .renewCredentials( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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 Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> renewCredentialsWithResponseAsync( + String resourceGroupName, String accountName, Context context) { + 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 (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + context = this.client.mergeContext(context); + return service + .renewCredentials( + this.client.getEndpoint(), this.client.getSubscriptionId(), resourceGroupName, accountName, context); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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> beginRenewCredentialsAsync( + String resourceGroupName, String accountName) { + Mono>> mono = renewCredentialsWithResponseAsync(resourceGroupName, accountName); + return this + .client + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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 PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginRenewCredentialsAsync( + String resourceGroupName, String accountName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = + renewCredentialsWithResponseAsync(resourceGroupName, accountName, context); + return this + .client + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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> beginRenewCredentials(String resourceGroupName, String accountName) { + return beginRenewCredentialsAsync(resourceGroupName, accountName).getSyncPoller(); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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> beginRenewCredentials( + String resourceGroupName, String accountName, Context context) { + return beginRenewCredentialsAsync(resourceGroupName, accountName, context).getSyncPoller(); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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 renewCredentialsAsync(String resourceGroupName, String accountName) { + return beginRenewCredentialsAsync(resourceGroupName, accountName) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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 A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono renewCredentialsAsync(String resourceGroupName, String accountName, Context context) { + return beginRenewCredentialsAsync(resourceGroupName, accountName, context) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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 renewCredentials(String resourceGroupName, String accountName) { + renewCredentialsAsync(resourceGroupName, accountName).block(); + } + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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 renewCredentials(String resourceGroupName, String accountName, Context context) { + renewCredentialsAsync(resourceGroupName, accountName, context).block(); + } + /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. @@ -1413,7 +1774,8 @@ private Mono> listBySubscriptionNextSinglePage /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. @@ -1451,7 +1813,8 @@ private Mono> listBySubscriptionNextSinglePage /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. @@ -1487,7 +1850,8 @@ private Mono> listNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java index f697fea7b9c9..6ad43ff830c2 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/AccountsImpl.java @@ -79,6 +79,14 @@ public void delete(String resourceGroupName, String accountName, Context context this.serviceClient().delete(resourceGroupName, accountName, context); } + public void renewCredentials(String resourceGroupName, String accountName) { + this.serviceClient().renewCredentials(resourceGroupName, accountName); + } + + public void renewCredentials(String resourceGroupName, String accountName, Context context) { + this.serviceClient().renewCredentials(resourceGroupName, accountName, context); + } + public NetAppAccount getById(String id) { String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups"); if (resourceGroupName == null) { diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesClientImpl.java index 7f728ffda875..ac282d74f99a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupPoliciesClientImpl.java @@ -148,7 +148,9 @@ Mono>> delete( } /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -199,7 +201,9 @@ private Mono> listSinglePageAsync(String resour } /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -249,7 +253,9 @@ private Mono> listSinglePageAsync( } /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -264,7 +270,9 @@ private PagedFlux listAsync(String resourceGroupName, String } /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -280,7 +288,9 @@ private PagedFlux listAsync(String resourceGroupName, String } /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -295,7 +305,9 @@ public PagedIterable list(String resourceGroupName, String ac } /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -311,7 +323,9 @@ public PagedIterable list(String resourceGroupName, String ac } /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -365,7 +379,9 @@ private Mono> getWithResponseAsync( } /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -417,7 +433,9 @@ private Mono> getWithResponseAsync( } /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -434,7 +452,9 @@ private Mono getAsync(String resourceGroupName, String accoun } /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -450,7 +470,9 @@ public BackupPolicyInner get(String resourceGroupName, String accountName, Strin } /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -468,7 +490,9 @@ public Response getWithResponse( } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -529,7 +553,9 @@ private Mono>> createWithResponseAsync( } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -592,7 +618,9 @@ private Mono>> createWithResponseAsync( } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -619,7 +647,9 @@ private PollerFlux, BackupPolicyInner> beginCreate } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -648,7 +678,9 @@ private PollerFlux, BackupPolicyInner> beginCreate } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -666,7 +698,9 @@ public SyncPoller, BackupPolicyInner> beginCreate( } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -689,7 +723,9 @@ public SyncPoller, BackupPolicyInner> beginCreate( } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -709,7 +745,9 @@ private Mono createAsync( } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -734,7 +772,9 @@ private Mono createAsync( } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -752,7 +792,9 @@ public BackupPolicyInner create( } /** - * Create a backup policy for Netapp Account. + * Create a backup policy + * + *

Create a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -775,7 +817,9 @@ public BackupPolicyInner create( } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -836,7 +880,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -899,7 +945,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -926,7 +974,9 @@ private PollerFlux, BackupPolicyInner> beginUpdate } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -955,7 +1005,9 @@ private PollerFlux, BackupPolicyInner> beginUpdate } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -973,7 +1025,9 @@ public SyncPoller, BackupPolicyInner> beginUpdate( } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -996,7 +1050,9 @@ public SyncPoller, BackupPolicyInner> beginUpdate( } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1016,7 +1072,9 @@ private Mono updateAsync( } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1041,7 +1099,9 @@ private Mono updateAsync( } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1059,7 +1119,9 @@ public BackupPolicyInner update( } /** - * Patch a backup policy for Netapp Account. + * Patch a backup policy + * + *

Patch a backup policy for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1082,7 +1144,9 @@ public BackupPolicyInner update( } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1134,7 +1198,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1184,7 +1250,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1206,7 +1274,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1229,7 +1299,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1246,7 +1318,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1264,7 +1338,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1282,7 +1358,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1302,7 +1380,9 @@ private Mono deleteAsync( } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1317,7 +1397,9 @@ public void delete(String resourceGroupName, String accountName, String backupPo } /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsClientImpl.java index f60d7cf8972a..89a8ef72a75e 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/BackupsClientImpl.java @@ -193,7 +193,9 @@ Mono>> delete( } /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -252,7 +254,9 @@ private Mono> getStatusWithResponseAsync( } /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -309,7 +313,9 @@ private Mono> getStatusWithResponseAsync( } /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -328,7 +334,9 @@ private Mono getStatusAsync( } /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -346,7 +354,9 @@ public BackupStatusInner getStatus( } /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -365,7 +375,9 @@ public Response getStatusWithResponse( } /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -424,7 +436,9 @@ private Mono> getVolumeRestoreStatusWithResponseAsy } /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -481,7 +495,9 @@ private Mono> getVolumeRestoreStatusWithResponseAsy } /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -500,7 +516,9 @@ private Mono getVolumeRestoreStatusAsync( } /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -518,7 +536,9 @@ public RestoreStatusInner getVolumeRestoreStatus( } /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -538,7 +558,9 @@ public Response getVolumeRestoreStatusWithResponse( } /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -600,7 +622,9 @@ private Mono> listSinglePageAsync( } /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -660,7 +684,9 @@ private Mono> listSinglePageAsync( } /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -678,7 +704,9 @@ private PagedFlux listAsync( } /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -698,7 +726,9 @@ private PagedFlux listAsync( } /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -716,7 +746,9 @@ public PagedIterable list( } /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -735,7 +767,9 @@ public PagedIterable list( } /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -798,7 +832,9 @@ private Mono> getWithResponseAsync( } /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -864,7 +900,9 @@ private Mono> getWithResponseAsync( } /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -884,7 +922,9 @@ private Mono getAsync( } /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -903,7 +943,9 @@ public BackupInner get( } /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -928,7 +970,9 @@ public Response getWithResponse( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1003,7 +1047,9 @@ private Mono>> createWithResponseAsync( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1077,7 +1123,9 @@ private Mono>> createWithResponseAsync( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1107,7 +1155,9 @@ private PollerFlux, BackupInner> beginCreateAsync( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1140,7 +1190,9 @@ private PollerFlux, BackupInner> beginCreateAsync( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1165,7 +1217,9 @@ public SyncPoller, BackupInner> beginCreate( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1193,7 +1247,9 @@ public SyncPoller, BackupInner> beginCreate( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1220,7 +1276,9 @@ private Mono createAsync( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1249,7 +1307,9 @@ private Mono createAsync( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1274,7 +1334,9 @@ public BackupInner create( } /** - * Create a backup for the volume. + * Create a backup + * + *

Create a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1301,7 +1363,9 @@ public BackupInner create( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1374,7 +1438,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1446,7 +1512,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1476,7 +1544,9 @@ private PollerFlux, BackupInner> beginUpdateAsync( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1509,7 +1579,9 @@ private PollerFlux, BackupInner> beginUpdateAsync( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1534,7 +1606,9 @@ public SyncPoller, BackupInner> beginUpdate( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1562,7 +1636,9 @@ public SyncPoller, BackupInner> beginUpdate( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1589,7 +1665,9 @@ private Mono updateAsync( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1611,7 +1689,9 @@ private Mono updateAsync( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1640,7 +1720,9 @@ private Mono updateAsync( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1665,7 +1747,9 @@ public BackupInner update( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1685,7 +1769,9 @@ public BackupInner update( } /** - * Patch a backup for the volume. + * Patch a backup + * + *

Patch a backup for the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1712,7 +1798,9 @@ public BackupInner update( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1773,7 +1861,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1837,7 +1927,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1861,7 +1953,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1891,7 +1985,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1910,7 +2006,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1936,7 +2034,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1957,7 +2057,9 @@ private Mono deleteAsync( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1984,7 +2086,9 @@ private Mono deleteAsync( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2002,7 +2106,9 @@ public void delete( } /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppAccountImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppAccountImpl.java index fc6c4bcff808..41073e6d330f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppAccountImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppAccountImpl.java @@ -9,6 +9,7 @@ import com.azure.resourcemanager.netapp.fluent.models.NetAppAccountInner; import com.azure.resourcemanager.netapp.models.AccountEncryption; import com.azure.resourcemanager.netapp.models.ActiveDirectory; +import com.azure.resourcemanager.netapp.models.Identity; import com.azure.resourcemanager.netapp.models.NetAppAccount; import com.azure.resourcemanager.netapp.models.NetAppAccountPatch; import java.util.Collections; @@ -49,6 +50,10 @@ public String etag() { return this.innerModel().etag(); } + public Identity identity() { + return this.innerModel().identity(); + } + public String provisioningState() { return this.innerModel().provisioningState(); } @@ -66,6 +71,10 @@ public AccountEncryption encryption() { return this.innerModel().encryption(); } + public Boolean disableShowmount() { + return this.innerModel().disableShowmount(); + } + public Region region() { return Region.fromName(this.regionName()); } @@ -169,6 +178,14 @@ public NetAppAccount refresh(Context context) { return this; } + public void renewCredentials() { + serviceManager.accounts().renewCredentials(resourceGroupName, accountName); + } + + public void renewCredentials(Context context) { + serviceManager.accounts().renewCredentials(resourceGroupName, accountName, context); + } + public NetAppAccountImpl withRegion(Region location) { this.innerModel().withLocation(location.toString()); return this; @@ -189,6 +206,11 @@ public NetAppAccountImpl withTags(Map tags) { } } + public NetAppAccountImpl withIdentity(Identity identity) { + this.innerModel().withIdentity(identity); + return this; + } + public NetAppAccountImpl withActiveDirectories(List activeDirectories) { if (isInCreateMode()) { this.innerModel().withActiveDirectories(activeDirectories); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppManagementClientBuilder.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppManagementClientBuilder.java index 0e16a59a86ca..8d6fb642c040 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppManagementClientBuilder.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppManagementClientBuilder.java @@ -18,9 +18,8 @@ @ServiceClientBuilder(serviceClients = {NetAppManagementClientImpl.class}) public final class NetAppManagementClientBuilder { /* - * Subscription credentials which uniquely identify Microsoft Azure - * subscription. The subscription ID forms part of the URI for every - * service call. + * Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of + * the URI for every service call. */ private String subscriptionId; @@ -122,24 +121,26 @@ public NetAppManagementClientBuilder serializerAdapter(SerializerAdapter seriali * @return an instance of NetAppManagementClientImpl. */ public NetAppManagementClientImpl buildClient() { - if (endpoint == null) { - this.endpoint = "https://management.azure.com"; - } - if (environment == null) { - this.environment = AzureEnvironment.AZURE; - } - if (pipeline == null) { - this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(); - } - if (defaultPollInterval == null) { - this.defaultPollInterval = Duration.ofSeconds(30); - } - if (serializerAdapter == null) { - this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter(); - } + String localEndpoint = (endpoint != null) ? endpoint : "https://management.azure.com"; + AzureEnvironment localEnvironment = (environment != null) ? environment : AzureEnvironment.AZURE; + HttpPipeline localPipeline = + (pipeline != null) + ? pipeline + : new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build(); + Duration localDefaultPollInterval = + (defaultPollInterval != null) ? defaultPollInterval : Duration.ofSeconds(30); + SerializerAdapter localSerializerAdapter = + (serializerAdapter != null) + ? serializerAdapter + : SerializerFactory.createDefaultManagementSerializerAdapter(); NetAppManagementClientImpl client = new NetAppManagementClientImpl( - pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint); + localPipeline, + localSerializerAdapter, + localDefaultPollInterval, + localEnvironment, + subscriptionId, + localEndpoint); return client; } } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppManagementClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppManagementClientImpl.java index 05a93471818b..1e30a53e12c0 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppManagementClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppManagementClientImpl.java @@ -329,7 +329,7 @@ public SubvolumesClient getSubvolumes() { this.defaultPollInterval = defaultPollInterval; this.subscriptionId = subscriptionId; this.endpoint = endpoint; - this.apiVersion = "2022-03-01"; + this.apiVersion = "2022-05-01"; this.operations = new OperationsClientImpl(this); this.netAppResources = new NetAppResourcesClientImpl(this); this.netAppResourceQuotaLimits = new NetAppResourceQuotaLimitsClientImpl(this); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsClientImpl.java index a1141ff8e3b7..695b1fa59418 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourceQuotaLimitsClientImpl.java @@ -87,7 +87,9 @@ Mono> get( } /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -133,7 +135,9 @@ private Mono> listSinglePageAsync(Stri } /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @param context The context to associate with this operation. @@ -177,7 +181,9 @@ private Mono> listSinglePageAsync(Stri } /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -191,7 +197,9 @@ private PagedFlux listAsync(String location) { } /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @param context The context to associate with this operation. @@ -206,7 +214,9 @@ private PagedFlux listAsync(String location, Context } /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -220,7 +230,9 @@ public PagedIterable list(String location) { } /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @param context The context to associate with this operation. @@ -235,7 +247,9 @@ public PagedIterable list(String location, Context c } /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. @@ -282,7 +296,9 @@ private Mono> getWithResponseAsync(String l } /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. @@ -328,7 +344,9 @@ private Mono> getWithResponseAsync( } /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. @@ -343,7 +361,9 @@ private Mono getAsync(String location, String quotaL } /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. @@ -358,7 +378,9 @@ public SubscriptionQuotaItemInner get(String location, String quotaLimitName) { } /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesClientImpl.java index c370b6e3eb17..01e362502983 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesClientImpl.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.BodyParam; 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; @@ -24,6 +25,7 @@ import com.azure.core.util.FluxUtil; import com.azure.resourcemanager.netapp.fluent.NetAppResourcesClient; import com.azure.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner; +import com.azure.resourcemanager.netapp.fluent.models.RegionInfoInner; import com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest; import com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest; import com.azure.resourcemanager.netapp.models.ResourceNameAvailabilityRequest; @@ -94,10 +96,24 @@ Mono> checkQuotaAvailability( @BodyParam("application/json") QuotaAvailabilityRequest body, @HeaderParam("Accept") String accept, Context context); + + @Headers({"Content-Type: application/json"}) + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> queryRegionInfo( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); } /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -147,7 +163,9 @@ private Mono> checkNameAvailabilityWith } /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -195,7 +213,9 @@ private Mono> checkNameAvailabilityWith } /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -211,7 +231,9 @@ private Mono checkNameAvailabilityAsync( } /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -226,7 +248,9 @@ public CheckAvailabilityResponseInner checkNameAvailability(String location, Res } /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -243,7 +267,9 @@ public Response checkNameAvailabilityWithRespons } /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -293,7 +319,9 @@ private Mono> checkFilePathAvailability } /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -341,7 +369,9 @@ private Mono> checkFilePathAvailability } /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -358,7 +388,9 @@ private Mono checkFilePathAvailabilityAsync( } /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -373,7 +405,9 @@ public CheckAvailabilityResponseInner checkFilePathAvailability(String location, } /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -390,7 +424,9 @@ public Response checkFilePathAvailabilityWithRes } /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -440,7 +476,9 @@ private Mono> checkQuotaAvailabilityWit } /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -488,7 +526,9 @@ private Mono> checkQuotaAvailabilityWit } /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -504,7 +544,9 @@ private Mono checkQuotaAvailabilityAsync( } /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -519,7 +561,9 @@ public CheckAvailabilityResponseInner checkQuotaAvailability(String location, Qu } /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -534,4 +578,139 @@ public Response checkQuotaAvailabilityWithRespon String location, QuotaAvailabilityRequest body, Context context) { return checkQuotaAvailabilityWithResponseAsync(location, body, context).block(); } + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @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 provides region specific information along with {@link Response} on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> queryRegionInfoWithResponseAsync(String location) { + 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 (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .queryRegionInfo( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + location, + this.client.getApiVersion(), + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @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 provides region specific information along with {@link Response} on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> queryRegionInfoWithResponseAsync(String location, Context context) { + 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 (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .queryRegionInfo( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + location, + this.client.getApiVersion(), + accept, + context); + } + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @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 provides region specific information on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono queryRegionInfoAsync(String location) { + return queryRegionInfoWithResponseAsync(location).flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @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 provides region specific information. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public RegionInfoInner queryRegionInfo(String location) { + return queryRegionInfoAsync(location).block(); + } + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @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 provides region specific information along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response queryRegionInfoWithResponse(String location, Context context) { + return queryRegionInfoWithResponseAsync(location, context).block(); + } } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesImpl.java index 4c128e3f9081..38ab975e18c9 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/NetAppResourcesImpl.java @@ -10,10 +10,12 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.netapp.fluent.NetAppResourcesClient; import com.azure.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner; +import com.azure.resourcemanager.netapp.fluent.models.RegionInfoInner; import com.azure.resourcemanager.netapp.models.CheckAvailabilityResponse; import com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest; import com.azure.resourcemanager.netapp.models.NetAppResources; import com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest; +import com.azure.resourcemanager.netapp.models.RegionInfo; import com.azure.resourcemanager.netapp.models.ResourceNameAvailabilityRequest; public final class NetAppResourcesImpl implements NetAppResources { @@ -101,6 +103,28 @@ public Response checkQuotaAvailabilityWithResponse( } } + public RegionInfo queryRegionInfo(String location) { + RegionInfoInner inner = this.serviceClient().queryRegionInfo(location); + if (inner != null) { + return new RegionInfoImpl(inner, this.manager()); + } else { + return null; + } + } + + public Response queryRegionInfoWithResponse(String location, Context context) { + Response inner = this.serviceClient().queryRegionInfoWithResponse(location, context); + if (inner != null) { + return new SimpleResponse<>( + inner.getRequest(), + inner.getStatusCode(), + inner.getHeaders(), + new RegionInfoImpl(inner.getValue(), this.manager())); + } else { + return null; + } + } + private NetAppResourcesClient serviceClient() { return this.innerClient; } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/OperationsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/OperationsClientImpl.java index e7202a1809b4..2e822db51d42 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/OperationsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/OperationsClientImpl.java @@ -67,7 +67,9 @@ Mono> list( } /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -94,7 +96,9 @@ private Mono> listSinglePageAsync() { } /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -122,7 +126,9 @@ private Mono> listSinglePageAsync(Context context) } /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -134,7 +140,9 @@ private PagedFlux listAsync() { } /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -148,7 +156,9 @@ private PagedFlux listAsync(Context context) { } /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -160,7 +170,9 @@ public PagedIterable list() { } /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsClientImpl.java index 344c700894eb..b6b6cb1b0be1 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/PoolsClientImpl.java @@ -157,7 +157,9 @@ Mono> listNext( } /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -214,7 +216,9 @@ private Mono> listSinglePageAsync(String resour } /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -270,7 +274,9 @@ private Mono> listSinglePageAsync( } /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -286,7 +292,9 @@ private PagedFlux listAsync(String resourceGroupName, String } /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -304,7 +312,9 @@ private PagedFlux listAsync(String resourceGroupName, String } /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -319,7 +329,9 @@ public PagedIterable list(String resourceGroupName, String ac } /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -335,7 +347,9 @@ public PagedIterable list(String resourceGroupName, String ac } /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -389,7 +403,9 @@ private Mono> getWithResponseAsync( } /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -441,7 +457,9 @@ private Mono> getWithResponseAsync( } /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -458,7 +476,9 @@ private Mono getAsync(String resourceGroupName, String accoun } /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -474,7 +494,9 @@ public CapacityPoolInner get(String resourceGroupName, String accountName, Strin } /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -492,7 +514,9 @@ public Response getWithResponse( } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -552,7 +576,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -610,7 +636,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -637,7 +665,9 @@ private PollerFlux, CapacityPoolInner> beginCreate } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -662,7 +692,9 @@ private PollerFlux, CapacityPoolInner> beginCreate } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -680,7 +712,9 @@ public SyncPoller, CapacityPoolInner> beginCreateO } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -699,7 +733,9 @@ public SyncPoller, CapacityPoolInner> beginCreateO } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -719,7 +755,9 @@ private Mono createOrUpdateAsync( } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -740,7 +778,9 @@ private Mono createOrUpdateAsync( } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -758,7 +798,9 @@ public CapacityPoolInner createOrUpdate( } /** - * Create or Update a capacity pool. + * Create or Update the specified capacity pool within the resource group + * + *

Create or Update a capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -777,7 +819,9 @@ public CapacityPoolInner createOrUpdate( } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -837,7 +881,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -895,7 +941,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -921,7 +969,9 @@ private PollerFlux, CapacityPoolInner> beginUpdate } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -946,7 +996,9 @@ private PollerFlux, CapacityPoolInner> beginUpdate } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -964,7 +1016,9 @@ public SyncPoller, CapacityPoolInner> beginUpdate( } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -983,7 +1037,9 @@ public SyncPoller, CapacityPoolInner> beginUpdate( } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1003,7 +1059,9 @@ private Mono updateAsync( } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1024,7 +1082,9 @@ private Mono updateAsync( } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1042,7 +1102,9 @@ public CapacityPoolInner update( } /** - * Patch the specified capacity pool. + * Update a capacity pool + * + *

Patch the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1061,7 +1123,9 @@ public CapacityPoolInner update( } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1112,7 +1176,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1161,7 +1227,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1182,7 +1250,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1205,7 +1275,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1222,7 +1294,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1240,7 +1314,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1258,7 +1334,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1277,7 +1355,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1292,7 +1372,9 @@ public void delete(String resourceGroupName, String accountName, String poolName } /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1310,7 +1392,8 @@ public void delete(String resourceGroupName, String accountName, String poolName /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. @@ -1346,7 +1429,8 @@ private Mono> listNextSinglePageAsync(String ne /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/RegionInfoImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/RegionInfoImpl.java new file mode 100644 index 000000000000..a4f49ff2fcb0 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/RegionInfoImpl.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.implementation; + +import com.azure.resourcemanager.netapp.fluent.models.RegionInfoInner; +import com.azure.resourcemanager.netapp.models.RegionInfo; +import com.azure.resourcemanager.netapp.models.RegionInfoAvailabilityZoneMappingsItem; +import com.azure.resourcemanager.netapp.models.RegionStorageToNetworkProximity; +import java.util.Collections; +import java.util.List; + +public final class RegionInfoImpl implements RegionInfo { + private RegionInfoInner innerObject; + + private final com.azure.resourcemanager.netapp.NetAppFilesManager serviceManager; + + RegionInfoImpl(RegionInfoInner innerObject, com.azure.resourcemanager.netapp.NetAppFilesManager serviceManager) { + this.innerObject = innerObject; + this.serviceManager = serviceManager; + } + + public RegionStorageToNetworkProximity storageToNetworkProximity() { + return this.innerModel().storageToNetworkProximity(); + } + + public List availabilityZoneMappings() { + List inner = this.innerModel().availabilityZoneMappings(); + if (inner != null) { + return Collections.unmodifiableList(inner); + } else { + return Collections.emptyList(); + } + } + + public RegionInfoInner innerModel() { + return this.innerObject; + } + + private com.azure.resourcemanager.netapp.NetAppFilesManager manager() { + return this.serviceManager; + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesClientImpl.java index a0395b597c63..fb95149c9d99 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotPoliciesClientImpl.java @@ -1228,7 +1228,9 @@ public void delete(String resourceGroupName, String accountName, String snapshot } /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1283,7 +1285,9 @@ private Mono> listVolumesWithResponseAsy } /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1336,7 +1340,9 @@ private Mono> listVolumesWithResponseAsy } /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1354,7 +1360,9 @@ private Mono listVolumesAsync( } /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1371,7 +1379,9 @@ public SnapshotPolicyVolumeListInner listVolumes( } /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsClientImpl.java index 1632149dd3e9..d343ba43cffd 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SnapshotsClientImpl.java @@ -182,7 +182,9 @@ Mono>> restoreFiles( } /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -244,7 +246,9 @@ private Mono> listSinglePageAsync( } /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -304,7 +308,9 @@ private Mono> listSinglePageAsync( } /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -322,7 +328,9 @@ private PagedFlux listAsync( } /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -342,7 +350,9 @@ private PagedFlux listAsync( } /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -360,7 +370,9 @@ public PagedIterable list( } /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -379,7 +391,9 @@ public PagedIterable list( } /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -442,7 +456,9 @@ private Mono> getWithResponseAsync( } /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -508,7 +524,9 @@ private Mono> getWithResponseAsync( } /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -528,7 +546,9 @@ private Mono getAsync( } /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -547,7 +567,9 @@ public SnapshotInner get( } /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -573,7 +595,9 @@ public Response getWithResponse( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -648,7 +672,9 @@ private Mono>> createWithResponseAsync( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -722,7 +748,9 @@ private Mono>> createWithResponseAsync( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -756,7 +784,9 @@ private PollerFlux, SnapshotInner> beginCreateAsync( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -789,7 +819,9 @@ private PollerFlux, SnapshotInner> beginCreateAsync( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -815,7 +847,9 @@ public SyncPoller, SnapshotInner> beginCreate( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -843,7 +877,9 @@ public SyncPoller, SnapshotInner> beginCreate( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -870,7 +906,9 @@ private Mono createAsync( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -899,7 +937,9 @@ private Mono createAsync( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -924,7 +964,9 @@ public SnapshotInner create( } /** - * Create the specified snapshot within the given volume. + * Create a snapshot + * + *

Create the specified snapshot within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -951,7 +993,9 @@ public SnapshotInner create( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1024,7 +1068,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1096,7 +1142,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1130,7 +1178,9 @@ private PollerFlux, SnapshotInner> beginUpdateAsync( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1163,7 +1213,9 @@ private PollerFlux, SnapshotInner> beginUpdateAsync( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1189,7 +1241,9 @@ public SyncPoller, SnapshotInner> beginUpdate( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1217,7 +1271,9 @@ public SyncPoller, SnapshotInner> beginUpdate( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1244,7 +1300,9 @@ private Mono updateAsync( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1273,7 +1331,9 @@ private Mono updateAsync( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1298,7 +1358,9 @@ public SnapshotInner update( } /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1325,7 +1387,9 @@ public SnapshotInner update( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1386,7 +1450,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1450,7 +1516,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1474,7 +1542,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1504,7 +1574,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1523,7 +1595,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1549,7 +1623,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1570,7 +1646,9 @@ private Mono deleteAsync( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1597,7 +1675,9 @@ private Mono deleteAsync( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1615,7 +1695,9 @@ public void delete( } /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1639,7 +1721,9 @@ public void delete( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1712,7 +1796,9 @@ private Mono>> restoreFilesWithResponseAsync( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1784,7 +1870,9 @@ private Mono>> restoreFilesWithResponseAsync( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1814,7 +1902,9 @@ private PollerFlux, Void> beginRestoreFilesAsync( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1847,7 +1937,9 @@ private PollerFlux, Void> beginRestoreFilesAsync( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1873,7 +1965,9 @@ public SyncPoller, Void> beginRestoreFiles( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1901,7 +1995,9 @@ public SyncPoller, Void> beginRestoreFiles( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1928,7 +2024,9 @@ private Mono restoreFilesAsync( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1957,7 +2055,9 @@ private Mono restoreFilesAsync( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1981,7 +2081,9 @@ public void restoreFiles( } /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesClientImpl.java index b76e72c95458..d1278cba29e6 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/SubvolumesClientImpl.java @@ -193,7 +193,9 @@ Mono> listByVolumeNext( } /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -260,7 +262,9 @@ private Mono> listByVolumeSinglePageAsync( } /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -325,7 +329,9 @@ private Mono> listByVolumeSinglePageAsync( } /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -345,7 +351,9 @@ private PagedFlux listByVolumeAsync( } /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -366,7 +374,9 @@ private PagedFlux listByVolumeAsync( } /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -384,7 +394,9 @@ public PagedIterable listByVolume( } /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -403,7 +415,9 @@ public PagedIterable listByVolume( } /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -466,7 +480,9 @@ private Mono> getWithResponseAsync( } /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -532,7 +548,9 @@ private Mono> getWithResponseAsync( } /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -552,7 +570,9 @@ private Mono getAsync( } /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -571,7 +591,9 @@ public SubvolumeInfoInner get( } /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -597,7 +619,9 @@ public Response getWithResponse( } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -672,7 +696,9 @@ private Mono>> createWithResponseAsync( } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -746,7 +772,9 @@ private Mono>> createWithResponseAsync( } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -780,7 +808,9 @@ private PollerFlux, SubvolumeInfoInner> beginCrea } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -813,7 +843,9 @@ private PollerFlux, SubvolumeInfoInner> beginCrea } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -839,7 +871,9 @@ public SyncPoller, SubvolumeInfoInner> beginCreat } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -867,7 +901,9 @@ public SyncPoller, SubvolumeInfoInner> beginCreat } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -894,7 +930,9 @@ private Mono createAsync( } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -923,7 +961,9 @@ private Mono createAsync( } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -948,7 +988,9 @@ public SubvolumeInfoInner create( } /** - * Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. + * Create or clone a new subvolume + * + *

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -975,7 +1017,9 @@ public SubvolumeInfoInner create( } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1050,7 +1094,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1124,7 +1170,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1158,7 +1206,9 @@ private PollerFlux, SubvolumeInfoInner> beginUpda } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1191,7 +1241,9 @@ private PollerFlux, SubvolumeInfoInner> beginUpda } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1217,7 +1269,9 @@ public SyncPoller, SubvolumeInfoInner> beginUpdat } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1245,7 +1299,9 @@ public SyncPoller, SubvolumeInfoInner> beginUpdat } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1272,7 +1328,9 @@ private Mono updateAsync( } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1301,7 +1359,9 @@ private Mono updateAsync( } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1326,7 +1386,9 @@ public SubvolumeInfoInner update( } /** - * Patch a subvolume. + * Update a subvolume + * + *

Patch a subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1353,7 +1415,9 @@ public SubvolumeInfoInner update( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1414,7 +1478,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1478,7 +1544,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1502,7 +1570,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1532,7 +1602,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1551,7 +1623,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1577,7 +1651,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1598,7 +1674,9 @@ private Mono deleteAsync( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1625,7 +1703,9 @@ private Mono deleteAsync( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1643,7 +1723,9 @@ public void delete( } /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1667,7 +1749,9 @@ public void delete( } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1730,7 +1814,9 @@ private Mono>> getMetadataWithResponseAsync( } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1796,7 +1882,9 @@ private Mono>> getMetadataWithResponseAsync( } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1824,7 +1912,9 @@ private PollerFlux, SubvolumeModelInner> beginGe } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1855,7 +1945,9 @@ private PollerFlux, SubvolumeModelInner> beginGe } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1875,7 +1967,9 @@ public SyncPoller, SubvolumeModelInner> beginGet } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1901,7 +1995,9 @@ public SyncPoller, SubvolumeModelInner> beginGet } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1922,7 +2018,9 @@ private Mono getMetadataAsync( } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1949,7 +2047,9 @@ private Mono getMetadataAsync( } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1968,7 +2068,9 @@ public SubvolumeModelInner getMetadata( } /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1995,7 +2097,8 @@ public SubvolumeModelInner getMetadata( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. @@ -2030,7 +2133,8 @@ private Mono> listByVolumeNextSinglePageAsync( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VaultImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VaultImpl.java index c7976e9dc19a..3462010c2f59 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VaultImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VaultImpl.java @@ -29,10 +29,6 @@ public String type() { return this.innerModel().type(); } - public String location() { - return this.innerModel().location(); - } - public String vaultName() { return this.innerModel().vaultName(); } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VaultsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VaultsClientImpl.java index 04e737ea465c..5ab6d63896fe 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VaultsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VaultsClientImpl.java @@ -72,7 +72,9 @@ Mono> list( } /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -123,7 +125,9 @@ private Mono> listSinglePageAsync(String resourceGroup } /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -173,7 +177,9 @@ private Mono> listSinglePageAsync( } /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -188,7 +194,9 @@ private PagedFlux listAsync(String resourceGroupName, String account } /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -204,7 +212,9 @@ private PagedFlux listAsync(String resourceGroupName, String account } /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -219,7 +229,9 @@ public PagedIterable list(String resourceGroupName, String accountNa } /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsClientImpl.java index ac1e1c105cec..716a4dcc5b74 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeGroupsClientImpl.java @@ -130,7 +130,9 @@ Mono>> delete( } /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -182,7 +184,9 @@ private Mono> listByNetAppAccountSinglePageAsync } /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -232,7 +236,9 @@ private Mono> listByNetAppAccountSinglePageAsync } /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -247,7 +253,9 @@ private PagedFlux listByNetAppAccountAsync(String resourceGrou } /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -264,7 +272,9 @@ private PagedFlux listByNetAppAccountAsync( } /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -279,7 +289,9 @@ public PagedIterable listByNetAppAccount(String resourceGroupN } /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -296,7 +308,9 @@ public PagedIterable listByNetAppAccount( } /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -351,7 +365,9 @@ private Mono> getWithResponseAsync( } /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -404,7 +420,9 @@ private Mono> getWithResponseAsync( } /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -422,7 +440,9 @@ private Mono getAsync( } /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -438,7 +458,9 @@ public VolumeGroupDetailsInner get(String resourceGroupName, String accountName, } /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -456,7 +478,11 @@ public Response getWithResponse( } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -517,7 +543,11 @@ private Mono>> createWithResponseAsync( } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -580,7 +610,11 @@ private Mono>> createWithResponseAsync( } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -607,7 +641,11 @@ private PollerFlux, VolumeGroupDetailsInner> } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -640,7 +678,11 @@ private PollerFlux, VolumeGroupDetailsInner> } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -658,7 +700,11 @@ public SyncPoller, VolumeGroupDetailsInner> } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -681,7 +727,11 @@ public SyncPoller, VolumeGroupDetailsInner> } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -701,7 +751,11 @@ private Mono createAsync( } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -726,7 +780,11 @@ private Mono createAsync( } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -744,7 +802,11 @@ public VolumeGroupDetailsInner create( } /** - * Create a volume group along with specified volumes. + * Create the specified volume group and volumes. Creating volume group will create all the volumes specified in + * request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes + * thereafter. + * + *

Create a volume group along with specified volumes. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -767,7 +829,9 @@ public VolumeGroupDetailsInner create( } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -819,7 +883,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -869,7 +935,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -891,7 +959,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -914,7 +984,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -931,7 +1003,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -949,7 +1023,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -967,7 +1043,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -987,7 +1065,9 @@ private Mono deleteAsync( } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1002,7 +1082,9 @@ public void delete(String resourceGroupName, String accountName, String volumeGr } /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeImpl.java index a46cba5ebd99..2a155feba609 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeImpl.java @@ -19,9 +19,12 @@ import com.azure.resourcemanager.netapp.models.PlacementKeyValuePairs; import com.azure.resourcemanager.netapp.models.PoolChangeRequest; import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest; +import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest; import com.azure.resourcemanager.netapp.models.Replication; import com.azure.resourcemanager.netapp.models.SecurityStyle; 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.Volume; import com.azure.resourcemanager.netapp.models.VolumePatch; import com.azure.resourcemanager.netapp.models.VolumePatchPropertiesDataProtection; @@ -118,6 +121,10 @@ public String snapshotId() { return this.innerModel().snapshotId(); } + public Boolean deleteBaseSnapshot() { + return this.innerModel().deleteBaseSnapshot(); + } + public String backupId() { return this.innerModel().backupId(); } @@ -179,6 +186,14 @@ public Boolean smbEncryption() { return this.innerModel().smbEncryption(); } + public SmbAccessBasedEnumeration smbAccessBasedEnumeration() { + return this.innerModel().smbAccessBasedEnumeration(); + } + + public SmbNonBrowsable smbNonBrowsable() { + return this.innerModel().smbNonBrowsable(); + } + public Boolean smbContinuouslyAvailable() { return this.innerModel().smbContinuouslyAvailable(); } @@ -473,12 +488,16 @@ public void poolChange(PoolChangeRequest body, Context context) { serviceManager.volumes().poolChange(resourceGroupName, accountName, poolName, volumeName, body, context); } + public void relocate(RelocateVolumeRequest body) { + serviceManager.volumes().relocate(resourceGroupName, accountName, poolName, volumeName, body); + } + public void relocate() { serviceManager.volumes().relocate(resourceGroupName, accountName, poolName, volumeName); } - public void relocate(Context context) { - serviceManager.volumes().relocate(resourceGroupName, accountName, poolName, volumeName, context); + public void relocate(RelocateVolumeRequest body, Context context) { + serviceManager.volumes().relocate(resourceGroupName, accountName, poolName, volumeName, body, context); } public void finalizeRelocation() { @@ -562,6 +581,11 @@ public VolumeImpl withSnapshotId(String snapshotId) { return this; } + public VolumeImpl withDeleteBaseSnapshot(Boolean deleteBaseSnapshot) { + this.innerModel().withDeleteBaseSnapshot(deleteBaseSnapshot); + return this; + } + public VolumeImpl withBackupId(String backupId) { this.innerModel().withBackupId(backupId); return this; @@ -607,6 +631,16 @@ public VolumeImpl withSmbEncryption(Boolean smbEncryption) { return this; } + public VolumeImpl withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration smbAccessBasedEnumeration) { + this.innerModel().withSmbAccessBasedEnumeration(smbAccessBasedEnumeration); + return this; + } + + public VolumeImpl withSmbNonBrowsable(SmbNonBrowsable smbNonBrowsable) { + this.innerModel().withSmbNonBrowsable(smbNonBrowsable); + return this; + } + public VolumeImpl withSmbContinuouslyAvailable(Boolean smbContinuouslyAvailable) { this.innerModel().withSmbContinuouslyAvailable(smbContinuouslyAvailable); return this; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesClientImpl.java index c797f388165e..2302baf0243b 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumeQuotaRulesClientImpl.java @@ -162,7 +162,9 @@ Mono>> delete( } /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -224,7 +226,9 @@ private Mono> listByVolumeSinglePageAsync( } /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -284,7 +288,9 @@ private Mono> listByVolumeSinglePageAsync( } /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -302,7 +308,9 @@ private PagedFlux listByVolumeAsync( } /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -322,7 +330,9 @@ private PagedFlux listByVolumeAsync( } /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -340,7 +350,9 @@ public PagedIterable listByVolume( } /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -359,7 +371,9 @@ public PagedIterable listByVolume( } /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -423,7 +437,9 @@ private Mono> getWithResponseAsync( } /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -490,7 +506,9 @@ private Mono> getWithResponseAsync( } /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -510,7 +528,9 @@ private Mono getAsync( } /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -529,7 +549,9 @@ public VolumeQuotaRuleInner get( } /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -555,7 +577,9 @@ public Response getWithResponse( } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -631,7 +655,9 @@ private Mono>> createWithResponseAsync( } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -706,7 +732,9 @@ private Mono>> createWithResponseAsync( } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -740,7 +768,9 @@ private PollerFlux, VolumeQuotaRuleInner> begin } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -774,7 +804,9 @@ private PollerFlux, VolumeQuotaRuleInner> begin } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -800,7 +832,9 @@ public SyncPoller, VolumeQuotaRuleInner> beginC } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -829,7 +863,9 @@ public SyncPoller, VolumeQuotaRuleInner> beginC } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -856,7 +892,9 @@ private Mono createAsync( } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -886,7 +924,9 @@ private Mono createAsync( } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -911,7 +951,9 @@ public VolumeQuotaRuleInner create( } /** - * Create the specified quota rule within the given volume. + * Create a quota rule + * + *

Create the specified quota rule within the given volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -939,7 +981,9 @@ public VolumeQuotaRuleInner create( } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1015,7 +1059,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1090,7 +1136,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1124,7 +1172,9 @@ private PollerFlux, VolumeQuotaRuleInner> begin } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1158,7 +1208,9 @@ private PollerFlux, VolumeQuotaRuleInner> begin } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1184,7 +1236,9 @@ public SyncPoller, VolumeQuotaRuleInner> beginU } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1213,7 +1267,9 @@ public SyncPoller, VolumeQuotaRuleInner> beginU } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1240,7 +1296,9 @@ private Mono updateAsync( } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1270,7 +1328,9 @@ private Mono updateAsync( } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1295,7 +1355,9 @@ public VolumeQuotaRuleInner update( } /** - * Patch a quota rule. + * Update a quota rule + * + *

Patch a quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1323,7 +1385,9 @@ public VolumeQuotaRuleInner update( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1385,7 +1449,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1450,7 +1516,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1474,7 +1542,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1504,7 +1574,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1524,7 +1596,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1550,7 +1624,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1571,7 +1647,9 @@ private Mono deleteAsync( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1598,7 +1676,9 @@ private Mono deleteAsync( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1616,7 +1696,9 @@ public void delete( } /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesClientImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesClientImpl.java index a2448473b6f4..0f5693b3e716 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesClientImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesClientImpl.java @@ -42,6 +42,7 @@ import com.azure.resourcemanager.netapp.models.ListReplications; import com.azure.resourcemanager.netapp.models.PoolChangeRequest; import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest; +import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest; import com.azure.resourcemanager.netapp.models.VolumeList; import com.azure.resourcemanager.netapp.models.VolumePatch; import com.azure.resourcemanager.netapp.models.VolumeRevert; @@ -357,6 +358,7 @@ Mono>> relocate( @PathParam("poolName") String poolName, @PathParam("volumeName") String volumeName, @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") RelocateVolumeRequest body, Context context); @Headers({"Accept: application/json;q=0.9", "Content-Type: application/json"}) @@ -403,7 +405,9 @@ Mono> listNext( } /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -465,7 +469,9 @@ private Mono> listSinglePageAsync( } /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -525,7 +531,9 @@ private Mono> listSinglePageAsync( } /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -543,7 +551,9 @@ private PagedFlux listAsync(String resourceGroupName, String accoun } /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -563,7 +573,9 @@ private PagedFlux listAsync( } /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -579,7 +591,9 @@ public PagedIterable list(String resourceGroupName, String accountN } /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -597,7 +611,9 @@ public PagedIterable list( } /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -655,7 +671,9 @@ private Mono> getWithResponseAsync( } /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -711,7 +729,9 @@ private Mono> getWithResponseAsync( } /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -730,7 +750,9 @@ private Mono getAsync( } /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -747,7 +769,9 @@ public VolumeInner get(String resourceGroupName, String accountName, String pool } /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -766,7 +790,9 @@ public Response getWithResponse( } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -831,7 +857,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -899,7 +927,9 @@ private Mono>> createOrUpdateWithResponseAsync( } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -923,7 +953,9 @@ private PollerFlux, VolumeInner> beginCreateOrUpdateAsyn } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -954,7 +986,9 @@ private PollerFlux, VolumeInner> beginCreateOrUpdateAsyn } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -973,7 +1007,9 @@ public SyncPoller, VolumeInner> beginCreateOrUpdate( } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -999,7 +1035,9 @@ public SyncPoller, VolumeInner> beginCreateOrUpdate( } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1020,7 +1058,9 @@ private Mono createOrUpdateAsync( } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1047,7 +1087,9 @@ private Mono createOrUpdateAsync( } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1066,7 +1108,9 @@ public VolumeInner createOrUpdate( } /** - * Create or update the specified volume within the capacity pool. + * Create or Update a volume + * + *

Create or update the specified volume within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1091,7 +1135,9 @@ public VolumeInner createOrUpdate( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1156,7 +1202,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1224,7 +1272,9 @@ private Mono>> updateWithResponseAsync( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1248,7 +1298,9 @@ private PollerFlux, VolumeInner> beginUpdateAsync( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1279,7 +1331,9 @@ private PollerFlux, VolumeInner> beginUpdateAsync( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1298,7 +1352,9 @@ public SyncPoller, VolumeInner> beginUpdate( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1323,7 +1379,9 @@ public SyncPoller, VolumeInner> beginUpdate( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1344,7 +1402,9 @@ private Mono updateAsync( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1371,7 +1431,9 @@ private Mono updateAsync( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1390,7 +1452,9 @@ public VolumeInner update( } /** - * Patch the specified volume. + * Update a volume + * + *

Patch the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1415,7 +1479,9 @@ public VolumeInner update( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1474,7 +1540,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1536,7 +1604,9 @@ private Mono>> deleteWithResponseAsync( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1561,7 +1631,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1592,7 +1664,9 @@ private PollerFlux, Void> beginDeleteAsync( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1612,7 +1686,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1639,7 +1715,9 @@ public SyncPoller, Void> beginDelete( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1661,7 +1739,9 @@ private Mono deleteAsync( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1681,7 +1761,9 @@ private Mono deleteAsync(String resourceGroupName, String accountName, Str } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1709,7 +1791,9 @@ private Mono deleteAsync( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1728,7 +1812,9 @@ public void delete( } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1745,7 +1831,9 @@ public void delete(String resourceGroupName, String accountName, String poolName } /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1770,7 +1858,9 @@ public void delete( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1833,7 +1923,9 @@ private Mono>> revertWithResponseAsync( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1899,7 +1991,9 @@ private Mono>> revertWithResponseAsync( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1923,7 +2017,9 @@ private PollerFlux, Void> beginRevertAsync( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1953,7 +2049,9 @@ private PollerFlux, Void> beginRevertAsync( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1972,7 +2070,9 @@ public SyncPoller, Void> beginRevert( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -1997,7 +2097,9 @@ public SyncPoller, Void> beginRevert( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2018,7 +2120,9 @@ private Mono revertAsync( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2045,7 +2149,9 @@ private Mono revertAsync( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2063,7 +2169,9 @@ public void revert( } /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2087,7 +2195,9 @@ public void revert( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2143,7 +2253,9 @@ private Mono>> resetCifsPasswordWithResponseAsync( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2197,7 +2309,9 @@ private Mono>> resetCifsPasswordWithResponseAsync( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2220,7 +2334,9 @@ private PollerFlux, Void> beginResetCifsPasswordAsync( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2244,7 +2360,9 @@ private PollerFlux, Void> beginResetCifsPasswordAsync( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2262,7 +2380,9 @@ public SyncPoller, Void> beginResetCifsPassword( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2282,7 +2402,9 @@ public SyncPoller, Void> beginResetCifsPassword( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2302,7 +2424,9 @@ private Mono resetCifsPasswordAsync( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2323,7 +2447,9 @@ private Mono resetCifsPasswordAsync( } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2339,7 +2465,9 @@ public void resetCifsPassword(String resourceGroupName, String accountName, Stri } /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2357,7 +2485,9 @@ public void resetCifsPassword( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2422,7 +2552,9 @@ private Mono>> breakReplicationWithResponseAsync( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2486,7 +2618,9 @@ private Mono>> breakReplicationWithResponseAsync( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2514,7 +2648,9 @@ private PollerFlux, Void> beginBreakReplicationAsync( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2544,7 +2680,9 @@ private PollerFlux, Void> beginBreakReplicationAsync( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2567,7 +2705,9 @@ public SyncPoller, Void> beginBreakReplication( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2593,7 +2733,9 @@ public SyncPoller, Void> beginBreakReplication( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2618,7 +2760,9 @@ private Mono breakReplicationAsync( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2639,7 +2783,9 @@ private Mono breakReplicationAsync( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2666,7 +2812,9 @@ private Mono breakReplicationAsync( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2688,7 +2836,9 @@ public void breakReplication( } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2705,7 +2855,9 @@ public void breakReplication(String resourceGroupName, String accountName, Strin } /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -2729,7 +2881,9 @@ public void breakReplication( } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -2797,7 +2951,9 @@ private Mono>> reestablishReplicationWithResponseAsync } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -2864,7 +3020,9 @@ private Mono>> reestablishReplicationWithResponseAsync } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -2893,7 +3051,9 @@ private PollerFlux, Void> beginReestablishReplicationAsync( } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -2925,7 +3085,9 @@ private PollerFlux, Void> beginReestablishReplicationAsync( } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -2950,7 +3112,9 @@ public SyncPoller, Void> beginReestablishReplication( } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -2977,7 +3141,9 @@ public SyncPoller, Void> beginReestablishReplication( } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -3003,7 +3169,9 @@ private Mono reestablishReplicationAsync( } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -3031,7 +3199,9 @@ private Mono reestablishReplicationAsync( } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -3054,7 +3224,9 @@ public void reestablishReplication( } /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -3079,7 +3251,9 @@ public void reestablishReplication( } /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3137,7 +3311,9 @@ private Mono> replicationStatusWithResponseAsyn } /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3193,7 +3369,9 @@ private Mono> replicationStatusWithResponseAsyn } /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3212,7 +3390,9 @@ private Mono replicationStatusAsync( } /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3230,7 +3410,9 @@ public ReplicationStatusInner replicationStatus( } /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3250,7 +3432,9 @@ public Response replicationStatusWithResponse( } /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3312,7 +3496,9 @@ private Mono> listReplicationsSinglePageAsync( } /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3372,7 +3558,9 @@ private Mono> listReplicationsSinglePageAsync( } /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3391,7 +3579,9 @@ private PagedFlux listReplicationsAsync( } /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3411,7 +3601,9 @@ private PagedFlux listReplicationsAsync( } /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3429,7 +3621,9 @@ public PagedIterable listReplications( } /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3449,7 +3643,9 @@ public PagedIterable listReplications( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3506,7 +3702,9 @@ private Mono>> resyncReplicationWithResponseAsync( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3561,7 +3759,9 @@ private Mono>> resyncReplicationWithResponseAsync( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3585,7 +3785,9 @@ private PollerFlux, Void> beginResyncReplicationAsync( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3610,7 +3812,9 @@ private PollerFlux, Void> beginResyncReplicationAsync( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3629,7 +3833,9 @@ public SyncPoller, Void> beginResyncReplication( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3650,7 +3856,9 @@ public SyncPoller, Void> beginResyncReplication( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3671,7 +3879,9 @@ private Mono resyncReplicationAsync( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3693,7 +3903,9 @@ private Mono resyncReplicationAsync( } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3710,7 +3922,9 @@ public void resyncReplication(String resourceGroupName, String accountName, Stri } /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -3729,7 +3943,9 @@ public void resyncReplication( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3785,7 +4001,9 @@ private Mono>> deleteReplicationWithResponseAsync( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3839,7 +4057,9 @@ private Mono>> deleteReplicationWithResponseAsync( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3862,7 +4082,9 @@ private PollerFlux, Void> beginDeleteReplicationAsync( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3886,7 +4108,9 @@ private PollerFlux, Void> beginDeleteReplicationAsync( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3904,7 +4128,9 @@ public SyncPoller, Void> beginDeleteReplication( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3924,7 +4150,9 @@ public SyncPoller, Void> beginDeleteReplication( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3944,7 +4172,9 @@ private Mono deleteReplicationAsync( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3965,7 +4195,9 @@ private Mono deleteReplicationAsync( } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3981,7 +4213,9 @@ public void deleteReplication(String resourceGroupName, String accountName, Stri } /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -3999,7 +4233,9 @@ public void deleteReplication( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4062,7 +4298,9 @@ private Mono>> authorizeReplicationWithResponseAsync( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4128,7 +4366,9 @@ private Mono>> authorizeReplicationWithResponseAsync( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4152,7 +4392,9 @@ private PollerFlux, Void> beginAuthorizeReplicationAsync( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4182,7 +4424,9 @@ private PollerFlux, Void> beginAuthorizeReplicationAsync( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4202,7 +4446,9 @@ public SyncPoller, Void> beginAuthorizeReplication( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4228,7 +4474,9 @@ public SyncPoller, Void> beginAuthorizeReplication( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4249,7 +4497,9 @@ private Mono authorizeReplicationAsync( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4276,7 +4526,9 @@ private Mono authorizeReplicationAsync( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4294,7 +4546,9 @@ public void authorizeReplication( } /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4318,7 +4572,9 @@ public void authorizeReplication( } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4374,7 +4630,9 @@ private Mono>> reInitializeReplicationWithResponseAsyn } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4428,7 +4686,9 @@ private Mono>> reInitializeReplicationWithResponseAsyn } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4451,7 +4711,9 @@ private PollerFlux, Void> beginReInitializeReplicationAsync( } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4475,7 +4737,9 @@ private PollerFlux, Void> beginReInitializeReplicationAsync( } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4493,7 +4757,9 @@ public SyncPoller, Void> beginReInitializeReplication( } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4513,7 +4779,9 @@ public SyncPoller, Void> beginReInitializeReplication( } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4533,7 +4801,9 @@ private Mono reInitializeReplicationAsync( } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4554,7 +4824,9 @@ private Mono reInitializeReplicationAsync( } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4571,7 +4843,9 @@ public void reInitializeReplication( } /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4589,7 +4863,9 @@ public void reInitializeReplication( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4652,7 +4928,9 @@ private Mono>> poolChangeWithResponseAsync( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4718,7 +4996,9 @@ private Mono>> poolChangeWithResponseAsync( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4742,7 +5022,9 @@ private PollerFlux, Void> beginPoolChangeAsync( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4772,7 +5054,9 @@ private PollerFlux, Void> beginPoolChangeAsync( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4791,7 +5075,9 @@ public SyncPoller, Void> beginPoolChange( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4817,7 +5103,9 @@ public SyncPoller, Void> beginPoolChange( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4838,7 +5126,9 @@ private Mono poolChangeAsync( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4865,7 +5155,9 @@ private Mono poolChangeAsync( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4883,7 +5175,9 @@ public void poolChange( } /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -4907,12 +5201,15 @@ public void poolChange( } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume request. * @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. @@ -4920,7 +5217,7 @@ public void poolChange( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> relocateWithResponseAsync( - String resourceGroupName, String accountName, String poolName, String volumeName) { + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) { if (this.client.getEndpoint() == null) { return Mono .error( @@ -4946,6 +5243,9 @@ private Mono>> relocateWithResponseAsync( if (volumeName == null) { return Mono.error(new IllegalArgumentException("Parameter volumeName is required and cannot be null.")); } + if (body != null) { + body.validate(); + } return FluxUtil .withContext( context -> @@ -4958,17 +5258,21 @@ private Mono>> relocateWithResponseAsync( poolName, volumeName, this.client.getApiVersion(), + body, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume request. * @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. @@ -4977,7 +5281,12 @@ private Mono>> relocateWithResponseAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> relocateWithResponseAsync( - String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context) { if (this.client.getEndpoint() == null) { return Mono .error( @@ -5003,6 +5312,9 @@ private Mono>> relocateWithResponseAsync( if (volumeName == null) { return Mono.error(new IllegalArgumentException("Parameter volumeName is required and cannot be null.")); } + if (body != null) { + body.validate(); + } context = this.client.mergeContext(context); return service .relocate( @@ -5013,16 +5325,20 @@ private Mono>> relocateWithResponseAsync( poolName, volumeName, this.client.getApiVersion(), + body, context); } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume request. * @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. @@ -5030,9 +5346,9 @@ private Mono>> relocateWithResponseAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginRelocateAsync( - String resourceGroupName, String accountName, String poolName, String volumeName) { + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) { Mono>> mono = - relocateWithResponseAsync(resourceGroupName, accountName, poolName, volumeName); + relocateWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, body); return this .client .getLroResult( @@ -5040,12 +5356,15 @@ private PollerFlux, Void> beginRelocateAsync( } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume request. * @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. @@ -5054,22 +5373,30 @@ private PollerFlux, Void> beginRelocateAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginRelocateAsync( - String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context) { context = this.client.mergeContext(context); Mono>> mono = - relocateWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, context); + relocateWithResponseAsync(resourceGroupName, accountName, poolName, volumeName, body, context); return this .client .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume request. * @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. @@ -5077,17 +5404,20 @@ private PollerFlux, Void> beginRelocateAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRelocate( - String resourceGroupName, String accountName, String poolName, String volumeName) { - return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName).getSyncPoller(); + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) { + return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName, body).getSyncPoller(); } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume request. * @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. @@ -5096,12 +5426,42 @@ public SyncPoller, Void> beginRelocate( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRelocate( - String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { - return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName, context).getSyncPoller(); + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context) { + return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName, body, context).getSyncPoller(); } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @param poolName The name of the capacity pool. + * @param volumeName The name of the volume. + * @param body Relocate volume request. + * @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 relocateAsync( + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) { + return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName, body) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5114,18 +5474,22 @@ public SyncPoller, Void> beginRelocate( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono relocateAsync(String resourceGroupName, String accountName, String poolName, String volumeName) { - return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName) + final RelocateVolumeRequest body = null; + return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName, body) .last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume request. * @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. @@ -5134,14 +5498,41 @@ private Mono relocateAsync(String resourceGroupName, String accountName, S */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono relocateAsync( - String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { - return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName, context) + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context) { + return beginRelocateAsync(resourceGroupName, accountName, poolName, volumeName, body, context) .last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @param poolName The name of the capacity pool. + * @param volumeName The name of the volume. + * @param body Relocate volume request. + * @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 relocate( + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) { + relocateAsync(resourceGroupName, accountName, poolName, volumeName, body).block(); + } + + /** + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5153,16 +5544,20 @@ private Mono relocateAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) public void relocate(String resourceGroupName, String accountName, String poolName, String volumeName) { - relocateAsync(resourceGroupName, accountName, poolName, volumeName).block(); + final RelocateVolumeRequest body = null; + relocateAsync(resourceGroupName, accountName, poolName, volumeName, body).block(); } /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume request. * @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. @@ -5170,12 +5565,19 @@ public void relocate(String resourceGroupName, String accountName, String poolNa */ @ServiceMethod(returns = ReturnType.SINGLE) public void relocate( - String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { - relocateAsync(resourceGroupName, accountName, poolName, volumeName, context).block(); + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context) { + relocateAsync(resourceGroupName, accountName, poolName, volumeName, body, context).block(); } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5231,7 +5633,9 @@ private Mono>> finalizeRelocationWithResponseAsync( } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5285,7 +5689,9 @@ private Mono>> finalizeRelocationWithResponseAsync( } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5308,7 +5714,9 @@ private PollerFlux, Void> beginFinalizeRelocationAsync( } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5332,7 +5740,9 @@ private PollerFlux, Void> beginFinalizeRelocationAsync( } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5350,7 +5760,9 @@ public SyncPoller, Void> beginFinalizeRelocation( } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5370,7 +5782,9 @@ public SyncPoller, Void> beginFinalizeRelocation( } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5390,7 +5804,9 @@ private Mono finalizeRelocationAsync( } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5411,7 +5827,9 @@ private Mono finalizeRelocationAsync( } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5427,7 +5845,9 @@ public void finalizeRelocation(String resourceGroupName, String accountName, Str } /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5445,7 +5865,9 @@ public void finalizeRelocation( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5501,7 +5923,9 @@ private Mono>> revertRelocationWithResponseAsync( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5555,7 +5979,9 @@ private Mono>> revertRelocationWithResponseAsync( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5578,7 +6004,9 @@ private PollerFlux, Void> beginRevertRelocationAsync( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5602,7 +6030,9 @@ private PollerFlux, Void> beginRevertRelocationAsync( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5620,7 +6050,9 @@ public SyncPoller, Void> beginRevertRelocation( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5640,7 +6072,9 @@ public SyncPoller, Void> beginRevertRelocation( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5660,7 +6094,9 @@ private Mono revertRelocationAsync( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5681,7 +6117,9 @@ private Mono revertRelocationAsync( } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5697,7 +6135,9 @@ public void revertRelocation(String resourceGroupName, String accountName, Strin } /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -5717,7 +6157,8 @@ public void revertRelocation( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. @@ -5752,7 +6193,8 @@ private Mono> listNextSinglePageAsync(String nextLink /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @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. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesImpl.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesImpl.java index b03b25969a18..db1bf029cf16 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesImpl.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/implementation/VolumesImpl.java @@ -17,6 +17,7 @@ import com.azure.resourcemanager.netapp.models.BreakReplicationRequest; import com.azure.resourcemanager.netapp.models.PoolChangeRequest; import com.azure.resourcemanager.netapp.models.ReestablishReplicationRequest; +import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest; import com.azure.resourcemanager.netapp.models.Replication; import com.azure.resourcemanager.netapp.models.ReplicationStatus; import com.azure.resourcemanager.netapp.models.Volume; @@ -256,13 +257,23 @@ public void poolChange( this.serviceClient().poolChange(resourceGroupName, accountName, poolName, volumeName, body, context); } + public void relocate( + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body) { + this.serviceClient().relocate(resourceGroupName, accountName, poolName, volumeName, body); + } + public void relocate(String resourceGroupName, String accountName, String poolName, String volumeName) { this.serviceClient().relocate(resourceGroupName, accountName, poolName, volumeName); } public void relocate( - String resourceGroupName, String accountName, String poolName, String volumeName, Context context) { - this.serviceClient().relocate(resourceGroupName, accountName, poolName, volumeName, context); + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context) { + this.serviceClient().relocate(resourceGroupName, accountName, poolName, volumeName, body, context); } public void finalizeRelocation(String resourceGroupName, String accountName, String poolName, String volumeName) { diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountBackups.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountBackups.java index 08e13d81f4df..1f9e89da929e 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountBackups.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountBackups.java @@ -11,7 +11,9 @@ /** Resource collection API of AccountBackups. */ public interface AccountBackups { /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -23,7 +25,9 @@ public interface AccountBackups { PagedIterable list(String resourceGroupName, String accountName); /** - * List all Backups for a Netapp Account. + * List Backups for a Netapp Account + * + *

List all Backups for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -36,7 +40,9 @@ public interface AccountBackups { PagedIterable list(String resourceGroupName, String accountName, Context context); /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -49,7 +55,9 @@ public interface AccountBackups { Backup get(String resourceGroupName, String accountName, String backupName); /** - * Gets the specified backup for a Netapp Account. + * Get Backup for a Netapp Account + * + *

Gets the specified backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -63,7 +71,9 @@ public interface AccountBackups { Response getWithResponse(String resourceGroupName, String accountName, String backupName, Context context); /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -75,7 +85,9 @@ public interface AccountBackups { void delete(String resourceGroupName, String accountName, String backupName); /** - * Delete the specified Backup for a Netapp Account. + * Delete Backup for a Netapp Account + * + *

Delete the specified Backup for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountEncryption.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountEncryption.java index 4a33917c38ed..8181150db722 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountEncryption.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AccountEncryption.java @@ -11,36 +11,100 @@ @Fluent public final class AccountEncryption { /* - * Encryption Key Source. Possible values are: 'Microsoft.NetApp'. + * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault */ @JsonProperty(value = "keySource") - private String keySource; + private KeySource keySource; + + /* + * Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'. + */ + @JsonProperty(value = "keyVaultProperties") + private KeyVaultProperties keyVaultProperties; + + /* + * Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. + */ + @JsonProperty(value = "identity") + private EncryptionIdentity identity; /** - * Get the keySource property: Encryption Key Source. Possible values are: 'Microsoft.NetApp'. + * Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive): + * Microsoft.NetApp, Microsoft.KeyVault. * * @return the keySource value. */ - public String keySource() { + public KeySource keySource() { return this.keySource; } /** - * Set the keySource property: Encryption Key Source. Possible values are: 'Microsoft.NetApp'. + * Set the keySource property: The encryption keySource (provider). Possible values (case-insensitive): + * Microsoft.NetApp, Microsoft.KeyVault. * * @param keySource the keySource value to set. * @return the AccountEncryption object itself. */ - public AccountEncryption withKeySource(String keySource) { + public AccountEncryption withKeySource(KeySource keySource) { this.keySource = keySource; return this; } + /** + * Get the keyVaultProperties property: Properties provided by KeVault. Applicable if keySource is + * 'Microsoft.KeyVault'. + * + * @return the keyVaultProperties value. + */ + public KeyVaultProperties keyVaultProperties() { + return this.keyVaultProperties; + } + + /** + * Set the keyVaultProperties property: Properties provided by KeVault. Applicable if keySource is + * 'Microsoft.KeyVault'. + * + * @param keyVaultProperties the keyVaultProperties value to set. + * @return the AccountEncryption object itself. + */ + public AccountEncryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties) { + this.keyVaultProperties = keyVaultProperties; + return this; + } + + /** + * Get the identity property: Identity used to authenticate to KeyVault. Applicable if keySource is + * 'Microsoft.KeyVault'. + * + * @return the identity value. + */ + public EncryptionIdentity identity() { + return this.identity; + } + + /** + * Set the identity property: Identity used to authenticate to KeyVault. Applicable if keySource is + * 'Microsoft.KeyVault'. + * + * @param identity the identity value to set. + * @return the AccountEncryption object itself. + */ + public AccountEncryption withIdentity(EncryptionIdentity identity) { + this.identity = identity; + return this; + } + /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { + if (keyVaultProperties() != null) { + keyVaultProperties().validate(); + } + if (identity() != null) { + identity().validate(); + } } } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Accounts.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Accounts.java index 5df00351646b..b35518c3af6c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Accounts.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Accounts.java @@ -11,7 +11,9 @@ /** Resource collection API of Accounts. */ public interface Accounts { /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp 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. @@ -20,7 +22,9 @@ public interface Accounts { PagedIterable list(); /** - * List and describe all NetApp accounts in the subscription. + * Describe all NetApp Accounts in a subscription + * + *

List and describe all NetApp accounts in the subscription. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -31,7 +35,9 @@ public interface Accounts { PagedIterable list(Context context); /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -42,7 +48,9 @@ public interface Accounts { PagedIterable listByResourceGroup(String resourceGroupName); /** - * List and describe all NetApp accounts in the resource group. + * Describe all NetApp Accounts in a resource group + * + *

List and describe all NetApp accounts in the resource group. * * @param resourceGroupName The name of the resource group. * @param context The context to associate with this operation. @@ -54,7 +62,9 @@ public interface Accounts { PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -66,7 +76,9 @@ public interface Accounts { NetAppAccount getByResourceGroup(String resourceGroupName, String accountName); /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -80,7 +92,9 @@ Response getByResourceGroupWithResponse( String resourceGroupName, String accountName, Context context); /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -91,7 +105,9 @@ Response getByResourceGroupWithResponse( void deleteByResourceGroup(String resourceGroupName, String accountName); /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -103,7 +119,38 @@ Response getByResourceGroupWithResponse( void delete(String resourceGroupName, String accountName, Context context); /** - * Get the NetApp account. + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void renewCredentials(String resourceGroupName, String accountName); + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @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. + */ + void renewCredentials(String resourceGroupName, String accountName, Context context); + + /** + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -114,7 +161,9 @@ Response getByResourceGroupWithResponse( NetAppAccount getById(String id); /** - * Get the NetApp account. + * Describe a NetApp Account + * + *

Get the NetApp account. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -126,7 +175,9 @@ Response getByResourceGroupWithResponse( Response getByIdWithResponse(String id, Context context); /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -136,7 +187,9 @@ Response getByResourceGroupWithResponse( void deleteById(String id); /** - * Delete the specified NetApp account. + * Delete a NetApp account + * + *

Delete the specified NetApp account. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectory.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectory.java index 62f3d2d47b65..509cece615d7 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectory.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectory.java @@ -24,8 +24,7 @@ public final class ActiveDirectory { private String username; /* - * Plain text password of Active Directory domain administrator, value is - * masked in the response + * Plain text password of Active Directory domain administrator, value is masked in the response */ @JsonProperty(value = "password") private String password; @@ -37,8 +36,7 @@ public final class ActiveDirectory { private String domain; /* - * Comma separated list of DNS server IP addresses (IPv4 only) for the - * Active Directory domain + * Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain */ @JsonProperty(value = "dns") private String dns; @@ -56,8 +54,8 @@ public final class ActiveDirectory { private String statusDetails; /* - * NetBIOS name of the SMB server. This name will be registered as a - * computer account in the AD and used to mount volumes + * NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount + * volumes */ @JsonProperty(value = "smbServerName") private String smbServerName; @@ -69,44 +67,41 @@ public final class ActiveDirectory { private String organizationalUnit; /* - * The Active Directory site the service will limit Domain Controller - * discovery to + * The Active Directory site the service will limit Domain Controller discovery to */ @JsonProperty(value = "site") private String site; /* - * Users to be added to the Built-in Backup Operator active directory - * group. A list of unique usernames without domain specifier + * Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without + * domain specifier */ @JsonProperty(value = "backupOperators") private List backupOperators; /* - * Users to be added to the Built-in Administrators active directory group. - * A list of unique usernames without domain specifier + * Users to be added to the Built-in Administrators active directory group. A list of unique usernames without + * domain specifier */ @JsonProperty(value = "administrators") private List administrators; /* - * kdc server IP addresses for the active directory machine. This optional - * parameter is used only while creating kerberos volume. + * kdc server IP addresses for the active directory machine. This optional parameter is used only while creating + * kerberos volume. */ @JsonProperty(value = "kdcIP") private String kdcIp; /* - * Name of the active directory machine. This optional parameter is used - * only while creating kerberos volume + * Name of the active directory machine. This optional parameter is used only while creating kerberos volume */ @JsonProperty(value = "adName") private String adName; /* - * When LDAP over SSL/TLS is enabled, the LDAP client is required to have - * base64 encoded Active Directory Certificate Service's self-signed root - * CA certificate, this optional parameter is used only for dual protocol + * When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory + * Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol * with LDAP user-mapping volumes. */ @JsonProperty(value = "serverRootCACertificate") @@ -125,9 +120,8 @@ public final class ActiveDirectory { private Boolean ldapSigning; /* - * Domain Users in the Active directory to be given SeSecurityPrivilege - * privilege (Needed for SMB Continuously available shares for SQL). A list - * of unique usernames without domain specifier + * Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously + * available shares for SQL). A list of unique usernames without domain specifier */ @JsonProperty(value = "securityOperators") private List securityOperators; @@ -139,15 +133,13 @@ public final class ActiveDirectory { private Boolean ldapOverTls; /* - * If enabled, NFS client local users can also (in addition to LDAP users) - * access the NFS volumes. + * If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes. */ @JsonProperty(value = "allowLocalNfsUsersWithLdap") private Boolean allowLocalNfsUsersWithLdap; /* - * If enabled, Traffic between the SMB server to Domain Controller (DC) - * will be encrypted. + * If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted. */ @JsonProperty(value = "encryptDCConnections") private Boolean encryptDCConnections; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectoryStatus.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectoryStatus.java index 4fc4c3cf687d..bbad422ebb33 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectoryStatus.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ActiveDirectoryStatus.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ActiveDirectoryStatus. */ +/** Status of the Active Directory. */ public final class ActiveDirectoryStatus extends ExpandableStringEnum { /** Static value Created for ActiveDirectoryStatus. */ public static final ActiveDirectoryStatus CREATED = fromString("Created"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ApplicationType.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ApplicationType.java index 60896e21bd9b..a7dc497a377d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ApplicationType.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ApplicationType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ApplicationType. */ +/** Application Type. */ public final class ApplicationType extends ExpandableStringEnum { /** Static value SAP-HANA for ApplicationType. */ public static final ApplicationType SAP_HANA = fromString("SAP-HANA"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AvsDataStore.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AvsDataStore.java index ce702a601715..4117961567f5 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AvsDataStore.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/AvsDataStore.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for AvsDataStore. */ +/** + * avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. + */ public final class AvsDataStore extends ExpandableStringEnum { /** Static value Enabled for AvsDataStore. */ public static final AvsDataStore ENABLED = fromString("Enabled"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backup.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backup.java index b1cdcfa39d7a..c892d5a30006 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backup.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backup.java @@ -41,14 +41,18 @@ public interface Backup { String location(); /** - * Gets the backupId property: backupId UUID v4 used to identify the Backup. + * Gets the backupId property: backupId + * + *

UUID v4 used to identify the Backup. * * @return the backupId value. */ String backupId(); /** - * Gets the creationDate property: creationDate The creation date of the backup. + * Gets the creationDate property: creationDate + * + *

The creation date of the backup. * * @return the creationDate value. */ @@ -76,7 +80,9 @@ public interface Backup { String label(); /** - * Gets the backupType property: backupType Type of backup Manual or Scheduled. + * Gets the backupType property: backupType + * + *

Type of backup Manual or Scheduled. * * @return the backupType value. */ diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPatch.java index 557678c9ea86..7d2cf94b0811 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPatch.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPatch.java @@ -57,7 +57,9 @@ private BackupProperties innerProperties() { } /** - * Get the backupId property: backupId UUID v4 used to identify the Backup. + * Get the backupId property: backupId + * + *

UUID v4 used to identify the Backup. * * @return the backupId value. */ @@ -66,7 +68,9 @@ public String backupId() { } /** - * Get the creationDate property: creationDate The creation date of the backup. + * Get the creationDate property: creationDate + * + *

The creation date of the backup. * * @return the creationDate value. */ @@ -116,7 +120,9 @@ public BackupPatch withLabel(String label) { } /** - * Get the backupType property: backupType Type of backup Manual or Scheduled. + * Get the backupType property: backupType + * + *

Type of backup Manual or Scheduled. * * @return the backupType value. */ diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicies.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicies.java index 58ea8768f352..4c1d6763e432 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicies.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupPolicies.java @@ -11,7 +11,9 @@ /** Resource collection API of BackupPolicies. */ public interface BackupPolicies { /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -23,7 +25,9 @@ public interface BackupPolicies { PagedIterable list(String resourceGroupName, String accountName); /** - * List backup policies for Netapp Account. + * List backup policies + * + *

List backup policies for Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -36,7 +40,9 @@ public interface BackupPolicies { PagedIterable list(String resourceGroupName, String accountName, Context context); /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -49,7 +55,9 @@ public interface BackupPolicies { BackupPolicy get(String resourceGroupName, String accountName, String backupPolicyName); /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -64,7 +72,9 @@ Response getWithResponse( String resourceGroupName, String accountName, String backupPolicyName, Context context); /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -76,7 +86,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String backupPolicyName); /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -89,7 +101,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String backupPolicyName, Context context); /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -100,7 +114,9 @@ Response getWithResponse( BackupPolicy getById(String id); /** - * Get a particular backup Policy. + * Get a backup Policy + * + *

Get a particular backup Policy. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -112,7 +128,9 @@ Response getWithResponse( Response getByIdWithResponse(String id, Context context); /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -122,7 +140,9 @@ Response getWithResponse( void deleteById(String id); /** - * Delete backup policy. + * Delete a backup policy + * + *

Delete backup policy. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupType.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupType.java index 2e0b75e2b4dc..4fc01ef83336 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupType.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BackupType.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for BackupType. */ +/** + * backupType + * + *

Type of backup Manual or Scheduled. + */ public final class BackupType extends ExpandableStringEnum { /** Static value Manual for BackupType. */ public static final BackupType MANUAL = fromString("Manual"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backups.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backups.java index c55c8e9c5813..11d0b685d1ba 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backups.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Backups.java @@ -11,7 +11,9 @@ /** Resource collection API of Backups. */ public interface Backups { /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -25,7 +27,9 @@ public interface Backups { BackupStatus getStatus(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Get the status of the backup for a volume. + * Get volume's backup status + * + *

Get the status of the backup for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -41,7 +45,9 @@ Response getStatusWithResponse( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -56,7 +62,9 @@ RestoreStatus getVolumeRestoreStatus( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Get the status of the restore for a volume. + * Get volume's restore status + * + *

Get the status of the restore for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -72,7 +80,9 @@ Response getVolumeRestoreStatusWithResponse( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -86,7 +96,9 @@ Response getVolumeRestoreStatusWithResponse( PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * List all backups for a volume. + * List Backups + * + *

List all backups for a volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -102,7 +114,9 @@ PagedIterable list( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -117,7 +131,9 @@ PagedIterable list( Backup get(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName); /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -139,7 +155,9 @@ Response getWithResponse( Context context); /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -153,7 +171,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String backupName); /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -174,7 +194,9 @@ void delete( Context context); /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -185,7 +207,9 @@ void delete( Backup getById(String id); /** - * Gets the specified backup of the volume. + * Get a backup + * + *

Gets the specified backup of the volume. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -197,7 +221,9 @@ void delete( Response getByIdWithResponse(String id, Context context); /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -207,7 +233,9 @@ void delete( void deleteById(String id); /** - * Delete a backup of the volume. + * Delete backup + * + *

Delete a backup of the volume. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BreakReplicationRequest.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BreakReplicationRequest.java index 19b54ac899c5..e0530b9dd2d9 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BreakReplicationRequest.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/BreakReplicationRequest.java @@ -11,8 +11,7 @@ @Fluent public final class BreakReplicationRequest { /* - * If replication is in status transferring and you want to force break the - * replication, set to true + * If replication is in status transferring and you want to force break the replication, set to true */ @JsonProperty(value = "forceBreakReplication") private Boolean forceBreakReplication; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CapacityPool.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CapacityPool.java index debe4ef6812e..f3e2aa816726 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CapacityPool.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CapacityPool.java @@ -62,22 +62,28 @@ public interface CapacityPool { SystemData systemData(); /** - * Gets the poolId property: poolId UUID v4 used to identify the Pool. + * Gets the poolId property: poolId + * + *

UUID v4 used to identify the Pool. * * @return the poolId value. */ String poolId(); /** - * Gets the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Gets the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @return the size value. */ long size(); /** - * Gets the serviceLevel property: serviceLevel The service level of the file system. + * Gets the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ @@ -119,8 +125,10 @@ public interface CapacityPool { Boolean coolAccess(); /** - * Gets the encryptionType property: encryptionType Encryption type of the capacity pool, set encryption type for - * data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + * Gets the encryptionType property: encryptionType + * + *

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in + * it. This value can only be set when creating new pool. * * @return the encryptionType value. */ @@ -200,11 +208,14 @@ interface WithParentResource { /** The stage of the CapacityPool definition allowing to specify size. */ interface WithSize { /** - * Specifies the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB - * chunks (value must be multiply of 4398046511104).. + * Specifies the size property: size * - * @param size size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must - * be multiply of 4398046511104). + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104).. + * + * @param size size + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply + * of 4398046511104). * @return the next definition stage. */ WithServiceLevel withSize(long size); @@ -212,9 +223,12 @@ interface WithSize { /** The stage of the CapacityPool definition allowing to specify serviceLevel. */ interface WithServiceLevel { /** - * Specifies the serviceLevel property: serviceLevel The service level of the file system. + * Specifies the serviceLevel property: serviceLevel + * + *

The service level of the file system. * - * @param serviceLevel serviceLevel The service level of the file system. + * @param serviceLevel serviceLevel + *

The service level of the file system. * @return the next definition stage. */ WithCreate withServiceLevel(ServiceLevel serviceLevel); @@ -276,12 +290,14 @@ interface WithCoolAccess { /** The stage of the CapacityPool definition allowing to specify encryptionType. */ interface WithEncryptionType { /** - * Specifies the encryptionType property: encryptionType Encryption type of the capacity pool, set - * encryption type for data at rest for this pool and all volumes in it. This value can only be set when - * creating new pool.. + * Specifies the encryptionType property: encryptionType * - * @param encryptionType encryptionType Encryption type of the capacity pool, set encryption type for data - * at rest for this pool and all volumes in it. This value can only be set when creating new pool. + *

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all + * volumes in it. This value can only be set when creating new pool.. + * + * @param encryptionType encryptionType + *

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all + * volumes in it. This value can only be set when creating new pool. * @return the next definition stage. */ WithCreate withEncryptionType(EncryptionType encryptionType); @@ -327,11 +343,14 @@ interface WithTags { /** The stage of the CapacityPool update allowing to specify size. */ interface WithSize { /** - * Specifies the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB - * chunks (value must be multiply of 4398046511104).. + * Specifies the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104).. * - * @param size size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must - * be multiply of 4398046511104). + * @param size size + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply + * of 4398046511104). * @return the next definition stage. */ Update withSize(Long size); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CapacityPoolPatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CapacityPoolPatch.java index a86682b52669..edbbe1a4df80 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CapacityPoolPatch.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CapacityPoolPatch.java @@ -43,8 +43,10 @@ public CapacityPoolPatch withTags(Map tags) { } /** - * Get the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Get the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @return the size value. */ @@ -53,8 +55,10 @@ public Long size() { } /** - * Set the size property: size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value - * must be multiply of 4398046511104). + * Set the size property: size + * + *

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of + * 4398046511104). * * @param size the size value to set. * @return the CapacityPoolPatch object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CheckNameResourceTypes.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CheckNameResourceTypes.java index a08fa6e3638d..2c9e608dce8d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CheckNameResourceTypes.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CheckNameResourceTypes.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for CheckNameResourceTypes. */ +/** Resource type used for verification. */ public final class CheckNameResourceTypes extends ExpandableStringEnum { /** Static value Microsoft.NetApp/netAppAccounts for CheckNameResourceTypes. */ public static final CheckNameResourceTypes MICROSOFT_NET_APP_NET_APP_ACCOUNTS = diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CheckQuotaNameResourceTypes.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CheckQuotaNameResourceTypes.java index 687976f9ac7d..387b6b302ba9 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CheckQuotaNameResourceTypes.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/CheckQuotaNameResourceTypes.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for CheckQuotaNameResourceTypes. */ +/** Resource type used for verification. */ public final class CheckQuotaNameResourceTypes extends ExpandableStringEnum { /** Static value Microsoft.NetApp/netAppAccounts for CheckQuotaNameResourceTypes. */ public static final CheckQuotaNameResourceTypes MICROSOFT_NET_APP_NET_APP_ACCOUNTS = diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ChownMode.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ChownMode.java index 5b4e4cb1bdc3..d3f1afb93989 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ChownMode.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ChownMode.java @@ -8,7 +8,10 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ChownMode. */ +/** + * This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change + * the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. + */ public final class ChownMode extends ExpandableStringEnum { /** Static value Restricted for ChownMode. */ public static final ChownMode RESTRICTED = fromString("Restricted"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EnableSubvolumes.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EnableSubvolumes.java index b89853c8164d..6b1fd8da93ac 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EnableSubvolumes.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EnableSubvolumes.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for EnableSubvolumes. */ +/** Flag indicating whether subvolume operations are enabled on the volume. */ public final class EnableSubvolumes extends ExpandableStringEnum { /** Static value Enabled for EnableSubvolumes. */ public static final EnableSubvolumes ENABLED = fromString("Enabled"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionIdentity.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionIdentity.java new file mode 100644 index 000000000000..48383687d9d2 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionIdentity.java @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Identity used to authenticate with key vault. */ +@Fluent +public class EncryptionIdentity { + /* + * The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. + */ + @JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY) + private String principalId; + + /* + * The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if + * identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. + */ + @JsonProperty(value = "userAssignedIdentity") + private String userAssignedIdentity; + + /** + * Get the principalId property: The principal ID (object ID) of the identity used to authenticate with key vault. + * Read-only. + * + * @return the principalId value. + */ + public String principalId() { + return this.principalId; + } + + /** + * Get the userAssignedIdentity property: The ARM resource identifier of the user assigned identity used to + * authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of + * identity.userAssignedIdentities. + * + * @return the userAssignedIdentity value. + */ + public String userAssignedIdentity() { + return this.userAssignedIdentity; + } + + /** + * Set the userAssignedIdentity property: The ARM resource identifier of the user assigned identity used to + * authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of + * identity.userAssignedIdentities. + * + * @param userAssignedIdentity the userAssignedIdentity value to set. + * @return the EncryptionIdentity object itself. + */ + public EncryptionIdentity withUserAssignedIdentity(String userAssignedIdentity) { + this.userAssignedIdentity = userAssignedIdentity; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionKeySource.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionKeySource.java index 4bfc6d6d8e97..f6223b24dea4 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionKeySource.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionKeySource.java @@ -8,7 +8,10 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for EncryptionKeySource. */ +/** + * Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = + * 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. + */ public final class EncryptionKeySource extends ExpandableStringEnum { /** Static value Microsoft.NetApp for EncryptionKeySource. */ public static final EncryptionKeySource MICROSOFT_NET_APP = fromString("Microsoft.NetApp"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionType.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionType.java index 0707ab7196ec..1a9383910dae 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionType.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EncryptionType.java @@ -8,7 +8,12 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for EncryptionType. */ +/** + * encryptionType + * + *

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. + * This value can only be set when creating new pool. + */ public final class EncryptionType extends ExpandableStringEnum { /** Static value Single for EncryptionType. */ public static final EncryptionType SINGLE = fromString("Single"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EndpointType.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EndpointType.java index d123d3736643..785bc377df26 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EndpointType.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/EndpointType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for EndpointType. */ +/** Indicates whether the local volume is the source or destination for the Volume Replication. */ public final class EndpointType extends ExpandableStringEnum { /** Static value src for EndpointType. */ public static final EndpointType SRC = fromString("src"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ExportPolicyRule.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ExportPolicyRule.java index 1d531173aab5..1634b938dbde 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ExportPolicyRule.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ExportPolicyRule.java @@ -29,43 +29,37 @@ public final class ExportPolicyRule { private Boolean unixReadWrite; /* - * Kerberos5 Read only access. To be use with swagger version 2020-05-01 or - * later + * Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later */ @JsonProperty(value = "kerberos5ReadOnly") private Boolean kerberos5ReadOnly; /* - * Kerberos5 Read and write access. To be use with swagger version - * 2020-05-01 or later + * Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later */ @JsonProperty(value = "kerberos5ReadWrite") private Boolean kerberos5ReadWrite; /* - * Kerberos5i Read only access. To be use with swagger version 2020-05-01 - * or later + * Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later */ @JsonProperty(value = "kerberos5iReadOnly") private Boolean kerberos5IReadOnly; /* - * Kerberos5i Read and write access. To be use with swagger version - * 2020-05-01 or later + * Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later */ @JsonProperty(value = "kerberos5iReadWrite") private Boolean kerberos5IReadWrite; /* - * Kerberos5p Read only access. To be use with swagger version 2020-05-01 - * or later + * Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later */ @JsonProperty(value = "kerberos5pReadOnly") private Boolean kerberos5PReadOnly; /* - * Kerberos5p Read and write access. To be use with swagger version - * 2020-05-01 or later + * Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later */ @JsonProperty(value = "kerberos5pReadWrite") private Boolean kerberos5PReadWrite; @@ -89,8 +83,7 @@ public final class ExportPolicyRule { private Boolean nfsv41; /* - * Client ingress specification as comma separated string with IPv4 CIDRs, - * IPv4 host addresses and host names + * Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names */ @JsonProperty(value = "allowedClients") private String allowedClients; @@ -102,10 +95,8 @@ public final class ExportPolicyRule { private Boolean hasRootAccess; /* - * This parameter specifies who is authorized to change the ownership of a - * file. restricted - Only root user can change the ownership of the file. - * unrestricted - Non-root users can change ownership of files that they - * own. + * This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can + * change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. */ @JsonProperty(value = "chownMode") private ChownMode chownMode; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/FilePathAvailabilityRequest.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/FilePathAvailabilityRequest.java index 24a8a8b00ffc..2c6209459891 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/FilePathAvailabilityRequest.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/FilePathAvailabilityRequest.java @@ -18,8 +18,7 @@ public final class FilePathAvailabilityRequest { private String name; /* - * The Azure Resource URI for a delegated subnet. Must have the delegation - * Microsoft.NetApp/volumes + * The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes */ @JsonProperty(value = "subnetId", required = true) private String subnetId; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Identity.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Identity.java new file mode 100644 index 000000000000..799987af9770 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Identity.java @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Map; + +/** Identity for the resource. */ +@Fluent +public class Identity { + /* + * The principal ID of resource identity. + */ + @JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY) + private String principalId; + + /* + * The tenant ID of resource. + */ + @JsonProperty(value = "tenantId", access = JsonProperty.Access.WRITE_ONLY) + private String tenantId; + + /* + * The identity type. + */ + @JsonProperty(value = "type", required = true) + private IdentityType type; + + /* + * Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with + * this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is + * permitted here. + */ + @JsonProperty(value = "userAssignedIdentities") + @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) + private Map userAssignedIdentities; + + /** + * Get the principalId property: The principal ID of resource identity. + * + * @return the principalId value. + */ + public String principalId() { + return this.principalId; + } + + /** + * Get the tenantId property: The tenant ID of resource. + * + * @return the tenantId value. + */ + public String tenantId() { + return this.tenantId; + } + + /** + * Get the type property: The identity type. + * + * @return the type value. + */ + public IdentityType type() { + return this.type; + } + + /** + * Set the type property: The identity type. + * + * @param type the type value to set. + * @return the Identity object itself. + */ + public Identity withType(IdentityType type) { + this.type = type; + return this; + } + + /** + * Get the userAssignedIdentities property: Gets or sets a list of key value pairs that describe the set of User + * Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the + * identity. Only 1 User Assigned identity is permitted here. + * + * @return the userAssignedIdentities value. + */ + public Map userAssignedIdentities() { + return this.userAssignedIdentities; + } + + /** + * Set the userAssignedIdentities property: Gets or sets a list of key value pairs that describe the set of User + * Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the + * identity. Only 1 User Assigned identity is permitted here. + * + * @param userAssignedIdentities the userAssignedIdentities value to set. + * @return the Identity object itself. + */ + public Identity withUserAssignedIdentities(Map userAssignedIdentities) { + this.userAssignedIdentities = userAssignedIdentities; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (type() == null) { + throw LOGGER + .logExceptionAsError(new IllegalArgumentException("Missing required property type in model Identity")); + } + if (userAssignedIdentities() != null) { + userAssignedIdentities() + .values() + .forEach( + e -> { + if (e != null) { + e.validate(); + } + }); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(Identity.class); +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/IdentityType.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/IdentityType.java new file mode 100644 index 000000000000..3523e3f9cfc7 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/IdentityType.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The identity type. */ +public final class IdentityType extends ExpandableStringEnum { + /** Static value None for IdentityType. */ + public static final IdentityType NONE = fromString("None"); + + /** Static value SystemAssigned for IdentityType. */ + public static final IdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned"); + + /** Static value UserAssigned for IdentityType. */ + public static final IdentityType USER_ASSIGNED = fromString("UserAssigned"); + + /** Static value SystemAssigned,UserAssigned for IdentityType. */ + public static final IdentityType SYSTEM_ASSIGNED_USER_ASSIGNED = fromString("SystemAssigned,UserAssigned"); + + /** + * Creates or finds a IdentityType from its string representation. + * + * @param name a name to look for. + * @return the corresponding IdentityType. + */ + @JsonCreator + public static IdentityType fromString(String name) { + return fromString(name, IdentityType.class); + } + + /** + * Gets known IdentityType values. + * + * @return known IdentityType values. + */ + public static Collection values() { + return values(IdentityType.class); + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/InAvailabilityReasonType.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/InAvailabilityReasonType.java index b2440b50d643..0d62e246b2ea 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/InAvailabilityReasonType.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/InAvailabilityReasonType.java @@ -8,7 +8,10 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for InAvailabilityReasonType. */ +/** + * <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. + * <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. + */ public final class InAvailabilityReasonType extends ExpandableStringEnum { /** Static value Invalid for InAvailabilityReasonType. */ public static final InAvailabilityReasonType INVALID = fromString("Invalid"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeySource.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeySource.java new file mode 100644 index 000000000000..f974a4c6fa28 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeySource.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault. */ +public final class KeySource extends ExpandableStringEnum { + /** Static value Microsoft.NetApp for KeySource. */ + public static final KeySource MICROSOFT_NET_APP = fromString("Microsoft.NetApp"); + + /** Static value Microsoft.KeyVault for KeySource. */ + public static final KeySource MICROSOFT_KEY_VAULT = fromString("Microsoft.KeyVault"); + + /** + * Creates or finds a KeySource from its string representation. + * + * @param name a name to look for. + * @return the corresponding KeySource. + */ + @JsonCreator + public static KeySource fromString(String name) { + return fromString(name, KeySource.class); + } + + /** + * Gets known KeySource values. + * + * @return known KeySource values. + */ + public static Collection values() { + return values(KeySource.class); + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeyVaultProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeyVaultProperties.java new file mode 100644 index 000000000000..7266b1fbcc71 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeyVaultProperties.java @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Properties of key vault. */ +@Fluent +public final class KeyVaultProperties { + /* + * UUID v4 used to identify the Azure Key Vault configuration + */ + @JsonProperty(value = "keyVaultId", access = JsonProperty.Access.WRITE_ONLY) + private String keyVaultId; + + /* + * The Uri of KeyVault. + */ + @JsonProperty(value = "keyVaultUri", required = true) + private String keyVaultUri; + + /* + * The name of KeyVault key. + */ + @JsonProperty(value = "keyName", required = true) + private String keyName; + + /* + * The resource ID of KeyVault. + */ + @JsonProperty(value = "keyVaultResourceId", required = true) + private String keyVaultResourceId; + + /* + * Status of the KeyVault connection. + */ + @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY) + private KeyVaultStatus status; + + /** + * Get the keyVaultId property: UUID v4 used to identify the Azure Key Vault configuration. + * + * @return the keyVaultId value. + */ + public String keyVaultId() { + return this.keyVaultId; + } + + /** + * Get the keyVaultUri property: The Uri of KeyVault. + * + * @return the keyVaultUri value. + */ + public String keyVaultUri() { + return this.keyVaultUri; + } + + /** + * Set the keyVaultUri property: The Uri of KeyVault. + * + * @param keyVaultUri the keyVaultUri value to set. + * @return the KeyVaultProperties object itself. + */ + public KeyVaultProperties withKeyVaultUri(String keyVaultUri) { + this.keyVaultUri = keyVaultUri; + return this; + } + + /** + * Get the keyName property: The name of KeyVault key. + * + * @return the keyName value. + */ + public String keyName() { + return this.keyName; + } + + /** + * Set the keyName property: The name of KeyVault key. + * + * @param keyName the keyName value to set. + * @return the KeyVaultProperties object itself. + */ + public KeyVaultProperties withKeyName(String keyName) { + this.keyName = keyName; + return this; + } + + /** + * Get the keyVaultResourceId property: The resource ID of KeyVault. + * + * @return the keyVaultResourceId value. + */ + public String keyVaultResourceId() { + return this.keyVaultResourceId; + } + + /** + * Set the keyVaultResourceId property: The resource ID of KeyVault. + * + * @param keyVaultResourceId the keyVaultResourceId value to set. + * @return the KeyVaultProperties object itself. + */ + public KeyVaultProperties withKeyVaultResourceId(String keyVaultResourceId) { + this.keyVaultResourceId = keyVaultResourceId; + return this; + } + + /** + * Get the status property: Status of the KeyVault connection. + * + * @return the status value. + */ + public KeyVaultStatus status() { + return this.status; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (keyVaultUri() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException("Missing required property keyVaultUri in model KeyVaultProperties")); + } + if (keyName() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException("Missing required property keyName in model KeyVaultProperties")); + } + if (keyVaultResourceId() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property keyVaultResourceId in model KeyVaultProperties")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(KeyVaultProperties.class); +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeyVaultStatus.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeyVaultStatus.java new file mode 100644 index 000000000000..3a49d6ff2460 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/KeyVaultStatus.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Status of the KeyVault connection. */ +public final class KeyVaultStatus extends ExpandableStringEnum { + /** Static value Created for KeyVaultStatus. */ + public static final KeyVaultStatus CREATED = fromString("Created"); + + /** Static value InUse for KeyVaultStatus. */ + public static final KeyVaultStatus IN_USE = fromString("InUse"); + + /** Static value Deleted for KeyVaultStatus. */ + public static final KeyVaultStatus DELETED = fromString("Deleted"); + + /** Static value Error for KeyVaultStatus. */ + public static final KeyVaultStatus ERROR = fromString("Error"); + + /** Static value Updating for KeyVaultStatus. */ + public static final KeyVaultStatus UPDATING = fromString("Updating"); + + /** + * Creates or finds a KeyVaultStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding KeyVaultStatus. + */ + @JsonCreator + public static KeyVaultStatus fromString(String name) { + return fromString(name, KeyVaultStatus.class); + } + + /** + * Gets known KeyVaultStatus values. + * + * @return known KeyVaultStatus values. + */ + public static Collection values() { + return values(KeyVaultStatus.class); + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/LdapSearchScopeOpt.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/LdapSearchScopeOpt.java index 38481031856b..d7eeec56ae83 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/LdapSearchScopeOpt.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/LdapSearchScopeOpt.java @@ -11,22 +11,19 @@ @Fluent public final class LdapSearchScopeOpt { /* - * This specifies the user DN, which overrides the base DN for user - * lookups. + * This specifies the user DN, which overrides the base DN for user lookups. */ @JsonProperty(value = "userDN") private String userDN; /* - * This specifies the group DN, which overrides the base DN for group - * lookups. + * This specifies the group DN, which overrides the base DN for group lookups. */ @JsonProperty(value = "groupDN") private String groupDN; /* - * This specifies the custom LDAP search filter to be used when looking up - * group membership from LDAP server. + * This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server. */ @JsonProperty(value = "groupMembershipFilter") private String groupMembershipFilter; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/MirrorState.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/MirrorState.java index 2751a51d7a3e..827bf045340c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/MirrorState.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/MirrorState.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for MirrorState. */ +/** The status of the replication. */ public final class MirrorState extends ExpandableStringEnum { /** Static value Uninitialized for MirrorState. */ public static final MirrorState UNINITIALIZED = fromString("Uninitialized"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/MonthlySchedule.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/MonthlySchedule.java index 97791817a92c..2153c822fc70 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/MonthlySchedule.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/MonthlySchedule.java @@ -17,8 +17,7 @@ public final class MonthlySchedule { private Integer snapshotsToKeep; /* - * Indicates which days of the month snapshot should be taken. A comma - * delimited string. + * Indicates which days of the month snapshot should be taken. A comma delimited string. */ @JsonProperty(value = "daysOfMonth") private String daysOfMonth; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppAccount.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppAccount.java index 94cf494ed1e4..3291c5544ee0 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppAccount.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppAccount.java @@ -54,6 +54,13 @@ public interface NetAppAccount { */ String etag(); + /** + * Gets the identity property: The identity of the resource. + * + * @return the identity value. + */ + Identity identity(); + /** * Gets the provisioningState property: Azure lifecycle management. * @@ -75,6 +82,14 @@ public interface NetAppAccount { */ AccountEncryption encryption(); + /** + * Gets the disableShowmount property: Shows the status of disableShowmount for all volumes under the subscription, + * null equals false. + * + * @return the disableShowmount value. + */ + Boolean disableShowmount(); + /** * Gets the region of the resource. * @@ -148,7 +163,10 @@ interface WithResourceGroup { * to be created, but also allows for any other optional properties to be specified. */ interface WithCreate - extends DefinitionStages.WithTags, DefinitionStages.WithActiveDirectories, DefinitionStages.WithEncryption { + extends DefinitionStages.WithTags, + DefinitionStages.WithIdentity, + DefinitionStages.WithActiveDirectories, + DefinitionStages.WithEncryption { /** * Executes the create request. * @@ -174,6 +192,16 @@ interface WithTags { */ WithCreate withTags(Map tags); } + /** The stage of the NetAppAccount definition allowing to specify identity. */ + interface WithIdentity { + /** + * Specifies the identity property: The identity of the resource.. + * + * @param identity The identity of the resource. + * @return the next definition stage. + */ + WithCreate withIdentity(Identity identity); + } /** The stage of the NetAppAccount definition allowing to specify activeDirectories. */ interface WithActiveDirectories { /** @@ -266,4 +294,28 @@ interface WithEncryption { * @return the refreshed resource. */ NetAppAccount refresh(Context context); + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void renewCredentials(); + + /** + * Renew identity credentials + * + *

Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If + * encryption.identity.principalId does not match identity.principalId, running this operation will fix it. + * + * @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. + */ + void renewCredentials(Context context); } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppAccountPatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppAccountPatch.java index 16e614a1e53f..cd16d8640dff 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppAccountPatch.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppAccountPatch.java @@ -98,6 +98,16 @@ public NetAppAccountPatch withEncryption(AccountEncryption encryption) { return this; } + /** + * Get the disableShowmount property: Shows the status of disableShowmount for all volumes under the subscription, + * null equals false. + * + * @return the disableShowmount value. + */ + public Boolean disableShowmount() { + return this.innerProperties() == null ? null : this.innerProperties().disableShowmount(); + } + /** * Validates the instance. * diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppResourceQuotaLimits.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppResourceQuotaLimits.java index 9f69c543d2b6..973161617027 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppResourceQuotaLimits.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppResourceQuotaLimits.java @@ -11,7 +11,9 @@ /** Resource collection API of NetAppResourceQuotaLimits. */ public interface NetAppResourceQuotaLimits { /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -22,7 +24,9 @@ public interface NetAppResourceQuotaLimits { PagedIterable list(String location); /** - * Get the default and current limits for quotas. + * Get quota limits + * + *

Get the default and current limits for quotas. * * @param location The location. * @param context The context to associate with this operation. @@ -34,7 +38,9 @@ public interface NetAppResourceQuotaLimits { PagedIterable list(String location, Context context); /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. @@ -46,7 +52,9 @@ public interface NetAppResourceQuotaLimits { SubscriptionQuotaItem get(String location, String quotaLimitName); /** - * Get the default and current subscription quota limit. + * Get quota limits + * + *

Get the default and current subscription quota limit. * * @param location The location. * @param quotaLimitName The name of the Quota Limit. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppResources.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppResources.java index 9f28e4bdce4d..e9e5339e1853 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppResources.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetAppResources.java @@ -10,7 +10,9 @@ /** Resource collection API of NetAppResources. */ public interface NetAppResources { /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -22,7 +24,9 @@ public interface NetAppResources { CheckAvailabilityResponse checkNameAvailability(String location, ResourceNameAvailabilityRequest body); /** - * Check if a resource name is available. + * Check resource name availability + * + *

Check if a resource name is available. * * @param location The location. * @param body Name availability request. @@ -36,7 +40,9 @@ Response checkNameAvailabilityWithResponse( String location, ResourceNameAvailabilityRequest body, Context context); /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -48,7 +54,9 @@ Response checkNameAvailabilityWithResponse( CheckAvailabilityResponse checkFilePathAvailability(String location, FilePathAvailabilityRequest body); /** - * Check if a file path is available. + * Check file path availability + * + *

Check if a file path is available. * * @param location The location. * @param body File path availability request. @@ -62,7 +70,9 @@ Response checkFilePathAvailabilityWithResponse( String location, FilePathAvailabilityRequest body, Context context); /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -74,7 +84,9 @@ Response checkFilePathAvailabilityWithResponse( CheckAvailabilityResponse checkQuotaAvailability(String location, QuotaAvailabilityRequest body); /** - * Check if a quota is available. + * Check quota availability + * + *

Check if a quota is available. * * @param location The location. * @param body Quota availability request. @@ -86,4 +98,31 @@ Response checkFilePathAvailabilityWithResponse( */ Response checkQuotaAvailabilityWithResponse( String location, QuotaAvailabilityRequest body, Context context); + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return provides region specific information. + */ + RegionInfo queryRegionInfo(String location); + + /** + * Describes region specific information. + * + *

Provides storage to network proximity and logical zone mapping information. + * + * @param location The location. + * @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 provides region specific information along with {@link Response}. + */ + Response queryRegionInfoWithResponse(String location, Context context); } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetworkFeatures.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetworkFeatures.java index f0ee915b916c..cc6604a8483c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetworkFeatures.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/NetworkFeatures.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for NetworkFeatures. */ +/** + * Network features + * + *

Basic network, or Standard features available to the volume. + */ public final class NetworkFeatures extends ExpandableStringEnum { /** Static value Basic for NetworkFeatures. */ public static final NetworkFeatures BASIC = fromString("Basic"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Operations.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Operations.java index 5403e018baee..5f2f98610d17 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Operations.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Operations.java @@ -10,7 +10,9 @@ /** Resource collection API of Operations. */ public interface Operations { /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -19,7 +21,9 @@ public interface Operations { PagedIterable list(); /** - * Lists all of the available Microsoft.NetApp Rest API operations. + * Describes the Resource Provider + * + *

Lists all of the available Microsoft.NetApp Rest API operations. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/PlacementKeyValuePairs.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/PlacementKeyValuePairs.java index 58ae99ba812a..46e02310994a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/PlacementKeyValuePairs.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/PlacementKeyValuePairs.java @@ -12,15 +12,13 @@ @Fluent public final class PlacementKeyValuePairs { /* - * Key for an application specific parameter for the placement of volumes - * in the volume group + * Key for an application specific parameter for the placement of volumes in the volume group */ @JsonProperty(value = "key", required = true) private String key; /* - * Value for an application specific parameter for the placement of volumes - * in the volume group + * Value for an application specific parameter for the placement of volumes in the volume group */ @JsonProperty(value = "value", required = true) private String value; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Pools.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Pools.java index f34c352d063b..50f82dcd84e7 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Pools.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Pools.java @@ -11,7 +11,9 @@ /** Resource collection API of Pools. */ public interface Pools { /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -23,7 +25,9 @@ public interface Pools { PagedIterable list(String resourceGroupName, String accountName); /** - * List all capacity pools in the NetApp Account. + * Describe all Capacity Pools + * + *

List all capacity pools in the NetApp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -36,7 +40,9 @@ public interface Pools { PagedIterable list(String resourceGroupName, String accountName, Context context); /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -49,7 +55,9 @@ public interface Pools { CapacityPool get(String resourceGroupName, String accountName, String poolName); /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -64,7 +72,9 @@ Response getWithResponse( String resourceGroupName, String accountName, String poolName, Context context); /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -76,7 +86,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String poolName); /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -89,7 +101,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String poolName, Context context); /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -100,7 +114,9 @@ Response getWithResponse( CapacityPool getById(String id); /** - * Get details of the specified capacity pool. + * Describe a Capacity Pool + * + *

Get details of the specified capacity pool. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -112,7 +128,9 @@ Response getWithResponse( Response getByIdWithResponse(String id, Context context); /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -122,7 +140,9 @@ Response getWithResponse( void deleteById(String id); /** - * Delete the specified capacity pool. + * Delete a capacity pool + * + *

Delete the specified capacity pool. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ProvisioningState.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ProvisioningState.java index 3dafe16f6915..6ae7a1a7af9c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ProvisioningState.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ProvisioningState.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for ProvisioningState. */ +/** Gets the status of the VolumeQuotaRule at the time the operation was called. */ public enum ProvisioningState { /** Enum value Accepted. */ ACCEPTED("Accepted"), @@ -45,6 +45,9 @@ public enum ProvisioningState { */ @JsonCreator public static ProvisioningState fromString(String value) { + if (value == null) { + return null; + } ProvisioningState[] items = ProvisioningState.values(); for (ProvisioningState item : items) { if (item.toString().equalsIgnoreCase(value)) { @@ -54,6 +57,7 @@ public static ProvisioningState fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/QosType.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/QosType.java index a80d1960bf13..8397a57e6bf6 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/QosType.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/QosType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for QosType. */ +/** The qos type of the pool. */ public final class QosType extends ExpandableStringEnum { /** Static value Auto for QosType. */ public static final QosType AUTO = fromString("Auto"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionInfo.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionInfo.java new file mode 100644 index 000000000000..ebfc0908ed86 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionInfo.java @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.resourcemanager.netapp.fluent.models.RegionInfoInner; +import java.util.List; + +/** An immutable client-side representation of RegionInfo. */ +public interface RegionInfo { + /** + * Gets the storageToNetworkProximity property: Storage to Network Proximity + * + *

Provides storage to network proximity information in the region. + * + * @return the storageToNetworkProximity value. + */ + RegionStorageToNetworkProximity storageToNetworkProximity(); + + /** + * Gets the availabilityZoneMappings property: Logical availability zone mappings. + * + *

Provides logical availability zone mappings for the subscription for a region. + * + * @return the availabilityZoneMappings value. + */ + List availabilityZoneMappings(); + + /** + * Gets the inner com.azure.resourcemanager.netapp.fluent.models.RegionInfoInner object. + * + * @return the inner object. + */ + RegionInfoInner innerModel(); +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionInfoAvailabilityZoneMappingsItem.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionInfoAvailabilityZoneMappingsItem.java new file mode 100644 index 000000000000..987ce17477ec --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionInfoAvailabilityZoneMappingsItem.java @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The RegionInfoAvailabilityZoneMappingsItem model. */ +@Fluent +public final class RegionInfoAvailabilityZoneMappingsItem { + /* + * Logical availability zone. + */ + @JsonProperty(value = "availabilityZone") + private String availabilityZone; + + /* + * Available availability zone + */ + @JsonProperty(value = "isAvailable") + private Boolean isAvailable; + + /** + * Get the availabilityZone property: Logical availability zone. + * + * @return the availabilityZone value. + */ + public String availabilityZone() { + return this.availabilityZone; + } + + /** + * Set the availabilityZone property: Logical availability zone. + * + * @param availabilityZone the availabilityZone value to set. + * @return the RegionInfoAvailabilityZoneMappingsItem object itself. + */ + public RegionInfoAvailabilityZoneMappingsItem withAvailabilityZone(String availabilityZone) { + this.availabilityZone = availabilityZone; + return this; + } + + /** + * Get the isAvailable property: Available availability zone. + * + * @return the isAvailable value. + */ + public Boolean isAvailable() { + return this.isAvailable; + } + + /** + * Set the isAvailable property: Available availability zone. + * + * @param isAvailable the isAvailable value to set. + * @return the RegionInfoAvailabilityZoneMappingsItem object itself. + */ + public RegionInfoAvailabilityZoneMappingsItem withIsAvailable(Boolean isAvailable) { + this.isAvailable = isAvailable; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionStorageToNetworkProximity.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionStorageToNetworkProximity.java new file mode 100644 index 000000000000..16cbdea46bae --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RegionStorageToNetworkProximity.java @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** + * Storage to Network Proximity + * + *

Provides storage to network proximity information in the region. + */ +public final class RegionStorageToNetworkProximity extends ExpandableStringEnum { + /** Static value Default for RegionStorageToNetworkProximity. */ + public static final RegionStorageToNetworkProximity DEFAULT = fromString("Default"); + + /** Static value T1 for RegionStorageToNetworkProximity. */ + public static final RegionStorageToNetworkProximity T1 = fromString("T1"); + + /** Static value T2 for RegionStorageToNetworkProximity. */ + public static final RegionStorageToNetworkProximity T2 = fromString("T2"); + + /** Static value T1AndT2 for RegionStorageToNetworkProximity. */ + public static final RegionStorageToNetworkProximity T1AND_T2 = fromString("T1AndT2"); + + /** + * Creates or finds a RegionStorageToNetworkProximity from its string representation. + * + * @param name a name to look for. + * @return the corresponding RegionStorageToNetworkProximity. + */ + @JsonCreator + public static RegionStorageToNetworkProximity fromString(String name) { + return fromString(name, RegionStorageToNetworkProximity.class); + } + + /** + * Gets known RegionStorageToNetworkProximity values. + * + * @return known RegionStorageToNetworkProximity values. + */ + public static Collection values() { + return values(RegionStorageToNetworkProximity.class); + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RelationshipStatus.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RelationshipStatus.java index 3f7c86bc4ae6..c8ef2f276018 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RelationshipStatus.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RelationshipStatus.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for RelationshipStatus. */ +/** Status of the mirror relationship. */ public final class RelationshipStatus extends ExpandableStringEnum { /** Static value Idle for RelationshipStatus. */ public static final RelationshipStatus IDLE = fromString("Idle"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RelocateVolumeRequest.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RelocateVolumeRequest.java new file mode 100644 index 000000000000..d94fb389b906 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/RelocateVolumeRequest.java @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Relocate volume request. */ +@Fluent +public final class RelocateVolumeRequest { + /* + * New creation token for the volume that controls the mount point name + */ + @JsonProperty(value = "creationToken") + private String creationToken; + + /** + * Get the creationToken property: New creation token for the volume that controls the mount point name. + * + * @return the creationToken value. + */ + public String creationToken() { + return this.creationToken; + } + + /** + * Set the creationToken property: New creation token for the volume that controls the mount point name. + * + * @param creationToken the creationToken value to set. + * @return the RelocateVolumeRequest object itself. + */ + public RelocateVolumeRequest withCreationToken(String creationToken) { + this.creationToken = creationToken; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ReplicationObject.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ReplicationObject.java index 0884e92d00d7..3f197db38f0a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ReplicationObject.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ReplicationObject.java @@ -18,8 +18,7 @@ public final class ReplicationObject { private String replicationId; /* - * Indicates whether the local volume is the source or destination for the - * Volume Replication + * Indicates whether the local volume is the source or destination for the Volume Replication */ @JsonProperty(value = "endpointType") private EndpointType endpointType; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ReplicationSchedule.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ReplicationSchedule.java index 0639beb60483..fdbac5dc7d14 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ReplicationSchedule.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ReplicationSchedule.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ReplicationSchedule. */ +/** Schedule. */ public final class ReplicationSchedule extends ExpandableStringEnum { /** Static value _10minutely for ReplicationSchedule. */ public static final ReplicationSchedule ONE_ZEROMINUTELY = fromString("_10minutely"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SecurityStyle.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SecurityStyle.java index fd23dfd895bb..de54f835617b 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SecurityStyle.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SecurityStyle.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for SecurityStyle. */ +/** The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. */ public final class SecurityStyle extends ExpandableStringEnum { /** Static value ntfs for SecurityStyle. */ public static final SecurityStyle NTFS = fromString("ntfs"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ServiceLevel.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ServiceLevel.java index 6cf3ffa421bb..89a99c5d2846 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ServiceLevel.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/ServiceLevel.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ServiceLevel. */ +/** + * serviceLevel + * + *

The service level of the file system. + */ public final class ServiceLevel extends ExpandableStringEnum { /** Static value Standard for ServiceLevel. */ public static final ServiceLevel STANDARD = fromString("Standard"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SmbAccessBasedEnumeration.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SmbAccessBasedEnumeration.java new file mode 100644 index 000000000000..66b16b425d7c --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SmbAccessBasedEnumeration.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** + * smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + */ +public final class SmbAccessBasedEnumeration extends ExpandableStringEnum { + /** Static value Disabled for SmbAccessBasedEnumeration. */ + public static final SmbAccessBasedEnumeration DISABLED = fromString("Disabled"); + + /** Static value Enabled for SmbAccessBasedEnumeration. */ + public static final SmbAccessBasedEnumeration ENABLED = fromString("Enabled"); + + /** + * Creates or finds a SmbAccessBasedEnumeration from its string representation. + * + * @param name a name to look for. + * @return the corresponding SmbAccessBasedEnumeration. + */ + @JsonCreator + public static SmbAccessBasedEnumeration fromString(String name) { + return fromString(name, SmbAccessBasedEnumeration.class); + } + + /** + * Gets known SmbAccessBasedEnumeration values. + * + * @return known SmbAccessBasedEnumeration values. + */ + public static Collection values() { + return values(SmbAccessBasedEnumeration.class); + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SmbNonBrowsable.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SmbNonBrowsable.java new file mode 100644 index 000000000000..40d740be9936 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SmbNonBrowsable.java @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** + * smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + */ +public final class SmbNonBrowsable extends ExpandableStringEnum { + /** Static value Disabled for SmbNonBrowsable. */ + public static final SmbNonBrowsable DISABLED = fromString("Disabled"); + + /** Static value Enabled for SmbNonBrowsable. */ + public static final SmbNonBrowsable ENABLED = fromString("Enabled"); + + /** + * Creates or finds a SmbNonBrowsable from its string representation. + * + * @param name a name to look for. + * @return the corresponding SmbNonBrowsable. + */ + @JsonCreator + public static SmbNonBrowsable fromString(String name) { + return fromString(name, SmbNonBrowsable.class); + } + + /** + * Gets known SmbNonBrowsable values. + * + * @return known SmbNonBrowsable values. + */ + public static Collection values() { + return values(SmbNonBrowsable.class); + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Snapshot.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Snapshot.java index 726ffad44243..7cb40dd12d7e 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Snapshot.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Snapshot.java @@ -40,14 +40,18 @@ public interface Snapshot { String location(); /** - * Gets the snapshotId property: snapshotId UUID v4 used to identify the Snapshot. + * Gets the snapshotId property: snapshotId + * + *

UUID v4 used to identify the Snapshot. * * @return the snapshotId value. */ String snapshotId(); /** - * Gets the created property: name The creation date of the snapshot. + * Gets the created property: name + * + *

The creation date of the snapshot. * * @return the created value. */ @@ -162,7 +166,9 @@ interface WithCreate { Snapshot refresh(Context context); /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param body Restore payload supplied in the body of the operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -172,7 +178,9 @@ interface WithCreate { void restoreFiles(SnapshotRestoreFiles body); /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param body Restore payload supplied in the body of the operation. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SnapshotPolicies.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SnapshotPolicies.java index 9b0059130d4d..2f524d511a6a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SnapshotPolicies.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SnapshotPolicies.java @@ -89,7 +89,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String snapshotPolicyName, Context context); /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -102,7 +104,9 @@ Response getWithResponse( SnapshotPolicyVolumeList listVolumes(String resourceGroupName, String accountName, String snapshotPolicyName); /** - * Get volumes associated with snapshot policy. + * Get volumes for snapshot policy + * + *

Get volumes associated with snapshot policy. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Snapshots.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Snapshots.java index d85db48b3028..2f37f40b390b 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Snapshots.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Snapshots.java @@ -11,7 +11,9 @@ /** Resource collection API of Snapshots. */ public interface Snapshots { /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -25,7 +27,9 @@ public interface Snapshots { PagedIterable list(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * List all snapshots associated with the volume. + * Describe all snapshots + * + *

List all snapshots associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -41,7 +45,9 @@ PagedIterable list( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -56,7 +62,9 @@ PagedIterable list( Snapshot get(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName); /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -78,7 +86,9 @@ Response getWithResponse( Context context); /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -100,7 +110,9 @@ Snapshot update( Object body); /** - * Patch a snapshot. + * Update a snapshot + * + *

Patch a snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -124,7 +136,9 @@ Snapshot update( Context context); /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -138,7 +152,9 @@ Snapshot update( void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String snapshotName); /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -159,7 +175,9 @@ void delete( Context context); /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -180,7 +198,9 @@ void restoreFiles( SnapshotRestoreFiles body); /** - * Restore the specified files from the specified snapshot to the active filesystem. + * Create a new Snapshot Restore Files request + * + *

Restore the specified files from the specified snapshot to the active filesystem. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -203,7 +223,9 @@ void restoreFiles( Context context); /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -214,7 +236,9 @@ void restoreFiles( Snapshot getById(String id); /** - * Get details of the specified snapshot. + * Describe a snapshot + * + *

Get details of the specified snapshot. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -226,7 +250,9 @@ void restoreFiles( Response getByIdWithResponse(String id, Context context); /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -236,7 +262,9 @@ void restoreFiles( void deleteById(String id); /** - * Delete snapshot. + * Delete a snapshot + * + *

Delete snapshot. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumeInfo.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumeInfo.java index 8bfcb659d339..196ddd44cd2d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumeInfo.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumeInfo.java @@ -39,21 +39,27 @@ public interface SubvolumeInfo { SystemData systemData(); /** - * Gets the path property: path Path to the subvolume. + * Gets the path property: path + * + *

Path to the subvolume. * * @return the path value. */ String path(); /** - * Gets the size property: size Truncate subvolume to the provided size in bytes. + * Gets the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @return the size value. */ Long size(); /** - * Gets the parentPath property: name parent path to the subvolume. + * Gets the parentPath property: name + * + *

parent path to the subvolume. * * @return the parentPath value. */ @@ -127,9 +133,12 @@ interface WithCreate /** The stage of the SubvolumeInfo definition allowing to specify path. */ interface WithPath { /** - * Specifies the path property: path Path to the subvolume. + * Specifies the path property: path * - * @param path path Path to the subvolume. + *

Path to the subvolume. + * + * @param path path + *

Path to the subvolume. * @return the next definition stage. */ WithCreate withPath(String path); @@ -137,9 +146,12 @@ interface WithPath { /** The stage of the SubvolumeInfo definition allowing to specify size. */ interface WithSize { /** - * Specifies the size property: size Truncate subvolume to the provided size in bytes. + * Specifies the size property: size + * + *

Truncate subvolume to the provided size in bytes. * - * @param size size Truncate subvolume to the provided size in bytes. + * @param size size + *

Truncate subvolume to the provided size in bytes. * @return the next definition stage. */ WithCreate withSize(Long size); @@ -147,9 +159,12 @@ interface WithSize { /** The stage of the SubvolumeInfo definition allowing to specify parentPath. */ interface WithParentPath { /** - * Specifies the parentPath property: name parent path to the subvolume. + * Specifies the parentPath property: name * - * @param parentPath name parent path to the subvolume. + *

parent path to the subvolume. + * + * @param parentPath name + *

parent path to the subvolume. * @return the next definition stage. */ WithCreate withParentPath(String parentPath); @@ -184,9 +199,12 @@ interface UpdateStages { /** The stage of the SubvolumeInfo update allowing to specify size. */ interface WithSize { /** - * Specifies the size property: size Truncate subvolume to the provided size in bytes. + * Specifies the size property: size + * + *

Truncate subvolume to the provided size in bytes. * - * @param size size Truncate subvolume to the provided size in bytes. + * @param size size + *

Truncate subvolume to the provided size in bytes. * @return the next definition stage. */ Update withSize(Long size); @@ -194,9 +212,12 @@ interface WithSize { /** The stage of the SubvolumeInfo update allowing to specify path. */ interface WithPath { /** - * Specifies the path property: path path to the subvolume. + * Specifies the path property: path + * + *

path to the subvolume. * - * @param path path path to the subvolume. + * @param path path + *

path to the subvolume. * @return the next definition stage. */ Update withPath(String path); @@ -218,7 +239,9 @@ interface WithPath { SubvolumeInfo refresh(Context context); /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -227,7 +250,9 @@ interface WithPath { SubvolumeModel getMetadata(); /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumeModel.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumeModel.java index 48ac773ccf24..9693656988f5 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumeModel.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumeModel.java @@ -31,63 +31,81 @@ public interface SubvolumeModel { String type(); /** - * Gets the path property: path Path to the subvolume. + * Gets the path property: path + * + *

Path to the subvolume. * * @return the path value. */ String path(); /** - * Gets the parentPath property: parentpath Path to the parent subvolume. + * Gets the parentPath property: parentpath + * + *

Path to the parent subvolume. * * @return the parentPath value. */ String parentPath(); /** - * Gets the size property: size Size of subvolume. + * Gets the size property: size + * + *

Size of subvolume. * * @return the size value. */ Long size(); /** - * Gets the bytesUsed property: bytesUsed Bytes used. + * Gets the bytesUsed property: bytesUsed + * + *

Bytes used. * * @return the bytesUsed value. */ Long bytesUsed(); /** - * Gets the permissions property: permissions Permissions of the subvolume. + * Gets the permissions property: permissions + * + *

Permissions of the subvolume. * * @return the permissions value. */ String permissions(); /** - * Gets the creationTimestamp property: creationTimeStamp Creation time and date. + * Gets the creationTimestamp property: creationTimeStamp + * + *

Creation time and date. * * @return the creationTimestamp value. */ OffsetDateTime creationTimestamp(); /** - * Gets the accessedTimestamp property: accessedTimeStamp Most recent access time and date. + * Gets the accessedTimestamp property: accessedTimeStamp + * + *

Most recent access time and date. * * @return the accessedTimestamp value. */ OffsetDateTime accessedTimestamp(); /** - * Gets the modifiedTimestamp property: modifiedTimeStamp Most recent modification time and date. + * Gets the modifiedTimestamp property: modifiedTimeStamp + * + *

Most recent modification time and date. * * @return the modifiedTimestamp value. */ OffsetDateTime modifiedTimestamp(); /** - * Gets the changedTimestamp property: changedTimeStamp Most recent change time and date. + * Gets the changedTimestamp property: changedTimeStamp + * + *

Most recent change time and date. * * @return the changedTimestamp value. */ diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumePatchRequest.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumePatchRequest.java index f766f48b6e79..0ce7dddeba7a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumePatchRequest.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/SubvolumePatchRequest.java @@ -27,7 +27,9 @@ private SubvolumePatchParams innerProperties() { } /** - * Get the size property: size Truncate subvolume to the provided size in bytes. + * Get the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @return the size value. */ @@ -36,7 +38,9 @@ public Long size() { } /** - * Set the size property: size Truncate subvolume to the provided size in bytes. + * Set the size property: size + * + *

Truncate subvolume to the provided size in bytes. * * @param size the size value to set. * @return the SubvolumePatchRequest object itself. @@ -50,7 +54,9 @@ public SubvolumePatchRequest withSize(Long size) { } /** - * Get the path property: path path to the subvolume. + * Get the path property: path + * + *

path to the subvolume. * * @return the path value. */ @@ -59,7 +65,9 @@ public String path() { } /** - * Set the path property: path path to the subvolume. + * Set the path property: path + * + *

path to the subvolume. * * @param path the path value to set. * @return the SubvolumePatchRequest object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Subvolumes.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Subvolumes.java index 6eeb310ccdeb..78a7141f561c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Subvolumes.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Subvolumes.java @@ -11,7 +11,9 @@ /** Resource collection API of Subvolumes. */ public interface Subvolumes { /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -26,7 +28,9 @@ PagedIterable listByVolume( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Returns a list of the subvolumes in the volume. + * List of all the subvolumes + * + *

Returns a list of the subvolumes in the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -42,7 +46,9 @@ PagedIterable listByVolume( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -58,7 +64,9 @@ SubvolumeInfo get( String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName); /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -80,7 +88,9 @@ Response getWithResponse( Context context); /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -94,7 +104,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName); /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -115,7 +127,9 @@ void delete( Context context); /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -131,7 +145,9 @@ SubvolumeModel getMetadata( String resourceGroupName, String accountName, String poolName, String volumeName, String subvolumeName); /** - * Get details of the specified subvolume. + * Describe a subvolume + * + *

Get details of the specified subvolume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -153,7 +169,9 @@ SubvolumeModel getMetadata( Context context); /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -164,7 +182,9 @@ SubvolumeModel getMetadata( SubvolumeInfo getById(String id); /** - * Returns the path associated with the subvolumeName provided. + * Get the path associated with the subvolumeName + * + *

Returns the path associated with the subvolumeName provided. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -176,7 +196,9 @@ SubvolumeModel getMetadata( Response getByIdWithResponse(String id, Context context); /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -186,7 +208,9 @@ SubvolumeModel getMetadata( void deleteById(String id); /** - * Delete subvolume. + * Delete a subvolume + * + *

Delete subvolume. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Type.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Type.java index 67e4f20fd108..b53e790c3ffa 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Type.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Type.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for Type. */ +/** + * quotaType + * + *

Type of quota. + */ public final class Type extends ExpandableStringEnum { /** Static value DefaultUserQuota for Type. */ public static final Type DEFAULT_USER_QUOTA = fromString("DefaultUserQuota"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/UserAssignedIdentity.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/UserAssignedIdentity.java new file mode 100644 index 000000000000..8ca64491d6be --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/UserAssignedIdentity.java @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** UserAssignedIdentity for the resource. */ +@Immutable +public class UserAssignedIdentity { + /* + * The principal ID of the identity. + */ + @JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY) + private String principalId; + + /* + * The client ID of the identity. + */ + @JsonProperty(value = "clientId", access = JsonProperty.Access.WRITE_ONLY) + private String clientId; + + /** + * Get the principalId property: The principal ID of the identity. + * + * @return the principalId value. + */ + public String principalId() { + return this.principalId; + } + + /** + * Get the clientId property: The client ID of the identity. + * + * @return the clientId value. + */ + public String clientId() { + return this.clientId; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Vault.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Vault.java index d27d1206b4a8..27f4258556ff 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Vault.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Vault.java @@ -29,13 +29,6 @@ public interface Vault { */ String type(); - /** - * Gets the location property: Resource location. - * - * @return the location value. - */ - String location(); - /** * Gets the vaultName property: Vault Name. * diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Vaults.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Vaults.java index 576fc90ec724..671c746677ce 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Vaults.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Vaults.java @@ -10,7 +10,9 @@ /** Resource collection API of Vaults. */ public interface Vaults { /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -22,7 +24,9 @@ public interface Vaults { PagedIterable list(String resourceGroupName, String accountName); /** - * List vaults for a Netapp Account. + * List vaults + * + *

List vaults for a Netapp Account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volume.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volume.java index 2bd50afd2e77..c31832fc0e8a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volume.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volume.java @@ -72,44 +72,55 @@ public interface Volume { SystemData systemData(); /** - * Gets the fileSystemId property: FileSystem ID Unique FileSystem Identifier. + * Gets the fileSystemId property: FileSystem ID + * + *

Unique FileSystem Identifier. * * @return the fileSystemId value. */ String fileSystemId(); /** - * Gets the creationToken property: Creation Token or File Path A unique file path for the volume. Used when - * creating mount targets. + * Gets the creationToken property: Creation Token or File Path + * + *

A unique file path for the volume. Used when creating mount targets. * * @return the creationToken value. */ String creationToken(); /** - * Gets the serviceLevel property: serviceLevel The service level of the file system. + * Gets the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ ServiceLevel serviceLevel(); /** - * Gets the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This - * is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Gets the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @return the usageThreshold value. */ long usageThreshold(); /** - * Gets the exportPolicy property: exportPolicy Set of export policy rules. + * Gets the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @return the exportPolicy value. */ VolumePropertiesExportPolicy exportPolicy(); /** - * Gets the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol. + * Gets the protocolTypes property: protocolTypes + * + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. * * @return the protocolTypes value. */ @@ -123,21 +134,35 @@ public interface Volume { String provisioningState(); /** - * Gets the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot. + * Gets the snapshotId property: Snapshot ID + * + *

UUID v4 or resource identifier used to identify the Snapshot. * * @return the snapshotId value. */ String snapshotId(); /** - * Gets the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup. + * Gets the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be + * automatically deleted after the volume create operation has finished. Defaults to false. + * + * @return the deleteBaseSnapshot value. + */ + Boolean deleteBaseSnapshot(); + + /** + * Gets the backupId property: Backup ID + * + *

UUID v4 or resource identifier used to identify the Backup. * * @return the backupId value. */ String backupId(); /** - * Gets the baremetalTenantId property: Baremetal Tenant ID Unique Baremetal Tenant Identifier. + * Gets the baremetalTenantId property: Baremetal Tenant ID + * + *

Unique Baremetal Tenant Identifier. * * @return the baremetalTenantId value. */ @@ -152,30 +177,36 @@ public interface Volume { String subnetId(); /** - * Gets the networkFeatures property: Network features Basic network, or Standard features available to the volume. + * Gets the networkFeatures property: Network features + * + *

Basic network, or Standard features available to the volume. * * @return the networkFeatures value. */ NetworkFeatures networkFeatures(); /** - * Gets the networkSiblingSetId property: Network Sibling Set ID Network Sibling Set ID for the the group of volumes - * sharing networking resources. + * Gets the networkSiblingSetId property: Network Sibling Set ID + * + *

Network Sibling Set ID for the the group of volumes sharing networking resources. * * @return the networkSiblingSetId value. */ String networkSiblingSetId(); /** - * Gets the storageToNetworkProximity property: Storage to Network Proximity Provides storage to network proximity - * information for the volume. + * Gets the storageToNetworkProximity property: Storage to Network Proximity + * + *

Provides storage to network proximity information for the volume. * * @return the storageToNetworkProximity value. */ VolumeStorageToNetworkProximity storageToNetworkProximity(); /** - * Gets the mountTargets property: mountTargets List of mount targets. + * Gets the mountTargets property: mountTargets + * + *

List of mount targets. * * @return the mountTargets value. */ @@ -190,8 +221,9 @@ public interface Volume { String volumeType(); /** - * Gets the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Gets the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @return the dataProtection value. */ @@ -236,6 +268,24 @@ public interface Volume { */ Boolean smbEncryption(); + /** + * Gets the smbAccessBasedEnumeration property: smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @return the smbAccessBasedEnumeration value. + */ + SmbAccessBasedEnumeration smbAccessBasedEnumeration(); + + /** + * Gets the smbNonBrowsable property: smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @return the smbNonBrowsable value. + */ + SmbNonBrowsable smbNonBrowsable(); + /** * Gets the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only * applicable for SMB volume. @@ -312,8 +362,9 @@ public interface Volume { Integer cloneProgress(); /** - * Gets the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution - * (AVS) datastore purpose. + * Gets the avsDataStore property: avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * * @return the avsDataStore value. */ @@ -396,8 +447,9 @@ public interface Volume { Boolean encrypted(); /** - * Gets the placementRules property: Volume placement rules Application specific placement rules for the particular - * volume. + * Gets the placementRules property: Volume placement rules + * + *

Application specific placement rules for the particular volume. * * @return the placementRules value. */ @@ -486,11 +538,12 @@ interface WithParentResource { /** The stage of the Volume definition allowing to specify creationToken. */ interface WithCreationToken { /** - * Specifies the creationToken property: Creation Token or File Path A unique file path for the volume. Used - * when creating mount targets. + * Specifies the creationToken property: Creation Token or File Path + * + *

A unique file path for the volume. Used when creating mount targets. * - * @param creationToken Creation Token or File Path A unique file path for the volume. Used when creating - * mount targets. + * @param creationToken Creation Token or File Path + *

A unique file path for the volume. Used when creating mount targets. * @return the next definition stage. */ WithUsageThreshold withCreationToken(String creationToken); @@ -498,13 +551,14 @@ interface WithCreationToken { /** The stage of the Volume definition allowing to specify usageThreshold. */ interface WithUsageThreshold { /** - * Specifies the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in - * bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. - * Specified in bytes.. + * Specifies the usageThreshold property: usageThreshold * - * @param usageThreshold usageThreshold Maximum storage quota allowed for a file system in bytes. This is a - * soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in - * bytes. + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. + * Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes.. + * + * @param usageThreshold usageThreshold + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting + * only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * @return the next definition stage. */ WithSubnetId withUsageThreshold(long usageThreshold); @@ -532,6 +586,7 @@ interface WithCreate DefinitionStages.WithExportPolicy, DefinitionStages.WithProtocolTypes, DefinitionStages.WithSnapshotId, + DefinitionStages.WithDeleteBaseSnapshot, DefinitionStages.WithBackupId, DefinitionStages.WithNetworkFeatures, DefinitionStages.WithVolumeType, @@ -541,6 +596,8 @@ interface WithCreate DefinitionStages.WithKerberosEnabled, DefinitionStages.WithSecurityStyle, DefinitionStages.WithSmbEncryption, + DefinitionStages.WithSmbAccessBasedEnumeration, + DefinitionStages.WithSmbNonBrowsable, DefinitionStages.WithSmbContinuouslyAvailable, DefinitionStages.WithThroughputMibps, DefinitionStages.WithEncryptionKeySource, @@ -596,9 +653,12 @@ interface WithZones { /** The stage of the Volume definition allowing to specify serviceLevel. */ interface WithServiceLevel { /** - * Specifies the serviceLevel property: serviceLevel The service level of the file system. + * Specifies the serviceLevel property: serviceLevel + * + *

The service level of the file system. * - * @param serviceLevel serviceLevel The service level of the file system. + * @param serviceLevel serviceLevel + *

The service level of the file system. * @return the next definition stage. */ WithCreate withServiceLevel(ServiceLevel serviceLevel); @@ -606,9 +666,12 @@ interface WithServiceLevel { /** The stage of the Volume definition allowing to specify exportPolicy. */ interface WithExportPolicy { /** - * Specifies the exportPolicy property: exportPolicy Set of export policy rules. + * Specifies the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * - * @param exportPolicy exportPolicy Set of export policy rules. + * @param exportPolicy exportPolicy + *

Set of export policy rules. * @return the next definition stage. */ WithCreate withExportPolicy(VolumePropertiesExportPolicy exportPolicy); @@ -616,10 +679,12 @@ interface WithExportPolicy { /** The stage of the Volume definition allowing to specify protocolTypes. */ interface WithProtocolTypes { /** - * Specifies the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB - * protocol. + * Specifies the protocolTypes property: protocolTypes * - * @param protocolTypes protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol. + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. + * + * @param protocolTypes protocolTypes + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. * @return the next definition stage. */ WithCreate withProtocolTypes(List protocolTypes); @@ -627,20 +692,37 @@ interface WithProtocolTypes { /** The stage of the Volume definition allowing to specify snapshotId. */ interface WithSnapshotId { /** - * Specifies the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the - * Snapshot.. + * Specifies the snapshotId property: Snapshot ID + * + *

UUID v4 or resource identifier used to identify the Snapshot.. * - * @param snapshotId Snapshot ID UUID v4 or resource identifier used to identify the Snapshot. + * @param snapshotId Snapshot ID + *

UUID v4 or resource identifier used to identify the Snapshot. * @return the next definition stage. */ WithCreate withSnapshotId(String snapshotId); } + /** The stage of the Volume definition allowing to specify deleteBaseSnapshot. */ + interface WithDeleteBaseSnapshot { + /** + * Specifies the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from + * will be automatically deleted after the volume create operation has finished. Defaults to false. + * + * @param deleteBaseSnapshot If enabled (true) the snapshot the volume was created from will be + * automatically deleted after the volume create operation has finished. Defaults to false. + * @return the next definition stage. + */ + WithCreate withDeleteBaseSnapshot(Boolean deleteBaseSnapshot); + } /** The stage of the Volume definition allowing to specify backupId. */ interface WithBackupId { /** - * Specifies the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup.. + * Specifies the backupId property: Backup ID + * + *

UUID v4 or resource identifier used to identify the Backup.. * - * @param backupId Backup ID UUID v4 or resource identifier used to identify the Backup. + * @param backupId Backup ID + *

UUID v4 or resource identifier used to identify the Backup. * @return the next definition stage. */ WithCreate withBackupId(String backupId); @@ -648,10 +730,12 @@ interface WithBackupId { /** The stage of the Volume definition allowing to specify networkFeatures. */ interface WithNetworkFeatures { /** - * Specifies the networkFeatures property: Network features Basic network, or Standard features available to - * the volume.. + * Specifies the networkFeatures property: Network features + * + *

Basic network, or Standard features available to the volume.. * - * @param networkFeatures Network features Basic network, or Standard features available to the volume. + * @param networkFeatures Network features + *

Basic network, or Standard features available to the volume. * @return the next definition stage. */ WithCreate withNetworkFeatures(NetworkFeatures networkFeatures); @@ -671,11 +755,12 @@ interface WithVolumeType { /** The stage of the Volume definition allowing to specify dataProtection. */ interface WithDataProtection { /** - * Specifies the dataProtection property: DataProtection DataProtection type volumes include an object - * containing details of the replication. + * Specifies the dataProtection property: DataProtection * - * @param dataProtection DataProtection DataProtection type volumes include an object containing details of - * the replication. + *

DataProtection type volumes include an object containing details of the replication. + * + * @param dataProtection DataProtection + *

DataProtection type volumes include an object containing details of the replication. * @return the next definition stage. */ WithCreate withDataProtection(VolumePropertiesDataProtection dataProtection); @@ -738,6 +823,34 @@ interface WithSmbEncryption { */ WithCreate withSmbEncryption(Boolean smbEncryption); } + /** The stage of the Volume definition allowing to specify smbAccessBasedEnumeration. */ + interface WithSmbAccessBasedEnumeration { + /** + * Specifies the smbAccessBasedEnumeration property: smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol + * volume. + * + * @param smbAccessBasedEnumeration smbAccessBasedEnumeration + *

Enables access based enumeration share property for SMB Shares. Only applicable for + * SMB/DualProtocol volume. + * @return the next definition stage. + */ + WithCreate withSmbAccessBasedEnumeration(SmbAccessBasedEnumeration smbAccessBasedEnumeration); + } + /** The stage of the Volume definition allowing to specify smbNonBrowsable. */ + interface WithSmbNonBrowsable { + /** + * Specifies the smbNonBrowsable property: smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @param smbNonBrowsable smbNonBrowsable + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * @return the next definition stage. + */ + WithCreate withSmbNonBrowsable(SmbNonBrowsable smbNonBrowsable); + } /** The stage of the Volume definition allowing to specify smbContinuouslyAvailable. */ interface WithSmbContinuouslyAvailable { /** @@ -842,11 +955,12 @@ interface WithUnixPermissions { /** The stage of the Volume definition allowing to specify avsDataStore. */ interface WithAvsDataStore { /** - * Specifies the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure - * VMware Solution (AVS) datastore purpose. + * Specifies the avsDataStore property: avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * - * @param avsDataStore avsDataStore Specifies whether the volume is enabled for Azure VMware Solution (AVS) - * datastore purpose. + * @param avsDataStore avsDataStore + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * @return the next definition stage. */ WithCreate withAvsDataStore(AvsDataStore avsDataStore); @@ -921,11 +1035,12 @@ interface WithVolumeSpecName { /** The stage of the Volume definition allowing to specify placementRules. */ interface WithPlacementRules { /** - * Specifies the placementRules property: Volume placement rules Application specific placement rules for - * the particular volume. + * Specifies the placementRules property: Volume placement rules + * + *

Application specific placement rules for the particular volume. * - * @param placementRules Volume placement rules Application specific placement rules for the particular - * volume. + * @param placementRules Volume placement rules + *

Application specific placement rules for the particular volume. * @return the next definition stage. */ WithCreate withPlacementRules(List placementRules); @@ -993,9 +1108,12 @@ interface WithTags { /** The stage of the Volume update allowing to specify serviceLevel. */ interface WithServiceLevel { /** - * Specifies the serviceLevel property: serviceLevel The service level of the file system. + * Specifies the serviceLevel property: serviceLevel * - * @param serviceLevel serviceLevel The service level of the file system. + *

The service level of the file system. + * + * @param serviceLevel serviceLevel + *

The service level of the file system. * @return the next definition stage. */ Update withServiceLevel(ServiceLevel serviceLevel); @@ -1003,13 +1121,14 @@ interface WithServiceLevel { /** The stage of the Volume update allowing to specify usageThreshold. */ interface WithUsageThreshold { /** - * Specifies the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in - * bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. - * Specified in bytes.. + * Specifies the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. + * Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes.. * - * @param usageThreshold usageThreshold Maximum storage quota allowed for a file system in bytes. This is a - * soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in - * bytes. + * @param usageThreshold usageThreshold + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting + * only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * @return the next definition stage. */ Update withUsageThreshold(Long usageThreshold); @@ -1017,9 +1136,12 @@ interface WithUsageThreshold { /** The stage of the Volume update allowing to specify exportPolicy. */ interface WithExportPolicy { /** - * Specifies the exportPolicy property: exportPolicy Set of export policy rules. + * Specifies the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * - * @param exportPolicy exportPolicy Set of export policy rules. + * @param exportPolicy exportPolicy + *

Set of export policy rules. * @return the next definition stage. */ Update withExportPolicy(VolumePatchPropertiesExportPolicy exportPolicy); @@ -1039,11 +1161,12 @@ interface WithThroughputMibps { /** The stage of the Volume update allowing to specify dataProtection. */ interface WithDataProtection { /** - * Specifies the dataProtection property: DataProtection DataProtection type volumes include an object - * containing details of the replication. + * Specifies the dataProtection property: DataProtection * - * @param dataProtection DataProtection DataProtection type volumes include an object containing details of - * the replication. + *

DataProtection type volumes include an object containing details of the replication. + * + * @param dataProtection DataProtection + *

DataProtection type volumes include an object containing details of the replication. * @return the next definition stage. */ Update withDataProtection(VolumePatchPropertiesDataProtection dataProtection); @@ -1139,7 +1262,9 @@ interface WithCoolnessPeriod { Volume refresh(Context context); /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param body Object for snapshot to revert supplied in the body of the operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1149,7 +1274,9 @@ interface WithCoolnessPeriod { void revert(VolumeRevert body); /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param body Object for snapshot to revert supplied in the body of the operation. * @param context The context to associate with this operation. @@ -1160,7 +1287,9 @@ interface WithCoolnessPeriod { void revert(VolumeRevert body, Context context); /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1168,7 +1297,9 @@ interface WithCoolnessPeriod { void resetCifsPassword(); /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1178,7 +1309,9 @@ interface WithCoolnessPeriod { void resetCifsPassword(Context context); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param body Optional body to force break the replication. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1188,7 +1321,9 @@ interface WithCoolnessPeriod { void breakReplication(BreakReplicationRequest body); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1196,7 +1331,9 @@ interface WithCoolnessPeriod { void breakReplication(); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param body Optional body to force break the replication. * @param context The context to associate with this operation. @@ -1207,7 +1344,9 @@ interface WithCoolnessPeriod { void breakReplication(BreakReplicationRequest body, Context context); /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param body body for the id of the source volume. @@ -1218,7 +1357,9 @@ interface WithCoolnessPeriod { void reestablishReplication(ReestablishReplicationRequest body); /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param body body for the id of the source volume. @@ -1230,7 +1371,9 @@ interface WithCoolnessPeriod { void reestablishReplication(ReestablishReplicationRequest body, Context context); /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1239,7 +1382,9 @@ interface WithCoolnessPeriod { PagedIterable listReplications(); /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1250,7 +1395,9 @@ interface WithCoolnessPeriod { PagedIterable listReplications(Context context); /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1259,7 +1406,9 @@ interface WithCoolnessPeriod { void resyncReplication(); /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param context The context to associate with this operation. @@ -1270,7 +1419,9 @@ interface WithCoolnessPeriod { void resyncReplication(Context context); /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1278,7 +1429,9 @@ interface WithCoolnessPeriod { void deleteReplication(); /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1288,7 +1441,9 @@ interface WithCoolnessPeriod { void deleteReplication(Context context); /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param body Authorize request object supplied in the body of the operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1298,7 +1453,9 @@ interface WithCoolnessPeriod { void authorizeReplication(AuthorizeRequest body); /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param body Authorize request object supplied in the body of the operation. * @param context The context to associate with this operation. @@ -1309,7 +1466,9 @@ interface WithCoolnessPeriod { void authorizeReplication(AuthorizeRequest body, Context context); /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1317,7 +1476,9 @@ interface WithCoolnessPeriod { void reInitializeReplication(); /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1327,7 +1488,9 @@ interface WithCoolnessPeriod { void reInitializeReplication(Context context); /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param body Move volume to the pool supplied in the body of the operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1337,7 +1500,9 @@ interface WithCoolnessPeriod { void poolChange(PoolChangeRequest body); /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param body Move volume to the pool supplied in the body of the operation. * @param context The context to associate with this operation. @@ -1348,7 +1513,21 @@ interface WithCoolnessPeriod { void poolChange(PoolChangeRequest body, Context context); /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. + * + * @param body Relocate volume 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. + */ + void relocate(RelocateVolumeRequest body); + + /** + * Relocate volume + * + *

Relocates volume to a new stamp. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1356,17 +1535,22 @@ interface WithCoolnessPeriod { void relocate(); /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * + * @param body Relocate volume 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. */ - void relocate(Context context); + void relocate(RelocateVolumeRequest body, Context context); /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1374,7 +1558,9 @@ interface WithCoolnessPeriod { void finalizeRelocation(); /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1384,7 +1570,9 @@ interface WithCoolnessPeriod { void finalizeRelocation(Context context); /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1392,7 +1580,9 @@ interface WithCoolnessPeriod { void revertRelocation(); /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroupMetadata.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroupMetadata.java index e53bbd42d89e..ee9eb28893a0 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroupMetadata.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroupMetadata.java @@ -30,8 +30,9 @@ public final class VolumeGroupMetadata { private String applicationIdentifier; /* - * Global volume placement rules Application specific placement rules for - * the volume group + * Global volume placement rules + * + * Application specific placement rules for the volume group */ @JsonProperty(value = "globalPlacementRules") private List globalPlacementRules; @@ -109,8 +110,9 @@ public VolumeGroupMetadata withApplicationIdentifier(String applicationIdentifie } /** - * Get the globalPlacementRules property: Global volume placement rules Application specific placement rules for the - * volume group. + * Get the globalPlacementRules property: Global volume placement rules + * + *

Application specific placement rules for the volume group. * * @return the globalPlacementRules value. */ @@ -119,8 +121,9 @@ public List globalPlacementRules() { } /** - * Set the globalPlacementRules property: Global volume placement rules Application specific placement rules for the - * volume group. + * Set the globalPlacementRules property: Global volume placement rules + * + *

Application specific placement rules for the volume group. * * @param globalPlacementRules the globalPlacementRules value to set. * @return the VolumeGroupMetadata object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroupVolumeProperties.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroupVolumeProperties.java index 582d114c5070..518c3ccacc1f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroupVolumeProperties.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroupVolumeProperties.java @@ -86,7 +86,9 @@ private VolumeProperties innerProperties() { } /** - * Get the fileSystemId property: FileSystem ID Unique FileSystem Identifier. + * Get the fileSystemId property: FileSystem ID + * + *

Unique FileSystem Identifier. * * @return the fileSystemId value. */ @@ -95,8 +97,9 @@ public String fileSystemId() { } /** - * Get the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating - * mount targets. + * Get the creationToken property: Creation Token or File Path + * + *

A unique file path for the volume. Used when creating mount targets. * * @return the creationToken value. */ @@ -105,8 +108,9 @@ public String creationToken() { } /** - * Set the creationToken property: Creation Token or File Path A unique file path for the volume. Used when creating - * mount targets. + * Set the creationToken property: Creation Token or File Path + * + *

A unique file path for the volume. Used when creating mount targets. * * @param creationToken the creationToken value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -120,7 +124,9 @@ public VolumeGroupVolumeProperties withCreationToken(String creationToken) { } /** - * Get the serviceLevel property: serviceLevel The service level of the file system. + * Get the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ @@ -129,7 +135,9 @@ public ServiceLevel serviceLevel() { } /** - * Set the serviceLevel property: serviceLevel The service level of the file system. + * Set the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @param serviceLevel the serviceLevel value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -143,8 +151,10 @@ public VolumeGroupVolumeProperties withServiceLevel(ServiceLevel serviceLevel) { } /** - * Get the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Get the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @return the usageThreshold value. */ @@ -153,8 +163,10 @@ public long usageThreshold() { } /** - * Set the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Set the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @param usageThreshold the usageThreshold value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -168,7 +180,9 @@ public VolumeGroupVolumeProperties withUsageThreshold(long usageThreshold) { } /** - * Get the exportPolicy property: exportPolicy Set of export policy rules. + * Get the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @return the exportPolicy value. */ @@ -177,7 +191,9 @@ public VolumePropertiesExportPolicy exportPolicy() { } /** - * Set the exportPolicy property: exportPolicy Set of export policy rules. + * Set the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @param exportPolicy the exportPolicy value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -191,7 +207,9 @@ public VolumeGroupVolumeProperties withExportPolicy(VolumePropertiesExportPolicy } /** - * Get the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol. + * Get the protocolTypes property: protocolTypes + * + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. * * @return the protocolTypes value. */ @@ -200,7 +218,9 @@ public List protocolTypes() { } /** - * Set the protocolTypes property: protocolTypes Set of protocol types, default NFSv3, CIFS for SMB protocol. + * Set the protocolTypes property: protocolTypes + * + *

Set of protocol types, default NFSv3, CIFS for SMB protocol. * * @param protocolTypes the protocolTypes value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -223,7 +243,9 @@ public String provisioningState() { } /** - * Get the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot. + * Get the snapshotId property: Snapshot ID + * + *

UUID v4 or resource identifier used to identify the Snapshot. * * @return the snapshotId value. */ @@ -232,7 +254,9 @@ public String snapshotId() { } /** - * Set the snapshotId property: Snapshot ID UUID v4 or resource identifier used to identify the Snapshot. + * Set the snapshotId property: Snapshot ID + * + *

UUID v4 or resource identifier used to identify the Snapshot. * * @param snapshotId the snapshotId value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -246,7 +270,34 @@ public VolumeGroupVolumeProperties withSnapshotId(String snapshotId) { } /** - * Get the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup. + * Get the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be + * automatically deleted after the volume create operation has finished. Defaults to false. + * + * @return the deleteBaseSnapshot value. + */ + public Boolean deleteBaseSnapshot() { + return this.innerProperties() == null ? null : this.innerProperties().deleteBaseSnapshot(); + } + + /** + * Set the deleteBaseSnapshot property: If enabled (true) the snapshot the volume was created from will be + * automatically deleted after the volume create operation has finished. Defaults to false. + * + * @param deleteBaseSnapshot the deleteBaseSnapshot value to set. + * @return the VolumeGroupVolumeProperties object itself. + */ + public VolumeGroupVolumeProperties withDeleteBaseSnapshot(Boolean deleteBaseSnapshot) { + if (this.innerProperties() == null) { + this.innerProperties = new VolumeProperties(); + } + this.innerProperties().withDeleteBaseSnapshot(deleteBaseSnapshot); + return this; + } + + /** + * Get the backupId property: Backup ID + * + *

UUID v4 or resource identifier used to identify the Backup. * * @return the backupId value. */ @@ -255,7 +306,9 @@ public String backupId() { } /** - * Set the backupId property: Backup ID UUID v4 or resource identifier used to identify the Backup. + * Set the backupId property: Backup ID + * + *

UUID v4 or resource identifier used to identify the Backup. * * @param backupId the backupId value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -269,7 +322,9 @@ public VolumeGroupVolumeProperties withBackupId(String backupId) { } /** - * Get the baremetalTenantId property: Baremetal Tenant ID Unique Baremetal Tenant Identifier. + * Get the baremetalTenantId property: Baremetal Tenant ID + * + *

Unique Baremetal Tenant Identifier. * * @return the baremetalTenantId value. */ @@ -303,7 +358,9 @@ public VolumeGroupVolumeProperties withSubnetId(String subnetId) { } /** - * Get the networkFeatures property: Network features Basic network, or Standard features available to the volume. + * Get the networkFeatures property: Network features + * + *

Basic network, or Standard features available to the volume. * * @return the networkFeatures value. */ @@ -312,7 +369,9 @@ public NetworkFeatures networkFeatures() { } /** - * Set the networkFeatures property: Network features Basic network, or Standard features available to the volume. + * Set the networkFeatures property: Network features + * + *

Basic network, or Standard features available to the volume. * * @param networkFeatures the networkFeatures value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -326,8 +385,9 @@ public VolumeGroupVolumeProperties withNetworkFeatures(NetworkFeatures networkFe } /** - * Get the networkSiblingSetId property: Network Sibling Set ID Network Sibling Set ID for the the group of volumes - * sharing networking resources. + * Get the networkSiblingSetId property: Network Sibling Set ID + * + *

Network Sibling Set ID for the the group of volumes sharing networking resources. * * @return the networkSiblingSetId value. */ @@ -336,8 +396,9 @@ public String networkSiblingSetId() { } /** - * Get the storageToNetworkProximity property: Storage to Network Proximity Provides storage to network proximity - * information for the volume. + * Get the storageToNetworkProximity property: Storage to Network Proximity + * + *

Provides storage to network proximity information for the volume. * * @return the storageToNetworkProximity value. */ @@ -346,7 +407,9 @@ public VolumeStorageToNetworkProximity storageToNetworkProximity() { } /** - * Get the mountTargets property: mountTargets List of mount targets. + * Get the mountTargets property: mountTargets + * + *

List of mount targets. * * @return the mountTargets value. */ @@ -380,8 +443,9 @@ public VolumeGroupVolumeProperties withVolumeType(String volumeType) { } /** - * Get the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Get the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @return the dataProtection value. */ @@ -390,8 +454,9 @@ public VolumePropertiesDataProtection dataProtection() { } /** - * Set the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Set the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @param dataProtection the dataProtection value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -527,6 +592,61 @@ public VolumeGroupVolumeProperties withSmbEncryption(Boolean smbEncryption) { return this; } + /** + * Get the smbAccessBasedEnumeration property: smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @return the smbAccessBasedEnumeration value. + */ + public SmbAccessBasedEnumeration smbAccessBasedEnumeration() { + return this.innerProperties() == null ? null : this.innerProperties().smbAccessBasedEnumeration(); + } + + /** + * Set the smbAccessBasedEnumeration property: smbAccessBasedEnumeration + * + *

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @param smbAccessBasedEnumeration the smbAccessBasedEnumeration value to set. + * @return the VolumeGroupVolumeProperties object itself. + */ + public VolumeGroupVolumeProperties withSmbAccessBasedEnumeration( + SmbAccessBasedEnumeration smbAccessBasedEnumeration) { + if (this.innerProperties() == null) { + this.innerProperties = new VolumeProperties(); + } + this.innerProperties().withSmbAccessBasedEnumeration(smbAccessBasedEnumeration); + return this; + } + + /** + * Get the smbNonBrowsable property: smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @return the smbNonBrowsable value. + */ + public SmbNonBrowsable smbNonBrowsable() { + return this.innerProperties() == null ? null : this.innerProperties().smbNonBrowsable(); + } + + /** + * Set the smbNonBrowsable property: smbNonBrowsable + * + *

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + * + * @param smbNonBrowsable the smbNonBrowsable value to set. + * @return the VolumeGroupVolumeProperties object itself. + */ + public VolumeGroupVolumeProperties withSmbNonBrowsable(SmbNonBrowsable smbNonBrowsable) { + if (this.innerProperties() == null) { + this.innerProperties = new VolumeProperties(); + } + this.innerProperties().withSmbNonBrowsable(smbNonBrowsable); + return this; + } + /** * Get the smbContinuouslyAvailable property: Enables continuously available share property for smb volume. Only * applicable for SMB volume. @@ -743,8 +863,9 @@ public Integer cloneProgress() { } /** - * Get the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution - * (AVS) datastore purpose. + * Get the avsDataStore property: avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * * @return the avsDataStore value. */ @@ -753,8 +874,9 @@ public AvsDataStore avsDataStore() { } /** - * Set the avsDataStore property: avsDataStore Specifies whether the volume is enabled for Azure VMware Solution - * (AVS) datastore purpose. + * Set the avsDataStore property: avsDataStore + * + *

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. * * @param avsDataStore the avsDataStore value to set. * @return the VolumeGroupVolumeProperties object itself. @@ -950,8 +1072,9 @@ public Boolean encrypted() { } /** - * Get the placementRules property: Volume placement rules Application specific placement rules for the particular - * volume. + * Get the placementRules property: Volume placement rules + * + *

Application specific placement rules for the particular volume. * * @return the placementRules value. */ @@ -960,8 +1083,9 @@ public List placementRules() { } /** - * Set the placementRules property: Volume placement rules Application specific placement rules for the particular - * volume. + * Set the placementRules property: Volume placement rules + * + *

Application specific placement rules for the particular volume. * * @param placementRules the placementRules value to set. * @return the VolumeGroupVolumeProperties object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroups.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroups.java index 4ed6e3198440..2e02c3902864 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroups.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeGroups.java @@ -11,7 +11,9 @@ /** Resource collection API of VolumeGroups. */ public interface VolumeGroups { /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -23,7 +25,9 @@ public interface VolumeGroups { PagedIterable listByNetAppAccount(String resourceGroupName, String accountName); /** - * List all volume groups for given account. + * Describe all volume groups + * + *

List all volume groups for given account. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -36,7 +40,9 @@ public interface VolumeGroups { PagedIterable listByNetAppAccount(String resourceGroupName, String accountName, Context context); /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -49,7 +55,9 @@ public interface VolumeGroups { VolumeGroupDetails get(String resourceGroupName, String accountName, String volumeGroupName); /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -64,7 +72,9 @@ Response getWithResponse( String resourceGroupName, String accountName, String volumeGroupName, Context context); /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -76,7 +86,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String volumeGroupName); /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -89,7 +101,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String volumeGroupName, Context context); /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -100,7 +114,9 @@ Response getWithResponse( VolumeGroupDetails getById(String id); /** - * Get details of the specified volume group. + * Describe a Volume Group + * + *

Get details of the specified volume group. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -112,7 +128,9 @@ Response getWithResponse( Response getByIdWithResponse(String id, Context context); /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -122,7 +140,9 @@ Response getWithResponse( void deleteById(String id); /** - * Delete the specified volume group only if there are no volumes under volume group. + * Delete a volume group + * + *

Delete the specified volume group only if there are no volumes under volume group. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatch.java index b85f9b4da730..a21b1cfe54d8 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatch.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatch.java @@ -43,7 +43,9 @@ public VolumePatch withTags(Map tags) { } /** - * Get the serviceLevel property: serviceLevel The service level of the file system. + * Get the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @return the serviceLevel value. */ @@ -52,7 +54,9 @@ public ServiceLevel serviceLevel() { } /** - * Set the serviceLevel property: serviceLevel The service level of the file system. + * Set the serviceLevel property: serviceLevel + * + *

The service level of the file system. * * @param serviceLevel the serviceLevel value to set. * @return the VolumePatch object itself. @@ -66,8 +70,10 @@ public VolumePatch withServiceLevel(ServiceLevel serviceLevel) { } /** - * Get the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Get the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @return the usageThreshold value. */ @@ -76,8 +82,10 @@ public Long usageThreshold() { } /** - * Set the usageThreshold property: usageThreshold Maximum storage quota allowed for a file system in bytes. This is - * a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. + * Set the usageThreshold property: usageThreshold + * + *

Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum + * size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. * * @param usageThreshold the usageThreshold value to set. * @return the VolumePatch object itself. @@ -91,7 +99,9 @@ public VolumePatch withUsageThreshold(Long usageThreshold) { } /** - * Get the exportPolicy property: exportPolicy Set of export policy rules. + * Get the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @return the exportPolicy value. */ @@ -100,7 +110,9 @@ public VolumePatchPropertiesExportPolicy exportPolicy() { } /** - * Set the exportPolicy property: exportPolicy Set of export policy rules. + * Set the exportPolicy property: exportPolicy + * + *

Set of export policy rules. * * @param exportPolicy the exportPolicy value to set. * @return the VolumePatch object itself. @@ -139,8 +151,9 @@ public VolumePatch withThroughputMibps(Float throughputMibps) { } /** - * Get the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Get the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @return the dataProtection value. */ @@ -149,8 +162,9 @@ public VolumePatchPropertiesDataProtection dataProtection() { } /** - * Set the dataProtection property: DataProtection DataProtection type volumes include an object containing details - * of the replication. + * Set the dataProtection property: DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. * * @param dataProtection the dataProtection value to set. * @return the VolumePatch object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatchPropertiesDataProtection.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatchPropertiesDataProtection.java index 26b45311055a..7159d432f233 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatchPropertiesDataProtection.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatchPropertiesDataProtection.java @@ -7,7 +7,11 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; -/** DataProtection DataProtection type volumes include an object containing details of the replication. */ +/** + * DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. + */ @Fluent public final class VolumePatchPropertiesDataProtection { /* diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatchPropertiesExportPolicy.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatchPropertiesExportPolicy.java index ba993dca64b5..e9d4ade208ef 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatchPropertiesExportPolicy.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePatchPropertiesExportPolicy.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; -/** exportPolicy Set of export policy rules. */ +/** + * exportPolicy + * + *

Set of export policy rules. + */ @Fluent public final class VolumePatchPropertiesExportPolicy { /* diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePropertiesDataProtection.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePropertiesDataProtection.java index 8bc20cae6d8b..6d78d7575acf 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePropertiesDataProtection.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePropertiesDataProtection.java @@ -7,7 +7,11 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; -/** DataProtection DataProtection type volumes include an object containing details of the replication. */ +/** + * DataProtection + * + *

DataProtection type volumes include an object containing details of the replication. + */ @Fluent public final class VolumePropertiesDataProtection { /* diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePropertiesExportPolicy.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePropertiesExportPolicy.java index 1368a3a3489e..e2d98ba13c2a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePropertiesExportPolicy.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumePropertiesExportPolicy.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; -/** exportPolicy Set of export policy rules. */ +/** + * exportPolicy + * + *

Set of export policy rules. + */ @Fluent public final class VolumePropertiesExportPolicy { /* diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRule.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRule.java index 5cd649985df3..385b7b602faf 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRule.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRule.java @@ -69,7 +69,9 @@ public interface VolumeQuotaRule { Long quotaSizeInKiBs(); /** - * Gets the quotaType property: quotaType Type of quota. + * Gets the quotaType property: quotaType + * + *

Type of quota. * * @return the quotaType value. */ @@ -203,9 +205,12 @@ interface WithQuotaSizeInKiBs { /** The stage of the VolumeQuotaRule definition allowing to specify quotaType. */ interface WithQuotaType { /** - * Specifies the quotaType property: quotaType Type of quota. + * Specifies the quotaType property: quotaType + * + *

Type of quota. * - * @param quotaType quotaType Type of quota. + * @param quotaType quotaType + *

Type of quota. * @return the next definition stage. */ WithCreate withQuotaType(Type quotaType); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRulePatch.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRulePatch.java index bba88f896d1c..d7dac3a16bf8 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRulePatch.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRulePatch.java @@ -59,7 +59,9 @@ public VolumeQuotaRulePatch withQuotaSizeInKiBs(Long quotaSizeInKiBs) { } /** - * Get the quotaType property: quotaType Type of quota. + * Get the quotaType property: quotaType + * + *

Type of quota. * * @return the quotaType value. */ @@ -68,7 +70,9 @@ public Type quotaType() { } /** - * Set the quotaType property: quotaType Type of quota. + * Set the quotaType property: quotaType + * + *

Type of quota. * * @param quotaType the quotaType value to set. * @return the VolumeQuotaRulePatch object itself. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRules.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRules.java index 5eb431c6b006..27502824204e 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRules.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeQuotaRules.java @@ -11,7 +11,9 @@ /** Resource collection API of VolumeQuotaRules. */ public interface VolumeQuotaRules { /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -26,7 +28,9 @@ PagedIterable listByVolume( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * List all quota rules associated with the volume. + * Get all quota rules for a volume + * + *

List all quota rules associated with the volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -42,7 +46,9 @@ PagedIterable listByVolume( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -58,7 +64,9 @@ VolumeQuotaRule get( String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName); /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -80,7 +88,9 @@ Response getWithResponse( Context context); /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -95,7 +105,9 @@ void delete( String resourceGroupName, String accountName, String poolName, String volumeName, String volumeQuotaRuleName); /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -116,7 +128,9 @@ void delete( Context context); /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -127,7 +141,9 @@ void delete( VolumeQuotaRule getById(String id); /** - * Get details of the specified quota rule. + * Describe a quota rule + * + *

Get details of the specified quota rule. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -139,7 +155,9 @@ void delete( Response getByIdWithResponse(String id, Context context); /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -149,7 +167,9 @@ void delete( void deleteById(String id); /** - * Delete quota rule. + * Delete a quota rule + * + *

Delete quota rule. * * @param id the resource ID. * @param context The context to associate with this operation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeStorageToNetworkProximity.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeStorageToNetworkProximity.java index a1f0f1da464e..d947b3a208d4 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeStorageToNetworkProximity.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/VolumeStorageToNetworkProximity.java @@ -8,7 +8,11 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for VolumeStorageToNetworkProximity. */ +/** + * Storage to Network Proximity + * + *

Provides storage to network proximity information for the volume. + */ public final class VolumeStorageToNetworkProximity extends ExpandableStringEnum { /** Static value Default for VolumeStorageToNetworkProximity. */ public static final VolumeStorageToNetworkProximity DEFAULT = fromString("Default"); diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volumes.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volumes.java index 8776195708a6..d2e7898b72fe 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volumes.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/Volumes.java @@ -11,7 +11,9 @@ /** Resource collection API of Volumes. */ public interface Volumes { /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -24,7 +26,9 @@ public interface Volumes { PagedIterable list(String resourceGroupName, String accountName, String poolName); /** - * List all volumes within the capacity pool. + * Describe all volumes + * + *

List all volumes within the capacity pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -38,7 +42,9 @@ public interface Volumes { PagedIterable list(String resourceGroupName, String accountName, String poolName, Context context); /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -52,7 +58,9 @@ public interface Volumes { Volume get(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -68,7 +76,9 @@ Response getWithResponse( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -83,7 +93,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String poolName, String volumeName, Boolean forceDelete); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -96,7 +108,9 @@ Response getWithResponse( void delete(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -118,7 +132,9 @@ void delete( Context context); /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -132,7 +148,9 @@ void delete( void revert(String resourceGroupName, String accountName, String poolName, String volumeName, VolumeRevert body); /** - * Revert a volume to the snapshot specified in the body. + * Revert a volume to one of its snapshots + * + *

Revert a volume to the snapshot specified in the body. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -153,7 +171,9 @@ void revert( Context context); /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -166,7 +186,9 @@ void revert( void resetCifsPassword(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Reset cifs password from volume. + * Reset cifs password + * + *

Reset cifs password from volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -181,7 +203,9 @@ void resetCifsPassword( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -196,7 +220,9 @@ void breakReplication( String resourceGroupName, String accountName, String poolName, String volumeName, BreakReplicationRequest body); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -209,7 +235,9 @@ void breakReplication( void breakReplication(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Break the replication connection on the destination volume. + * Break volume replication + * + *

Break the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -230,7 +258,9 @@ void breakReplication( Context context); /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -250,7 +280,9 @@ void reestablishReplication( ReestablishReplicationRequest body); /** - * Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based + * Re-establish volume replication + * + *

Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based * snapshots. * * @param resourceGroupName The name of the resource group. @@ -272,7 +304,9 @@ void reestablishReplication( Context context); /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -287,7 +321,9 @@ ReplicationStatus replicationStatus( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Get the status of the replication. + * Get volume replication status + * + *

Get the status of the replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -303,7 +339,9 @@ Response replicationStatusWithResponse( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -318,7 +356,9 @@ PagedIterable listReplications( String resourceGroupName, String accountName, String poolName, String volumeName); /** - * List all replications for a specified volume. + * List replications for volume + * + *

List all replications for a specified volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -334,7 +374,9 @@ PagedIterable listReplications( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -348,7 +390,9 @@ PagedIterable listReplications( void resyncReplication(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Resync the connection on the destination volume. If the operation is ran on the source volume it will + * Resync volume replication + * + *

Resync the connection on the destination volume. If the operation is ran on the source volume it will * reverse-resync the connection and sync from destination to source. * * @param resourceGroupName The name of the resource group. @@ -364,7 +408,9 @@ void resyncReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -377,7 +423,9 @@ void resyncReplication( void deleteReplication(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Delete the replication connection on the destination volume, and send release to the source replication. + * Delete volume replication + * + *

Delete the replication connection on the destination volume, and send release to the source replication. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -392,7 +440,9 @@ void deleteReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -407,7 +457,9 @@ void authorizeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, AuthorizeRequest body); /** - * Authorize the replication connection on the source volume. + * Authorize source volume replication + * + *

Authorize the replication connection on the source volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -428,7 +480,9 @@ void authorizeReplication( Context context); /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -441,7 +495,9 @@ void authorizeReplication( void reInitializeReplication(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Re-Initializes the replication connection on the destination volume. + * ReInitialize volume replication + * + *

Re-Initializes the replication connection on the destination volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -456,7 +512,9 @@ void reInitializeReplication( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -471,7 +529,9 @@ void poolChange( String resourceGroupName, String accountName, String poolName, String volumeName, PoolChangeRequest body); /** - * Moves volume to another pool. + * Change pool for volume + * + *

Moves volume to another pool. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -492,7 +552,26 @@ void poolChange( Context context); /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. + * + * @param resourceGroupName The name of the resource group. + * @param accountName The name of the NetApp account. + * @param poolName The name of the capacity pool. + * @param volumeName The name of the volume. + * @param body Relocate volume 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. + */ + void relocate( + String resourceGroupName, String accountName, String poolName, String volumeName, RelocateVolumeRequest body); + + /** + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -505,21 +584,32 @@ void poolChange( void relocate(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Relocates volume to a new stamp. + * Relocate volume + * + *

Relocates volume to a new stamp. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. * @param poolName The name of the capacity pool. * @param volumeName The name of the volume. + * @param body Relocate volume 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. */ - void relocate(String resourceGroupName, String accountName, String poolName, String volumeName, Context context); + void relocate( + String resourceGroupName, + String accountName, + String poolName, + String volumeName, + RelocateVolumeRequest body, + Context context); /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -532,7 +622,9 @@ void poolChange( void finalizeRelocation(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Finalizes the relocation of the volume and cleans up the old volume. + * Finalize volume relocation + * + *

Finalizes the relocation of the volume and cleans up the old volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -547,7 +639,9 @@ void finalizeRelocation( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -560,7 +654,9 @@ void finalizeRelocation( void revertRelocation(String resourceGroupName, String accountName, String poolName, String volumeName); /** - * Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. + * Revert volume relocation + * + *

Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. * * @param resourceGroupName The name of the resource group. * @param accountName The name of the NetApp account. @@ -575,7 +671,9 @@ void revertRelocation( String resourceGroupName, String accountName, String poolName, String volumeName, Context context); /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -586,7 +684,9 @@ void revertRelocation( Volume getById(String id); /** - * Get the details of the specified volume. + * Describe a volume + * + *

Get the details of the specified volume. * * @param id the resource ID. * @param context The context to associate with this operation. @@ -598,7 +698,9 @@ void revertRelocation( Response getByIdWithResponse(String id, Context context); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param id the resource ID. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -608,7 +710,9 @@ void revertRelocation( void deleteById(String id); /** - * Delete the specified volume. + * Delete a volume + * + *

Delete the specified volume. * * @param id the resource ID. * @param forceDelete An option to force delete the volume. Will cleanup resources connected to the particular diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/WeeklySchedule.java b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/WeeklySchedule.java index 141e2e1050a0..65d61178b1e0 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/WeeklySchedule.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/main/java/com/azure/resourcemanager/netapp/models/WeeklySchedule.java @@ -17,8 +17,7 @@ public final class WeeklySchedule { private Integer snapshotsToKeep; /* - * Indicates which weekdays snapshot should be taken, accepts a comma - * separated list of week day names in english + * Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english */ @JsonProperty(value = "day") private String day; diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsDeleteSamples.java index 7b04305cc0ab..9949686f240a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for AccountBackups Delete. */ public final class AccountBackupsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Account_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Account_Delete.json */ /** * Sample code: AccountBackups_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsGetSamples.java index 4f8437514fc1..4a34821df658 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for AccountBackups Get. */ public final class AccountBackupsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Account_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Account_Get.json */ /** * Sample code: AccountBackups_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsListSamples.java index 13b7386ae966..512e1b7f898f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountBackupsListSamples.java @@ -9,7 +9,7 @@ /** Samples for AccountBackups List. */ public final class AccountBackupsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Account_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Account_List.json */ /** * Sample code: AccountBackups_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsCreateOrUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsCreateOrUpdateSamples.java index 63905e612c89..afb5d7ee0ab4 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsCreateOrUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsCreateOrUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Accounts CreateOrUpdate. */ public final class AccountsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_CreateOrUpdate.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_CreateOrUpdate.json */ /** * Sample code: Accounts_CreateOrUpdate. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsDeleteSamples.java index 4b2b5c307243..466e9ae4f517 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Accounts Delete. */ public final class AccountsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_Delete.json */ /** * Sample code: Accounts_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsGetByResourceGroupSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsGetByResourceGroupSamples.java index 53c9b2e25f7e..2a41b042d1c0 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsGetByResourceGroupSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for Accounts GetByResourceGroup. */ public final class AccountsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_Get.json */ /** * Sample code: Accounts_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsListByResourceGroupSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsListByResourceGroupSamples.java index c27f18155a66..33e25201108d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsListByResourceGroupSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for Accounts ListByResourceGroup. */ public final class AccountsListByResourceGroupSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_List.json */ /** * Sample code: Accounts_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsListSamples.java index ffa913310797..31c4a0d65024 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Accounts List. */ public final class AccountsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_List.json */ /** * Sample code: Accounts_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsRenewCredentialsSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsRenewCredentialsSamples.java new file mode 100644 index 000000000000..615d33c776b7 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsRenewCredentialsSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.generated; + +import com.azure.core.util.Context; + +/** Samples for Accounts RenewCredentials. */ +public final class AccountsRenewCredentialsSamples { + /* + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_RenewCredentials.json + */ + /** + * Sample code: Accounts_RenewCredentials. + * + * @param manager Entry point to NetAppFilesManager. + */ + public static void accountsRenewCredentials(com.azure.resourcemanager.netapp.NetAppFilesManager manager) { + manager.accounts().renewCredentials("myRG", "account1", Context.NONE); + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsUpdateSamples.java index 906896131040..15579462e823 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/AccountsUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for Accounts Update. */ public final class AccountsUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Accounts_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_Update.json */ /** * Sample code: Accounts_Update. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesCreateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesCreateSamples.java index 775cec4affbf..aad4b82ce6d4 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesCreateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesCreateSamples.java @@ -7,7 +7,7 @@ /** Samples for BackupPolicies Create. */ public final class BackupPoliciesCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_Create.json */ /** * Sample code: BackupPolicies_Create. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesDeleteSamples.java index ea8c675d11f2..e1dbe5d321bc 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for BackupPolicies Delete. */ public final class BackupPoliciesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_Delete.json */ /** * Sample code: Backups_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesGetSamples.java index b2fe4c2fc0bf..0f3bdfd08027 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for BackupPolicies Get. */ public final class BackupPoliciesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_Get.json */ /** * Sample code: Backups_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesListSamples.java index 3d8863c7f55b..e4ae02a8a335 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesListSamples.java @@ -9,7 +9,7 @@ /** Samples for BackupPolicies List. */ public final class BackupPoliciesListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_List.json */ /** * Sample code: Backups_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesUpdateSamples.java index 5d9c3b403f0b..6a7d12a8c6d0 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupPoliciesUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for BackupPolicies Update. */ public final class BackupPoliciesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/BackupPolicies_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/BackupPolicies_Update.json */ /** * Sample code: BackupPolicies_Update. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsCreateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsCreateSamples.java index 3035df7e99cd..6373ed24edd3 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsCreateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsCreateSamples.java @@ -7,7 +7,7 @@ /** Samples for Backups Create. */ public final class BackupsCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Create.json */ /** * Sample code: Backups_Create. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsDeleteSamples.java index 9f85efd5a7a5..ae1de19dce14 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Backups Delete. */ public final class BackupsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Delete.json */ /** * Sample code: Backups_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetSamples.java index e845f4dc3fae..0f9623ac690f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Backups Get. */ public final class BackupsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Get.json */ /** * Sample code: Backups_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetStatusSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetStatusSamples.java index ce229d9c342d..5db093744e03 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetStatusSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetStatusSamples.java @@ -9,7 +9,7 @@ /** Samples for Backups GetStatus. */ public final class BackupsGetStatusSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_BackupStatus.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_BackupStatus.json */ /** * Sample code: Volumes_BackupStatus. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetVolumeRestoreStatusSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetVolumeRestoreStatusSamples.java index 2e49fa594788..f3ab83bec831 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetVolumeRestoreStatusSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsGetVolumeRestoreStatusSamples.java @@ -9,7 +9,7 @@ /** Samples for Backups GetVolumeRestoreStatus. */ public final class BackupsGetVolumeRestoreStatusSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_RestoreStatus.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_RestoreStatus.json */ /** * Sample code: Volumes_RestoreStatus. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsListSamples.java index 7f3414ecb25f..50d680d51b66 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Backups List. */ public final class BackupsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_List.json */ /** * Sample code: Backups_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsUpdateSamples.java index 4262b78e717a..15c578b32c3a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/BackupsUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Backups Update. */ public final class BackupsUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Backups_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Backups_Update.json */ /** * Sample code: Backups_Update. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckFilePathAvailabilitySamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckFilePathAvailabilitySamples.java index 944b1785cc27..6b25b06bd24a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckFilePathAvailabilitySamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckFilePathAvailabilitySamples.java @@ -10,7 +10,7 @@ /** Samples for NetAppResource CheckFilePathAvailability. */ public final class NetAppResourceCheckFilePathAvailabilitySamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/CheckFilePathAvailability.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/CheckFilePathAvailability.json */ /** * Sample code: CheckFilePathAvailability. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckNameAvailabilitySamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckNameAvailabilitySamples.java index bdab592ec402..7117697ad7fe 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckNameAvailabilitySamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckNameAvailabilitySamples.java @@ -11,7 +11,7 @@ /** Samples for NetAppResource CheckNameAvailability. */ public final class NetAppResourceCheckNameAvailabilitySamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/CheckNameAvailability.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/CheckNameAvailability.json */ /** * Sample code: CheckNameAvailability. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckQuotaAvailabilitySamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckQuotaAvailabilitySamples.java index 944f70efffd7..260ae889f6d7 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckQuotaAvailabilitySamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceCheckQuotaAvailabilitySamples.java @@ -11,7 +11,7 @@ /** Samples for NetAppResource CheckQuotaAvailability. */ public final class NetAppResourceCheckQuotaAvailabilitySamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/CheckQuotaAvailability.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/CheckQuotaAvailability.json */ /** * Sample code: CheckQuotaAvailability. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQueryRegionInfoSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQueryRegionInfoSamples.java new file mode 100644 index 000000000000..6a6cac0b4025 --- /dev/null +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQueryRegionInfoSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.netapp.generated; + +import com.azure.core.util.Context; + +/** Samples for NetAppResource QueryRegionInfo. */ +public final class NetAppResourceQueryRegionInfoSamples { + /* + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/RegionInfo.json + */ + /** + * Sample code: RegionInfo_Query. + * + * @param manager Entry point to NetAppFilesManager. + */ + public static void regionInfoQuery(com.azure.resourcemanager.netapp.NetAppFilesManager manager) { + manager.netAppResources().queryRegionInfoWithResponse("eastus", Context.NONE); + } +} diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQuotaLimitsGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQuotaLimitsGetSamples.java index 3fa040586f70..59ea5c6fd5ac 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQuotaLimitsGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQuotaLimitsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for NetAppResourceQuotaLimits Get. */ public final class NetAppResourceQuotaLimitsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/QuotaLimits_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/QuotaLimits_Get.json */ /** * Sample code: QuotaLimits. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQuotaLimitsListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQuotaLimitsListSamples.java index 721024bf7f10..86d5d8e56bc9 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQuotaLimitsListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/NetAppResourceQuotaLimitsListSamples.java @@ -9,7 +9,7 @@ /** Samples for NetAppResourceQuotaLimits List. */ public final class NetAppResourceQuotaLimitsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/QuotaLimits_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/QuotaLimits_List.json */ /** * Sample code: QuotaLimits. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/OperationsListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/OperationsListSamples.java index acb04ca55d03..0ff562ea7b04 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/OperationsListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/OperationsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/OperationList.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/OperationList.json */ /** * Sample code: OperationList. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsCreateOrUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsCreateOrUpdateSamples.java index 3d9ee04ebad8..f353a83973af 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsCreateOrUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsCreateOrUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Pools CreateOrUpdate. */ public final class PoolsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_CreateOrUpdate.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_CreateOrUpdate.json */ /** * Sample code: Pools_CreateOrUpdate. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsDeleteSamples.java index 26e4e6cce458..86b1a0907831 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Pools Delete. */ public final class PoolsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_Delete.json */ /** * Sample code: Pools_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsGetSamples.java index 500ffb580e60..6c7aaa624eba 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Pools Get. */ public final class PoolsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_Get.json */ /** * Sample code: Pools_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsListSamples.java index 567c62401f84..59d4794963c6 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Pools List. */ public final class PoolsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_List.json */ /** * Sample code: Pools_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsUpdateSamples.java index 74e0b128cdb4..40e0ea8f54f1 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/PoolsUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Pools Update. */ public final class PoolsUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Pools_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Pools_Update.json */ /** * Sample code: Pools_Update. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesCreateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesCreateSamples.java index 1bde037f39a6..dd3f2397d804 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesCreateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesCreateSamples.java @@ -12,7 +12,7 @@ /** Samples for SnapshotPolicies Create. */ public final class SnapshotPoliciesCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_Create.json */ /** * Sample code: SnapshotPolicies_Create. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesDeleteSamples.java index abf28c1bf594..0f7ffe13da65 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for SnapshotPolicies Delete. */ public final class SnapshotPoliciesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_Delete.json */ /** * Sample code: SnapshotPolicies_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesGetSamples.java index e6218af16a52..ac060d128db9 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for SnapshotPolicies Get. */ public final class SnapshotPoliciesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_Get.json */ /** * Sample code: SnapshotPolicies_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesListSamples.java index 26316dd0ab3f..91c37e047bc0 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesListSamples.java @@ -9,7 +9,7 @@ /** Samples for SnapshotPolicies List. */ public final class SnapshotPoliciesListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_List.json */ /** * Sample code: SnapshotPolicies_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesListVolumesSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesListVolumesSamples.java index 200d307763c1..f6611d506ad9 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesListVolumesSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesListVolumesSamples.java @@ -9,7 +9,7 @@ /** Samples for SnapshotPolicies ListVolumes. */ public final class SnapshotPoliciesListVolumesSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_ListVolumes.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_ListVolumes.json */ /** * Sample code: SnapshotPolicies_ListVolumes. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesUpdateSamples.java index dd67c66699c1..4b40c4291953 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotPoliciesUpdateSamples.java @@ -14,7 +14,7 @@ /** Samples for SnapshotPolicies Update. */ public final class SnapshotPoliciesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/SnapshotPolicies_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/SnapshotPolicies_Update.json */ /** * Sample code: SnapshotPolicies_Update. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsCreateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsCreateSamples.java index 9ac691f777c8..d574bb13e4c4 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsCreateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsCreateSamples.java @@ -7,7 +7,7 @@ /** Samples for Snapshots Create. */ public final class SnapshotsCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_Create.json */ /** * Sample code: Snapshots_Create. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsDeleteSamples.java index 95f6365ff46d..89a3d2931234 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Snapshots Delete. */ public final class SnapshotsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_Delete.json */ /** * Sample code: Snapshots_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsGetSamples.java index 5bd1cbbd7d57..39e219d7aeef 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Snapshots Get. */ public final class SnapshotsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_Get.json */ /** * Sample code: Snapshots_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsListSamples.java index 0ffdfef9e9d8..0b81bfdef2c1 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Snapshots List. */ public final class SnapshotsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_List.json */ /** * Sample code: Snapshots_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsRestoreFilesSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsRestoreFilesSamples.java index cfe22cc9f810..8ef5696e6b59 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsRestoreFilesSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsRestoreFilesSamples.java @@ -11,7 +11,7 @@ /** Samples for Snapshots RestoreFiles. */ public final class SnapshotsRestoreFilesSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_SingleFileRestore.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_SingleFileRestore.json */ /** * Sample code: Snapshots_SingleFileRestore. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsUpdateSamples.java index 4c369f46d281..3ca5d227a977 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SnapshotsUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for Snapshots Update. */ public final class SnapshotsUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Snapshots_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Snapshots_Update.json */ /** * Sample code: Snapshots_Update. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesCreateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesCreateSamples.java index 762b27468c98..e64270bce72d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesCreateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesCreateSamples.java @@ -7,7 +7,7 @@ /** Samples for Subvolumes Create. */ public final class SubvolumesCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Create.json */ /** * Sample code: Subvolumes_Create. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesDeleteSamples.java index 17a1063791d0..bb389c0258f4 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Subvolumes Delete. */ public final class SubvolumesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Delete.json */ /** * Sample code: Subvolumes_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesGetMetadataSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesGetMetadataSamples.java index 7e0d739928e9..8cd35cdb253f 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesGetMetadataSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesGetMetadataSamples.java @@ -9,7 +9,7 @@ /** Samples for Subvolumes GetMetadata. */ public final class SubvolumesGetMetadataSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Metadata.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Metadata.json */ /** * Sample code: Subvolumes_Metadata. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesGetSamples.java index 3aacdcd05324..2ad3006bedf2 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Subvolumes Get. */ public final class SubvolumesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Get.json */ /** * Sample code: Subvolumes_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesListByVolumeSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesListByVolumeSamples.java index 4e119df56971..0d95add1391c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesListByVolumeSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesListByVolumeSamples.java @@ -9,7 +9,7 @@ /** Samples for Subvolumes ListByVolume. */ public final class SubvolumesListByVolumeSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_List.json */ /** * Sample code: Subvolumes_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesUpdateSamples.java index f6fdf9061cac..2dbca84831a6 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/SubvolumesUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Subvolumes Update. */ public final class SubvolumesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Subvolumes_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Subvolumes_Update.json */ /** * Sample code: Subvolumes_Update. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VaultsListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VaultsListSamples.java index 6e22c89724a4..87883f0ebc55 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VaultsListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VaultsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Vaults List. */ public final class VaultsListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Vaults_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Vaults_List.json */ /** * Sample code: Vaults_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsCreateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsCreateSamples.java index 34ae4d7bc97f..cf2f293fce3a 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsCreateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsCreateSamples.java @@ -13,7 +13,7 @@ /** Samples for VolumeGroups Create. */ public final class VolumeGroupsCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeGroups_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_Create.json */ /** * Sample code: VolumeGroups_Create. @@ -42,7 +42,7 @@ public static void volumeGroupsCreate(com.azure.resourcemanager.netapp.NetAppFil .withUsageThreshold(107374182400L) .withSubnetId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3") - .withThroughputMibps(10.0f) + .withThroughputMibps(10.0F) .withCapacityPoolResourceId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1") .withProximityPlacementGroup( @@ -55,7 +55,7 @@ public static void volumeGroupsCreate(com.azure.resourcemanager.netapp.NetAppFil .withUsageThreshold(107374182400L) .withSubnetId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3") - .withThroughputMibps(10.0f) + .withThroughputMibps(10.0F) .withCapacityPoolResourceId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1") .withProximityPlacementGroup( @@ -68,7 +68,7 @@ public static void volumeGroupsCreate(com.azure.resourcemanager.netapp.NetAppFil .withUsageThreshold(107374182400L) .withSubnetId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3") - .withThroughputMibps(10.0f) + .withThroughputMibps(10.0F) .withCapacityPoolResourceId( "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1") .withProximityPlacementGroup( diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsDeleteSamples.java index 5b32ed9f5761..e0caa57e2c0d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for VolumeGroups Delete. */ public final class VolumeGroupsDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeGroups_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_Delete.json */ /** * Sample code: VolumeGroups_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsGetSamples.java index d12abf75a9a1..3beab9c02dd3 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for VolumeGroups Get. */ public final class VolumeGroupsGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeGroups_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_Get.json */ /** * Sample code: VolumeGroups_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsListByNetAppAccountSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsListByNetAppAccountSamples.java index aa57e7d1ac75..d243dfa946ec 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsListByNetAppAccountSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeGroupsListByNetAppAccountSamples.java @@ -9,7 +9,7 @@ /** Samples for VolumeGroups ListByNetAppAccount. */ public final class VolumeGroupsListByNetAppAccountSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeGroups_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_List.json */ /** * Sample code: VolumeGroups_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesCreateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesCreateSamples.java index 73958ce12072..cb3da5661218 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesCreateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesCreateSamples.java @@ -9,7 +9,7 @@ /** Samples for VolumeQuotaRules Create. */ public final class VolumeQuotaRulesCreateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_Create.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_Create.json */ /** * Sample code: VolumeQuotaRules_Create. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesDeleteSamples.java index 1274dc8fd9b3..9c04bcaebe73 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for VolumeQuotaRules Delete. */ public final class VolumeQuotaRulesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_Delete.json */ /** * Sample code: VolumeQuotaRules_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesGetSamples.java index 04fc6c72b817..77c6c5562971 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for VolumeQuotaRules Get. */ public final class VolumeQuotaRulesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_Get.json */ /** * Sample code: VolumeQuotaRules_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesListByVolumeSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesListByVolumeSamples.java index 1417284093e4..8c3179d1b7cc 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesListByVolumeSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesListByVolumeSamples.java @@ -9,7 +9,7 @@ /** Samples for VolumeQuotaRules ListByVolume. */ public final class VolumeQuotaRulesListByVolumeSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_List.json */ /** * Sample code: VolumeQuotaRules_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesUpdateSamples.java index 7f580e8f5d14..fcebccf1bd11 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumeQuotaRulesUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for VolumeQuotaRules Update. */ public final class VolumeQuotaRulesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/VolumeQuotaRules_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeQuotaRules_Update.json */ /** * Sample code: VolumeQuotaRules_Update. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesAuthorizeReplicationSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesAuthorizeReplicationSamples.java index 3c0b9b769548..d43bbdccfcde 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesAuthorizeReplicationSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesAuthorizeReplicationSamples.java @@ -10,7 +10,7 @@ /** Samples for Volumes AuthorizeReplication. */ public final class VolumesAuthorizeReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_AuthorizeReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_AuthorizeReplication.json */ /** * Sample code: Volumes_AuthorizeReplication. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesBreakReplicationSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesBreakReplicationSamples.java index ff301edc9b01..0177e902707d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesBreakReplicationSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesBreakReplicationSamples.java @@ -10,7 +10,7 @@ /** Samples for Volumes BreakReplication. */ public final class VolumesBreakReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_BreakReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_BreakReplication.json */ /** * Sample code: Volumes_BreakReplication. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesCreateOrUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesCreateOrUpdateSamples.java index 5e48ec085974..c36baa443a26 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesCreateOrUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesCreateOrUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Volumes CreateOrUpdate. */ public final class VolumesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_CreateOrUpdate.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_CreateOrUpdate.json */ /** * Sample code: Volumes_CreateOrUpdate. @@ -28,7 +28,7 @@ public static void volumesCreateOrUpdate(com.azure.resourcemanager.netapp.NetApp .withSubnetId( "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3") .withServiceLevel(ServiceLevel.PREMIUM) - .withThroughputMibps(128.0f) + .withThroughputMibps(128.0F) .withEncryptionKeySource(EncryptionKeySource.MICROSOFT_KEY_VAULT) .create(); } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesDeleteReplicationSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesDeleteReplicationSamples.java index 2369f0010ca2..277f9606679b 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesDeleteReplicationSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesDeleteReplicationSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes DeleteReplication. */ public final class VolumesDeleteReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_DeleteReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_DeleteReplication.json */ /** * Sample code: Volumes_DeleteReplication. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesDeleteSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesDeleteSamples.java index 6b45cb283966..86ae9a1687ab 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesDeleteSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes Delete. */ public final class VolumesDeleteSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Delete.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Delete.json */ /** * Sample code: Volumes_Delete. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesFinalizeRelocationSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesFinalizeRelocationSamples.java index ac27f228d36d..2fc90dbcd8a5 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesFinalizeRelocationSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesFinalizeRelocationSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes FinalizeRelocation. */ public final class VolumesFinalizeRelocationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_FinalizeRelocation.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_FinalizeRelocation.json */ /** * Sample code: Volumes_FinalizeRelocation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesGetSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesGetSamples.java index 8df6c02e4ad0..11de531c7349 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesGetSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes Get. */ public final class VolumesGetSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Get.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Get.json */ /** * Sample code: Volumes_Get. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesListReplicationsSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesListReplicationsSamples.java index 124e86dfa708..d7682ab0b4a3 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesListReplicationsSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesListReplicationsSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes ListReplications. */ public final class VolumesListReplicationsSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ListReplications.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ListReplications.json */ /** * Sample code: Volumes_ListReplications. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesListSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesListSamples.java index 091a31c2901a..f520c2bc9560 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesListSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesListSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes List. */ public final class VolumesListSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_List.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_List.json */ /** * Sample code: Volumes_List. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesPoolChangeSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesPoolChangeSamples.java index 2600acdfebeb..0ebcdfa0f7a4 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesPoolChangeSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesPoolChangeSamples.java @@ -10,7 +10,7 @@ /** Samples for Volumes PoolChange. */ public final class VolumesPoolChangeSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_PoolChange.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_PoolChange.json */ /** * Sample code: Volumes_AuthorizeReplication. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReInitializeReplicationSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReInitializeReplicationSamples.java index 7a4e4f2276cc..ceb2dfc04644 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReInitializeReplicationSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReInitializeReplicationSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes ReInitializeReplication. */ public final class VolumesReInitializeReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ReInitializeReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ReInitializeReplication.json */ /** * Sample code: Volumes_ReInitializeReplication. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReestablishReplicationSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReestablishReplicationSamples.java index e56a2688bc88..7630c0597488 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReestablishReplicationSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReestablishReplicationSamples.java @@ -10,7 +10,7 @@ /** Samples for Volumes ReestablishReplication. */ public final class VolumesReestablishReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ReestablishReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ReestablishReplication.json */ /** * Sample code: Volumes_ReestablishReplication. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRelocateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRelocateSamples.java index 01ab68a11c57..1d2566aa114b 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRelocateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRelocateSamples.java @@ -5,11 +5,12 @@ package com.azure.resourcemanager.netapp.generated; import com.azure.core.util.Context; +import com.azure.resourcemanager.netapp.models.RelocateVolumeRequest; /** Samples for Volumes Relocate. */ public final class VolumesRelocateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Relocate.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Relocate.json */ /** * Sample code: Volumes_Relocate. @@ -17,6 +18,6 @@ public final class VolumesRelocateSamples { * @param manager Entry point to NetAppFilesManager. */ public static void volumesRelocate(com.azure.resourcemanager.netapp.NetAppFilesManager manager) { - manager.volumes().relocate("myRG", "account1", "pool1", "volume1", Context.NONE); + manager.volumes().relocate("myRG", "account1", "pool1", "volume1", new RelocateVolumeRequest(), Context.NONE); } } diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReplicationStatusSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReplicationStatusSamples.java index 4ec03a12124c..7e9f14e664df 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReplicationStatusSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesReplicationStatusSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes ReplicationStatus. */ public final class VolumesReplicationStatusSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ReplicationStatus.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ReplicationStatus.json */ /** * Sample code: Volumes_ReplicationStatus. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesResetCifsPasswordSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesResetCifsPasswordSamples.java index 4435d1b472c5..e1c0b2960b2c 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesResetCifsPasswordSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesResetCifsPasswordSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes ResetCifsPassword. */ public final class VolumesResetCifsPasswordSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ResetCifsPassword.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ResetCifsPassword.json */ /** * Sample code: Volumes_ResetCifsPassword. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesResyncReplicationSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesResyncReplicationSamples.java index d146deeb1ace..f6be87bdae7d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesResyncReplicationSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesResyncReplicationSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes ResyncReplication. */ public final class VolumesResyncReplicationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_ResyncReplication.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_ResyncReplication.json */ /** * Sample code: Volumes_ResyncReplication. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRevertRelocationSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRevertRelocationSamples.java index 241906d72a39..a7c23eac2e30 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRevertRelocationSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRevertRelocationSamples.java @@ -9,7 +9,7 @@ /** Samples for Volumes RevertRelocation. */ public final class VolumesRevertRelocationSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_RevertRelocation.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_RevertRelocation.json */ /** * Sample code: Volumes_RevertRelocation. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRevertSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRevertSamples.java index 3abb16f6f86f..95b61d2121eb 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRevertSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesRevertSamples.java @@ -10,7 +10,7 @@ /** Samples for Volumes Revert. */ public final class VolumesRevertSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Revert.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Revert.json */ /** * Sample code: Volumes_Revert. diff --git a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesUpdateSamples.java b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesUpdateSamples.java index 227ffc13b3c8..c46a64ad4909 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesUpdateSamples.java +++ b/sdk/netapp/azure-resourcemanager-netapp/src/samples/java/com/azure/resourcemanager/netapp/generated/VolumesUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Volumes Update. */ public final class VolumesUpdateSamples { /* - * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-03-01/examples/Volumes_Update.json + * x-ms-original-file: specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Volumes_Update.json */ /** * Sample code: Volumes_Update.