diff --git a/sdk/avs/azure-resourcemanager-avs/CHANGELOG.md b/sdk/avs/azure-resourcemanager-avs/CHANGELOG.md index e658e9acc4e7..2d3d719ccc91 100644 --- a/sdk/avs/azure-resourcemanager-avs/CHANGELOG.md +++ b/sdk/avs/azure-resourcemanager-avs/CHANGELOG.md @@ -1,15 +1,69 @@ # Release History -## 1.3.0 (2025-05-28) +## 1.3.0 (2025-05-29) -- Azure Resource Manager Avs client library for Java. This package contains Microsoft Azure SDK for Avs Management SDK. Azure VMware Solution API. Package tag package-2024-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). +- Azure Resource Manager Avs client library for Java. This package contains Microsoft Azure SDK for Avs Management SDK. Azure VMware Solution API. Package api-version 2024-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Breaking Changes +#### `models.DatastoreList` was removed + +#### `models.ClusterList` was removed + +#### `models.GlobalReachConnectionList` was removed + +#### `models.AddonList` was removed + +#### `models.VirtualMachinesList` was removed + +#### `models.WorkloadNetworkDhcpList` was removed + +#### `models.ScriptCmdletsList` was removed + +#### `models.CloudLinkList` was removed + +#### `models.WorkloadNetworkVMGroupsList` was removed + +#### `models.ScriptExecutionsList` was removed + +#### `models.HcxEnterpriseSiteList` was removed + +#### `models.WorkloadNetworkPortMirroringList` was removed + +#### `models.WorkloadNetworkVirtualMachinesList` was removed + +#### `models.WorkloadNetworkList` was removed + +#### `models.PlacementPoliciesList` was removed + +#### `models.WorkloadNetworkPublicIPsList` was removed + +#### `models.WorkloadNetworkSegmentsList` was removed + +#### `models.OperationListResult` was removed + +#### `models.WorkloadNetworkDnsServicesList` was removed + +#### `models.PrivateCloudList` was removed + +#### `models.ExpressRouteAuthorizationList` was removed + +#### `models.WorkloadNetworkDnsZonesList` was removed + +#### `models.WorkloadNetworkGatewayList` was removed + +#### `models.ScriptPackagesList` was removed + +#### `models.IscsiPathListResult` was removed + +#### `models.WorkloadNetworkSegmentPortVif` was modified + +* `withPortName(java.lang.String)` was removed + #### `models.WorkloadNetworkDhcpRelay` was modified -* `provisioningState()` was removed * `segments()` was removed +* `provisioningState()` was removed #### `models.AddonArcProperties` was modified @@ -23,6 +77,10 @@ * `provisioningState()` was removed +#### `models.ScriptParameter` was modified + +* `withName(java.lang.String)` was removed + #### `models.VmHostPlacementPolicyProperties` was modified * `provisioningState()` was removed @@ -42,16 +100,20 @@ ### Features Added -* `models.ProvisionedNetworkListResult` was added - * `models.HostKind` was added * `models.ProvisionedNetwork` was added +* `models.PureStoragePolicyProperties` was added + * `models.ResourceSkuRestrictionInfo` was added * `models.PureStoragePolicies` was added +* `implementation.models.DatastoreList` was added + +* `implementation.models.ScriptPackagesList` was added + * `models.SpecializedHostProperties` was added * `models.ResourceSkuLocationInfo` was added @@ -66,8 +128,14 @@ * `models.Skus` was added +* `implementation.models.VirtualMachinesList` was added + * `models.HostModel` was added +* `implementation.models.ExpressRouteAuthorizationList` was added + +* `implementation.models.WorkloadNetworkList` was added + * `models.HostProperties` was added * `models.ProvisionedNetworks` was added @@ -76,37 +144,81 @@ * `models.ResourceSkuRestrictionsReasonCode` was added -* `models.HostListResult` was added - * `models.ResourceSkuZoneDetails` was added * `models.ResourceSkuRestrictionsType` was added +* `implementation.models.PrivateCloudList` was added + * `models.PureStoragePolicy$DefinitionStages` was added +* `implementation.models.ClusterList` was added + * `models.ResourceSkuResourceType` was added * `models.ResourceSkuRestrictions` was added +* `implementation.models.CloudLinkList` was added + * `models.PureStoragePolicy` was added * `models.PureStoragePolicy$Definition` was added +* `implementation.models.AddonList` was added + +* `implementation.models.WorkloadNetworkDnsServicesList` was added + +* `implementation.models.PagedResourceSku` was added + * `models.ProvisionedNetworkProvisioningState` was added +* `implementation.models.WorkloadNetworkGatewayList` was added + * `models.PureStorageVolume` was added +* `implementation.models.PlacementPoliciesList` was added + * `models.ResourceSkuCapabilities` was added * `models.Hosts` was added +* `implementation.models.WorkloadNetworkVMGroupsList` was added + * `models.PureStoragePolicy$Update` was added -* `models.PagedResourceSku` was added +* `implementation.models.WorkloadNetworkDhcpList` was added + +* `models.ProvisionedNetworkProperties` was added + +* `implementation.models.WorkloadNetworkVirtualMachinesList` was added + +* `implementation.models.ScriptExecutionsList` was added + +* `implementation.models.PureStoragePolicyListResult` was added + +* `implementation.models.HostListResult` was added + +* `implementation.models.WorkloadNetworkDnsZonesList` was added + +* `implementation.models.HcxEnterpriseSiteList` was added + +* `implementation.models.IscsiPathListResult` was added + +* `implementation.models.WorkloadNetworkSegmentsList` was added + +* `implementation.models.WorkloadNetworkPublicIPsList` was added + +* `implementation.models.ScriptCmdletsList` was added + +* `implementation.models.WorkloadNetworkPortMirroringList` was added + +* `implementation.models.ProvisionedNetworkListResult` was added + +* `implementation.models.OperationListResult` was added * `models.PureStoragePolicyProvisioningState` was added -* `models.PureStoragePolicyListResult` was added +* `implementation.models.GlobalReachConnectionList` was added * `models.ProvisionedNetworkTypes` was added @@ -121,9 +233,9 @@ #### `AvsManager` was modified * `pureStoragePolicies()` was added +* `skus()` was added * `hosts()` was added * `provisionedNetworks()` was added -* `skus()` was added #### `models.PrivateCloud$Definition` was modified @@ -132,9 +244,9 @@ #### `models.AddonHcxProperties` was modified * `withManagementNetwork(java.lang.String)` was added -* `withUplinkNetwork(java.lang.String)` was added * `managementNetwork()` was added * `uplinkNetwork()` was added +* `withUplinkNetwork(java.lang.String)` was added #### `models.Datastore$Update` was modified diff --git a/sdk/avs/azure-resourcemanager-avs/README.md b/sdk/avs/azure-resourcemanager-avs/README.md index be07565df1e1..70caabe6fb0e 100644 --- a/sdk/avs/azure-resourcemanager-avs/README.md +++ b/sdk/avs/azure-resourcemanager-avs/README.md @@ -2,7 +2,7 @@ Azure Resource Manager Avs client library for Java. -This package contains Microsoft Azure SDK for Avs Management SDK. Azure VMware Solution API. Package tag package-2024-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). +This package contains Microsoft Azure SDK for Avs Management SDK. Azure VMware Solution API. Package api-version 2024-09-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 diff --git a/sdk/avs/azure-resourcemanager-avs/SAMPLE.md b/sdk/avs/azure-resourcemanager-avs/SAMPLE.md index d28bca64db91..92f7e49f24fc 100644 --- a/sdk/avs/azure-resourcemanager-avs/SAMPLE.md +++ b/sdk/avs/azure-resourcemanager-avs/SAMPLE.md @@ -183,8 +183,7 @@ */ public final class GlobalReachConnectionsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/GlobalReachConnections_Get.json + * x-ms-original-file: 2024-09-01/GlobalReachConnections_Get.json */ /** * Sample code: GlobalReachConnections_Get. @@ -206,8 +205,7 @@ public final class GlobalReachConnectionsGetSamples { */ public final class IscsiPathsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/IscsiPaths_Get.json + * x-ms-original-file: 2024-09-01/IscsiPaths_Get.json */ /** * Sample code: IscsiPaths_Get. @@ -230,8 +228,7 @@ import com.azure.resourcemanager.avs.fluent.models.IscsiPathInner; */ public final class IscsiPathsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/IscsiPaths_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/IscsiPaths_CreateOrUpdate.json */ /** * Sample code: IscsiPaths_CreateOrUpdate. @@ -254,8 +251,7 @@ public final class IscsiPathsCreateOrUpdateSamples { */ public final class IscsiPathsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/IscsiPaths_Delete.json + * x-ms-original-file: 2024-09-01/IscsiPaths_Delete.json */ /** * Sample code: IscsiPaths_Delete. @@ -276,8 +272,7 @@ public final class IscsiPathsDeleteSamples { */ public final class WorkloadNetworksListVirtualMachinesSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * WorkloadNetworks_ListVirtualMachines.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListVirtualMachines.json */ /** * Sample code: WorkloadNetworks_ListVirtualMachines. @@ -300,9 +295,7 @@ import java.util.Arrays; */ public final class WorkloadNetworksCreateVMGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateVMGroup. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateVMGroup.json */ /** * Sample code: WorkloadNetworks_CreateVMGroup. @@ -329,8 +322,7 @@ public final class WorkloadNetworksCreateVMGroupSamples { */ public final class ScriptCmdletsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptCmdlets_Get.json + * x-ms-original-file: 2024-09-01/ScriptCmdlets_Get.json */ /** * Sample code: ScriptCmdlets_Get. @@ -353,8 +345,7 @@ public final class ScriptCmdletsGetSamples { */ public final class PureStoragePoliciesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PureStoragePolicies_List.json + * x-ms-original-file: 2024-09-01/PureStoragePolicies_List.json */ /** * Sample code: PureStoragePolicies_List. @@ -378,9 +369,7 @@ import java.util.Arrays; */ public final class WorkloadNetworksUpdateDnsZoneSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateDnsZone. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateDnsZone.json */ /** * Sample code: WorkloadNetworks_UpdateDnsZone. @@ -410,9 +399,7 @@ public final class WorkloadNetworksUpdateDnsZoneSamples { */ public final class PrivateCloudsListAdminCredentialsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_ListAdminCredentials - * .json + * x-ms-original-file: 2024-09-01/PrivateClouds_ListAdminCredentials.json */ /** * Sample code: PrivateClouds_ListAdminCredentials. @@ -435,9 +422,7 @@ import java.util.Arrays; */ public final class WorkloadNetworksCreateDnsZoneSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateDnsZone. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateDnsZone.json */ /** * Sample code: WorkloadNetworks_CreateDnsZone. @@ -469,9 +454,7 @@ import java.util.Arrays; */ public final class WorkloadNetworksCreateSegmentsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateSegments. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateSegments.json */ /** * Sample code: WorkloadNetworks_CreateSegments. @@ -500,8 +483,7 @@ public final class WorkloadNetworksCreateSegmentsSamples { */ public final class HcxEnterpriseSitesDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/HcxEnterpriseSites_Delete.json + * x-ms-original-file: 2024-09-01/HcxEnterpriseSites_Delete.json */ /** * Sample code: HcxEnterpriseSites_Delete. @@ -522,8 +504,7 @@ public final class HcxEnterpriseSitesDeleteSamples { */ public final class CloudLinksGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/CloudLinks_Get.json + * x-ms-original-file: 2024-09-01/CloudLinks_Get.json */ /** * Sample code: CloudLinks_Get. @@ -544,8 +525,7 @@ public final class CloudLinksGetSamples { */ public final class ScriptExecutionsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_Delete.json + * x-ms-original-file: 2024-09-01/ScriptExecutions_Delete.json */ /** * Sample code: ScriptExecutions_Delete. @@ -566,8 +546,7 @@ public final class ScriptExecutionsDeleteSamples { */ public final class DatastoresListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Datastores_List.json + * x-ms-original-file: 2024-09-01/Datastores_List.json */ /** * Sample code: Datastores_List. @@ -588,8 +567,7 @@ public final class DatastoresListSamples { */ public final class PlacementPoliciesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_List.json + * x-ms-original-file: 2024-09-01/PlacementPolicies_List.json */ /** * Sample code: PlacementPolicies_List. @@ -610,9 +588,7 @@ public final class PlacementPoliciesListSamples { */ public final class HcxEnterpriseSitesCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/HcxEnterpriseSites_CreateOrUpdate. - * json + * x-ms-original-file: 2024-09-01/HcxEnterpriseSites_CreateOrUpdate.json */ /** * Sample code: HcxEnterpriseSites_CreateOrUpdate. @@ -639,8 +615,7 @@ import java.util.Arrays; */ public final class PlacementPoliciesUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_Update.json + * x-ms-original-file: 2024-09-01/PlacementPolicies_Update.json */ /** * Sample code: PlacementPolicies_Update. @@ -673,8 +648,7 @@ public final class PlacementPoliciesUpdateSamples { */ public final class PrivateCloudsListByResourceGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_List.json + * x-ms-original-file: 2024-09-01/PrivateClouds_List.json */ /** * Sample code: PrivateClouds_List. @@ -686,8 +660,7 @@ public final class PrivateCloudsListByResourceGroupSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_List_Stretched.json + * x-ms-original-file: 2024-09-01/PrivateClouds_List_Stretched.json */ /** * Sample code: PrivateClouds_List_Stretched. @@ -708,8 +681,7 @@ public final class PrivateCloudsListByResourceGroupSamples { */ public final class ProvisionedNetworksGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ProvisionedNetworks_Get.json + * x-ms-original-file: 2024-09-01/ProvisionedNetworks_Get.json */ /** * Sample code: ProvisionedNetworks_Get. @@ -732,8 +704,7 @@ import com.azure.resourcemanager.avs.models.Sku; */ public final class ClustersCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/Clusters_CreateOrUpdate.json */ /** * Sample code: Clusters_CreateOrUpdate. @@ -759,8 +730,7 @@ public final class ClustersCreateOrUpdateSamples { */ public final class PureStoragePoliciesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PureStoragePolicies_Get.json + * x-ms-original-file: 2024-09-01/PureStoragePolicies_Get.json */ /** * Sample code: PureStoragePolicies_Get. @@ -782,8 +752,7 @@ public final class PureStoragePoliciesGetSamples { */ public final class ClustersGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_Get.json + * x-ms-original-file: 2024-09-01/Clusters_Get.json */ /** * Sample code: Clusters_Get. @@ -808,9 +777,7 @@ import java.util.Arrays; */ public final class WorkloadNetworksUpdateSegmentsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateSegments. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateSegments.json */ /** * Sample code: WorkloadNetworks_UpdateSegments. @@ -839,8 +806,7 @@ public final class WorkloadNetworksUpdateSegmentsSamples { */ public final class AuthorizationsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Authorizations_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/Authorizations_CreateOrUpdate.json */ /** * Sample code: Authorizations_CreateOrUpdate. @@ -861,8 +827,7 @@ public final class AuthorizationsCreateOrUpdateSamples { */ public final class WorkloadNetworksGetDnsZoneSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetDnsZone.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetDnsZone.json */ /** * Sample code: WorkloadNetworks_GetDnsZone. @@ -884,8 +849,7 @@ public final class WorkloadNetworksGetDnsZoneSamples { */ public final class VirtualMachinesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/VirtualMachines_List.json + * x-ms-original-file: 2024-09-01/VirtualMachines_List.json */ /** * Sample code: VirtualMachines_List. @@ -909,9 +873,7 @@ import com.azure.resourcemanager.avs.models.VirtualMachineRestrictMovementState; */ public final class VirtualMachinesRestrictMovementSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/VirtualMachines_RestrictMovement. - * json + * x-ms-original-file: 2024-09-01/VirtualMachines_RestrictMovement.json */ /** * Sample code: VirtualMachines_RestrictMovement. @@ -935,9 +897,7 @@ public final class VirtualMachinesRestrictMovementSamples { */ public final class WorkloadNetworksDeleteVMGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteVMGroup. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteVMGroup.json */ /** * Sample code: WorkloadNetworks_DeleteVMGroup. @@ -958,8 +918,7 @@ public final class WorkloadNetworksDeleteVMGroupSamples { */ public final class PlacementPoliciesDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_Delete.json + * x-ms-original-file: 2024-09-01/PlacementPolicies_Delete.json */ /** * Sample code: PlacementPolicies_Delete. @@ -980,8 +939,7 @@ public final class PlacementPoliciesDeleteSamples { */ public final class WorkloadNetworksListSegmentsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListSegments.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListSegments.json */ /** * Sample code: WorkloadNetworks_ListSegments. @@ -1002,8 +960,7 @@ public final class WorkloadNetworksListSegmentsSamples { */ public final class AuthorizationsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Authorizations_List.json + * x-ms-original-file: 2024-09-01/Authorizations_List.json */ /** * Sample code: Authorizations_List. @@ -1024,8 +981,7 @@ public final class AuthorizationsListSamples { */ public final class WorkloadNetworksGetDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetDhcp.json */ /** * Sample code: WorkloadNetworks_GetDhcp. @@ -1046,8 +1002,7 @@ public final class WorkloadNetworksGetDhcpSamples { */ public final class WorkloadNetworksListDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListDhcp.json */ /** * Sample code: WorkloadNetworks_ListDhcp. @@ -1068,8 +1023,7 @@ public final class WorkloadNetworksListDhcpSamples { */ public final class GlobalReachConnectionsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/GlobalReachConnections_List.json + * x-ms-original-file: 2024-09-01/GlobalReachConnections_List.json */ /** * Sample code: GlobalReachConnections_List. @@ -1090,8 +1044,7 @@ public final class GlobalReachConnectionsListSamples { */ public final class DatastoresGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Datastores_Get.json + * x-ms-original-file: 2024-09-01/Datastores_Get.json */ /** * Sample code: Datastores_Get. @@ -1113,8 +1066,7 @@ public final class DatastoresGetSamples { */ public final class IscsiPathsListByPrivateCloudSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/IscsiPaths_List.json + * x-ms-original-file: 2024-09-01/IscsiPaths_List.json */ /** * Sample code: IscsiPaths_ListByPrivateCloud. @@ -1135,8 +1087,7 @@ public final class IscsiPathsListByPrivateCloudSamples { */ public final class ClustersListZonesSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_ListZones.json + * x-ms-original-file: 2024-09-01/Clusters_ListZones.json */ /** * Sample code: Clusters_ListZones. @@ -1148,8 +1099,7 @@ public final class ClustersListZonesSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_ListZones_Stretched.json + * x-ms-original-file: 2024-09-01/Clusters_ListZones_Stretched.json */ /** * Sample code: Clusters_ListZones_Stretched. @@ -1170,8 +1120,7 @@ public final class ClustersListZonesSamples { */ public final class GlobalReachConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * GlobalReachConnections_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/GlobalReachConnections_CreateOrUpdate.json */ /** * Sample code: GlobalReachConnections_CreateOrUpdate. @@ -1198,8 +1147,7 @@ public final class GlobalReachConnectionsCreateOrUpdateSamples { */ public final class VirtualMachinesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/VirtualMachines_Get.json + * x-ms-original-file: 2024-09-01/VirtualMachines_Get.json */ /** * Sample code: VirtualMachines_Get. @@ -1221,8 +1169,7 @@ public final class VirtualMachinesGetSamples { */ public final class AuthorizationsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Authorizations_Delete.json + * x-ms-original-file: 2024-09-01/Authorizations_Delete.json */ /** * Sample code: Authorizations_Delete. @@ -1248,8 +1195,7 @@ import com.azure.resourcemanager.avs.models.AddonVrProperties; */ public final class AddonsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_CreateOrUpdate_HCX.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_HCX.json */ /** * Sample code: Addons_CreateOrUpdate_HCX. @@ -1265,8 +1211,7 @@ public final class AddonsCreateOrUpdateSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_CreateOrUpdate_SRM.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_SRM.json */ /** * Sample code: Addons_CreateOrUpdate_SRM. @@ -1282,8 +1227,7 @@ public final class AddonsCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * Addons_CreateOrUpdate_HCX_With_Networks.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_HCX_With_Networks.json */ /** * Sample code: Addons_CreateOrUpdate_HCX_With_Networks. @@ -1301,8 +1245,7 @@ public final class AddonsCreateOrUpdateSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_CreateOrUpdate_ArcReg.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_ArcReg.json */ /** * Sample code: Addons_CreateOrUpdate_ArcReg. @@ -1319,8 +1262,7 @@ public final class AddonsCreateOrUpdateSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_CreateOrUpdate_VR.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_VR.json */ /** * Sample code: Addons_CreateOrUpdate_VR. @@ -1345,9 +1287,7 @@ public final class AddonsCreateOrUpdateSamples { */ public final class WorkloadNetworksDeleteSegmentSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteSegment. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteSegment.json */ /** * Sample code: WorkloadNetworks_DeleteSegment. @@ -1368,8 +1308,7 @@ public final class WorkloadNetworksDeleteSegmentSamples { */ public final class OperationsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Operations_List.json + * x-ms-original-file: 2024-09-01/Operations_List.json */ /** * Sample code: Operations_List. @@ -1390,8 +1329,7 @@ public final class OperationsListSamples { */ public final class ProvisionedNetworksListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ProvisionedNetworks_List.json + * x-ms-original-file: 2024-09-01/ProvisionedNetworks_List.json */ /** * Sample code: ProvisionedNetworks_List. @@ -1412,9 +1350,7 @@ public final class ProvisionedNetworksListSamples { */ public final class WorkloadNetworksListPublicIPsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListPublicIPs. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListPublicIPs.json */ /** * Sample code: WorkloadNetworks_ListPublicIPs. @@ -1435,9 +1371,7 @@ public final class WorkloadNetworksListPublicIPsSamples { */ public final class WorkloadNetworksGetDnsServiceSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetDnsService. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetDnsService.json */ /** * Sample code: WorkloadNetworks_GetDnsService. @@ -1459,8 +1393,7 @@ public final class WorkloadNetworksGetDnsServiceSamples { */ public final class AuthorizationsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Authorizations_Get.json + * x-ms-original-file: 2024-09-01/Authorizations_Get.json */ /** * Sample code: Authorizations_Get. @@ -1482,8 +1415,7 @@ public final class AuthorizationsGetSamples { */ public final class ScriptCmdletsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptCmdlets_List.json + * x-ms-original-file: 2024-09-01/ScriptCmdlets_List.json */ /** * Sample code: ScriptCmdlets_List. @@ -1504,8 +1436,7 @@ public final class ScriptCmdletsListSamples { */ public final class WorkloadNetworksListGatewaysSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListGateways.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListGateways.json */ /** * Sample code: WorkloadNetworks_ListGateways. @@ -1526,8 +1457,7 @@ public final class WorkloadNetworksListGatewaysSamples { */ public final class PlacementPoliciesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_Get.json + * x-ms-original-file: 2024-09-01/PlacementPolicies_Get.json */ /** * Sample code: PlacementPolicies_Get. @@ -1549,8 +1479,7 @@ public final class PlacementPoliciesGetSamples { */ public final class ScriptExecutionsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_Get.json + * x-ms-original-file: 2024-09-01/ScriptExecutions_Get.json */ /** * Sample code: ScriptExecutions_Get. @@ -1572,8 +1501,7 @@ public final class ScriptExecutionsGetSamples { */ public final class CloudLinksListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/CloudLinks_List.json + * x-ms-original-file: 2024-09-01/CloudLinks_List.json */ /** * Sample code: CloudLinks_List. @@ -1594,7 +1522,7 @@ public final class CloudLinksListSamples { */ public final class HostsGetSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Hosts_Get.json + * x-ms-original-file: 2024-09-01/Hosts_Get.json */ /** * Sample code: Hosts_Get. @@ -1619,8 +1547,7 @@ import com.azure.resourcemanager.avs.models.NetAppVolume; */ public final class DatastoresCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Datastores_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/Datastores_CreateOrUpdate.json */ /** * Sample code: Datastores_CreateOrUpdate. @@ -1646,9 +1573,7 @@ public final class DatastoresCreateOrUpdateSamples { */ public final class PrivateCloudsRotateNsxtPasswordSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_RotateNsxtPassword. - * json + * x-ms-original-file: 2024-09-01/PrivateClouds_RotateNsxtPassword.json */ /** * Sample code: PrivateClouds_RotateNsxtPassword. @@ -1673,9 +1598,7 @@ import java.util.Arrays; */ public final class WorkloadNetworksUpdateDnsServiceSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateDnsService. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateDnsService.json */ /** * Sample code: WorkloadNetworks_UpdateDnsService. @@ -1706,8 +1629,7 @@ public final class WorkloadNetworksUpdateDnsServiceSamples { */ public final class DatastoresDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Datastores_Delete.json + * x-ms-original-file: 2024-09-01/Datastores_Delete.json */ /** * Sample code: Datastores_Delete. @@ -1728,8 +1650,7 @@ public final class DatastoresDeleteSamples { */ public final class ClustersDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_Delete.json + * x-ms-original-file: 2024-09-01/Clusters_Delete.json */ /** * Sample code: Clusters_Delete. @@ -1750,8 +1671,7 @@ public final class ClustersDeleteSamples { */ public final class ClustersListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_List.json + * x-ms-original-file: 2024-09-01/Clusters_List.json */ /** * Sample code: Clusters_List. @@ -1772,8 +1692,7 @@ public final class ClustersListSamples { */ public final class GlobalReachConnectionsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/GlobalReachConnections_Delete.json + * x-ms-original-file: 2024-09-01/GlobalReachConnections_Delete.json */ /** * Sample code: GlobalReachConnections_Delete. @@ -1794,9 +1713,7 @@ public final class GlobalReachConnectionsDeleteSamples { */ public final class PrivateCloudsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_ListInSubscription. - * json + * x-ms-original-file: 2024-09-01/PrivateClouds_ListInSubscription.json */ /** * Sample code: PrivateClouds_ListInSubscription. @@ -1808,8 +1725,7 @@ public final class PrivateCloudsListSamples { } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_ListInSubscription_Stretched.json + * x-ms-original-file: 2024-09-01/PrivateClouds_ListInSubscription_Stretched.json */ /** * Sample code: PrivateClouds_ListInSubscription_Stretched. @@ -1830,9 +1746,7 @@ public final class PrivateCloudsListSamples { */ public final class WorkloadNetworksDeleteDnsZoneSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteDnsZone. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteDnsZone.json */ /** * Sample code: WorkloadNetworks_DeleteDnsZone. @@ -1853,8 +1767,7 @@ public final class WorkloadNetworksDeleteDnsZoneSamples { */ public final class AddonsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Delete.json + * x-ms-original-file: 2024-09-01/Addons_Delete.json */ /** * Sample code: Addons_Delete. @@ -1878,9 +1791,7 @@ import java.util.Arrays; */ public final class WorkloadNetworksCreateDnsServiceSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateDnsService. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateDnsService.json */ /** * Sample code: WorkloadNetworks_CreateDnsService. @@ -1910,9 +1821,7 @@ public final class WorkloadNetworksCreateDnsServiceSamples { */ public final class WorkloadNetworksCreatePublicIpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreatePublicIP. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreatePublicIP.json */ /** * Sample code: WorkloadNetworks_CreatePublicIP. @@ -1938,8 +1847,7 @@ public final class WorkloadNetworksCreatePublicIpSamples { */ public final class AddonsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_HCX_With_Networks.json + * x-ms-original-file: 2024-09-01/Addons_Get_HCX_With_Networks.json */ /** * Sample code: Addons_Get_HCX_With_Networks. @@ -1951,8 +1859,7 @@ public final class AddonsGetSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_SRM.json + * x-ms-original-file: 2024-09-01/Addons_Get_SRM.json */ /** * Sample code: Addons_Get_SRM. @@ -1964,8 +1871,7 @@ public final class AddonsGetSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_VR.json + * x-ms-original-file: 2024-09-01/Addons_Get_VR.json */ /** * Sample code: Addons_Get_VR. @@ -1977,8 +1883,7 @@ public final class AddonsGetSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_HCX.json + * x-ms-original-file: 2024-09-01/Addons_Get_HCX.json */ /** * Sample code: Addons_Get_HCX. @@ -1990,8 +1895,7 @@ public final class AddonsGetSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_ArcReg.json + * x-ms-original-file: 2024-09-01/Addons_Get_ArcReg.json */ /** * Sample code: Addons_Get_ArcReg. @@ -2012,8 +1916,7 @@ public final class AddonsGetSamples { */ public final class WorkloadNetworksGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_Get.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_Get.json */ /** * Sample code: WorkloadNetworks_Get. @@ -2034,9 +1937,7 @@ public final class WorkloadNetworksGetSamples { */ public final class WorkloadNetworksDeletePublicIpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeletePublicIP. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeletePublicIP.json */ /** * Sample code: WorkloadNetworks_DeletePublicIP. @@ -2057,9 +1958,7 @@ public final class WorkloadNetworksDeletePublicIpSamples { */ public final class LocationsCheckQuotaAvailabilitySamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Locations_CheckQuotaAvailability. - * json + * x-ms-original-file: 2024-09-01/Locations_CheckQuotaAvailability.json */ /** * Sample code: Locations_CheckQuotaAvailability. @@ -2080,7 +1979,7 @@ public final class LocationsCheckQuotaAvailabilitySamples { */ public final class SkusListSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Skus_List.json + * x-ms-original-file: 2024-09-01/Skus_List.json */ /** * Sample code: Skus_List. @@ -2096,14 +1995,14 @@ public final class SkusListSamples { ### WorkloadNetworks_CreateDhcp ```java +import com.azure.resourcemanager.avs.models.PureStoragePolicyProperties; + /** * Samples for PureStoragePolicies CreateOrUpdate. */ public final class PureStoragePoliciesCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PureStoragePolicies_CreateOrUpdate - * .json + * x-ms-original-file: 2024-09-01/PureStoragePolicies_CreateOrUpdate.json */ /** * Sample code: PureStoragePolicies_CreateOrUpdate. @@ -2114,9 +2013,9 @@ public final class PureStoragePoliciesCreateOrUpdateSamples { manager.pureStoragePolicies() .define("storagePolicy1") .withExistingPrivateCloud("group1", "cloud1") - .withStoragePolicyDefinition("storagePolicyDefinition1") - .withStoragePoolId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1") + .withProperties(new PureStoragePolicyProperties().withStoragePolicyDefinition("storagePolicyDefinition1") + .withStoragePoolId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1")) .create(); } } @@ -2132,8 +2031,7 @@ import com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpServer; */ public final class WorkloadNetworksCreateDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateDhcp.json */ /** * Sample code: WorkloadNetworks_CreateDhcp. @@ -2164,8 +2062,7 @@ import com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpServer; */ public final class WorkloadNetworksUpdateDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateDhcp.json */ /** * Sample code: WorkloadNetworks_UpdateDhcp. @@ -2194,8 +2091,7 @@ import com.azure.resourcemanager.avs.models.Cluster; */ public final class ClustersUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_Update.json + * x-ms-original-file: 2024-09-01/Clusters_Update.json */ /** * Sample code: Clusters_Update. @@ -2219,8 +2115,7 @@ public final class ClustersUpdateSamples { */ public final class CloudLinksCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/CloudLinks_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/CloudLinks_CreateOrUpdate.json */ /** * Sample code: CloudLinks_CreateOrUpdate. @@ -2249,8 +2144,7 @@ import com.azure.resourcemanager.avs.models.WorkloadNetworkPortMirroring; */ public final class WorkloadNetworksUpdatePortMirroringSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * WorkloadNetworks_UpdatePortMirroring.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdatePortMirroring.json */ /** * Sample code: WorkloadNetworks_UpdatePortMirroring. @@ -2279,8 +2173,7 @@ public final class WorkloadNetworksUpdatePortMirroringSamples { */ public final class CloudLinksDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/CloudLinks_Delete.json + * x-ms-original-file: 2024-09-01/CloudLinks_Delete.json */ /** * Sample code: CloudLinks_Delete. @@ -2301,8 +2194,7 @@ public final class CloudLinksDeleteSamples { */ public final class HcxEnterpriseSitesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/HcxEnterpriseSites_List.json + * x-ms-original-file: 2024-09-01/HcxEnterpriseSites_List.json */ /** * Sample code: HcxEnterpriseSites_List. @@ -2325,8 +2217,7 @@ import com.azure.resourcemanager.avs.models.PortMirroringDirectionEnum; */ public final class WorkloadNetworksCreatePortMirroringSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * WorkloadNetworks_CreatePortMirroring.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreatePortMirroring.json */ /** * Sample code: WorkloadNetworks_CreatePortMirroring. @@ -2355,8 +2246,7 @@ public final class WorkloadNetworksCreatePortMirroringSamples { */ public final class WorkloadNetworksGetPublicIpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetPublicIP.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetPublicIP.json */ /** * Sample code: WorkloadNetworks_GetPublicIP. @@ -2378,8 +2268,7 @@ public final class WorkloadNetworksGetPublicIpSamples { */ public final class PrivateCloudsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Delete.json + * x-ms-original-file: 2024-09-01/PrivateClouds_Delete.json */ /** * Sample code: PrivateClouds_Delete. @@ -2400,8 +2289,7 @@ public final class PrivateCloudsDeleteSamples { */ public final class WorkloadNetworksGetGatewaySamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetGateway.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetGateway.json */ /** * Sample code: WorkloadNetworks_GetGateway. @@ -2423,8 +2311,7 @@ public final class WorkloadNetworksGetGatewaySamples { */ public final class WorkloadNetworksListDnsZonesSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListDnsZones.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListDnsZones.json */ /** * Sample code: WorkloadNetworks_ListDnsZones. @@ -2445,8 +2332,7 @@ public final class WorkloadNetworksListDnsZonesSamples { */ public final class PrivateCloudsRotateVcenterPasswordSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_RotateVcenterPassword.json + * x-ms-original-file: 2024-09-01/PrivateClouds_RotateVcenterPassword.json */ /** * Sample code: PrivateClouds_RotateVcenterPassword. @@ -2467,8 +2353,7 @@ public final class PrivateCloudsRotateVcenterPasswordSamples { */ public final class WorkloadNetworksDeleteDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteDhcp.json */ /** * Sample code: WorkloadNetworks_DeleteDhcp. @@ -2489,9 +2374,7 @@ public final class WorkloadNetworksDeleteDhcpSamples { */ public final class WorkloadNetworksGetPortMirroringSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetPortMirroring. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetPortMirroring.json */ /** * Sample code: WorkloadNetworks_GetPortMirroring. @@ -2513,8 +2396,7 @@ public final class WorkloadNetworksGetPortMirroringSamples { */ public final class AddonsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_List.json + * x-ms-original-file: 2024-09-01/Addons_List.json */ /** * Sample code: Addons_List. @@ -2546,8 +2428,7 @@ import java.util.Map; */ public final class PrivateCloudsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/PrivateClouds_CreateOrUpdate.json */ /** * Sample code: PrivateClouds_CreateOrUpdate. @@ -2568,8 +2449,7 @@ public final class PrivateCloudsCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_CreateOrUpdate_StretchedZones.json + * x-ms-original-file: 2024-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json */ /** * Sample code: PrivateClouds_CreateOrUpdate_StretchedZones. @@ -2590,8 +2470,7 @@ public final class PrivateCloudsCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_CreateOrUpdate_FleetNative.json + * x-ms-original-file: 2024-09-01/PrivateClouds_CreateOrUpdate_FleetNative.json */ /** * Sample code: PrivateClouds_CreateOrUpdate_FleetNative. @@ -2614,8 +2493,7 @@ public final class PrivateCloudsCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_CreateOrUpdate_Stretched.json + * x-ms-original-file: 2024-09-01/PrivateClouds_CreateOrUpdate_Stretched.json */ /** * Sample code: PrivateClouds_CreateOrUpdate_Stretched. @@ -2667,8 +2545,7 @@ import com.azure.resourcemanager.avs.models.ResourceIdentityType; */ public final class PrivateCloudsUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Update.json + * x-ms-original-file: 2024-09-01/PrivateClouds_Update.json */ /** * Sample code: PrivateClouds_Update. @@ -2690,9 +2567,7 @@ public final class PrivateCloudsUpdateSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Update_Stretched. - * json + * x-ms-original-file: 2024-09-01/PrivateClouds_Update_Stretched.json */ /** * Sample code: PrivateClouds_Update_Stretched. @@ -2719,9 +2594,7 @@ import java.util.Arrays; */ public final class WorkloadNetworksUpdateVMGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateVMGroup. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateVMGroup.json */ /** * Sample code: WorkloadNetworks_UpdateVMGroup. @@ -2747,9 +2620,7 @@ import com.azure.resourcemanager.avs.models.Sku; */ public final class LocationsCheckTrialAvailabilitySamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Locations_CheckTrialAvailability. - * json + * x-ms-original-file: 2024-09-01/Locations_CheckTrialAvailability.json */ /** * Sample code: Locations_CheckTrialAvailability. @@ -2761,8 +2632,7 @@ public final class LocationsCheckTrialAvailabilitySamples { } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * Locations_CheckTrialAvailabilityWithSku.json + * x-ms-original-file: 2024-09-01/Locations_CheckTrialAvailabilityWithSku.json */ /** * Sample code: Locations_CheckTrialAvailabilityWithSku. @@ -2785,8 +2655,7 @@ public final class LocationsCheckTrialAvailabilitySamples { */ public final class HcxEnterpriseSitesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/HcxEnterpriseSites_Get.json + * x-ms-original-file: 2024-09-01/HcxEnterpriseSites_Get.json */ /** * Sample code: HcxEnterpriseSites_Get. @@ -2807,8 +2676,7 @@ public final class HcxEnterpriseSitesGetSamples { */ public final class HostsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Hosts_List.json + * x-ms-original-file: 2024-09-01/Hosts_List.json */ /** * Sample code: Hosts_List. @@ -2829,9 +2697,7 @@ public final class HostsListSamples { */ public final class WorkloadNetworksGetVirtualMachineSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetVirtualMachine - * .json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetVirtualMachine.json */ /** * Sample code: WorkloadNetworks_GetVirtualMachine. @@ -2853,8 +2719,7 @@ public final class WorkloadNetworksGetVirtualMachineSamples { */ public final class ScriptExecutionsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_List.json + * x-ms-original-file: 2024-09-01/ScriptExecutions_List.json */ /** * Sample code: ScriptExecutions_List. @@ -2875,9 +2740,7 @@ public final class ScriptExecutionsListSamples { */ public final class WorkloadNetworksDeleteDnsServiceSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteDnsService. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteDnsService.json */ /** * Sample code: WorkloadNetworks_DeleteDnsService. @@ -2903,9 +2766,7 @@ import java.util.Arrays; */ public final class ScriptExecutionsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_CreateOrUpdate. - * json + * x-ms-original-file: 2024-09-01/ScriptExecutions_CreateOrUpdate.json */ /** * Sample code: ScriptExecutions_CreateOrUpdate. @@ -2939,8 +2800,7 @@ public final class ScriptExecutionsCreateOrUpdateSamples { */ public final class WorkloadNetworksGetVMGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetVMGroup.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetVMGroup.json */ /** * Sample code: WorkloadNetworks_GetVMGroup. @@ -2962,8 +2822,7 @@ public final class WorkloadNetworksGetVMGroupSamples { */ public final class WorkloadNetworksGetSegmentSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetSegment.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetSegment.json */ /** * Sample code: WorkloadNetworks_GetSegment. @@ -2985,8 +2844,7 @@ public final class WorkloadNetworksGetSegmentSamples { */ public final class PrivateCloudsGetByResourceGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Get.json + * x-ms-original-file: 2024-09-01/PrivateClouds_Get.json */ /** * Sample code: PrivateClouds_Get. @@ -2998,8 +2856,7 @@ public final class PrivateCloudsGetByResourceGroupSamples { } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Get_Stretched.json + * x-ms-original-file: 2024-09-01/PrivateClouds_Get_Stretched.json */ /** * Sample code: PrivateClouds_Get_Stretched. @@ -3020,8 +2877,7 @@ public final class PrivateCloudsGetByResourceGroupSamples { */ public final class ScriptPackagesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptPackages_Get.json + * x-ms-original-file: 2024-09-01/ScriptPackages_Get.json */ /** * Sample code: ScriptPackages_Get. @@ -3043,8 +2899,7 @@ public final class ScriptPackagesGetSamples { */ public final class WorkloadNetworksListVMGroupsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListVMGroups.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListVMGroups.json */ /** * Sample code: WorkloadNetworks_ListVMGroups. @@ -3065,8 +2920,7 @@ public final class WorkloadNetworksListVMGroupsSamples { */ public final class ScriptPackagesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptPackages_List.json + * x-ms-original-file: 2024-09-01/ScriptPackages_List.json */ /** * Sample code: ScriptPackages_List. @@ -3090,9 +2944,7 @@ import java.util.Arrays; */ public final class ScriptExecutionsGetExecutionLogsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_GetExecutionLogs. - * json + * x-ms-original-file: 2024-09-01/ScriptExecutions_GetExecutionLogs.json */ /** * Sample code: ScriptExecutions_GetExecutionLogs. @@ -3117,8 +2969,7 @@ public final class ScriptExecutionsGetExecutionLogsSamples { */ public final class WorkloadNetworksListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_List.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_List.json */ /** * Sample code: WorkloadNetworks_List. @@ -3139,8 +2990,7 @@ public final class WorkloadNetworksListSamples { */ public final class WorkloadNetworksDeletePortMirroringSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * WorkloadNetworks_DeletePortMirroring.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeletePortMirroring.json */ /** * Sample code: WorkloadNetworks_DeletePortMirroring. @@ -3162,9 +3012,7 @@ public final class WorkloadNetworksDeletePortMirroringSamples { */ public final class WorkloadNetworksListPortMirroringSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListPortMirroring - * .json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListPortMirroring.json */ /** * Sample code: WorkloadNetworks_ListPortMirroring. @@ -3191,9 +3039,7 @@ import java.util.Arrays; */ public final class PlacementPoliciesCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_CreateOrUpdate. - * json + * x-ms-original-file: 2024-09-01/PlacementPolicies_CreateOrUpdate.json */ /** * Sample code: PlacementPolicies_CreateOrUpdate. @@ -3225,8 +3071,7 @@ public final class PlacementPoliciesCreateOrUpdateSamples { */ public final class PureStoragePoliciesDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PureStoragePolicies_Delete.json + * x-ms-original-file: 2024-09-01/PureStoragePolicies_Delete.json */ /** * Sample code: PureStoragePolicies_Delete. @@ -3247,9 +3092,7 @@ public final class PureStoragePoliciesDeleteSamples { */ public final class WorkloadNetworksListDnsServicesSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListDnsServices. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListDnsServices.json */ /** * Sample code: WorkloadNetworks_ListDnsServices. diff --git a/sdk/avs/azure-resourcemanager-avs/pom.xml b/sdk/avs/azure-resourcemanager-avs/pom.xml index 3e02890a5432..396b745d0812 100644 --- a/sdk/avs/azure-resourcemanager-avs/pom.xml +++ b/sdk/avs/azure-resourcemanager-avs/pom.xml @@ -1,7 +1,7 @@ 4.0.0 @@ -18,7 +18,7 @@ jar Microsoft Azure SDK for Avs Management - This package contains Microsoft Azure SDK for Avs Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure VMware Solution API. Package tag package-2024-09-01. + This package contains Microsoft Azure SDK for Avs Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure VMware Solution API. Package api-version 2024-09-01. https://github.com/Azure/azure-sdk-for-java diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/AvsManager.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/AvsManager.java index 488ad709dfa8..343b382c593b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/AvsManager.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/AvsManager.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs; @@ -81,47 +81,47 @@ * Azure VMware Solution API. */ public final class AvsManager { + private WorkloadNetworks workloadNetworks; + private Operations operations; private Locations locations; private PrivateClouds privateClouds; - private Skus skus; + private Clusters clusters; - private Addons addons; + private Datastores datastores; + + private HcxEnterpriseSites hcxEnterpriseSites; private Authorizations authorizations; - private CloudLinks cloudLinks; + private GlobalReachConnections globalReachConnections; - private Clusters clusters; + private CloudLinks cloudLinks; - private Datastores datastores; + private Addons addons; - private Hosts hosts; + private VirtualMachines virtualMachines; private PlacementPolicies placementPolicies; - private VirtualMachines virtualMachines; + private ScriptPackages scriptPackages; - private GlobalReachConnections globalReachConnections; + private ScriptCmdlets scriptCmdlets; - private HcxEnterpriseSites hcxEnterpriseSites; + private ScriptExecutions scriptExecutions; private IscsiPaths iscsiPaths; - private ProvisionedNetworks provisionedNetworks; - - private PureStoragePolicies pureStoragePolicies; - - private ScriptExecutions scriptExecutions; + private Hosts hosts; - private ScriptPackages scriptPackages; + private ProvisionedNetworks provisionedNetworks; - private ScriptCmdlets scriptCmdlets; + private Skus skus; - private WorkloadNetworks workloadNetworks; + private PureStoragePolicies pureStoragePolicies; private final AvsClient clientObject; @@ -338,6 +338,20 @@ public AvsManager authenticate(TokenCredential credential, AzureProfile profile) } } + /** + * Gets the resource collection API of WorkloadNetworks. It manages WorkloadNetworkDhcp, WorkloadNetworkDnsService, + * WorkloadNetworkDnsZone, WorkloadNetworkPortMirroring, WorkloadNetworkPublicIp, WorkloadNetworkSegment, + * WorkloadNetworkVMGroup. + * + * @return Resource collection API of WorkloadNetworks. + */ + public WorkloadNetworks workloadNetworks() { + if (this.workloadNetworks == null) { + this.workloadNetworks = new WorkloadNetworksImpl(clientObject.getWorkloadNetworks(), this); + } + return workloadNetworks; + } + /** * Gets the resource collection API of Operations. * @@ -375,27 +389,39 @@ public PrivateClouds privateClouds() { } /** - * Gets the resource collection API of Skus. + * Gets the resource collection API of Clusters. It manages Cluster. * - * @return Resource collection API of Skus. + * @return Resource collection API of Clusters. */ - public Skus skus() { - if (this.skus == null) { - this.skus = new SkusImpl(clientObject.getSkus(), this); + public Clusters clusters() { + if (this.clusters == null) { + this.clusters = new ClustersImpl(clientObject.getClusters(), this); } - return skus; + return clusters; } /** - * Gets the resource collection API of Addons. It manages Addon. + * Gets the resource collection API of Datastores. It manages Datastore. * - * @return Resource collection API of Addons. + * @return Resource collection API of Datastores. */ - public Addons addons() { - if (this.addons == null) { - this.addons = new AddonsImpl(clientObject.getAddons(), this); + public Datastores datastores() { + if (this.datastores == null) { + this.datastores = new DatastoresImpl(clientObject.getDatastores(), this); } - return addons; + return datastores; + } + + /** + * Gets the resource collection API of HcxEnterpriseSites. It manages HcxEnterpriseSite. + * + * @return Resource collection API of HcxEnterpriseSites. + */ + public HcxEnterpriseSites hcxEnterpriseSites() { + if (this.hcxEnterpriseSites == null) { + this.hcxEnterpriseSites = new HcxEnterpriseSitesImpl(clientObject.getHcxEnterpriseSites(), this); + } + return hcxEnterpriseSites; } /** @@ -411,51 +437,52 @@ public Authorizations authorizations() { } /** - * Gets the resource collection API of CloudLinks. It manages CloudLink. + * Gets the resource collection API of GlobalReachConnections. It manages GlobalReachConnection. * - * @return Resource collection API of CloudLinks. + * @return Resource collection API of GlobalReachConnections. */ - public CloudLinks cloudLinks() { - if (this.cloudLinks == null) { - this.cloudLinks = new CloudLinksImpl(clientObject.getCloudLinks(), this); + public GlobalReachConnections globalReachConnections() { + if (this.globalReachConnections == null) { + this.globalReachConnections + = new GlobalReachConnectionsImpl(clientObject.getGlobalReachConnections(), this); } - return cloudLinks; + return globalReachConnections; } /** - * Gets the resource collection API of Clusters. It manages Cluster. + * Gets the resource collection API of CloudLinks. It manages CloudLink. * - * @return Resource collection API of Clusters. + * @return Resource collection API of CloudLinks. */ - public Clusters clusters() { - if (this.clusters == null) { - this.clusters = new ClustersImpl(clientObject.getClusters(), this); + public CloudLinks cloudLinks() { + if (this.cloudLinks == null) { + this.cloudLinks = new CloudLinksImpl(clientObject.getCloudLinks(), this); } - return clusters; + return cloudLinks; } /** - * Gets the resource collection API of Datastores. It manages Datastore. + * Gets the resource collection API of Addons. It manages Addon. * - * @return Resource collection API of Datastores. + * @return Resource collection API of Addons. */ - public Datastores datastores() { - if (this.datastores == null) { - this.datastores = new DatastoresImpl(clientObject.getDatastores(), this); + public Addons addons() { + if (this.addons == null) { + this.addons = new AddonsImpl(clientObject.getAddons(), this); } - return datastores; + return addons; } /** - * Gets the resource collection API of Hosts. + * Gets the resource collection API of VirtualMachines. * - * @return Resource collection API of Hosts. + * @return Resource collection API of VirtualMachines. */ - public Hosts hosts() { - if (this.hosts == null) { - this.hosts = new HostsImpl(clientObject.getHosts(), this); + public VirtualMachines virtualMachines() { + if (this.virtualMachines == null) { + this.virtualMachines = new VirtualMachinesImpl(clientObject.getVirtualMachines(), this); } - return hosts; + return virtualMachines; } /** @@ -471,40 +498,39 @@ public PlacementPolicies placementPolicies() { } /** - * Gets the resource collection API of VirtualMachines. + * Gets the resource collection API of ScriptPackages. * - * @return Resource collection API of VirtualMachines. + * @return Resource collection API of ScriptPackages. */ - public VirtualMachines virtualMachines() { - if (this.virtualMachines == null) { - this.virtualMachines = new VirtualMachinesImpl(clientObject.getVirtualMachines(), this); + public ScriptPackages scriptPackages() { + if (this.scriptPackages == null) { + this.scriptPackages = new ScriptPackagesImpl(clientObject.getScriptPackages(), this); } - return virtualMachines; + return scriptPackages; } /** - * Gets the resource collection API of GlobalReachConnections. It manages GlobalReachConnection. + * Gets the resource collection API of ScriptCmdlets. * - * @return Resource collection API of GlobalReachConnections. + * @return Resource collection API of ScriptCmdlets. */ - public GlobalReachConnections globalReachConnections() { - if (this.globalReachConnections == null) { - this.globalReachConnections - = new GlobalReachConnectionsImpl(clientObject.getGlobalReachConnections(), this); + public ScriptCmdlets scriptCmdlets() { + if (this.scriptCmdlets == null) { + this.scriptCmdlets = new ScriptCmdletsImpl(clientObject.getScriptCmdlets(), this); } - return globalReachConnections; + return scriptCmdlets; } /** - * Gets the resource collection API of HcxEnterpriseSites. It manages HcxEnterpriseSite. + * Gets the resource collection API of ScriptExecutions. It manages ScriptExecution. * - * @return Resource collection API of HcxEnterpriseSites. + * @return Resource collection API of ScriptExecutions. */ - public HcxEnterpriseSites hcxEnterpriseSites() { - if (this.hcxEnterpriseSites == null) { - this.hcxEnterpriseSites = new HcxEnterpriseSitesImpl(clientObject.getHcxEnterpriseSites(), this); + public ScriptExecutions scriptExecutions() { + if (this.scriptExecutions == null) { + this.scriptExecutions = new ScriptExecutionsImpl(clientObject.getScriptExecutions(), this); } - return hcxEnterpriseSites; + return scriptExecutions; } /** @@ -520,77 +546,51 @@ public IscsiPaths iscsiPaths() { } /** - * Gets the resource collection API of ProvisionedNetworks. - * - * @return Resource collection API of ProvisionedNetworks. - */ - public ProvisionedNetworks provisionedNetworks() { - if (this.provisionedNetworks == null) { - this.provisionedNetworks = new ProvisionedNetworksImpl(clientObject.getProvisionedNetworks(), this); - } - return provisionedNetworks; - } - - /** - * Gets the resource collection API of PureStoragePolicies. It manages PureStoragePolicy. - * - * @return Resource collection API of PureStoragePolicies. - */ - public PureStoragePolicies pureStoragePolicies() { - if (this.pureStoragePolicies == null) { - this.pureStoragePolicies = new PureStoragePoliciesImpl(clientObject.getPureStoragePolicies(), this); - } - return pureStoragePolicies; - } - - /** - * Gets the resource collection API of ScriptExecutions. It manages ScriptExecution. + * Gets the resource collection API of Hosts. * - * @return Resource collection API of ScriptExecutions. + * @return Resource collection API of Hosts. */ - public ScriptExecutions scriptExecutions() { - if (this.scriptExecutions == null) { - this.scriptExecutions = new ScriptExecutionsImpl(clientObject.getScriptExecutions(), this); + public Hosts hosts() { + if (this.hosts == null) { + this.hosts = new HostsImpl(clientObject.getHosts(), this); } - return scriptExecutions; + return hosts; } /** - * Gets the resource collection API of ScriptPackages. + * Gets the resource collection API of ProvisionedNetworks. * - * @return Resource collection API of ScriptPackages. + * @return Resource collection API of ProvisionedNetworks. */ - public ScriptPackages scriptPackages() { - if (this.scriptPackages == null) { - this.scriptPackages = new ScriptPackagesImpl(clientObject.getScriptPackages(), this); + public ProvisionedNetworks provisionedNetworks() { + if (this.provisionedNetworks == null) { + this.provisionedNetworks = new ProvisionedNetworksImpl(clientObject.getProvisionedNetworks(), this); } - return scriptPackages; + return provisionedNetworks; } /** - * Gets the resource collection API of ScriptCmdlets. + * Gets the resource collection API of Skus. * - * @return Resource collection API of ScriptCmdlets. + * @return Resource collection API of Skus. */ - public ScriptCmdlets scriptCmdlets() { - if (this.scriptCmdlets == null) { - this.scriptCmdlets = new ScriptCmdletsImpl(clientObject.getScriptCmdlets(), this); + public Skus skus() { + if (this.skus == null) { + this.skus = new SkusImpl(clientObject.getSkus(), this); } - return scriptCmdlets; + return skus; } /** - * Gets the resource collection API of WorkloadNetworks. It manages WorkloadNetworkDhcp, WorkloadNetworkDnsService, - * WorkloadNetworkDnsZone, WorkloadNetworkPortMirroring, WorkloadNetworkPublicIp, WorkloadNetworkSegment, - * WorkloadNetworkVMGroup. + * Gets the resource collection API of PureStoragePolicies. It manages PureStoragePolicy. * - * @return Resource collection API of WorkloadNetworks. + * @return Resource collection API of PureStoragePolicies. */ - public WorkloadNetworks workloadNetworks() { - if (this.workloadNetworks == null) { - this.workloadNetworks = new WorkloadNetworksImpl(clientObject.getWorkloadNetworks(), this); + public PureStoragePolicies pureStoragePolicies() { + if (this.pureStoragePolicies == null) { + this.pureStoragePolicies = new PureStoragePoliciesImpl(clientObject.getPureStoragePolicies(), this); } - return workloadNetworks; + return pureStoragePolicies; } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AddonsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AddonsClient.java index afdf1f6ba3ed..c7fcac6a3974 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AddonsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AddonsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AuthorizationsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AuthorizationsClient.java index a7e16f2f83b9..ff65cfeb48ae 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AuthorizationsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AuthorizationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java index 1a5fd0c5f14d..638b958cf1c1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; @@ -12,26 +12,26 @@ */ public interface AvsClient { /** - * Gets The ID of the target subscription. The value must be an UUID. - * - * @return the subscriptionId value. - */ - String getSubscriptionId(); - - /** - * Gets server parameter. + * Gets Service host. * * @return the endpoint value. */ String getEndpoint(); /** - * Gets Api Version. + * Gets Version parameter. * * @return the apiVersion value. */ String getApiVersion(); + /** + * Gets The ID of the target subscription. The value must be an UUID. + * + * @return the subscriptionId value. + */ + String getSubscriptionId(); + /** * Gets The HTTP pipeline to send requests through. * @@ -46,6 +46,13 @@ public interface AvsClient { */ Duration getDefaultPollInterval(); + /** + * Gets the WorkloadNetworksClient object to access its operations. + * + * @return the WorkloadNetworksClient object. + */ + WorkloadNetworksClient getWorkloadNetworks(); + /** * Gets the OperationsClient object to access its operations. * @@ -68,18 +75,25 @@ public interface AvsClient { PrivateCloudsClient getPrivateClouds(); /** - * Gets the SkusClient object to access its operations. + * Gets the ClustersClient object to access its operations. * - * @return the SkusClient object. + * @return the ClustersClient object. */ - SkusClient getSkus(); + ClustersClient getClusters(); /** - * Gets the AddonsClient object to access its operations. + * Gets the DatastoresClient object to access its operations. * - * @return the AddonsClient object. + * @return the DatastoresClient object. */ - AddonsClient getAddons(); + DatastoresClient getDatastores(); + + /** + * Gets the HcxEnterpriseSitesClient object to access its operations. + * + * @return the HcxEnterpriseSitesClient object. + */ + HcxEnterpriseSitesClient getHcxEnterpriseSites(); /** * Gets the AuthorizationsClient object to access its operations. @@ -89,32 +103,32 @@ public interface AvsClient { AuthorizationsClient getAuthorizations(); /** - * Gets the CloudLinksClient object to access its operations. + * Gets the GlobalReachConnectionsClient object to access its operations. * - * @return the CloudLinksClient object. + * @return the GlobalReachConnectionsClient object. */ - CloudLinksClient getCloudLinks(); + GlobalReachConnectionsClient getGlobalReachConnections(); /** - * Gets the ClustersClient object to access its operations. + * Gets the CloudLinksClient object to access its operations. * - * @return the ClustersClient object. + * @return the CloudLinksClient object. */ - ClustersClient getClusters(); + CloudLinksClient getCloudLinks(); /** - * Gets the DatastoresClient object to access its operations. + * Gets the AddonsClient object to access its operations. * - * @return the DatastoresClient object. + * @return the AddonsClient object. */ - DatastoresClient getDatastores(); + AddonsClient getAddons(); /** - * Gets the HostsClient object to access its operations. + * Gets the VirtualMachinesClient object to access its operations. * - * @return the HostsClient object. + * @return the VirtualMachinesClient object. */ - HostsClient getHosts(); + VirtualMachinesClient getVirtualMachines(); /** * Gets the PlacementPoliciesClient object to access its operations. @@ -124,25 +138,25 @@ public interface AvsClient { PlacementPoliciesClient getPlacementPolicies(); /** - * Gets the VirtualMachinesClient object to access its operations. + * Gets the ScriptPackagesClient object to access its operations. * - * @return the VirtualMachinesClient object. + * @return the ScriptPackagesClient object. */ - VirtualMachinesClient getVirtualMachines(); + ScriptPackagesClient getScriptPackages(); /** - * Gets the GlobalReachConnectionsClient object to access its operations. + * Gets the ScriptCmdletsClient object to access its operations. * - * @return the GlobalReachConnectionsClient object. + * @return the ScriptCmdletsClient object. */ - GlobalReachConnectionsClient getGlobalReachConnections(); + ScriptCmdletsClient getScriptCmdlets(); /** - * Gets the HcxEnterpriseSitesClient object to access its operations. + * Gets the ScriptExecutionsClient object to access its operations. * - * @return the HcxEnterpriseSitesClient object. + * @return the ScriptExecutionsClient object. */ - HcxEnterpriseSitesClient getHcxEnterpriseSites(); + ScriptExecutionsClient getScriptExecutions(); /** * Gets the IscsiPathsClient object to access its operations. @@ -152,44 +166,30 @@ public interface AvsClient { IscsiPathsClient getIscsiPaths(); /** - * Gets the ProvisionedNetworksClient object to access its operations. - * - * @return the ProvisionedNetworksClient object. - */ - ProvisionedNetworksClient getProvisionedNetworks(); - - /** - * Gets the PureStoragePoliciesClient object to access its operations. - * - * @return the PureStoragePoliciesClient object. - */ - PureStoragePoliciesClient getPureStoragePolicies(); - - /** - * Gets the ScriptExecutionsClient object to access its operations. + * Gets the HostsClient object to access its operations. * - * @return the ScriptExecutionsClient object. + * @return the HostsClient object. */ - ScriptExecutionsClient getScriptExecutions(); + HostsClient getHosts(); /** - * Gets the ScriptPackagesClient object to access its operations. + * Gets the ProvisionedNetworksClient object to access its operations. * - * @return the ScriptPackagesClient object. + * @return the ProvisionedNetworksClient object. */ - ScriptPackagesClient getScriptPackages(); + ProvisionedNetworksClient getProvisionedNetworks(); /** - * Gets the ScriptCmdletsClient object to access its operations. + * Gets the SkusClient object to access its operations. * - * @return the ScriptCmdletsClient object. + * @return the SkusClient object. */ - ScriptCmdletsClient getScriptCmdlets(); + SkusClient getSkus(); /** - * Gets the WorkloadNetworksClient object to access its operations. + * Gets the PureStoragePoliciesClient object to access its operations. * - * @return the WorkloadNetworksClient object. + * @return the PureStoragePoliciesClient object. */ - WorkloadNetworksClient getWorkloadNetworks(); + PureStoragePoliciesClient getPureStoragePolicies(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/CloudLinksClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/CloudLinksClient.java index b8cb20adc8e1..c6a3a980d869 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/CloudLinksClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/CloudLinksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ClustersClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ClustersClient.java index 3c3176813062..5691f41990f7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ClustersClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ClustersClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/DatastoresClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/DatastoresClient.java index 327061fc2d0c..0e7ccac05a54 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/DatastoresClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/DatastoresClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/GlobalReachConnectionsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/GlobalReachConnectionsClient.java index ce9a7351d72b..937d58ed9148 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/GlobalReachConnectionsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/GlobalReachConnectionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HcxEnterpriseSitesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HcxEnterpriseSitesClient.java index 63409fe329fd..d9e88bc7c1d7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HcxEnterpriseSitesClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HcxEnterpriseSitesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HostsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HostsClient.java index 3bc44dff45d3..f48fac325a6c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HostsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/HostsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/IscsiPathsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/IscsiPathsClient.java index 43d5ec7ade27..d0e7c433ad7b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/IscsiPathsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/IscsiPathsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/LocationsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/LocationsClient.java index 387314e8244c..86fb94fb5162 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/LocationsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/LocationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; @@ -17,53 +17,53 @@ */ public interface LocationsClient { /** - * Return quota for subscription by region. + * Return trial status for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. + * @param sku Optionally, check for a specific SKU. * @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 subscription quotas along with {@link Response}. + * @return subscription trial availability along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response checkQuotaAvailabilityWithResponse(String location, Context context); + Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context); /** - * Return quota for subscription by region. + * Return trial status for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return subscription quotas. + * @return subscription trial availability. */ @ServiceMethod(returns = ReturnType.SINGLE) - QuotaInner checkQuotaAvailability(String location); + TrialInner checkTrialAvailability(String location); /** - * Return trial status for subscription by region. + * Return quota for subscription by region. * - * @param location The name of the Azure region. - * @param sku Optionally, check for a specific SKU. + * @param location A location in a subscription. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return subscription trial availability along with {@link Response}. + * @return subscription quotas along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context); + Response checkQuotaAvailabilityWithResponse(String location, Context context); /** - * Return trial status for subscription by region. + * Return quota for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return subscription trial availability. + * @return subscription quotas. */ @ServiceMethod(returns = ReturnType.SINGLE) - TrialInner checkTrialAvailability(String location); + QuotaInner checkQuotaAvailability(String location); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/OperationsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/OperationsClient.java index 5cdf6176912b..87310fdf3ceb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/OperationsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/OperationsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PlacementPoliciesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PlacementPoliciesClient.java index 646c357c9026..9cd743aee25b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PlacementPoliciesClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PlacementPoliciesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java index b58675a39d96..dfcb28233ee6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; @@ -20,18 +20,21 @@ */ public interface PrivateCloudsClient { /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(); + PagedIterable listByResourceGroup(String resourceGroupName); /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -39,24 +42,21 @@ public interface PrivateCloudsClient { * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable list(Context context); + PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName); + PagedIterable list(); /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -64,7 +64,7 @@ public interface PrivateCloudsClient { * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - PagedIterable listByResourceGroup(String resourceGroupName, Context context); + PagedIterable list(Context context); /** * Get a PrivateCloud. @@ -269,48 +269,47 @@ PrivateCloudInner update(String resourceGroupName, String privateCloudName, Priv void delete(String resourceGroupName, String privateCloudName, Context context); /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @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 administrative credentials for accessing vCenter and NSX-T along with {@link Response}. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - Response listAdminCredentialsWithResponse(String resourceGroupName, String privateCloudName, - Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginRotateVcenterPassword(String resourceGroupName, String privateCloudName); /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. + * @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 administrative credentials for accessing vCenter and NSX-T. + * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.SINGLE) - AdminCredentialsInner listAdminCredentials(String resourceGroupName, String privateCloudName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginRotateVcenterPassword(String resourceGroupName, String privateCloudName, + Context context); /** - * Rotate the NSX-T Manager password. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException 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> beginRotateNsxtPassword(String resourceGroupName, String privateCloudName); + @ServiceMethod(returns = ReturnType.SINGLE) + void rotateVcenterPassword(String resourceGroupName, String privateCloudName); /** - * Rotate the NSX-T Manager password. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. @@ -318,11 +317,9 @@ Response listAdminCredentialsWithResponse(String resource * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of long-running operation. */ - @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupName, String privateCloudName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context); /** * Rotate the NSX-T Manager password. @@ -332,9 +329,10 @@ SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException 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.SINGLE) - void rotateNsxtPassword(String resourceGroupName, String privateCloudName); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupName, String privateCloudName); /** * Rotate the NSX-T Manager password. @@ -345,25 +343,26 @@ SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException 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.SINGLE) - void rotateNsxtPassword(String resourceGroupName, String privateCloudName, Context context); + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupName, String privateCloudName, + Context context); /** - * Rotate the vCenter password. + * Rotate the NSX-T Manager password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException 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> beginRotateVcenterPassword(String resourceGroupName, String privateCloudName); + @ServiceMethod(returns = ReturnType.SINGLE) + void rotateNsxtPassword(String resourceGroupName, String privateCloudName); /** - * Rotate the vCenter password. + * Rotate the NSX-T Manager password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. @@ -371,34 +370,35 @@ SyncPoller, Void> beginRotateNsxtPassword(String resourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException 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> beginRotateVcenterPassword(String resourceGroupName, String privateCloudName, - Context context); + @ServiceMethod(returns = ReturnType.SINGLE) + void rotateNsxtPassword(String resourceGroupName, String privateCloudName, Context context); /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. + * @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 administrative credentials for accessing vCenter and NSX-T along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - void rotateVcenterPassword(String resourceGroupName, String privateCloudName); + Response listAdminCredentialsWithResponse(String resourceGroupName, String privateCloudName, + Context context); /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @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 administrative credentials for accessing vCenter and NSX-T. */ @ServiceMethod(returns = ReturnType.SINGLE) - void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context); + AdminCredentialsInner listAdminCredentials(String resourceGroupName, String privateCloudName); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ProvisionedNetworksClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ProvisionedNetworksClient.java index 9a801bddc8dc..a8d94829aa3f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ProvisionedNetworksClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ProvisionedNetworksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PureStoragePoliciesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PureStoragePoliciesClient.java index 835d2b2a0edb..a75fc5dd4b73 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PureStoragePoliciesClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PureStoragePoliciesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptCmdletsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptCmdletsClient.java index 1cd9ca32de8d..904c45b9afd4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptCmdletsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptCmdletsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptExecutionsClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptExecutionsClient.java index f4776b2d7f70..063951a11565 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptExecutionsClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptExecutionsClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptPackagesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptPackagesClient.java index b5b2ef561f8e..cc7a294c98ef 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptPackagesClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/ScriptPackagesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/SkusClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/SkusClient.java index a8c2e611f2d6..3478976a110c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/SkusClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/SkusClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/VirtualMachinesClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/VirtualMachinesClient.java index e35bb020d82c..517970820566 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/VirtualMachinesClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/VirtualMachinesClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/WorkloadNetworksClient.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/WorkloadNetworksClient.java index 99e702e1ad0c..c6f68d4b1d3b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/WorkloadNetworksClient.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/WorkloadNetworksClient.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent; @@ -1185,7 +1185,7 @@ PagedIterable listPublicIPs(String resourceGroupNa * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @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. @@ -1194,28 +1194,28 @@ PagedIterable listPublicIPs(String resourceGroupNa */ @ServiceMethod(returns = ReturnType.SINGLE) Response getPublicIpWithResponse(String resourceGroupName, String privateCloudName, - String publicIpId, Context context); + String publicIPId, Context context); /** * Get a WorkloadNetworkPublicIP. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.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 WorkloadNetworkPublicIP. */ @ServiceMethod(returns = ReturnType.SINGLE) - WorkloadNetworkPublicIpInner getPublicIp(String resourceGroupName, String privateCloudName, String publicIpId); + WorkloadNetworkPublicIpInner getPublicIp(String resourceGroupName, String privateCloudName, String publicIPId); /** * Create a WorkloadNetworkPublicIP. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1224,7 +1224,7 @@ Response getPublicIpWithResponse(String resourceGr */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, WorkloadNetworkPublicIpInner> beginCreatePublicIp( - String resourceGroupName, String privateCloudName, String publicIpId, + String resourceGroupName, String privateCloudName, String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp); /** @@ -1232,7 +1232,7 @@ SyncPoller, WorkloadNetworkPublicIpInne * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1242,7 +1242,7 @@ SyncPoller, WorkloadNetworkPublicIpInne */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, WorkloadNetworkPublicIpInner> beginCreatePublicIp( - String resourceGroupName, String privateCloudName, String publicIpId, + String resourceGroupName, String privateCloudName, String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context); /** @@ -1250,7 +1250,7 @@ SyncPoller, WorkloadNetworkPublicIpInne * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -1258,7 +1258,7 @@ SyncPoller, WorkloadNetworkPublicIpInne * @return nSX Public IP Block. */ @ServiceMethod(returns = ReturnType.SINGLE) - WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String privateCloudName, String publicIpId, + WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String privateCloudName, String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp); /** @@ -1266,7 +1266,7 @@ WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String pri * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -1275,7 +1275,7 @@ WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String pri * @return nSX Public IP Block. */ @ServiceMethod(returns = ReturnType.SINGLE) - WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String privateCloudName, String publicIpId, + WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String privateCloudName, String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context); /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/AddonInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/AddonInner.java index 48c4b97cff91..b10182fc28ac 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/AddonInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/AddonInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/AdminCredentialsInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/AdminCredentialsInner.java index b0347fa58e48..900df918e115 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/AdminCredentialsInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/AdminCredentialsInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -39,7 +39,7 @@ public final class AdminCredentialsInner implements JsonSerializable { /* * Zone and associated hosts info @@ -26,7 +26,7 @@ public final class ClusterZoneListInner implements JsonSerializable zones() { return this.zones; } - /** - * Set the zones property: Zone and associated hosts info. - * - * @param zones the zones value to set. - * @return the ClusterZoneListInner object itself. - */ - public ClusterZoneListInner withZones(List zones) { - this.zones = zones; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/DatastoreInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/DatastoreInner.java index 1a2f815f3fd0..a7017e380ab9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/DatastoreInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/DatastoreInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/DatastoreProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/DatastoreProperties.java index 1c8e3bcfd248..5ef80578aae0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/DatastoreProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/DatastoreProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ExpressRouteAuthorizationInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ExpressRouteAuthorizationInner.java index 357ba6df2338..0bd4d8fd831c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ExpressRouteAuthorizationInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ExpressRouteAuthorizationInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ExpressRouteAuthorizationProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ExpressRouteAuthorizationProperties.java index 54d2511d9088..0264950dcd01 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ExpressRouteAuthorizationProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ExpressRouteAuthorizationProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/GlobalReachConnectionInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/GlobalReachConnectionInner.java index fa5f0c7fafde..bb9dd9b570e4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/GlobalReachConnectionInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/GlobalReachConnectionInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/GlobalReachConnectionProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/GlobalReachConnectionProperties.java index 4949f7dc282a..3d759a9817d2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/GlobalReachConnectionProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/GlobalReachConnectionProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HcxEnterpriseSiteInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HcxEnterpriseSiteInner.java index 62fda41d2ad5..983e7a7570c0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HcxEnterpriseSiteInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HcxEnterpriseSiteInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HcxEnterpriseSiteProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HcxEnterpriseSiteProperties.java index 38bc426d6b6d..94feae234d74 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HcxEnterpriseSiteProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HcxEnterpriseSiteProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HostModelInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HostModelInner.java index 5b75a5da24d3..7e96f5239b12 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HostModelInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/HostModelInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.management.ProxyResource; import com.azure.core.management.SystemData; import com.azure.json.JsonReader; @@ -18,7 +18,7 @@ /** * A host resource. */ -@Fluent +@Immutable public final class HostModelInner extends ProxyResource { /* * The resource-specific properties for this resource. @@ -58,7 +58,7 @@ public final class HostModelInner extends ProxyResource { /** * Creates an instance of HostModelInner class. */ - public HostModelInner() { + private HostModelInner() { } /** @@ -70,17 +70,6 @@ public HostProperties properties() { return this.properties; } - /** - * Set the properties property: The resource-specific properties for this resource. - * - * @param properties the properties value to set. - * @return the HostModelInner object itself. - */ - public HostModelInner withProperties(HostProperties properties) { - this.properties = properties; - return this; - } - /** * Get the zones property: The availability zones. * @@ -90,17 +79,6 @@ public List zones() { return this.zones; } - /** - * Set the zones property: The availability zones. - * - * @param zones the zones value to set. - * @return the HostModelInner object itself. - */ - public HostModelInner withZones(List zones) { - this.zones = zones; - return this; - } - /** * Get the sku property: The SKU (Stock Keeping Unit) assigned to this resource. * @@ -110,17 +88,6 @@ public Sku sku() { return this.sku; } - /** - * Set the sku property: The SKU (Stock Keeping Unit) assigned to this resource. - * - * @param sku the sku value to set. - * @return the HostModelInner object itself. - */ - public HostModelInner withSku(Sku sku) { - this.sku = sku; - return this; - } - /** * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/IscsiPathInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/IscsiPathInner.java index a2aa8dbd083d..2f1c23cd338f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/IscsiPathInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/IscsiPathInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/IscsiPathProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/IscsiPathProperties.java index 5d0f1edd87bb..5f333c4f4f36 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/IscsiPathProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/IscsiPathProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/OperationInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/OperationInner.java index 5cf8f1364040..73d77a663a34 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/OperationInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/OperationInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -19,7 +19,7 @@ * * Details of a REST API operation, returned from the Resource Provider Operations API. */ -@Fluent +@Immutable public final class OperationInner implements JsonSerializable { /* * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: @@ -28,8 +28,8 @@ public final class OperationInner implements JsonSerializable { private String name; /* - * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for - * ARM/control-plane operations. + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure + * Resource Manager/control-plane operations. */ private Boolean isDataAction; @@ -45,14 +45,14 @@ public final class OperationInner implements JsonSerializable { private Origin origin; /* - * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */ private ActionType actionType; /** * Creates an instance of OperationInner class. */ - public OperationInner() { + private OperationInner() { } /** @@ -67,7 +67,7 @@ public String name() { /** * Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane - * operations and "false" for ARM/control-plane operations. + * operations and "false" for Azure Resource Manager/control-plane operations. * * @return the isDataAction value. */ @@ -84,17 +84,6 @@ public OperationDisplay display() { return this.display; } - /** - * Set the display property: Localized display information for this particular operation. - * - * @param display the display value to set. - * @return the OperationInner object itself. - */ - public OperationInner withDisplay(OperationDisplay display) { - this.display = display; - return this; - } - /** * Get the origin property: The intended executor of the operation; as in Resource Based Access Control (RBAC) and * audit logs UX. Default value is "user,system". @@ -106,8 +95,8 @@ public Origin origin() { } /** - * Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal - * only APIs. + * Get the actionType property: Extensible enum. Indicates the action type. "Internal" refers to actions that are + * for internal only APIs. * * @return the actionType value. */ diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PlacementPolicyInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PlacementPolicyInner.java index d1a2e360a2f6..39f303d8b7a5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PlacementPolicyInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PlacementPolicyInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PlacementPolicyUpdateProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PlacementPolicyUpdateProperties.java index 3438b388b03d..9e5937d64077 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PlacementPolicyUpdateProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PlacementPolicyUpdateProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudInner.java index 559cadead472..1d554d202885 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudProperties.java index 6fe562c650ee..9de94fbf4a15 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudUpdateProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudUpdateProperties.java index 3128314b749c..da1d4d2bbdbe 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudUpdateProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PrivateCloudUpdateProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ProvisionedNetworkInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ProvisionedNetworkInner.java index 14fe71626c82..1877d7e8d82d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ProvisionedNetworkInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ProvisionedNetworkInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -10,8 +10,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.avs.models.ProvisionedNetworkProvisioningState; -import com.azure.resourcemanager.avs.models.ProvisionedNetworkTypes; +import com.azure.resourcemanager.avs.models.ProvisionedNetworkProperties; import java.io.IOException; /** @@ -22,7 +21,7 @@ public final class ProvisionedNetworkInner extends ProxyResource { /* * The resource-specific properties for this resource. */ - private ProvisionedNetworkProperties innerProperties; + private ProvisionedNetworkProperties properties; /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. @@ -47,16 +46,16 @@ public final class ProvisionedNetworkInner extends ProxyResource { /** * Creates an instance of ProvisionedNetworkInner class. */ - public ProvisionedNetworkInner() { + private ProvisionedNetworkInner() { } /** - * Get the innerProperties property: The resource-specific properties for this resource. + * Get the properties property: The resource-specific properties for this resource. * - * @return the innerProperties value. + * @return the properties value. */ - private ProvisionedNetworkProperties innerProperties() { - return this.innerProperties; + public ProvisionedNetworkProperties properties() { + return this.properties; } /** @@ -98,41 +97,14 @@ public String id() { return this.id; } - /** - * Get the provisioningState property: The provisioning state of the resource. - * - * @return the provisioningState value. - */ - public ProvisionedNetworkProvisioningState provisioningState() { - return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); - } - - /** - * Get the addressPrefix property: The address prefixes of the provisioned network in CIDR notation. - * - * @return the addressPrefix value. - */ - public String addressPrefix() { - return this.innerProperties() == null ? null : this.innerProperties().addressPrefix(); - } - - /** - * Get the networkType property: The type of network provisioned. - * - * @return the networkType value. - */ - public ProvisionedNetworkTypes networkType() { - return this.innerProperties() == null ? null : this.innerProperties().networkType(); - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (innerProperties() != null) { - innerProperties().validate(); + if (properties() != null) { + properties().validate(); } } @@ -142,7 +114,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("properties", this.properties); return jsonWriter.writeEndObject(); } @@ -169,7 +141,7 @@ public static ProvisionedNetworkInner fromJson(JsonReader jsonReader) throws IOE } else if ("type".equals(fieldName)) { deserializedProvisionedNetworkInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedProvisionedNetworkInner.innerProperties = ProvisionedNetworkProperties.fromJson(reader); + deserializedProvisionedNetworkInner.properties = ProvisionedNetworkProperties.fromJson(reader); } else if ("systemData".equals(fieldName)) { deserializedProvisionedNetworkInner.systemData = SystemData.fromJson(reader); } else { diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PureStoragePolicyInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PureStoragePolicyInner.java index 00f15c29dd7f..df6cde2e5e59 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PureStoragePolicyInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PureStoragePolicyInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -10,7 +10,7 @@ import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.avs.models.PureStoragePolicyProvisioningState; +import com.azure.resourcemanager.avs.models.PureStoragePolicyProperties; import java.io.IOException; /** @@ -21,7 +21,7 @@ public final class PureStoragePolicyInner extends ProxyResource { /* * The resource-specific properties for this resource. */ - private PureStoragePolicyProperties innerProperties; + private PureStoragePolicyProperties properties; /* * Azure Resource Manager metadata containing createdBy and modifiedBy information. @@ -50,12 +50,23 @@ public PureStoragePolicyInner() { } /** - * Get the innerProperties property: The resource-specific properties for this resource. + * Get the properties property: The resource-specific properties for this resource. * - * @return the innerProperties value. + * @return the properties value. */ - private PureStoragePolicyProperties innerProperties() { - return this.innerProperties; + public PureStoragePolicyProperties properties() { + return this.properties; + } + + /** + * Set the properties property: The resource-specific properties for this resource. + * + * @param properties the properties value to set. + * @return the PureStoragePolicyInner object itself. + */ + public PureStoragePolicyInner withProperties(PureStoragePolicyProperties properties) { + this.properties = properties; + return this; } /** @@ -97,69 +108,14 @@ public String id() { return this.id; } - /** - * Get the storagePolicyDefinition property: Definition of a Pure Storage Policy Based Management policy. - * - * @return the storagePolicyDefinition value. - */ - public String storagePolicyDefinition() { - return this.innerProperties() == null ? null : this.innerProperties().storagePolicyDefinition(); - } - - /** - * Set the storagePolicyDefinition property: Definition of a Pure Storage Policy Based Management policy. - * - * @param storagePolicyDefinition the storagePolicyDefinition value to set. - * @return the PureStoragePolicyInner object itself. - */ - public PureStoragePolicyInner withStoragePolicyDefinition(String storagePolicyDefinition) { - if (this.innerProperties() == null) { - this.innerProperties = new PureStoragePolicyProperties(); - } - this.innerProperties().withStoragePolicyDefinition(storagePolicyDefinition); - return this; - } - - /** - * Get the storagePoolId property: Azure resource ID of the Pure Storage Pool associated with the storage policy. - * - * @return the storagePoolId value. - */ - public String storagePoolId() { - return this.innerProperties() == null ? null : this.innerProperties().storagePoolId(); - } - - /** - * Set the storagePoolId property: Azure resource ID of the Pure Storage Pool associated with the storage policy. - * - * @param storagePoolId the storagePoolId value to set. - * @return the PureStoragePolicyInner object itself. - */ - public PureStoragePolicyInner withStoragePoolId(String storagePoolId) { - if (this.innerProperties() == null) { - this.innerProperties = new PureStoragePolicyProperties(); - } - this.innerProperties().withStoragePoolId(storagePoolId); - return this; - } - - /** - * Get the provisioningState property: The state of the Pure Storage Policy Based Management policy provisioning. - * - * @return the provisioningState value. - */ - public PureStoragePolicyProvisioningState provisioningState() { - return this.innerProperties() == null ? null : this.innerProperties().provisioningState(); - } - /** * Validates the instance. * * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (innerProperties() != null) { - innerProperties().validate(); + if (properties() != null) { + properties().validate(); } } @@ -169,7 +125,7 @@ public void validate() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeJsonField("properties", this.innerProperties); + jsonWriter.writeJsonField("properties", this.properties); return jsonWriter.writeEndObject(); } @@ -196,7 +152,7 @@ public static PureStoragePolicyInner fromJson(JsonReader jsonReader) throws IOEx } else if ("type".equals(fieldName)) { deserializedPureStoragePolicyInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { - deserializedPureStoragePolicyInner.innerProperties = PureStoragePolicyProperties.fromJson(reader); + deserializedPureStoragePolicyInner.properties = PureStoragePolicyProperties.fromJson(reader); } else if ("systemData".equals(fieldName)) { deserializedPureStoragePolicyInner.systemData = SystemData.fromJson(reader); } else { diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/QuotaInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/QuotaInner.java index 60b0b840ade1..3cb22332a58a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/QuotaInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/QuotaInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -31,7 +31,7 @@ public final class QuotaInner implements JsonSerializable { /** * Creates an instance of QuotaInner class. */ - public QuotaInner() { + private QuotaInner() { } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ResourceSkuInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ResourceSkuInner.java index 5088dcb648e3..78f24a16321e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ResourceSkuInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ResourceSkuInner.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -20,7 +20,7 @@ /** * A SKU for a resource. */ -@Fluent +@Immutable public final class ResourceSkuInner implements JsonSerializable { /* * The type of resource the SKU applies to. @@ -70,7 +70,7 @@ public final class ResourceSkuInner implements JsonSerializable locations() { return this.locations; } - /** - * Set the locations property: The set of locations that the SKU is available. - * - * @param locations the locations value to set. - * @return the ResourceSkuInner object itself. - */ - public ResourceSkuInner withLocations(List locations) { - this.locations = locations; - return this; - } - /** * Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is * available. @@ -203,18 +137,6 @@ public List locationInfo() { return this.locationInfo; } - /** - * Set the locationInfo property: A list of locations and availability zones in those locations where the SKU is - * available. - * - * @param locationInfo the locationInfo value to set. - * @return the ResourceSkuInner object itself. - */ - public ResourceSkuInner withLocationInfo(List locationInfo) { - this.locationInfo = locationInfo; - return this; - } - /** * Get the capabilities property: Name value pairs to describe the capability. * @@ -224,17 +146,6 @@ public List capabilities() { return this.capabilities; } - /** - * Set the capabilities property: Name value pairs to describe the capability. - * - * @param capabilities the capabilities value to set. - * @return the ResourceSkuInner object itself. - */ - public ResourceSkuInner withCapabilities(List capabilities) { - this.capabilities = capabilities; - return this; - } - /** * Get the restrictions property: The restrictions of the SKU. * @@ -244,17 +155,6 @@ public List restrictions() { return this.restrictions; } - /** - * Set the restrictions property: The restrictions of the SKU. - * - * @param restrictions the restrictions value to set. - * @return the ResourceSkuInner object itself. - */ - public ResourceSkuInner withRestrictions(List restrictions) { - this.restrictions = restrictions; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptCmdletInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptCmdletInner.java index eaf65199d9aa..dfa4dcbf8866 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptCmdletInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptCmdletInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -49,7 +49,7 @@ public final class ScriptCmdletInner extends ProxyResource { /** * Creates an instance of ScriptCmdletInner class. */ - public ScriptCmdletInner() { + private ScriptCmdletInner() { } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptCmdletProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptCmdletProperties.java index 59edb9ad797a..64f1e523c7f6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptCmdletProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptCmdletProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -48,7 +48,7 @@ public final class ScriptCmdletProperties implements JsonSerializable output) { * * @return the namedOutputs value. */ - public Map namedOutputs() { + public Map namedOutputs() { return this.innerProperties() == null ? null : this.innerProperties().namedOutputs(); } @@ -317,7 +318,7 @@ public Map namedOutputs() { * @param namedOutputs the namedOutputs value to set. * @return the ScriptExecutionInner object itself. */ - public ScriptExecutionInner withNamedOutputs(Map namedOutputs) { + public ScriptExecutionInner withNamedOutputs(Map namedOutputs) { if (this.innerProperties() == null) { this.innerProperties = new ScriptExecutionProperties(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptExecutionProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptExecutionProperties.java index 02fc66dcb498..f64b548d6e35 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptExecutionProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptExecutionProperties.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; import com.azure.core.annotation.Fluent; +import com.azure.core.util.BinaryData; import com.azure.core.util.CoreUtils; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; @@ -83,7 +84,7 @@ public final class ScriptExecutionProperties implements JsonSerializable namedOutputs; + private Map namedOutputs; /* * Standard information out stream from the powershell execution @@ -291,7 +292,7 @@ public ScriptExecutionProperties withOutput(List output) { * * @return the namedOutputs value. */ - public Map namedOutputs() { + public Map namedOutputs() { return this.namedOutputs; } @@ -301,7 +302,7 @@ public Map namedOutputs() { * @param namedOutputs the namedOutputs value to set. * @return the ScriptExecutionProperties object itself. */ - public ScriptExecutionProperties withNamedOutputs(Map namedOutputs) { + public ScriptExecutionProperties withNamedOutputs(Map namedOutputs) { this.namedOutputs = namedOutputs; return this; } @@ -368,7 +369,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("failureReason", this.failureReason); jsonWriter.writeStringField("retention", this.retention); jsonWriter.writeArrayField("output", this.output, (writer, element) -> writer.writeString(element)); - jsonWriter.writeMapField("namedOutputs", this.namedOutputs, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("namedOutputs", this.namedOutputs, + (writer, element) -> writer.writeUntyped(element == null ? null : element.toObject(Object.class))); return jsonWriter.writeEndObject(); } @@ -420,7 +422,8 @@ public static ScriptExecutionProperties fromJson(JsonReader jsonReader) throws I List output = reader.readArray(reader1 -> reader1.getString()); deserializedScriptExecutionProperties.output = output; } else if ("namedOutputs".equals(fieldName)) { - Map namedOutputs = reader.readMap(reader1 -> reader1.readUntyped()); + Map namedOutputs = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); deserializedScriptExecutionProperties.namedOutputs = namedOutputs; } else if ("information".equals(fieldName)) { List information = reader.readArray(reader1 -> reader1.getString()); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptPackageInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptPackageInner.java index 2028b87bd5b6..8c28fd56d560 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptPackageInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptPackageInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -46,7 +46,7 @@ public final class ScriptPackageInner extends ProxyResource { /** * Creates an instance of ScriptPackageInner class. */ - public ScriptPackageInner() { + private ScriptPackageInner() { } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptPackageProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptPackageProperties.java index 09b4e16cac56..2102134fa1d9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptPackageProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ScriptPackageProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -45,7 +45,7 @@ public final class ScriptPackageProperties implements JsonSerializable { /** * Creates an instance of TrialInner class. */ - public TrialInner() { + private TrialInner() { } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/VirtualMachineInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/VirtualMachineInner.java index 49a54e2fc729..1bcdaa7797b7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/VirtualMachineInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/VirtualMachineInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -47,7 +47,7 @@ public final class VirtualMachineInner extends ProxyResource { /** * Creates an instance of VirtualMachineInner class. */ - public VirtualMachineInner() { + private VirtualMachineInner() { } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/VirtualMachineProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/VirtualMachineProperties.java index 5e76ff31b84a..12740fd6a631 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/VirtualMachineProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/VirtualMachineProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -46,7 +46,7 @@ public final class VirtualMachineProperties implements JsonSerializable { /* * The provisioning state of the resource. @@ -35,7 +35,7 @@ public final class WorkloadNetworkGatewayProperties implements JsonSerializable< /** * Creates an instance of WorkloadNetworkGatewayProperties class. */ - public WorkloadNetworkGatewayProperties() { + private WorkloadNetworkGatewayProperties() { } /** @@ -56,17 +56,6 @@ public String displayName() { return this.displayName; } - /** - * Set the displayName property: Display name of the DHCP entity. - * - * @param displayName the displayName value to set. - * @return the WorkloadNetworkGatewayProperties object itself. - */ - public WorkloadNetworkGatewayProperties withDisplayName(String displayName) { - this.displayName = displayName; - return this; - } - /** * Get the path property: NSX Gateway Path. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkInner.java index cb79295855e6..a78db495a5f0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -46,7 +46,7 @@ public final class WorkloadNetworkInner extends ProxyResource { /** * Creates an instance of WorkloadNetworkInner class. */ - public WorkloadNetworkInner() { + private WorkloadNetworkInner() { } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkPortMirroringInner.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkPortMirroringInner.java index 2ca03e1c361a..f97cfbf6bef9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkPortMirroringInner.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkPortMirroringInner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkPortMirroringProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkPortMirroringProperties.java index 68ae5d148f4c..2d6ebb2c99c0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkPortMirroringProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkPortMirroringProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkProperties.java index 027ce7b763e9..d05d7604eaee 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/WorkloadNetworkProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.fluent.models; @@ -25,7 +25,7 @@ public final class WorkloadNetworkProperties implements JsonSerializable { /* @@ -37,7 +37,7 @@ public final class WorkloadNetworkVirtualMachineProperties /** * Creates an instance of WorkloadNetworkVirtualMachineProperties class. */ - public WorkloadNetworkVirtualMachineProperties() { + private WorkloadNetworkVirtualMachineProperties() { } /** @@ -58,17 +58,6 @@ public String displayName() { return this.displayName; } - /** - * Set the displayName property: Display name of the VM. - * - * @param displayName the displayName value to set. - * @return the WorkloadNetworkVirtualMachineProperties object itself. - */ - public WorkloadNetworkVirtualMachineProperties withDisplayName(String displayName) { - this.displayName = displayName; - return this; - } - /** * Get the vmType property: Virtual machine type. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/package-info.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/package-info.java index e4db28356c76..b69621f5a187 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/package-info.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the inner data models for AvsClient. + * Package containing the inner data models for Avs. * Azure VMware Solution API. */ package com.azure.resourcemanager.avs.fluent.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/package-info.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/package-info.java index 8b4c79e23926..76ed4c3f53b0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/package-info.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the service clients for AvsClient. + * Package containing the service clients for Avs. * Azure VMware Solution API. */ package com.azure.resourcemanager.avs.fluent; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonImpl.java index 25e3dc35424c..ce51c86b1356 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonsClientImpl.java index 98fba6954ea4..4a27262b600b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -35,7 +35,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.AddonsClient; import com.azure.resourcemanager.avs.fluent.models.AddonInner; -import com.azure.resourcemanager.avs.models.AddonList; +import com.azure.resourcemanager.avs.implementation.models.AddonList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -68,14 +68,14 @@ public final class AddonsClientImpl implements AddonsClient { * The interface defining all the services for AvsClientAddons to be used by the proxy service to perform REST * calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientAddons") public interface AddonsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -85,8 +85,8 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, + Response listSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, Context context); @@ -95,7 +95,7 @@ Response listSync(@HostParam("$host") String endpoint, @QueryParam("a @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("addonName") String addonName, @@ -105,37 +105,37 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, + Response getSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("addonName") String addonName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("addonName") String addonName, - @BodyParam("application/json") AddonInner addon, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") AddonInner addon, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("addonName") String addonName, - @BodyParam("application/json") AddonInner addon, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") AddonInner addon, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("addonName") String addonName, @@ -145,7 +145,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("addonName") String addonName, @@ -156,14 +156,14 @@ Response deleteSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -483,11 +483,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { addon.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, addonName, addon, accept, - context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, addonName, contentType, accept, + addon, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -533,9 +534,10 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { addon.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, addonName, addon, accept, + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, addonName, contentType, accept, addon, Context.NONE); } @@ -582,9 +584,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { addon.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, addonName, addon, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, addonName, contentType, accept, addon, + context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonsImpl.java index cb695b25b924..9f24e290c0cd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AddonsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AdminCredentialsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AdminCredentialsImpl.java index 72430f2f6c48..eb17c72e74b4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AdminCredentialsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AdminCredentialsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AuthorizationsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AuthorizationsClientImpl.java index 5ce7318d709b..6bc2186ffe2a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AuthorizationsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AuthorizationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -35,7 +35,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.AuthorizationsClient; import com.azure.resourcemanager.avs.fluent.models.ExpressRouteAuthorizationInner; -import com.azure.resourcemanager.avs.models.ExpressRouteAuthorizationList; +import com.azure.resourcemanager.avs.implementation.models.ExpressRouteAuthorizationList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,14 +69,14 @@ public final class AuthorizationsClientImpl implements AuthorizationsClient { * The interface defining all the services for AvsClientAuthorizations to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientAuthorizati") public interface AuthorizationsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -86,7 +86,7 @@ Mono> list(@HostParam("$host") String en @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -96,7 +96,7 @@ Response listSync(@HostParam("$host") String endp @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -107,42 +107,40 @@ Mono> get(@HostParam("$host") String en @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("authorizationName") String authorizationName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("authorizationName") String authorizationName, - @BodyParam("application/json") ExpressRouteAuthorizationInner authorization, - @HeaderParam("Accept") String accept, Context context); + @PathParam("authorizationName") String authorizationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRouteAuthorizationInner authorization, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("authorizationName") String authorizationName, - @BodyParam("application/json") ExpressRouteAuthorizationInner authorization, - @HeaderParam("Accept") String accept, Context context); + @PathParam("authorizationName") String authorizationName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") ExpressRouteAuthorizationInner authorization, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -153,7 +151,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -165,7 +163,7 @@ Response deleteSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -173,7 +171,7 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } @@ -504,11 +502,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { authorization.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, authorizationName, authorization, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, authorizationName, contentType, + accept, authorization, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -555,10 +554,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { authorization.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, authorizationName, authorization, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, authorizationName, contentType, + accept, authorization, Context.NONE); } /** @@ -605,10 +605,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { authorization.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, authorizationName, authorization, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, authorizationName, contentType, + accept, authorization, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AuthorizationsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AuthorizationsImpl.java index 8c94f4de85a1..20d393d5a570 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AuthorizationsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AuthorizationsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AvsClientBuilder.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AvsClientBuilder.java index 73199a2e75a0..707ba6083c95 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AvsClientBuilder.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AvsClientBuilder.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -20,34 +20,34 @@ @ServiceClientBuilder(serviceClients = { AvsClientImpl.class }) public final class AvsClientBuilder { /* - * The ID of the target subscription. The value must be an UUID. + * Service host */ - private String subscriptionId; + private String endpoint; /** - * Sets The ID of the target subscription. The value must be an UUID. + * Sets Service host. * - * @param subscriptionId the subscriptionId value. + * @param endpoint the endpoint value. * @return the AvsClientBuilder. */ - public AvsClientBuilder subscriptionId(String subscriptionId) { - this.subscriptionId = subscriptionId; + public AvsClientBuilder endpoint(String endpoint) { + this.endpoint = endpoint; return this; } /* - * server parameter + * The ID of the target subscription. The value must be an UUID. */ - private String endpoint; + private String subscriptionId; /** - * Sets server parameter. + * Sets The ID of the target subscription. The value must be an UUID. * - * @param endpoint the endpoint value. + * @param subscriptionId the subscriptionId value. * @return the AvsClientBuilder. */ - public AvsClientBuilder endpoint(String endpoint) { - this.endpoint = endpoint; + public AvsClientBuilder subscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; return this; } @@ -132,7 +132,7 @@ public AvsClientImpl buildClient() { ? serializerAdapter : SerializerFactory.createDefaultManagementSerializerAdapter(); AvsClientImpl client = new AvsClientImpl(localPipeline, localSerializerAdapter, localDefaultPollInterval, - localEnvironment, this.subscriptionId, localEndpoint); + localEnvironment, localEndpoint, this.subscriptionId); return client; } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AvsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AvsClientImpl.java index 776c59a6f74c..04be2040ea71 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AvsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/AvsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -63,26 +63,12 @@ @ServiceClient(builder = AvsClientBuilder.class) public final class AvsClientImpl implements AvsClient { /** - * The ID of the target subscription. The value must be an UUID. - */ - private final String subscriptionId; - - /** - * Gets The ID of the target subscription. The value must be an UUID. - * - * @return the subscriptionId value. - */ - public String getSubscriptionId() { - return this.subscriptionId; - } - - /** - * server parameter. + * Service host. */ private final String endpoint; /** - * Gets server parameter. + * Gets Service host. * * @return the endpoint value. */ @@ -91,12 +77,12 @@ public String getEndpoint() { } /** - * Api Version. + * Version parameter. */ private final String apiVersion; /** - * Gets Api Version. + * Gets Version parameter. * * @return the apiVersion value. */ @@ -104,6 +90,20 @@ public String getApiVersion() { return this.apiVersion; } + /** + * The ID of the target subscription. The value must be an UUID. + */ + private final String subscriptionId; + + /** + * Gets The ID of the target subscription. The value must be an UUID. + * + * @return the subscriptionId value. + */ + public String getSubscriptionId() { + return this.subscriptionId; + } + /** * The HTTP pipeline to send requests through. */ @@ -146,6 +146,20 @@ public Duration getDefaultPollInterval() { return this.defaultPollInterval; } + /** + * The WorkloadNetworksClient object to access its operations. + */ + private final WorkloadNetworksClient workloadNetworks; + + /** + * Gets the WorkloadNetworksClient object to access its operations. + * + * @return the WorkloadNetworksClient object. + */ + public WorkloadNetworksClient getWorkloadNetworks() { + return this.workloadNetworks; + } + /** * The OperationsClient object to access its operations. */ @@ -189,31 +203,45 @@ public PrivateCloudsClient getPrivateClouds() { } /** - * The SkusClient object to access its operations. + * The ClustersClient object to access its operations. */ - private final SkusClient skus; + private final ClustersClient clusters; /** - * Gets the SkusClient object to access its operations. + * Gets the ClustersClient object to access its operations. * - * @return the SkusClient object. + * @return the ClustersClient object. */ - public SkusClient getSkus() { - return this.skus; + public ClustersClient getClusters() { + return this.clusters; } /** - * The AddonsClient object to access its operations. + * The DatastoresClient object to access its operations. */ - private final AddonsClient addons; + private final DatastoresClient datastores; /** - * Gets the AddonsClient object to access its operations. + * Gets the DatastoresClient object to access its operations. * - * @return the AddonsClient object. + * @return the DatastoresClient object. */ - public AddonsClient getAddons() { - return this.addons; + public DatastoresClient getDatastores() { + return this.datastores; + } + + /** + * The HcxEnterpriseSitesClient object to access its operations. + */ + private final HcxEnterpriseSitesClient hcxEnterpriseSites; + + /** + * Gets the HcxEnterpriseSitesClient object to access its operations. + * + * @return the HcxEnterpriseSitesClient object. + */ + public HcxEnterpriseSitesClient getHcxEnterpriseSites() { + return this.hcxEnterpriseSites; } /** @@ -231,59 +259,59 @@ public AuthorizationsClient getAuthorizations() { } /** - * The CloudLinksClient object to access its operations. + * The GlobalReachConnectionsClient object to access its operations. */ - private final CloudLinksClient cloudLinks; + private final GlobalReachConnectionsClient globalReachConnections; /** - * Gets the CloudLinksClient object to access its operations. + * Gets the GlobalReachConnectionsClient object to access its operations. * - * @return the CloudLinksClient object. + * @return the GlobalReachConnectionsClient object. */ - public CloudLinksClient getCloudLinks() { - return this.cloudLinks; + public GlobalReachConnectionsClient getGlobalReachConnections() { + return this.globalReachConnections; } /** - * The ClustersClient object to access its operations. + * The CloudLinksClient object to access its operations. */ - private final ClustersClient clusters; + private final CloudLinksClient cloudLinks; /** - * Gets the ClustersClient object to access its operations. + * Gets the CloudLinksClient object to access its operations. * - * @return the ClustersClient object. + * @return the CloudLinksClient object. */ - public ClustersClient getClusters() { - return this.clusters; + public CloudLinksClient getCloudLinks() { + return this.cloudLinks; } /** - * The DatastoresClient object to access its operations. + * The AddonsClient object to access its operations. */ - private final DatastoresClient datastores; + private final AddonsClient addons; /** - * Gets the DatastoresClient object to access its operations. + * Gets the AddonsClient object to access its operations. * - * @return the DatastoresClient object. + * @return the AddonsClient object. */ - public DatastoresClient getDatastores() { - return this.datastores; + public AddonsClient getAddons() { + return this.addons; } /** - * The HostsClient object to access its operations. + * The VirtualMachinesClient object to access its operations. */ - private final HostsClient hosts; + private final VirtualMachinesClient virtualMachines; /** - * Gets the HostsClient object to access its operations. + * Gets the VirtualMachinesClient object to access its operations. * - * @return the HostsClient object. + * @return the VirtualMachinesClient object. */ - public HostsClient getHosts() { - return this.hosts; + public VirtualMachinesClient getVirtualMachines() { + return this.virtualMachines; } /** @@ -301,45 +329,45 @@ public PlacementPoliciesClient getPlacementPolicies() { } /** - * The VirtualMachinesClient object to access its operations. + * The ScriptPackagesClient object to access its operations. */ - private final VirtualMachinesClient virtualMachines; + private final ScriptPackagesClient scriptPackages; /** - * Gets the VirtualMachinesClient object to access its operations. + * Gets the ScriptPackagesClient object to access its operations. * - * @return the VirtualMachinesClient object. + * @return the ScriptPackagesClient object. */ - public VirtualMachinesClient getVirtualMachines() { - return this.virtualMachines; + public ScriptPackagesClient getScriptPackages() { + return this.scriptPackages; } /** - * The GlobalReachConnectionsClient object to access its operations. + * The ScriptCmdletsClient object to access its operations. */ - private final GlobalReachConnectionsClient globalReachConnections; + private final ScriptCmdletsClient scriptCmdlets; /** - * Gets the GlobalReachConnectionsClient object to access its operations. + * Gets the ScriptCmdletsClient object to access its operations. * - * @return the GlobalReachConnectionsClient object. + * @return the ScriptCmdletsClient object. */ - public GlobalReachConnectionsClient getGlobalReachConnections() { - return this.globalReachConnections; + public ScriptCmdletsClient getScriptCmdlets() { + return this.scriptCmdlets; } /** - * The HcxEnterpriseSitesClient object to access its operations. + * The ScriptExecutionsClient object to access its operations. */ - private final HcxEnterpriseSitesClient hcxEnterpriseSites; + private final ScriptExecutionsClient scriptExecutions; /** - * Gets the HcxEnterpriseSitesClient object to access its operations. + * Gets the ScriptExecutionsClient object to access its operations. * - * @return the HcxEnterpriseSitesClient object. + * @return the ScriptExecutionsClient object. */ - public HcxEnterpriseSitesClient getHcxEnterpriseSites() { - return this.hcxEnterpriseSites; + public ScriptExecutionsClient getScriptExecutions() { + return this.scriptExecutions; } /** @@ -357,87 +385,59 @@ public IscsiPathsClient getIscsiPaths() { } /** - * The ProvisionedNetworksClient object to access its operations. - */ - private final ProvisionedNetworksClient provisionedNetworks; - - /** - * Gets the ProvisionedNetworksClient object to access its operations. - * - * @return the ProvisionedNetworksClient object. - */ - public ProvisionedNetworksClient getProvisionedNetworks() { - return this.provisionedNetworks; - } - - /** - * The PureStoragePoliciesClient object to access its operations. - */ - private final PureStoragePoliciesClient pureStoragePolicies; - - /** - * Gets the PureStoragePoliciesClient object to access its operations. - * - * @return the PureStoragePoliciesClient object. - */ - public PureStoragePoliciesClient getPureStoragePolicies() { - return this.pureStoragePolicies; - } - - /** - * The ScriptExecutionsClient object to access its operations. + * The HostsClient object to access its operations. */ - private final ScriptExecutionsClient scriptExecutions; + private final HostsClient hosts; /** - * Gets the ScriptExecutionsClient object to access its operations. + * Gets the HostsClient object to access its operations. * - * @return the ScriptExecutionsClient object. + * @return the HostsClient object. */ - public ScriptExecutionsClient getScriptExecutions() { - return this.scriptExecutions; + public HostsClient getHosts() { + return this.hosts; } /** - * The ScriptPackagesClient object to access its operations. + * The ProvisionedNetworksClient object to access its operations. */ - private final ScriptPackagesClient scriptPackages; + private final ProvisionedNetworksClient provisionedNetworks; /** - * Gets the ScriptPackagesClient object to access its operations. + * Gets the ProvisionedNetworksClient object to access its operations. * - * @return the ScriptPackagesClient object. + * @return the ProvisionedNetworksClient object. */ - public ScriptPackagesClient getScriptPackages() { - return this.scriptPackages; + public ProvisionedNetworksClient getProvisionedNetworks() { + return this.provisionedNetworks; } /** - * The ScriptCmdletsClient object to access its operations. + * The SkusClient object to access its operations. */ - private final ScriptCmdletsClient scriptCmdlets; + private final SkusClient skus; /** - * Gets the ScriptCmdletsClient object to access its operations. + * Gets the SkusClient object to access its operations. * - * @return the ScriptCmdletsClient object. + * @return the SkusClient object. */ - public ScriptCmdletsClient getScriptCmdlets() { - return this.scriptCmdlets; + public SkusClient getSkus() { + return this.skus; } /** - * The WorkloadNetworksClient object to access its operations. + * The PureStoragePoliciesClient object to access its operations. */ - private final WorkloadNetworksClient workloadNetworks; + private final PureStoragePoliciesClient pureStoragePolicies; /** - * Gets the WorkloadNetworksClient object to access its operations. + * Gets the PureStoragePoliciesClient object to access its operations. * - * @return the WorkloadNetworksClient object. + * @return the PureStoragePoliciesClient object. */ - public WorkloadNetworksClient getWorkloadNetworks() { - return this.workloadNetworks; + public PureStoragePoliciesClient getPureStoragePolicies() { + return this.pureStoragePolicies; } /** @@ -447,38 +447,38 @@ public WorkloadNetworksClient getWorkloadNetworks() { * @param serializerAdapter The serializer to serialize an object into a string. * @param defaultPollInterval The default poll interval for long-running operation. * @param environment The Azure environment. + * @param endpoint Service host. * @param subscriptionId The ID of the target subscription. The value must be an UUID. - * @param endpoint server parameter. */ AvsClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, Duration defaultPollInterval, - AzureEnvironment environment, String subscriptionId, String endpoint) { + AzureEnvironment environment, String endpoint, String subscriptionId) { this.httpPipeline = httpPipeline; this.serializerAdapter = serializerAdapter; this.defaultPollInterval = defaultPollInterval; - this.subscriptionId = subscriptionId; this.endpoint = endpoint; + this.subscriptionId = subscriptionId; this.apiVersion = "2024-09-01"; + this.workloadNetworks = new WorkloadNetworksClientImpl(this); this.operations = new OperationsClientImpl(this); this.locations = new LocationsClientImpl(this); this.privateClouds = new PrivateCloudsClientImpl(this); - this.skus = new SkusClientImpl(this); - this.addons = new AddonsClientImpl(this); - this.authorizations = new AuthorizationsClientImpl(this); - this.cloudLinks = new CloudLinksClientImpl(this); this.clusters = new ClustersClientImpl(this); this.datastores = new DatastoresClientImpl(this); - this.hosts = new HostsClientImpl(this); - this.placementPolicies = new PlacementPoliciesClientImpl(this); - this.virtualMachines = new VirtualMachinesClientImpl(this); - this.globalReachConnections = new GlobalReachConnectionsClientImpl(this); this.hcxEnterpriseSites = new HcxEnterpriseSitesClientImpl(this); + this.authorizations = new AuthorizationsClientImpl(this); + this.globalReachConnections = new GlobalReachConnectionsClientImpl(this); + this.cloudLinks = new CloudLinksClientImpl(this); + this.addons = new AddonsClientImpl(this); + this.virtualMachines = new VirtualMachinesClientImpl(this); + this.placementPolicies = new PlacementPoliciesClientImpl(this); + this.scriptPackages = new ScriptPackagesClientImpl(this); + this.scriptCmdlets = new ScriptCmdletsClientImpl(this); + this.scriptExecutions = new ScriptExecutionsClientImpl(this); this.iscsiPaths = new IscsiPathsClientImpl(this); + this.hosts = new HostsClientImpl(this); this.provisionedNetworks = new ProvisionedNetworksClientImpl(this); + this.skus = new SkusClientImpl(this); this.pureStoragePolicies = new PureStoragePoliciesClientImpl(this); - this.scriptExecutions = new ScriptExecutionsClientImpl(this); - this.scriptPackages = new ScriptPackagesClientImpl(this); - this.scriptCmdlets = new ScriptCmdletsClientImpl(this); - this.workloadNetworks = new WorkloadNetworksClientImpl(this); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinkImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinkImpl.java index b67fe90ef706..4479dd7d9d4f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinkImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinkImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinksClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinksClientImpl.java index 89f26a8eb224..afc2ca9376e9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinksClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -35,7 +35,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.CloudLinksClient; import com.azure.resourcemanager.avs.fluent.models.CloudLinkInner; -import com.azure.resourcemanager.avs.models.CloudLinkList; +import com.azure.resourcemanager.avs.implementation.models.CloudLinkList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,14 +69,14 @@ public final class CloudLinksClientImpl implements CloudLinksClient { * The interface defining all the services for AvsClientCloudLinks to be used by the proxy service to perform REST * calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientCloudLinks") public interface CloudLinksService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -86,7 +86,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -96,7 +96,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("cloudLinkName") String cloudLinkName, @@ -106,39 +106,37 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("cloudLinkName") String cloudLinkName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("cloudLinkName") String cloudLinkName, - @BodyParam("application/json") CloudLinkInner cloudLink, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") CloudLinkInner cloudLink, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("cloudLinkName") String cloudLinkName, - @BodyParam("application/json") CloudLinkInner cloudLink, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") CloudLinkInner cloudLink, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("cloudLinkName") String cloudLinkName, @@ -148,7 +146,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("cloudLinkName") String cloudLinkName, @@ -159,14 +157,14 @@ Response deleteSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -486,11 +484,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { cloudLink.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, cloudLinkName, cloudLink, accept, - context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, cloudLinkName, contentType, + accept, cloudLink, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -537,10 +536,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { cloudLink.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, cloudLinkName, cloudLink, accept, - Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, cloudLinkName, contentType, accept, + cloudLink, Context.NONE); } /** @@ -587,10 +587,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { cloudLink.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, cloudLinkName, cloudLink, accept, - context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, cloudLinkName, contentType, accept, + cloudLink, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinksImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinksImpl.java index 19d66b038bed..16f1190aa18e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinksImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/CloudLinksImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClusterImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClusterImpl.java index da07764b672d..ed8f26fde32e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClusterImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClusterImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClusterZoneListImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClusterZoneListImpl.java index 7c77d52c280f..ce644b168f91 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClusterZoneListImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClusterZoneListImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClustersClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClustersClientImpl.java index af4e933ae730..f91a9556790d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClustersClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClustersClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -38,7 +38,7 @@ import com.azure.resourcemanager.avs.fluent.ClustersClient; import com.azure.resourcemanager.avs.fluent.models.ClusterInner; import com.azure.resourcemanager.avs.fluent.models.ClusterZoneListInner; -import com.azure.resourcemanager.avs.models.ClusterList; +import com.azure.resourcemanager.avs.implementation.models.ClusterList; import com.azure.resourcemanager.avs.models.ClusterUpdate; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -72,14 +72,14 @@ public final class ClustersClientImpl implements ClustersClient { * The interface defining all the services for AvsClientClusters to be used by the proxy service to perform REST * calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientClusters") public interface ClustersService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -89,7 +89,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -99,7 +99,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -109,59 +109,57 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, - @BodyParam("application/json") ClusterInner cluster, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ClusterInner cluster, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, - @BodyParam("application/json") ClusterInner cluster, @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ClusterInner cluster, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> update(@HostParam("$host") String endpoint, + Mono>> update(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, - @BodyParam("application/json") ClusterUpdate clusterUpdate, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ClusterUpdate clusterUpdate, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updateSync(@HostParam("$host") String endpoint, + Response updateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, - @BodyParam("application/json") ClusterUpdate clusterUpdate, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ClusterUpdate clusterUpdate, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -171,7 +169,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -181,7 +179,7 @@ Response deleteSync(@HostParam("$host") String endpoint, @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/listZones") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listZones(@HostParam("$host") String endpoint, + Mono> listZones(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -191,7 +189,7 @@ Mono> listZones(@HostParam("$host") String endpoi @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/listZones") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listZonesSync(@HostParam("$host") String endpoint, + Response listZonesSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -202,14 +200,14 @@ Response listZonesSync(@HostParam("$host") String endpoint @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -529,11 +527,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { cluster.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, cluster, accept, - context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, contentType, accept, + cluster, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -580,10 +579,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { cluster.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, cluster, accept, - Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, contentType, accept, + cluster, Context.NONE); } /** @@ -630,10 +630,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { cluster.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, cluster, accept, - context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, contentType, accept, + cluster, context); } /** @@ -795,11 +796,12 @@ private Mono>> updateWithResponseAsync(String resource } else { clusterUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, clusterUpdate, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, contentType, accept, + clusterUpdate, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -846,10 +848,11 @@ private Response updateWithResponse(String resourceGroupName, String } else { clusterUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, clusterUpdate, accept, - Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, contentType, accept, + clusterUpdate, Context.NONE); } /** @@ -896,10 +899,11 @@ private Response updateWithResponse(String resourceGroupName, String } else { clusterUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, clusterUpdate, accept, - context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, contentType, accept, + clusterUpdate, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClustersImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClustersImpl.java index 74dfa673057a..af3b7886f3e8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClustersImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ClustersImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoreImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoreImpl.java index 109014cb4462..f088f221d3e5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoreImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoreImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoresClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoresClientImpl.java index dd2bd9c1afd8..025eb92c1c74 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoresClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoresClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -35,7 +35,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.DatastoresClient; import com.azure.resourcemanager.avs.fluent.models.DatastoreInner; -import com.azure.resourcemanager.avs.models.DatastoreList; +import com.azure.resourcemanager.avs.implementation.models.DatastoreList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,14 +69,14 @@ public final class DatastoresClientImpl implements DatastoresClient { * The interface defining all the services for AvsClientDatastores to be used by the proxy service to perform REST * calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientDatastores") public interface DatastoresService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -86,7 +86,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -96,7 +96,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -106,39 +106,39 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @PathParam("datastoreName") String datastoreName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, - @PathParam("datastoreName") String datastoreName, @BodyParam("application/json") DatastoreInner datastore, - @HeaderParam("Accept") String accept, Context context); + @PathParam("datastoreName") String datastoreName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") DatastoreInner datastore, + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, - @PathParam("datastoreName") String datastoreName, @BodyParam("application/json") DatastoreInner datastore, - @HeaderParam("Accept") String accept, Context context); + @PathParam("datastoreName") String datastoreName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") DatastoreInner datastore, + Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -148,7 +148,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -159,14 +159,14 @@ Response deleteSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -525,11 +525,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { datastore.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, datastoreName, - datastore, accept, context)) + contentType, accept, datastore, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -581,10 +582,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { datastore.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, datastoreName, datastore, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, datastoreName, + contentType, accept, datastore, Context.NONE); } /** @@ -636,10 +638,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { datastore.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, datastoreName, datastore, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, datastoreName, + contentType, accept, datastore, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoresImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoresImpl.java index 98056b46339f..8e80d9b6f8be 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoresImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/DatastoresImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ExpressRouteAuthorizationImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ExpressRouteAuthorizationImpl.java index 0f999a829817..17c32847ba5a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ExpressRouteAuthorizationImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ExpressRouteAuthorizationImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionImpl.java index 1d04e814aa58..87be690cffc5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionsClientImpl.java index 699f8f78098e..3d6493da0f2f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -35,7 +35,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient; import com.azure.resourcemanager.avs.fluent.models.GlobalReachConnectionInner; -import com.azure.resourcemanager.avs.models.GlobalReachConnectionList; +import com.azure.resourcemanager.avs.implementation.models.GlobalReachConnectionList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,14 +69,14 @@ public final class GlobalReachConnectionsClientImpl implements GlobalReachConnec * The interface defining all the services for AvsClientGlobalReachConnections to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientGlobalReach") public interface GlobalReachConnectionsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -86,7 +86,7 @@ Mono> list(@HostParam("$host") String endpoi @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -96,7 +96,7 @@ Response listSync(@HostParam("$host") String endpoint @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -107,42 +107,40 @@ Mono> get(@HostParam("$host") String endpoi @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("globalReachConnectionName") String globalReachConnectionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("globalReachConnectionName") String globalReachConnectionName, - @BodyParam("application/json") GlobalReachConnectionInner globalReachConnection, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") GlobalReachConnectionInner globalReachConnection, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("globalReachConnectionName") String globalReachConnectionName, - @BodyParam("application/json") GlobalReachConnectionInner globalReachConnection, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") GlobalReachConnectionInner globalReachConnection, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -153,7 +151,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -165,7 +163,7 @@ Response deleteSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -173,7 +171,7 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -505,11 +503,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { globalReachConnection.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, globalReachConnectionName, - globalReachConnection, accept, context)) + contentType, accept, globalReachConnection, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -557,10 +556,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { globalReachConnection.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, globalReachConnectionName, - globalReachConnection, accept, Context.NONE); + contentType, accept, globalReachConnection, Context.NONE); } /** @@ -608,10 +608,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { globalReachConnection.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, globalReachConnectionName, - globalReachConnection, accept, context); + contentType, accept, globalReachConnection, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionsImpl.java index 14d3a90821ce..8679a5ebc4b9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/GlobalReachConnectionsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSiteImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSiteImpl.java index 81b63f7735c0..9109973e4092 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSiteImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSiteImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSitesClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSitesClientImpl.java index 85d525e7a8db..0e52a3c9d324 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSitesClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSitesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -31,7 +31,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient; import com.azure.resourcemanager.avs.fluent.models.HcxEnterpriseSiteInner; -import com.azure.resourcemanager.avs.models.HcxEnterpriseSiteList; +import com.azure.resourcemanager.avs.implementation.models.HcxEnterpriseSiteList; import reactor.core.publisher.Mono; /** @@ -63,14 +63,14 @@ public final class HcxEnterpriseSitesClientImpl implements HcxEnterpriseSitesCli * The interface defining all the services for AvsClientHcxEnterpriseSites to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientHcxEnterpri") public interface HcxEnterpriseSitesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -80,7 +80,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -90,7 +90,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -101,43 +101,41 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("hcxEnterpriseSiteName") String hcxEnterpriseSiteName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> createOrUpdate(@HostParam("$host") String endpoint, + Mono> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("hcxEnterpriseSiteName") String hcxEnterpriseSiteName, - @BodyParam("application/json") HcxEnterpriseSiteInner hcxEnterpriseSite, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") HcxEnterpriseSiteInner hcxEnterpriseSite, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("hcxEnterpriseSiteName") String hcxEnterpriseSiteName, - @BodyParam("application/json") HcxEnterpriseSiteInner hcxEnterpriseSite, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") HcxEnterpriseSiteInner hcxEnterpriseSite, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> delete(@HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, - @PathParam("subscriptionId") String subscriptionId, + Mono> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("hcxEnterpriseSiteName") String hcxEnterpriseSiteName, @HeaderParam("Accept") String accept, @@ -147,7 +145,7 @@ Mono> delete(@HostParam("$host") String endpoint, @QueryParam("ap @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}") @ExpectedResponses({ 200, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, @QueryParam("api-version") String apiVersion, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -159,14 +157,14 @@ Response deleteSync(@HostParam("$host") String endpoint, @QueryParam("api- @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -493,11 +491,12 @@ private Mono> createOrUpdateWithResponseAsync(S } else { hcxEnterpriseSite.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, hcxEnterpriseSiteName, - hcxEnterpriseSite, accept, context)) + contentType, accept, hcxEnterpriseSite, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -565,10 +564,11 @@ public Response createOrUpdateWithResponse(String resour } else { hcxEnterpriseSite.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, hcxEnterpriseSiteName, - hcxEnterpriseSite, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, hcxEnterpriseSiteName, contentType, + accept, hcxEnterpriseSite, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSitesImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSitesImpl.java index 42a7c39ca69e..519363e73a4b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSitesImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HcxEnterpriseSitesImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostModelImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostModelImpl.java index 362a509abddc..1ebd8c7e6c6f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostModelImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostModelImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostsClientImpl.java index c512301d3787..8c45ac99ff07 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -28,7 +28,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.avs.fluent.HostsClient; import com.azure.resourcemanager.avs.fluent.models.HostModelInner; -import com.azure.resourcemanager.avs.models.HostListResult; +import com.azure.resourcemanager.avs.implementation.models.HostListResult; import reactor.core.publisher.Mono; /** @@ -58,14 +58,14 @@ public final class HostsClientImpl implements HostsClient { /** * The interface defining all the services for AvsClientHosts to be used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientHosts") public interface HostsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -75,7 +75,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -85,7 +85,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts/{hostId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -95,7 +95,7 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/hosts/{hostId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -106,14 +106,14 @@ Response getSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostsImpl.java index 0249d7566104..050f5f62fd68 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/HostsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathImpl.java index 5e900351c35b..feb385954029 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathsClientImpl.java index 92a0322bc197..21e8bbae85c7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -35,7 +35,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.IscsiPathsClient; import com.azure.resourcemanager.avs.fluent.models.IscsiPathInner; -import com.azure.resourcemanager.avs.models.IscsiPathListResult; +import com.azure.resourcemanager.avs.implementation.models.IscsiPathListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,14 +69,14 @@ public final class IscsiPathsClientImpl implements IscsiPathsClient { * The interface defining all the services for AvsClientIscsiPaths to be used by the proxy service to perform REST * calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientIscsiPaths") public interface IscsiPathsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByPrivateCloud(@HostParam("$host") String endpoint, + Mono> listByPrivateCloud(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -86,7 +86,7 @@ Mono> listByPrivateCloud(@HostParam("$host") Strin @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listByPrivateCloudSync(@HostParam("$host") String endpoint, + Response listByPrivateCloudSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -96,7 +96,7 @@ Response listByPrivateCloudSync(@HostParam("$host") String @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -106,39 +106,37 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, - @BodyParam("application/json") IscsiPathInner resource, @HeaderParam("Accept") String accept, + @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") IscsiPathInner resource, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, - @BodyParam("application/json") IscsiPathInner resource, @HeaderParam("Accept") String accept, + @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") IscsiPathInner resource, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -148,7 +146,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/iscsiPaths/default") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -159,7 +157,7 @@ Response deleteSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByPrivateCloudNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -167,7 +165,7 @@ Mono> listByPrivateCloudNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listByPrivateCloudNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } @@ -477,10 +475,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { resource.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, resource, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, resource, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -522,9 +522,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { resource.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, resource, accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, resource, + Context.NONE); } /** @@ -566,9 +568,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { resource.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, resource, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, resource, + context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathsImpl.java index 08222a97bdde..09bdc6a51539 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/IscsiPathsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/LocationsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/LocationsClientImpl.java index c5d1e9df7372..1c3eb41df0ce 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/LocationsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/LocationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -58,55 +58,56 @@ public final class LocationsClientImpl implements LocationsClient { * The interface defining all the services for AvsClientLocations to be used by the proxy service to perform REST * calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientLocations") public interface LocationsService { @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability") + @Post("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> checkQuotaAvailability(@HostParam("$host") String endpoint, + Mono> checkTrialAvailability(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); + @PathParam("location") String location, @HeaderParam("Accept") String accept, + @BodyParam("application/json") Sku sku, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability") + @Post("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response checkQuotaAvailabilitySync(@HostParam("$host") String endpoint, + Response checkTrialAvailabilitySync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); + @PathParam("location") String location, @HeaderParam("Accept") String accept, + @BodyParam("application/json") Sku sku, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability") + @Post("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> checkTrialAvailability(@HostParam("$host") String endpoint, + Mono> checkQuotaAvailability(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("location") String location, @BodyParam("application/json") Sku sku, - @HeaderParam("Accept") String accept, Context context); + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability") + @Post("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response checkTrialAvailabilitySync(@HostParam("$host") String endpoint, + Response checkQuotaAvailabilitySync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("location") String location, @BodyParam("application/json") Sku sku, - @HeaderParam("Accept") String accept, Context context); + @PathParam("location") String location, @HeaderParam("Accept") String accept, Context context); } /** - * Return quota for subscription by region. + * Return trial status for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. + * @param sku Optionally, check for a specific SKU. * @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 subscription quotas along with {@link Response} on successful completion of {@link Mono}. + * @return subscription trial availability along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> checkQuotaAvailabilityWithResponseAsync(String location) { + private Mono> checkTrialAvailabilityWithResponseAsync(String location, Sku sku) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -118,39 +119,44 @@ private Mono> checkQuotaAvailabilityWithResponseAsync(Strin if (location == null) { return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } + if (sku != null) { + sku.validate(); + } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.checkQuotaAvailability(this.client.getEndpoint(), - this.client.getApiVersion(), this.client.getSubscriptionId(), location, accept, context)) + .withContext(context -> service.checkTrialAvailability(this.client.getEndpoint(), + this.client.getApiVersion(), this.client.getSubscriptionId(), location, accept, sku, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Return quota for subscription by region. + * Return trial status for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. * @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 subscription quotas on successful completion of {@link Mono}. + * @return subscription trial availability on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono checkQuotaAvailabilityAsync(String location) { - return checkQuotaAvailabilityWithResponseAsync(location).flatMap(res -> Mono.justOrEmpty(res.getValue())); + private Mono checkTrialAvailabilityAsync(String location) { + final Sku sku = null; + return checkTrialAvailabilityWithResponseAsync(location, sku).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Return quota for subscription by region. + * Return trial status for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. + * @param sku Optionally, check for a specific SKU. * @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 subscription quotas along with {@link Response}. + * @return subscription trial availability along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response checkQuotaAvailabilityWithResponse(String location, Context context) { + public Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -165,37 +171,40 @@ public Response checkQuotaAvailabilityWithResponse(String location, throw LOGGER.atError() .log(new IllegalArgumentException("Parameter location is required and cannot be null.")); } + if (sku != null) { + sku.validate(); + } final String accept = "application/json"; - return service.checkQuotaAvailabilitySync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), location, accept, context); + return service.checkTrialAvailabilitySync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), location, accept, sku, context); } /** - * Return quota for subscription by region. + * Return trial status for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. * @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 subscription quotas. + * @return subscription trial availability. */ @ServiceMethod(returns = ReturnType.SINGLE) - public QuotaInner checkQuotaAvailability(String location) { - return checkQuotaAvailabilityWithResponse(location, Context.NONE).getValue(); + public TrialInner checkTrialAvailability(String location) { + final Sku sku = null; + return checkTrialAvailabilityWithResponse(location, sku, Context.NONE).getValue(); } /** - * Return trial status for subscription by region. + * Return quota for subscription by region. * - * @param location The name of the Azure region. - * @param sku Optionally, check for a specific SKU. + * @param location A location in a subscription. * @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 subscription trial availability along with {@link Response} on successful completion of {@link Mono}. + * @return subscription quotas along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> checkTrialAvailabilityWithResponseAsync(String location, Sku sku) { + private Mono> checkQuotaAvailabilityWithResponseAsync(String location) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -207,44 +216,39 @@ private Mono> checkTrialAvailabilityWithResponseAsync(Strin if (location == null) { return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); } - if (sku != null) { - sku.validate(); - } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.checkTrialAvailability(this.client.getEndpoint(), - this.client.getApiVersion(), this.client.getSubscriptionId(), location, sku, accept, context)) + .withContext(context -> service.checkQuotaAvailability(this.client.getEndpoint(), + this.client.getApiVersion(), this.client.getSubscriptionId(), location, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Return trial status for subscription by region. + * Return quota for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. * @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 subscription trial availability on successful completion of {@link Mono}. + * @return subscription quotas on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono checkTrialAvailabilityAsync(String location) { - final Sku sku = null; - return checkTrialAvailabilityWithResponseAsync(location, sku).flatMap(res -> Mono.justOrEmpty(res.getValue())); + private Mono checkQuotaAvailabilityAsync(String location) { + return checkQuotaAvailabilityWithResponseAsync(location).flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Return trial status for subscription by region. + * Return quota for subscription by region. * - * @param location The name of the Azure region. - * @param sku Optionally, check for a specific SKU. + * @param location A location in a subscription. * @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 subscription trial availability along with {@link Response}. + * @return subscription quotas along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context) { + public Response checkQuotaAvailabilityWithResponse(String location, Context context) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -259,27 +263,23 @@ public Response checkTrialAvailabilityWithResponse(String location, throw LOGGER.atError() .log(new IllegalArgumentException("Parameter location is required and cannot be null.")); } - if (sku != null) { - sku.validate(); - } final String accept = "application/json"; - return service.checkTrialAvailabilitySync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), location, sku, accept, context); + return service.checkQuotaAvailabilitySync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), location, accept, context); } /** - * Return trial status for subscription by region. + * Return quota for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. * @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 subscription trial availability. + * @return subscription quotas. */ @ServiceMethod(returns = ReturnType.SINGLE) - public TrialInner checkTrialAvailability(String location) { - final Sku sku = null; - return checkTrialAvailabilityWithResponse(location, sku, Context.NONE).getValue(); + public QuotaInner checkQuotaAvailability(String location) { + return checkQuotaAvailabilityWithResponse(location, Context.NONE).getValue(); } private static final ClientLogger LOGGER = new ClientLogger(LocationsClientImpl.class); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/LocationsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/LocationsImpl.java index 74c26507054d..cb4abf7f62df 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/LocationsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/LocationsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -28,39 +28,39 @@ public LocationsImpl(LocationsClient innerClient, com.azure.resourcemanager.avs. this.serviceManager = serviceManager; } - public Response checkQuotaAvailabilityWithResponse(String location, Context context) { - Response inner = this.serviceClient().checkQuotaAvailabilityWithResponse(location, context); + public Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context) { + Response inner = this.serviceClient().checkTrialAvailabilityWithResponse(location, sku, context); if (inner != null) { return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(), - new QuotaImpl(inner.getValue(), this.manager())); + new TrialImpl(inner.getValue(), this.manager())); } else { return null; } } - public Quota checkQuotaAvailability(String location) { - QuotaInner inner = this.serviceClient().checkQuotaAvailability(location); + public Trial checkTrialAvailability(String location) { + TrialInner inner = this.serviceClient().checkTrialAvailability(location); if (inner != null) { - return new QuotaImpl(inner, this.manager()); + return new TrialImpl(inner, this.manager()); } else { return null; } } - public Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context) { - Response inner = this.serviceClient().checkTrialAvailabilityWithResponse(location, sku, context); + public Response checkQuotaAvailabilityWithResponse(String location, Context context) { + Response inner = this.serviceClient().checkQuotaAvailabilityWithResponse(location, context); if (inner != null) { return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(), - new TrialImpl(inner.getValue(), this.manager())); + new QuotaImpl(inner.getValue(), this.manager())); } else { return null; } } - public Trial checkTrialAvailability(String location) { - TrialInner inner = this.serviceClient().checkTrialAvailability(location); + public Quota checkQuotaAvailability(String location) { + QuotaInner inner = this.serviceClient().checkQuotaAvailability(location); if (inner != null) { - return new TrialImpl(inner, this.manager()); + return new QuotaImpl(inner, this.manager()); } else { return null; } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationImpl.java index 71b1ec5903a1..582b45fd69e1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationsClientImpl.java index 6a1dcbc6612a..f0206c1d8f78 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -28,7 +28,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.avs.fluent.OperationsClient; import com.azure.resourcemanager.avs.fluent.models.OperationInner; -import com.azure.resourcemanager.avs.models.OperationListResult; +import com.azure.resourcemanager.avs.implementation.models.OperationListResult; import reactor.core.publisher.Mono; /** @@ -60,21 +60,21 @@ public final class OperationsClientImpl implements OperationsClient { * The interface defining all the services for AvsClientOperations to be used by the proxy service to perform REST * calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientOperations") public interface OperationsService { @Headers({ "Content-Type: application/json" }) @Get("/providers/Microsoft.AVS/operations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/providers/Microsoft.AVS/operations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -82,14 +82,14 @@ Response listSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationsImpl.java index 18874dc0aeff..d95c138012a2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/OperationsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesClientImpl.java index c1cca33e1826..9ba480edcd07 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -36,7 +36,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient; import com.azure.resourcemanager.avs.fluent.models.PlacementPolicyInner; -import com.azure.resourcemanager.avs.models.PlacementPoliciesList; +import com.azure.resourcemanager.avs.implementation.models.PlacementPoliciesList; import com.azure.resourcemanager.avs.models.PlacementPolicyUpdate; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -71,14 +71,14 @@ public final class PlacementPoliciesClientImpl implements PlacementPoliciesClien * The interface defining all the services for AvsClientPlacementPolicies to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientPlacementPo") public interface PlacementPoliciesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -88,7 +88,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -98,7 +98,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -109,66 +109,62 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @PathParam("placementPolicyName") String placementPolicyName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @PathParam("placementPolicyName") String placementPolicyName, - @BodyParam("application/json") PlacementPolicyInner placementPolicy, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") PlacementPolicyInner placementPolicy, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @PathParam("placementPolicyName") String placementPolicyName, - @BodyParam("application/json") PlacementPolicyInner placementPolicy, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") PlacementPolicyInner placementPolicy, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> update(@HostParam("$host") String endpoint, + Mono>> update(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @PathParam("placementPolicyName") String placementPolicyName, - @BodyParam("application/json") PlacementPolicyUpdate placementPolicyUpdate, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") PlacementPolicyUpdate placementPolicyUpdate, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updateSync(@HostParam("$host") String endpoint, + Response updateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @PathParam("placementPolicyName") String placementPolicyName, - @BodyParam("application/json") PlacementPolicyUpdate placementPolicyUpdate, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") PlacementPolicyUpdate placementPolicyUpdate, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -179,7 +175,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/placementPolicies/{placementPolicyName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -191,14 +187,14 @@ Response deleteSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -563,11 +559,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { placementPolicy.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, placementPolicyName, - placementPolicy, accept, context)) + contentType, accept, placementPolicy, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -619,10 +616,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { placementPolicy.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, placementPolicyName, - placementPolicy, accept, Context.NONE); + contentType, accept, placementPolicy, Context.NONE); } /** @@ -674,10 +672,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { placementPolicy.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, placementPolicyName, - placementPolicy, accept, context); + contentType, accept, placementPolicy, context); } /** @@ -857,11 +856,12 @@ private Mono>> updateWithResponseAsync(String resource } else { placementPolicyUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, placementPolicyName, - placementPolicyUpdate, accept, context)) + contentType, accept, placementPolicyUpdate, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -913,10 +913,11 @@ private Response updateWithResponse(String resourceGroupName, String } else { placementPolicyUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, placementPolicyName, - placementPolicyUpdate, accept, Context.NONE); + contentType, accept, placementPolicyUpdate, Context.NONE); } /** @@ -968,10 +969,11 @@ private Response updateWithResponse(String resourceGroupName, String } else { placementPolicyUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, placementPolicyName, - placementPolicyUpdate, accept, context); + contentType, accept, placementPolicyUpdate, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesImpl.java index f834360a33f7..b2053d8cf91c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPoliciesImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPolicyImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPolicyImpl.java index 6f9a44ad744e..b569436390db 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPolicyImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PlacementPolicyImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudImpl.java index 6a86228df513..8eb0eab8ad94 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -275,13 +275,12 @@ public PrivateCloud refresh(Context context) { return this; } - public Response listAdminCredentialsWithResponse(Context context) { - return serviceManager.privateClouds() - .listAdminCredentialsWithResponse(resourceGroupName, privateCloudName, context); + public void rotateVcenterPassword() { + serviceManager.privateClouds().rotateVcenterPassword(resourceGroupName, privateCloudName); } - public AdminCredentials listAdminCredentials() { - return serviceManager.privateClouds().listAdminCredentials(resourceGroupName, privateCloudName); + public void rotateVcenterPassword(Context context) { + serviceManager.privateClouds().rotateVcenterPassword(resourceGroupName, privateCloudName, context); } public void rotateNsxtPassword() { @@ -292,12 +291,13 @@ public void rotateNsxtPassword(Context context) { serviceManager.privateClouds().rotateNsxtPassword(resourceGroupName, privateCloudName, context); } - public void rotateVcenterPassword() { - serviceManager.privateClouds().rotateVcenterPassword(resourceGroupName, privateCloudName); + public Response listAdminCredentialsWithResponse(Context context) { + return serviceManager.privateClouds() + .listAdminCredentialsWithResponse(resourceGroupName, privateCloudName, context); } - public void rotateVcenterPassword(Context context) { - serviceManager.privateClouds().rotateVcenterPassword(resourceGroupName, privateCloudName, context); + public AdminCredentials listAdminCredentials() { + return serviceManager.privateClouds().listAdminCredentials(resourceGroupName, privateCloudName); } public PrivateCloudImpl withRegion(Region location) { diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudsClientImpl.java index 0abb69d8f593..235d8d47938c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -38,7 +38,7 @@ import com.azure.resourcemanager.avs.fluent.PrivateCloudsClient; import com.azure.resourcemanager.avs.fluent.models.AdminCredentialsInner; import com.azure.resourcemanager.avs.fluent.models.PrivateCloudInner; -import com.azure.resourcemanager.avs.models.PrivateCloudList; +import com.azure.resourcemanager.avs.implementation.models.PrivateCloudList; import com.azure.resourcemanager.avs.models.PrivateCloudUpdate; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -73,48 +73,48 @@ public final class PrivateCloudsClientImpl implements PrivateCloudsClient { * The interface defining all the services for AvsClientPrivateClouds to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientPrivateClou") public interface PrivateCloudsService { @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> listByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds") + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listByResourceGroupSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @HeaderParam("Accept") String accept, Context context); + @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, + Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listByResourceGroup(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds") + @Get("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listByResourceGroupSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, - @PathParam("resourceGroupName") String resourceGroupName, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getByResourceGroup(@HostParam("$host") String endpoint, + Mono> getByResourceGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -124,61 +124,57 @@ Mono> getByResourceGroup(@HostParam("$host") String @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getByResourceGroupSync(@HostParam("$host") String endpoint, + Response getByResourceGroupSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, - @BodyParam("application/json") PrivateCloudInner privateCloud, @HeaderParam("Accept") String accept, + @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PrivateCloudInner privateCloud, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, - @BodyParam("application/json") PrivateCloudInner privateCloud, @HeaderParam("Accept") String accept, + @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PrivateCloudInner privateCloud, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> update(@HostParam("$host") String endpoint, + Mono>> update(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, - @BodyParam("application/json") PrivateCloudUpdate privateCloudUpdate, @HeaderParam("Accept") String accept, + @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PrivateCloudUpdate privateCloudUpdate, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updateSync(@HostParam("$host") String endpoint, + Response updateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, - @BodyParam("application/json") PrivateCloudUpdate privateCloudUpdate, @HeaderParam("Accept") String accept, + @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PrivateCloudUpdate privateCloudUpdate, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -188,27 +184,27 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials") - @ExpectedResponses({ 200 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword") + @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listAdminCredentials(@HostParam("$host") String endpoint, + Mono>> rotateVcenterPassword(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials") - @ExpectedResponses({ 200 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword") + @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listAdminCredentialsSync(@HostParam("$host") String endpoint, + Response rotateVcenterPasswordSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -218,7 +214,7 @@ Response listAdminCredentialsSync(@HostParam("$host") Str @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> rotateNsxtPassword(@HostParam("$host") String endpoint, + Mono>> rotateNsxtPassword(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -228,27 +224,27 @@ Mono>> rotateNsxtPassword(@HostParam("$host") String e @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response rotateNsxtPasswordSync(@HostParam("$host") String endpoint, + Response rotateNsxtPasswordSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword") - @ExpectedResponses({ 202, 204 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> rotateVcenterPassword(@HostParam("$host") String endpoint, + Mono> listAdminCredentials(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) - @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword") - @ExpectedResponses({ 202, 204 }) + @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials") + @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response rotateVcenterPasswordSync(@HostParam("$host") String endpoint, + Response listAdminCredentialsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -258,43 +254,45 @@ Response rotateVcenterPasswordSync(@HostParam("$host") String endpoi @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listInSubscriptionNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); + Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listInSubscriptionNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, - @HeaderParam("Accept") String accept, Context context); + Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + Mono> listInSubscriptionNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + Response listInSubscriptionNextSync( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); } /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listSinglePageAsync() { + private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -303,37 +301,45 @@ private Mono> listSinglePageAsync() { return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), accept, context)) + .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listAsync() { - return new PagedFlux<>(() -> listSinglePageAsync(), - nextLink -> listInSubscriptionNextSinglePageAsync(nextLink)); + private PagedFlux listByResourceGroupAsync(String resourceGroupName) { + return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), + nextLink -> listNextSinglePageAsync(nextLink)); } /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listSinglePage() { + private PagedResponse listByResourceGroupSinglePage(String resourceGroupName) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -344,16 +350,21 @@ private PagedResponse listSinglePage() { .log(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String accept = "application/json"; - Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), accept, Context.NONE); + Response res = service.listByResourceGroupSync(this.client.getEndpoint(), + this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null); } /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -361,7 +372,7 @@ private PagedResponse listSinglePage() { * @return the response of a PrivateCloud list operation along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listSinglePage(Context context) { + private PagedResponse listByResourceGroupSinglePage(String resourceGroupName, Context context) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -372,28 +383,36 @@ private PagedResponse listSinglePage(Context context) { .log(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } + if (resourceGroupName == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } final String accept = "application/json"; - Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), accept, context); + Response res = service.listByResourceGroupSync(this.client.getEndpoint(), + this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, context); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null); } /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list() { - return new PagedIterable<>(() -> listSinglePage(), nextLink -> listInSubscriptionNextSinglePage(nextLink)); + public PagedIterable listByResourceGroup(String resourceGroupName) { + return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName), + nextLink -> listNextSinglePage(nextLink)); } /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -401,23 +420,21 @@ public PagedIterable list() { * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable list(Context context) { - return new PagedIterable<>(() -> listSinglePage(context), - nextLink -> listInSubscriptionNextSinglePage(nextLink, context)); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName, context), + nextLink -> listNextSinglePage(nextLink, context)); } /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation along with {@link PagedResponse} on successful completion * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { + private Mono> listSinglePageAsync() { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -426,45 +443,37 @@ private Mono> listByResourceGroupSinglePageAsyn return Mono.error(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (resourceGroupName == null) { - return Mono - .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listByResourceGroup(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, accept, context)) + .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - private PagedFlux listByResourceGroupAsync(String resourceGroupName) { - return new PagedFlux<>(() -> listByResourceGroupSinglePageAsync(resourceGroupName), - nextLink -> listNextSinglePageAsync(nextLink)); + private PagedFlux listAsync() { + return new PagedFlux<>(() -> listSinglePageAsync(), + nextLink -> listInSubscriptionNextSinglePageAsync(nextLink)); } /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listByResourceGroupSinglePage(String resourceGroupName) { + private PagedResponse listSinglePage() { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -475,21 +484,16 @@ private PagedResponse listByResourceGroupSinglePage(String re .log(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (resourceGroupName == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } final String accept = "application/json"; - Response res = service.listByResourceGroupSync(this.client.getEndpoint(), - this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, Context.NONE); + Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null); } /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -497,7 +501,7 @@ private PagedResponse listByResourceGroupSinglePage(String re * @return the response of a PrivateCloud list operation along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listByResourceGroupSinglePage(String resourceGroupName, Context context) { + private PagedResponse listSinglePage(Context context) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -508,36 +512,28 @@ private PagedResponse listByResourceGroupSinglePage(String re .log(new IllegalArgumentException( "Parameter this.client.getSubscriptionId() is required and cannot be null.")); } - if (resourceGroupName == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } final String accept = "application/json"; - Response res = service.listByResourceGroupSync(this.client.getEndpoint(), - this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, accept, context); + Response res = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), accept, context); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null); } /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName) { - return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName), - nextLink -> listNextSinglePage(nextLink)); + public PagedIterable list() { + return new PagedIterable<>(() -> listSinglePage(), nextLink -> listInSubscriptionNextSinglePage(nextLink)); } /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -545,9 +541,9 @@ public PagedIterable listByResourceGroup(String resourceGroup * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - return new PagedIterable<>(() -> listByResourceGroupSinglePage(resourceGroupName, context), - nextLink -> listNextSinglePage(nextLink, context)); + public PagedIterable list(Context context) { + return new PagedIterable<>(() -> listSinglePage(context), + nextLink -> listInSubscriptionNextSinglePage(nextLink, context)); } /** @@ -689,10 +685,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { privateCloud.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, privateCloud, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, privateCloud, + context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -734,9 +732,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { privateCloud.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, privateCloud, accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, privateCloud, + Context.NONE); } /** @@ -778,9 +778,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { privateCloud.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, privateCloud, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, privateCloud, + context); } /** @@ -932,9 +934,12 @@ private Mono>> updateWithResponseAsync(String resource } else { privateCloudUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; - return FluxUtil.withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, privateCloudUpdate, accept, context)) + return FluxUtil + .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, + privateCloudUpdate, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -976,10 +981,11 @@ private Response updateWithResponse(String resourceGroupName, String } else { privateCloudUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, privateCloudUpdate, accept, - Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, + privateCloudUpdate, Context.NONE); } /** @@ -1021,9 +1027,11 @@ private Response updateWithResponse(String resourceGroupName, String } else { privateCloudUpdate.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, privateCloudUpdate, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, contentType, accept, + privateCloudUpdate, context); } /** @@ -1344,18 +1352,17 @@ public void delete(String resourceGroupName, String privateCloudName, Context co } /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. * @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 administrative credentials for accessing vCenter and NSX-T along with {@link Response} on successful - * completion of {@link Mono}. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listAdminCredentialsWithResponseAsync(String resourceGroupName, + private Mono>> rotateVcenterPasswordWithResponseAsync(String resourceGroupName, String privateCloudName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1375,29 +1382,49 @@ private Mono> listAdminCredentialsWithResponseAs } final String accept = "application/json"; return FluxUtil - .withContext(context -> service.listAdminCredentials(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, accept, context)) + .withContext( + context -> service.rotateVcenterPassword(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. * @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 administrative credentials for accessing vCenter and NSX-T on successful completion of {@link Mono}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono listAdminCredentialsAsync(String resourceGroupName, String privateCloudName) { - return listAdminCredentialsWithResponseAsync(resourceGroupName, privateCloudName) - .flatMap(res -> Mono.justOrEmpty(res.getValue())); + private Response rotateVcenterPasswordWithResponse(String resourceGroupName, String privateCloudName) { + if (this.client.getEndpoint() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (privateCloudName == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); + } + final String accept = "application/json"; + return service.rotateVcenterPasswordSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, accept, Context.NONE); } /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. @@ -1405,11 +1432,11 @@ private Mono listAdminCredentialsAsync(String resourceGro * @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 administrative credentials for accessing vCenter and NSX-T along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listAdminCredentialsWithResponse(String resourceGroupName, - String privateCloudName, Context context) { + private Response rotateVcenterPasswordWithResponse(String resourceGroupName, String privateCloudName, + Context context) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -1429,23 +1456,107 @@ public Response listAdminCredentialsWithResponse(String r .log(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); } final String accept = "application/json"; - return service.listAdminCredentialsSync(this.client.getEndpoint(), this.client.getApiVersion(), + return service.rotateVcenterPasswordSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, accept, context); } /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. * @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 administrative credentials for accessing vCenter and NSX-T. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginRotateVcenterPasswordAsync(String resourceGroupName, + String privateCloudName) { + Mono>> mono + = rotateVcenterPasswordWithResponseAsync(resourceGroupName, privateCloudName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Rotate the vCenter password. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud. + * @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> beginRotateVcenterPassword(String resourceGroupName, + String privateCloudName) { + Response response = rotateVcenterPasswordWithResponse(resourceGroupName, privateCloudName); + return this.client.getLroResult(response, Void.class, Void.class, Context.NONE); + } + + /** + * Rotate the vCenter password. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud. + * @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> beginRotateVcenterPassword(String resourceGroupName, + String privateCloudName, Context context) { + Response response = rotateVcenterPasswordWithResponse(resourceGroupName, privateCloudName, context); + return this.client.getLroResult(response, Void.class, Void.class, context); + } + + /** + * Rotate the vCenter password. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud. + * @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) - public AdminCredentialsInner listAdminCredentials(String resourceGroupName, String privateCloudName) { - return listAdminCredentialsWithResponse(resourceGroupName, privateCloudName, Context.NONE).getValue(); + private Mono rotateVcenterPasswordAsync(String resourceGroupName, String privateCloudName) { + return beginRotateVcenterPasswordAsync(resourceGroupName, privateCloudName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Rotate the vCenter password. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud. + * @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 rotateVcenterPassword(String resourceGroupName, String privateCloudName) { + beginRotateVcenterPassword(resourceGroupName, privateCloudName).getFinalResult(); + } + + /** + * Rotate the vCenter password. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud. + * @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 rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context) { + beginRotateVcenterPassword(resourceGroupName, privateCloudName, context).getFinalResult(); } /** @@ -1656,17 +1767,18 @@ public void rotateNsxtPassword(String resourceGroupName, String privateCloudName } /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. * @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}. + * @return administrative credentials for accessing vCenter and NSX-T along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono>> rotateVcenterPasswordWithResponseAsync(String resourceGroupName, + private Mono> listAdminCredentialsWithResponseAsync(String resourceGroupName, String privateCloudName) { if (this.client.getEndpoint() == null) { return Mono.error( @@ -1686,49 +1798,29 @@ private Mono>> rotateVcenterPasswordWithResponseAsync( } final String accept = "application/json"; return FluxUtil - .withContext( - context -> service.rotateVcenterPassword(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, accept, context)) + .withContext(context -> service.listAdminCredentials(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body along with {@link Response}. + * @return administrative credentials for accessing vCenter and NSX-T on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Response rotateVcenterPasswordWithResponse(String resourceGroupName, String privateCloudName) { - if (this.client.getEndpoint() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Parameter this.client.getEndpoint() is required and cannot be null.")); - } - if (this.client.getSubscriptionId() == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException( - "Parameter this.client.getSubscriptionId() is required and cannot be null.")); - } - if (resourceGroupName == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - } - if (privateCloudName == null) { - throw LOGGER.atError() - .log(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); - } - final String accept = "application/json"; - return service.rotateVcenterPasswordSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, accept, Context.NONE); + private Mono listAdminCredentialsAsync(String resourceGroupName, String privateCloudName) { + return listAdminCredentialsWithResponseAsync(resourceGroupName, privateCloudName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); } /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. @@ -1736,11 +1828,11 @@ private Response rotateVcenterPasswordWithResponse(String resourceGr * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body along with {@link Response}. + * @return administrative credentials for accessing vCenter and NSX-T along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Response rotateVcenterPasswordWithResponse(String resourceGroupName, String privateCloudName, - Context context) { + public Response listAdminCredentialsWithResponse(String resourceGroupName, + String privateCloudName, Context context) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -1760,107 +1852,23 @@ private Response rotateVcenterPasswordWithResponse(String resourceGr .log(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); } final String accept = "application/json"; - return service.rotateVcenterPasswordSync(this.client.getEndpoint(), this.client.getApiVersion(), + return service.listAdminCredentialsSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, accept, context); } /** - * Rotate the vCenter password. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateCloudName Name of the private cloud. - * @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> beginRotateVcenterPasswordAsync(String resourceGroupName, - String privateCloudName) { - Mono>> mono - = rotateVcenterPasswordWithResponseAsync(resourceGroupName, privateCloudName); - return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, - this.client.getContext()); - } - - /** - * Rotate the vCenter password. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateCloudName Name of the private cloud. - * @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> beginRotateVcenterPassword(String resourceGroupName, - String privateCloudName) { - Response response = rotateVcenterPasswordWithResponse(resourceGroupName, privateCloudName); - return this.client.getLroResult(response, Void.class, Void.class, Context.NONE); - } - - /** - * Rotate the vCenter password. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateCloudName Name of the private cloud. - * @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> beginRotateVcenterPassword(String resourceGroupName, - String privateCloudName, Context context) { - Response response = rotateVcenterPasswordWithResponse(resourceGroupName, privateCloudName, context); - return this.client.getLroResult(response, Void.class, Void.class, context); - } - - /** - * Rotate the vCenter password. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateCloudName Name of the private cloud. - * @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 rotateVcenterPasswordAsync(String resourceGroupName, String privateCloudName) { - return beginRotateVcenterPasswordAsync(resourceGroupName, privateCloudName).last() - .flatMap(this.client::getLroFinalResultOrError); - } - - /** - * Rotate the vCenter password. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param privateCloudName Name of the private cloud. - * @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 rotateVcenterPassword(String resourceGroupName, String privateCloudName) { - beginRotateVcenterPassword(resourceGroupName, privateCloudName).getFinalResult(); - } - - /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @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 administrative credentials for accessing vCenter and NSX-T. */ @ServiceMethod(returns = ReturnType.SINGLE) - public void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context) { - beginRotateVcenterPassword(resourceGroupName, privateCloudName, context).getFinalResult(); + public AdminCredentialsInner listAdminCredentials(String resourceGroupName, String privateCloudName) { + return listAdminCredentialsWithResponse(resourceGroupName, privateCloudName, Context.NONE).getValue(); } /** @@ -1874,7 +1882,7 @@ public void rotateVcenterPassword(String resourceGroupName, String privateCloudN * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listInSubscriptionNextSinglePageAsync(String nextLink) { + private Mono> listNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1883,9 +1891,7 @@ private Mono> listInSubscriptionNextSinglePageA new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil - .withContext( - context -> service.listInSubscriptionNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); @@ -1901,7 +1907,7 @@ private Mono> listInSubscriptionNextSinglePageA * @return the response of a PrivateCloud list operation along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listInSubscriptionNextSinglePage(String nextLink) { + private PagedResponse listNextSinglePage(String nextLink) { if (nextLink == null) { throw LOGGER.atError() .log(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1913,7 +1919,7 @@ private PagedResponse listInSubscriptionNextSinglePage(String } final String accept = "application/json"; Response res - = service.listInSubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); + = service.listNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null); } @@ -1929,7 +1935,7 @@ private PagedResponse listInSubscriptionNextSinglePage(String * @return the response of a PrivateCloud list operation along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listInSubscriptionNextSinglePage(String nextLink, Context context) { + private PagedResponse listNextSinglePage(String nextLink, Context context) { if (nextLink == null) { throw LOGGER.atError() .log(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1940,8 +1946,7 @@ private PagedResponse listInSubscriptionNextSinglePage(String "Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - Response res - = service.listInSubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, context); + Response res = service.listNextSync(nextLink, this.client.getEndpoint(), accept, context); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null); } @@ -1957,7 +1962,7 @@ private PagedResponse listInSubscriptionNextSinglePage(String * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listNextSinglePageAsync(String nextLink) { + private Mono> listInSubscriptionNextSinglePageAsync(String nextLink) { if (nextLink == null) { return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); } @@ -1966,7 +1971,9 @@ private Mono> listNextSinglePageAsync(String ne new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context)) + return FluxUtil + .withContext( + context -> service.listInSubscriptionNext(nextLink, this.client.getEndpoint(), accept, context)) .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); @@ -1982,7 +1989,7 @@ private Mono> listNextSinglePageAsync(String ne * @return the response of a PrivateCloud list operation along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listNextSinglePage(String nextLink) { + private PagedResponse listInSubscriptionNextSinglePage(String nextLink) { if (nextLink == null) { throw LOGGER.atError() .log(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -1994,7 +2001,7 @@ private PagedResponse listNextSinglePage(String nextLink) { } final String accept = "application/json"; Response res - = service.listNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); + = service.listInSubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null); } @@ -2010,7 +2017,7 @@ private PagedResponse listNextSinglePage(String nextLink) { * @return the response of a PrivateCloud list operation along with {@link PagedResponse}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listNextSinglePage(String nextLink, Context context) { + private PagedResponse listInSubscriptionNextSinglePage(String nextLink, Context context) { if (nextLink == null) { throw LOGGER.atError() .log(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); @@ -2021,7 +2028,8 @@ private PagedResponse listNextSinglePage(String nextLink, Con "Parameter this.client.getEndpoint() is required and cannot be null.")); } final String accept = "application/json"; - Response res = service.listNextSync(nextLink, this.client.getEndpoint(), accept, context); + Response res + = service.listInSubscriptionNextSync(nextLink, this.client.getEndpoint(), accept, context); return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudsImpl.java index 26069246d296..b06033b8fb3b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PrivateCloudsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -28,23 +28,23 @@ public PrivateCloudsImpl(PrivateCloudsClient innerClient, com.azure.resourcemana this.serviceManager = serviceManager; } - public PagedIterable list() { - PagedIterable inner = this.serviceClient().list(); + public PagedIterable listByResourceGroup(String resourceGroupName) { + PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName); return ResourceManagerUtils.mapPage(inner, inner1 -> new PrivateCloudImpl(inner1, this.manager())); } - public PagedIterable list(Context context) { - PagedIterable inner = this.serviceClient().list(context); + public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { + PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName, context); return ResourceManagerUtils.mapPage(inner, inner1 -> new PrivateCloudImpl(inner1, this.manager())); } - public PagedIterable listByResourceGroup(String resourceGroupName) { - PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName); + public PagedIterable list() { + PagedIterable inner = this.serviceClient().list(); return ResourceManagerUtils.mapPage(inner, inner1 -> new PrivateCloudImpl(inner1, this.manager())); } - public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { - PagedIterable inner = this.serviceClient().listByResourceGroup(resourceGroupName, context); + public PagedIterable list(Context context) { + PagedIterable inner = this.serviceClient().list(context); return ResourceManagerUtils.mapPage(inner, inner1 -> new PrivateCloudImpl(inner1, this.manager())); } @@ -77,6 +77,22 @@ public void delete(String resourceGroupName, String privateCloudName, Context co this.serviceClient().delete(resourceGroupName, privateCloudName, context); } + public void rotateVcenterPassword(String resourceGroupName, String privateCloudName) { + this.serviceClient().rotateVcenterPassword(resourceGroupName, privateCloudName); + } + + public void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context) { + this.serviceClient().rotateVcenterPassword(resourceGroupName, privateCloudName, context); + } + + public void rotateNsxtPassword(String resourceGroupName, String privateCloudName) { + this.serviceClient().rotateNsxtPassword(resourceGroupName, privateCloudName); + } + + public void rotateNsxtPassword(String resourceGroupName, String privateCloudName, Context context) { + this.serviceClient().rotateNsxtPassword(resourceGroupName, privateCloudName, context); + } + public Response listAdminCredentialsWithResponse(String resourceGroupName, String privateCloudName, Context context) { Response inner @@ -98,22 +114,6 @@ public AdminCredentials listAdminCredentials(String resourceGroupName, String pr } } - public void rotateNsxtPassword(String resourceGroupName, String privateCloudName) { - this.serviceClient().rotateNsxtPassword(resourceGroupName, privateCloudName); - } - - public void rotateNsxtPassword(String resourceGroupName, String privateCloudName, Context context) { - this.serviceClient().rotateNsxtPassword(resourceGroupName, privateCloudName, context); - } - - public void rotateVcenterPassword(String resourceGroupName, String privateCloudName) { - this.serviceClient().rotateVcenterPassword(resourceGroupName, privateCloudName); - } - - public void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context) { - this.serviceClient().rotateVcenterPassword(resourceGroupName, privateCloudName, context); - } - public PrivateCloud getById(String id) { String resourceGroupName = ResourceManagerUtils.getValueFromIdByName(id, "resourceGroups"); if (resourceGroupName == null) { diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworkImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworkImpl.java index eb31196fd00c..31b4280fa12c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworkImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworkImpl.java @@ -1,14 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; import com.azure.core.management.SystemData; import com.azure.resourcemanager.avs.fluent.models.ProvisionedNetworkInner; import com.azure.resourcemanager.avs.models.ProvisionedNetwork; -import com.azure.resourcemanager.avs.models.ProvisionedNetworkProvisioningState; -import com.azure.resourcemanager.avs.models.ProvisionedNetworkTypes; +import com.azure.resourcemanager.avs.models.ProvisionedNetworkProperties; public final class ProvisionedNetworkImpl implements ProvisionedNetwork { private ProvisionedNetworkInner innerObject; @@ -33,20 +32,12 @@ public String type() { return this.innerModel().type(); } - public SystemData systemData() { - return this.innerModel().systemData(); - } - - public ProvisionedNetworkProvisioningState provisioningState() { - return this.innerModel().provisioningState(); + public ProvisionedNetworkProperties properties() { + return this.innerModel().properties(); } - public String addressPrefix() { - return this.innerModel().addressPrefix(); - } - - public ProvisionedNetworkTypes networkType() { - return this.innerModel().networkType(); + public SystemData systemData() { + return this.innerModel().systemData(); } public ProvisionedNetworkInner innerModel() { diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworksClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworksClientImpl.java index f489cf23dfb0..d647034fafe4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworksClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -28,7 +28,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient; import com.azure.resourcemanager.avs.fluent.models.ProvisionedNetworkInner; -import com.azure.resourcemanager.avs.models.ProvisionedNetworkListResult; +import com.azure.resourcemanager.avs.implementation.models.ProvisionedNetworkListResult; import reactor.core.publisher.Mono; /** @@ -60,14 +60,14 @@ public final class ProvisionedNetworksClientImpl implements ProvisionedNetworksC * The interface defining all the services for AvsClientProvisionedNetworks to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientProvisioned") public interface ProvisionedNetworksService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -77,7 +77,7 @@ Mono> list(@HostParam("$host") String end @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -87,7 +87,7 @@ Response listSync(@HostParam("$host") String endpo @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks/{provisionedNetworkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -98,7 +98,7 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/provisionedNetworks/{provisionedNetworkName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -110,7 +110,7 @@ Response getSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -118,7 +118,7 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworksImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworksImpl.java index b70c5affda85..1ed83c668a21 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworksImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ProvisionedNetworksImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePoliciesClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePoliciesClientImpl.java index b82927ca9300..90b7ba7b94b3 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePoliciesClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePoliciesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -35,7 +35,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient; import com.azure.resourcemanager.avs.fluent.models.PureStoragePolicyInner; -import com.azure.resourcemanager.avs.models.PureStoragePolicyListResult; +import com.azure.resourcemanager.avs.implementation.models.PureStoragePolicyListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,14 +69,14 @@ public final class PureStoragePoliciesClientImpl implements PureStoragePoliciesC * The interface defining all the services for AvsClientPureStoragePolicies to be used by the proxy service to * perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientPureStorage") public interface PureStoragePoliciesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -86,7 +86,7 @@ Mono> list(@HostParam("$host") String endp @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -96,7 +96,7 @@ Response listSync(@HostParam("$host") String endpoi @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -107,42 +107,40 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("storagePolicyName") String storagePolicyName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("storagePolicyName") String storagePolicyName, - @BodyParam("application/json") PureStoragePolicyInner resource, @HeaderParam("Accept") String accept, + @PathParam("storagePolicyName") String storagePolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PureStoragePolicyInner resource, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("storagePolicyName") String storagePolicyName, - @BodyParam("application/json") PureStoragePolicyInner resource, @HeaderParam("Accept") String accept, + @PathParam("storagePolicyName") String storagePolicyName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") PureStoragePolicyInner resource, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -153,7 +151,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/pureStoragePolicies/{storagePolicyName}") @ExpectedResponses({ 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -165,7 +163,7 @@ Response deleteSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -173,7 +171,7 @@ Mono> listNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } @@ -501,11 +499,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { resource.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, storagePolicyName, resource, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, storagePolicyName, contentType, + accept, resource, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -552,10 +551,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { resource.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, storagePolicyName, resource, accept, - Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, storagePolicyName, contentType, + accept, resource, Context.NONE); } /** @@ -602,10 +602,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { resource.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, storagePolicyName, resource, accept, - context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, storagePolicyName, contentType, + accept, resource, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePoliciesImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePoliciesImpl.java index 481be3f16c45..98122f721d96 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePoliciesImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePoliciesImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePolicyImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePolicyImpl.java index 32d17a8214ad..5eb4100d25a8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePolicyImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/PureStoragePolicyImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -8,7 +8,7 @@ import com.azure.core.util.Context; import com.azure.resourcemanager.avs.fluent.models.PureStoragePolicyInner; import com.azure.resourcemanager.avs.models.PureStoragePolicy; -import com.azure.resourcemanager.avs.models.PureStoragePolicyProvisioningState; +import com.azure.resourcemanager.avs.models.PureStoragePolicyProperties; public final class PureStoragePolicyImpl implements PureStoragePolicy, PureStoragePolicy.Definition, PureStoragePolicy.Update { @@ -28,20 +28,12 @@ public String type() { return this.innerModel().type(); } - public SystemData systemData() { - return this.innerModel().systemData(); - } - - public String storagePolicyDefinition() { - return this.innerModel().storagePolicyDefinition(); - } - - public String storagePoolId() { - return this.innerModel().storagePoolId(); + public PureStoragePolicyProperties properties() { + return this.innerModel().properties(); } - public PureStoragePolicyProvisioningState provisioningState() { - return this.innerModel().provisioningState(); + public SystemData systemData() { + return this.innerModel().systemData(); } public String resourceGroupName() { @@ -130,13 +122,8 @@ public PureStoragePolicy refresh(Context context) { return this; } - public PureStoragePolicyImpl withStoragePolicyDefinition(String storagePolicyDefinition) { - this.innerModel().withStoragePolicyDefinition(storagePolicyDefinition); - return this; - } - - public PureStoragePolicyImpl withStoragePoolId(String storagePoolId) { - this.innerModel().withStoragePoolId(storagePoolId); + public PureStoragePolicyImpl withProperties(PureStoragePolicyProperties properties) { + this.innerModel().withProperties(properties); return this; } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/QuotaImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/QuotaImpl.java index b36fd06002ea..0f23f297755a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/QuotaImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/QuotaImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ResourceManagerUtils.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ResourceManagerUtils.java index 502692ff6d0a..42a0bed0a6f7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ResourceManagerUtils.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ResourceManagerUtils.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ResourceSkuImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ResourceSkuImpl.java index 26317ecebe39..d7b06ea3f050 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ResourceSkuImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ResourceSkuImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletImpl.java index 5f05cd19ffd6..81981e12ba81 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletsClientImpl.java index 6d688df692be..b80a4ea126e1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -28,7 +28,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient; import com.azure.resourcemanager.avs.fluent.models.ScriptCmdletInner; -import com.azure.resourcemanager.avs.models.ScriptCmdletsList; +import com.azure.resourcemanager.avs.implementation.models.ScriptCmdletsList; import reactor.core.publisher.Mono; /** @@ -60,14 +60,14 @@ public final class ScriptCmdletsClientImpl implements ScriptCmdletsClient { * The interface defining all the services for AvsClientScriptCmdlets to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientScriptCmdle") public interface ScriptCmdletsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -78,7 +78,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -89,7 +89,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/{scriptCmdletName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -101,7 +101,7 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/{scriptCmdletName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -114,14 +114,14 @@ Response getSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletsImpl.java index a935e62ffb64..6835222c336d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptCmdletsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionImpl.java index 06233fd7ea5e..7a30cd86c623 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionImpl.java @@ -1,11 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; import com.azure.core.http.rest.Response; import com.azure.core.management.SystemData; +import com.azure.core.util.BinaryData; import com.azure.core.util.Context; import com.azure.resourcemanager.avs.fluent.models.ScriptExecutionInner; import com.azure.resourcemanager.avs.models.ScriptExecution; @@ -97,8 +98,8 @@ public List output() { } } - public Map namedOutputs() { - Map inner = this.innerModel().namedOutputs(); + public Map namedOutputs() { + Map inner = this.innerModel().namedOutputs(); if (inner != null) { return Collections.unmodifiableMap(inner); } else { @@ -266,7 +267,7 @@ public ScriptExecutionImpl withOutput(List output) { return this; } - public ScriptExecutionImpl withNamedOutputs(Map namedOutputs) { + public ScriptExecutionImpl withNamedOutputs(Map namedOutputs) { this.innerModel().withNamedOutputs(namedOutputs); return this; } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionsClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionsClientImpl.java index 9eb6502fad44..9f71fa5ce96a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionsClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionsClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -36,7 +36,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient; import com.azure.resourcemanager.avs.fluent.models.ScriptExecutionInner; -import com.azure.resourcemanager.avs.models.ScriptExecutionsList; +import com.azure.resourcemanager.avs.implementation.models.ScriptExecutionsList; import com.azure.resourcemanager.avs.models.ScriptOutputStreamType; import java.nio.ByteBuffer; import java.util.List; @@ -72,14 +72,14 @@ public final class ScriptExecutionsClientImpl implements ScriptExecutionsClient * The interface defining all the services for AvsClientScriptExecutions to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientScriptExecu") public interface ScriptExecutionsService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -89,7 +89,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -99,7 +99,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -110,42 +110,40 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("scriptExecutionName") String scriptExecutionName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createOrUpdate(@HostParam("$host") String endpoint, + Mono>> createOrUpdate(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("scriptExecutionName") String scriptExecutionName, - @BodyParam("application/json") ScriptExecutionInner scriptExecution, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ScriptExecutionInner scriptExecution, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createOrUpdateSync(@HostParam("$host") String endpoint, + Response createOrUpdateSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("scriptExecutionName") String scriptExecutionName, - @BodyParam("application/json") ScriptExecutionInner scriptExecution, @HeaderParam("Accept") String accept, - Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") ScriptExecutionInner scriptExecution, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> delete(@HostParam("$host") String endpoint, + Mono>> delete(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -156,7 +154,7 @@ Mono>> delete(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSync(@HostParam("$host") String endpoint, + Response deleteSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -167,39 +165,37 @@ Response deleteSync(@HostParam("$host") String endpoint, @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getExecutionLogs(@HostParam("$host") String endpoint, + Mono> getExecutionLogs(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("scriptExecutionName") String scriptExecutionName, - @BodyParam("application/json") List scriptOutputStreamType, - @HeaderParam("Accept") String accept, Context context); + @PathParam("scriptExecutionName") String scriptExecutionName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") List scriptOutputStreamType, Context context); @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getExecutionLogsSync(@HostParam("$host") String endpoint, + Response getExecutionLogsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("scriptExecutionName") String scriptExecutionName, - @BodyParam("application/json") List scriptOutputStreamType, - @HeaderParam("Accept") String accept, Context context); + @PathParam("scriptExecutionName") String scriptExecutionName, @HeaderParam("Accept") String accept, + @BodyParam("application/json") List scriptOutputStreamType, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -525,11 +521,12 @@ private Mono>> createOrUpdateWithResponseAsync(String } else { scriptExecution.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createOrUpdate(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, - scriptExecution, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, contentType, + accept, scriptExecution, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -576,10 +573,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { scriptExecution.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, scriptExecution, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, contentType, + accept, scriptExecution, Context.NONE); } /** @@ -626,10 +624,11 @@ private Response createOrUpdateWithResponse(String resourceGroupName } else { scriptExecution.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createOrUpdateSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, scriptExecution, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, contentType, + accept, scriptExecution, context); } /** @@ -1028,8 +1027,8 @@ private Mono> getExecutionLogsWithResponseAsync(S final String accept = "application/json"; return FluxUtil .withContext(context -> service.getExecutionLogs(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, - scriptOutputStreamType, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, accept, + scriptOutputStreamType, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1094,8 +1093,8 @@ public Response getExecutionLogsWithResponse(String resour } final String accept = "application/json"; return service.getExecutionLogsSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, - scriptOutputStreamType, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, scriptExecutionName, accept, + scriptOutputStreamType, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionsImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionsImpl.java index 22a9eeb7535e..6815b319f0bd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionsImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptExecutionsImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackageImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackageImpl.java index 84b03be05d64..76e47a54ac5f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackageImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackageImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackagesClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackagesClientImpl.java index a7d21798ef10..b70f2bc0a69a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackagesClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackagesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -28,7 +28,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.avs.fluent.ScriptPackagesClient; import com.azure.resourcemanager.avs.fluent.models.ScriptPackageInner; -import com.azure.resourcemanager.avs.models.ScriptPackagesList; +import com.azure.resourcemanager.avs.implementation.models.ScriptPackagesList; import reactor.core.publisher.Mono; /** @@ -60,14 +60,14 @@ public final class ScriptPackagesClientImpl implements ScriptPackagesClient { * The interface defining all the services for AvsClientScriptPackages to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientScriptPacka") public interface ScriptPackagesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -77,7 +77,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -87,7 +87,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -98,7 +98,7 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -110,14 +110,14 @@ Response getSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackagesImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackagesImpl.java index 7290241ccce6..952cb1c3a3d2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackagesImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/ScriptPackagesImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/SkusClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/SkusClientImpl.java index d907bc668d21..0246dbb18ea8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/SkusClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/SkusClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -28,7 +28,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.avs.fluent.SkusClient; import com.azure.resourcemanager.avs.fluent.models.ResourceSkuInner; -import com.azure.resourcemanager.avs.models.PagedResourceSku; +import com.azure.resourcemanager.avs.implementation.models.PagedResourceSku; import reactor.core.publisher.Mono; /** @@ -58,14 +58,14 @@ public final class SkusClientImpl implements SkusClient { /** * The interface defining all the services for AvsClientSkus to be used by the proxy service to perform REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientSkus") public interface SkusService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/skus") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -73,7 +73,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/providers/Microsoft.AVS/skus") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @HeaderParam("Accept") String accept, Context context); @@ -82,14 +82,14 @@ Response listSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/SkusImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/SkusImpl.java index 1eb2591c2f78..3e03f84c3114 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/SkusImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/SkusImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/TrialImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/TrialImpl.java index f88b14d500e7..5879989614aa 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/TrialImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/TrialImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachineImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachineImpl.java index d1a268fd18d5..eaae319fa0aa 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachineImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachineImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachinesClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachinesClientImpl.java index cea298af0850..52e0c0d937a1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachinesClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachinesClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -34,8 +34,8 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.avs.fluent.VirtualMachinesClient; import com.azure.resourcemanager.avs.fluent.models.VirtualMachineInner; +import com.azure.resourcemanager.avs.implementation.models.VirtualMachinesList; import com.azure.resourcemanager.avs.models.VirtualMachineRestrictMovement; -import com.azure.resourcemanager.avs.models.VirtualMachinesList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -69,14 +69,14 @@ public final class VirtualMachinesClientImpl implements VirtualMachinesClient { * The interface defining all the services for AvsClientVirtualMachines to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientVirtualMach") public interface VirtualMachinesService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -86,7 +86,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -96,7 +96,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @@ -107,50 +107,48 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, @PathParam("virtualMachineId") String virtualMachineId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}/restrictMovement") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> restrictMovement(@HostParam("$host") String endpoint, + Mono>> restrictMovement(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, - @PathParam("virtualMachineId") String virtualMachineId, - @BodyParam("application/json") VirtualMachineRestrictMovement restrictMovement, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualMachineId") String virtualMachineId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualMachineRestrictMovement restrictMovement, Context context); - @Headers({ "Content-Type: application/json" }) @Post("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/virtualMachines/{virtualMachineId}/restrictMovement") @ExpectedResponses({ 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response restrictMovementSync(@HostParam("$host") String endpoint, + Response restrictMovementSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("clusterName") String clusterName, - @PathParam("virtualMachineId") String virtualMachineId, - @BodyParam("application/json") VirtualMachineRestrictMovement restrictMovement, - @HeaderParam("Accept") String accept, Context context); + @PathParam("virtualMachineId") String virtualMachineId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") VirtualMachineRestrictMovement restrictMovement, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } /** @@ -515,11 +513,12 @@ private Mono>> restrictMovementWithResponseAsync(Strin } else { restrictMovement.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.restrictMovement(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, virtualMachineId, - restrictMovement, accept, context)) + contentType, accept, restrictMovement, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -571,10 +570,11 @@ private Response restrictMovementWithResponse(String resourceGroupNa } else { restrictMovement.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.restrictMovementSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, virtualMachineId, - restrictMovement, accept, Context.NONE); + contentType, accept, restrictMovement, Context.NONE); } /** @@ -626,10 +626,11 @@ private Response restrictMovementWithResponse(String resourceGroupNa } else { restrictMovement.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.restrictMovementSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), resourceGroupName, privateCloudName, clusterName, virtualMachineId, - restrictMovement, accept, context); + contentType, accept, restrictMovement, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachinesImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachinesImpl.java index 51aa0e3684b4..761b520d83dd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachinesImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/VirtualMachinesImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDhcpImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDhcpImpl.java index 750f8d914f70..925014918166 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDhcpImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDhcpImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDnsServiceImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDnsServiceImpl.java index 38bed7102c23..9bf2e56e5390 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDnsServiceImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDnsServiceImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDnsZoneImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDnsZoneImpl.java index afe450f2ca42..d645a8af6328 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDnsZoneImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkDnsZoneImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkGatewayImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkGatewayImpl.java index 55de480046ca..3ad87e4e80a3 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkGatewayImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkGatewayImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkImpl.java index fef141164276..dcd7f17db792 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkPortMirroringImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkPortMirroringImpl.java index d0bc64160ab3..a3a8b7c97bec 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkPortMirroringImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkPortMirroringImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkPublicIpImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkPublicIpImpl.java index e4b15ecc103e..b7dd28c8f615 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkPublicIpImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkPublicIpImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -65,7 +65,7 @@ private com.azure.resourcemanager.avs.AvsManager manager() { private String privateCloudName; - private String publicIpId; + private String publicIPId; public WorkloadNetworkPublicIpImpl withExistingPrivateCloud(String resourceGroupName, String privateCloudName) { this.resourceGroupName = resourceGroupName; @@ -76,27 +76,27 @@ public WorkloadNetworkPublicIpImpl withExistingPrivateCloud(String resourceGroup public WorkloadNetworkPublicIp create() { this.innerObject = serviceManager.serviceClient() .getWorkloadNetworks() - .createPublicIp(resourceGroupName, privateCloudName, publicIpId, this.innerModel(), Context.NONE); + .createPublicIp(resourceGroupName, privateCloudName, publicIPId, this.innerModel(), Context.NONE); return this; } public WorkloadNetworkPublicIp create(Context context) { this.innerObject = serviceManager.serviceClient() .getWorkloadNetworks() - .createPublicIp(resourceGroupName, privateCloudName, publicIpId, this.innerModel(), context); + .createPublicIp(resourceGroupName, privateCloudName, publicIPId, this.innerModel(), context); return this; } WorkloadNetworkPublicIpImpl(String name, com.azure.resourcemanager.avs.AvsManager serviceManager) { this.innerObject = new WorkloadNetworkPublicIpInner(); this.serviceManager = serviceManager; - this.publicIpId = name; + this.publicIPId = name; } public WorkloadNetworkPublicIp refresh() { this.innerObject = serviceManager.serviceClient() .getWorkloadNetworks() - .getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIpId, Context.NONE) + .getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIPId, Context.NONE) .getValue(); return this; } @@ -104,7 +104,7 @@ public WorkloadNetworkPublicIp refresh() { public WorkloadNetworkPublicIp refresh(Context context) { this.innerObject = serviceManager.serviceClient() .getWorkloadNetworks() - .getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIpId, context) + .getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIPId, context) .getValue(); return this; } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkSegmentImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkSegmentImpl.java index 24b21c254e1e..12cabb0d3d59 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkSegmentImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkSegmentImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkVMGroupImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkVMGroupImpl.java index b54099b813d7..d91f01e0480c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkVMGroupImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkVMGroupImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkVirtualMachineImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkVirtualMachineImpl.java index 14b6a9cdacef..181b6ba91d8a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkVirtualMachineImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworkVirtualMachineImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworksClientImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworksClientImpl.java index b32a134c6f6a..6ce757faeab7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworksClientImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworksClientImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -45,16 +45,16 @@ import com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentInner; import com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVMGroupInner; import com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineInner; -import com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkDnsServicesList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkDnsZonesList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkGatewayList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkPortMirroringList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkPublicIPsList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentsList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkVMGroupsList; -import com.azure.resourcemanager.avs.models.WorkloadNetworkVirtualMachinesList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDhcpList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDnsServicesList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDnsZonesList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkGatewayList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkPortMirroringList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkPublicIPsList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkSegmentsList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkVMGroupsList; +import com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkVirtualMachinesList; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -88,14 +88,14 @@ public final class WorkloadNetworksClientImpl implements WorkloadNetworksClient * The interface defining all the services for AvsClientWorkloadNetworks to be used by the proxy service to perform * REST calls. */ - @Host("{$host}") + @Host("{endpoint}") @ServiceInterface(name = "AvsClientWorkloadNet") public interface WorkloadNetworksService { @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> list(@HostParam("$host") String endpoint, + Mono> list(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -105,7 +105,7 @@ Mono> list(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSync(@HostParam("$host") String endpoint, + Response listSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -115,7 +115,7 @@ Response listSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> get(@HostParam("$host") String endpoint, + Mono> get(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -125,7 +125,7 @@ Mono> get(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSync(@HostParam("$host") String endpoint, + Response getSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -135,7 +135,7 @@ Response getSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listDhcp(@HostParam("$host") String endpoint, + Mono> listDhcp(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -145,7 +145,7 @@ Mono> listDhcp(@HostParam("$host") String endp @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listDhcpSync(@HostParam("$host") String endpoint, + Response listDhcpSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -155,7 +155,7 @@ Response listDhcpSync(@HostParam("$host") String endpoi @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getDhcp(@HostParam("$host") String endpoint, + Mono> getDhcp(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("dhcpId") String dhcpId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -165,61 +165,57 @@ Mono> getDhcp(@HostParam("$host") String endp @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getDhcpSync(@HostParam("$host") String endpoint, + Response getDhcpSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("dhcpId") String dhcpId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createDhcp(@HostParam("$host") String endpoint, + Mono>> createDhcp(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dhcpId") String dhcpId, - @BodyParam("application/json") WorkloadNetworkDhcpInner workloadNetworkDhcp, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDhcpInner workloadNetworkDhcp, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createDhcpSync(@HostParam("$host") String endpoint, + Response createDhcpSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dhcpId") String dhcpId, - @BodyParam("application/json") WorkloadNetworkDhcpInner workloadNetworkDhcp, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDhcpInner workloadNetworkDhcp, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateDhcp(@HostParam("$host") String endpoint, + Mono>> updateDhcp(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dhcpId") String dhcpId, - @BodyParam("application/json") WorkloadNetworkDhcpInner workloadNetworkDhcp, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDhcpInner workloadNetworkDhcp, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updateDhcpSync(@HostParam("$host") String endpoint, + Response updateDhcpSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dhcpId") String dhcpId, - @BodyParam("application/json") WorkloadNetworkDhcpInner workloadNetworkDhcp, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDhcpInner workloadNetworkDhcp, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteDhcp(@HostParam("$host") String endpoint, + Mono>> deleteDhcp(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dhcpId") String dhcpId, @@ -229,7 +225,7 @@ Mono>> deleteDhcp(@HostParam("$host") String endpoint, @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteDhcpSync(@HostParam("$host") String endpoint, + Response deleteDhcpSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dhcpId") String dhcpId, @@ -239,7 +235,7 @@ Response deleteDhcpSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listDnsServices(@HostParam("$host") String endpoint, + Mono> listDnsServices(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -249,7 +245,7 @@ Mono> listDnsServices(@HostParam("$host @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listDnsServicesSync(@HostParam("$host") String endpoint, + Response listDnsServicesSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -259,7 +255,7 @@ Response listDnsServicesSync(@HostParam("$host") @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getDnsService(@HostParam("$host") String endpoint, + Mono> getDnsService(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsServiceId") String dnsServiceId, @@ -269,61 +265,57 @@ Mono> getDnsService(@HostParam("$host") @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getDnsServiceSync(@HostParam("$host") String endpoint, + Response getDnsServiceSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsServiceId") String dnsServiceId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createDnsService(@HostParam("$host") String endpoint, + Mono>> createDnsService(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsServiceId") String dnsServiceId, - @BodyParam("application/json") WorkloadNetworkDnsServiceInner workloadNetworkDnsService, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDnsServiceInner workloadNetworkDnsService, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createDnsServiceSync(@HostParam("$host") String endpoint, + Response createDnsServiceSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsServiceId") String dnsServiceId, - @BodyParam("application/json") WorkloadNetworkDnsServiceInner workloadNetworkDnsService, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDnsServiceInner workloadNetworkDnsService, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateDnsService(@HostParam("$host") String endpoint, + Mono>> updateDnsService(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsServiceId") String dnsServiceId, - @BodyParam("application/json") WorkloadNetworkDnsServiceInner workloadNetworkDnsService, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDnsServiceInner workloadNetworkDnsService, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updateDnsServiceSync(@HostParam("$host") String endpoint, + Response updateDnsServiceSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsServiceId") String dnsServiceId, - @BodyParam("application/json") WorkloadNetworkDnsServiceInner workloadNetworkDnsService, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDnsServiceInner workloadNetworkDnsService, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteDnsService(@HostParam("$host") String endpoint, + Mono>> deleteDnsService(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("dnsServiceId") String dnsServiceId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -333,7 +325,7 @@ Mono>> deleteDnsService(@HostParam("$host") String end @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteDnsServiceSync(@HostParam("$host") String endpoint, + Response deleteDnsServiceSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("dnsServiceId") String dnsServiceId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -343,7 +335,7 @@ Response deleteDnsServiceSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listDnsZones(@HostParam("$host") String endpoint, + Mono> listDnsZones(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -353,7 +345,7 @@ Mono> listDnsZones(@HostParam("$host") Str @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listDnsZonesSync(@HostParam("$host") String endpoint, + Response listDnsZonesSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -363,7 +355,7 @@ Response listDnsZonesSync(@HostParam("$host") Strin @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getDnsZone(@HostParam("$host") String endpoint, + Mono> getDnsZone(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsZoneId") String dnsZoneId, @@ -373,61 +365,57 @@ Mono> getDnsZone(@HostParam("$host") Strin @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getDnsZoneSync(@HostParam("$host") String endpoint, + Response getDnsZoneSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsZoneId") String dnsZoneId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createDnsZone(@HostParam("$host") String endpoint, + Mono>> createDnsZone(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsZoneId") String dnsZoneId, - @BodyParam("application/json") WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createDnsZoneSync(@HostParam("$host") String endpoint, + Response createDnsZoneSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsZoneId") String dnsZoneId, - @BodyParam("application/json") WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateDnsZone(@HostParam("$host") String endpoint, + Mono>> updateDnsZone(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsZoneId") String dnsZoneId, - @BodyParam("application/json") WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updateDnsZoneSync(@HostParam("$host") String endpoint, + Response updateDnsZoneSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("dnsZoneId") String dnsZoneId, - @BodyParam("application/json") WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteDnsZone(@HostParam("$host") String endpoint, + Mono>> deleteDnsZone(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("dnsZoneId") String dnsZoneId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -437,7 +425,7 @@ Mono>> deleteDnsZone(@HostParam("$host") String endpoi @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteDnsZoneSync(@HostParam("$host") String endpoint, + Response deleteDnsZoneSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("dnsZoneId") String dnsZoneId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -447,7 +435,7 @@ Response deleteDnsZoneSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listGateways(@HostParam("$host") String endpoint, + Mono> listGateways(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -457,7 +445,7 @@ Mono> listGateways(@HostParam("$host") Stri @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listGatewaysSync(@HostParam("$host") String endpoint, + Response listGatewaysSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -467,7 +455,7 @@ Response listGatewaysSync(@HostParam("$host") String @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getGateway(@HostParam("$host") String endpoint, + Mono> getGateway(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("gatewayId") String gatewayId, @@ -477,7 +465,7 @@ Mono> getGateway(@HostParam("$host") Strin @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getGatewaySync(@HostParam("$host") String endpoint, + Response getGatewaySync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("gatewayId") String gatewayId, @@ -487,7 +475,7 @@ Response getGatewaySync(@HostParam("$host") String @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listPortMirroring(@HostParam("$host") String endpoint, + Mono> listPortMirroring(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -497,7 +485,7 @@ Mono> listPortMirroring(@HostParam("$ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listPortMirroringSync(@HostParam("$host") String endpoint, + Response listPortMirroringSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -507,7 +495,7 @@ Response listPortMirroringSync(@HostParam("$ho @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getPortMirroring(@HostParam("$host") String endpoint, + Mono> getPortMirroring(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -518,66 +506,66 @@ Mono> getPortMirroring(@HostParam("$ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getPortMirroringSync(@HostParam("$host") String endpoint, + Response getPortMirroringSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("portMirroringId") String portMirroringId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createPortMirroring(@HostParam("$host") String endpoint, + Mono>> createPortMirroring(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("portMirroringId") String portMirroringId, + @PathParam("portMirroringId") String portMirroringId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createPortMirroringSync(@HostParam("$host") String endpoint, + Response createPortMirroringSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("portMirroringId") String portMirroringId, + @PathParam("portMirroringId") String portMirroringId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updatePortMirroring(@HostParam("$host") String endpoint, + Mono>> updatePortMirroring(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("portMirroringId") String portMirroringId, + @PathParam("portMirroringId") String portMirroringId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring, - @HeaderParam("Accept") String accept, Context context); + Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updatePortMirroringSync(@HostParam("$host") String endpoint, + Response updatePortMirroringSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, - @PathParam("portMirroringId") String portMirroringId, + @PathParam("portMirroringId") String portMirroringId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring, - @HeaderParam("Accept") String accept, Context context); + Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deletePortMirroring(@HostParam("$host") String endpoint, + Mono>> deletePortMirroring(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("portMirroringId") String portMirroringId, @@ -588,7 +576,7 @@ Mono>> deletePortMirroring(@HostParam("$host") String @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deletePortMirroringSync(@HostParam("$host") String endpoint, + Response deletePortMirroringSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("portMirroringId") String portMirroringId, @@ -599,7 +587,7 @@ Response deletePortMirroringSync(@HostParam("$host") String endpoint @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listPublicIPs(@HostParam("$host") String endpoint, + Mono> listPublicIPs(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -609,7 +597,7 @@ Mono> listPublicIPs(@HostParam("$host") S @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listPublicIPsSync(@HostParam("$host") String endpoint, + Response listPublicIPsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -619,49 +607,47 @@ Response listPublicIPsSync(@HostParam("$host") Str @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getPublicIp(@HostParam("$host") String endpoint, + Mono> getPublicIp(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, @PathParam("publicIPId") String publicIpId, + @PathParam("privateCloudName") String privateCloudName, @PathParam("publicIPId") String publicIPId, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getPublicIpSync(@HostParam("$host") String endpoint, + Response getPublicIpSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, @PathParam("publicIPId") String publicIpId, + @PathParam("privateCloudName") String privateCloudName, @PathParam("publicIPId") String publicIPId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createPublicIp(@HostParam("$host") String endpoint, + Mono>> createPublicIp(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, @PathParam("publicIPId") String publicIpId, - @BodyParam("application/json") WorkloadNetworkPublicIpInner workloadNetworkPublicIp, - @HeaderParam("Accept") String accept, Context context); + @PathParam("privateCloudName") String privateCloudName, @PathParam("publicIPId") String publicIPId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createPublicIpSync(@HostParam("$host") String endpoint, + Response createPublicIpSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, - @PathParam("privateCloudName") String privateCloudName, @PathParam("publicIPId") String publicIpId, - @BodyParam("application/json") WorkloadNetworkPublicIpInner workloadNetworkPublicIp, - @HeaderParam("Accept") String accept, Context context); + @PathParam("privateCloudName") String privateCloudName, @PathParam("publicIPId") String publicIPId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deletePublicIp(@HostParam("$host") String endpoint, + Mono>> deletePublicIp(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("publicIPId") String publicIpId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -671,7 +657,7 @@ Mono>> deletePublicIp(@HostParam("$host") String endpo @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deletePublicIpSync(@HostParam("$host") String endpoint, + Response deletePublicIpSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("publicIPId") String publicIpId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -681,7 +667,7 @@ Response deletePublicIpSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listSegments(@HostParam("$host") String endpoint, + Mono> listSegments(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -691,7 +677,7 @@ Mono> listSegments(@HostParam("$host") Str @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listSegmentsSync(@HostParam("$host") String endpoint, + Response listSegmentsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -701,7 +687,7 @@ Response listSegmentsSync(@HostParam("$host") Strin @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getSegment(@HostParam("$host") String endpoint, + Mono> getSegment(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("segmentId") String segmentId, @@ -711,61 +697,57 @@ Mono> getSegment(@HostParam("$host") Strin @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getSegmentSync(@HostParam("$host") String endpoint, + Response getSegmentSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("segmentId") String segmentId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createSegments(@HostParam("$host") String endpoint, + Mono>> createSegments(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("segmentId") String segmentId, - @BodyParam("application/json") WorkloadNetworkSegmentInner workloadNetworkSegment, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkSegmentInner workloadNetworkSegment, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createSegmentsSync(@HostParam("$host") String endpoint, + Response createSegmentsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("segmentId") String segmentId, - @BodyParam("application/json") WorkloadNetworkSegmentInner workloadNetworkSegment, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkSegmentInner workloadNetworkSegment, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateSegments(@HostParam("$host") String endpoint, + Mono>> updateSegments(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("segmentId") String segmentId, - @BodyParam("application/json") WorkloadNetworkSegmentInner workloadNetworkSegment, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkSegmentInner workloadNetworkSegment, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updateSegmentsSync(@HostParam("$host") String endpoint, + Response updateSegmentsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("segmentId") String segmentId, - @BodyParam("application/json") WorkloadNetworkSegmentInner workloadNetworkSegment, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkSegmentInner workloadNetworkSegment, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteSegment(@HostParam("$host") String endpoint, + Mono>> deleteSegment(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("segmentId") String segmentId, @@ -775,7 +757,7 @@ Mono>> deleteSegment(@HostParam("$host") String endpoi @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteSegmentSync(@HostParam("$host") String endpoint, + Response deleteSegmentSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("segmentId") String segmentId, @@ -785,7 +767,7 @@ Response deleteSegmentSync(@HostParam("$host") String endpoint, @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVirtualMachines(@HostParam("$host") String endpoint, + Mono> listVirtualMachines(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -795,7 +777,7 @@ Mono> listVirtualMachines(@HostPara @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listVirtualMachinesSync(@HostParam("$host") String endpoint, + Response listVirtualMachinesSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -805,7 +787,7 @@ Response listVirtualMachinesSync(@HostParam( @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getVirtualMachine(@HostParam("$host") String endpoint, + Mono> getVirtualMachine(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -816,7 +798,7 @@ Mono> getVirtualMachine(@HostParam( @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getVirtualMachineSync(@HostParam("$host") String endpoint, + Response getVirtualMachineSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @@ -827,7 +809,7 @@ Response getVirtualMachineSync(@HostParam("$ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> listVMGroups(@HostParam("$host") String endpoint, + Mono> listVMGroups(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -837,7 +819,7 @@ Mono> listVMGroups(@HostParam("$host") Str @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response listVMGroupsSync(@HostParam("$host") String endpoint, + Response listVMGroupsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -847,7 +829,7 @@ Response listVMGroupsSync(@HostParam("$host") Strin @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono> getVMGroup(@HostParam("$host") String endpoint, + Mono> getVMGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("vmGroupId") String vmGroupId, @@ -857,61 +839,57 @@ Mono> getVMGroup(@HostParam("$host") Strin @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response getVMGroupSync(@HostParam("$host") String endpoint, + Response getVMGroupSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("vmGroupId") String vmGroupId, @HeaderParam("Accept") String accept, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> createVMGroup(@HostParam("$host") String endpoint, + Mono>> createVMGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("vmGroupId") String vmGroupId, - @BodyParam("application/json") WorkloadNetworkVMGroupInner workloadNetworkVMGroup, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkVMGroupInner workloadNetworkVMGroup, Context context); - @Headers({ "Content-Type: application/json" }) @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @ExpectedResponses({ 200, 201 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response createVMGroupSync(@HostParam("$host") String endpoint, + Response createVMGroupSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("vmGroupId") String vmGroupId, - @BodyParam("application/json") WorkloadNetworkVMGroupInner workloadNetworkVMGroup, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkVMGroupInner workloadNetworkVMGroup, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> updateVMGroup(@HostParam("$host") String endpoint, + Mono>> updateVMGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("vmGroupId") String vmGroupId, - @BodyParam("application/json") WorkloadNetworkVMGroupInner workloadNetworkVMGroup, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkVMGroupInner workloadNetworkVMGroup, Context context); - @Headers({ "Content-Type: application/json" }) @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response updateVMGroupSync(@HostParam("$host") String endpoint, + Response updateVMGroupSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("privateCloudName") String privateCloudName, @PathParam("vmGroupId") String vmGroupId, - @BodyParam("application/json") WorkloadNetworkVMGroupInner workloadNetworkVMGroup, - @HeaderParam("Accept") String accept, Context context); + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") WorkloadNetworkVMGroupInner workloadNetworkVMGroup, Context context); @Headers({ "Content-Type: application/json" }) @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Mono>> deleteVMGroup(@HostParam("$host") String endpoint, + Mono>> deleteVMGroup(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vmGroupId") String vmGroupId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -921,7 +899,7 @@ Mono>> deleteVMGroup(@HostParam("$host") String endpoi @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @ExpectedResponses({ 200, 202, 204 }) @UnexpectedResponseExceptionType(ManagementException.class) - Response deleteVMGroupSync(@HostParam("$host") String endpoint, + Response deleteVMGroupSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vmGroupId") String vmGroupId, @PathParam("privateCloudName") String privateCloudName, @HeaderParam("Accept") String accept, @@ -932,21 +910,21 @@ Response deleteVMGroupSync(@HostParam("$host") String endpoint, @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("$host") String endpoint, @HeaderParam("Accept") String accept, Context context); + @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listDhcpNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -954,7 +932,7 @@ Mono> listDhcpNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listDhcpNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -962,7 +940,7 @@ Response listDhcpNextSync( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listDnsServicesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -970,7 +948,7 @@ Mono> listDnsServicesNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listDnsServicesNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -978,7 +956,7 @@ Response listDnsServicesNextSync( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listDnsZonesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -986,7 +964,7 @@ Mono> listDnsZonesNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listDnsZonesNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -994,7 +972,7 @@ Response listDnsZonesNextSync( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listGatewaysNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1002,7 +980,7 @@ Mono> listGatewaysNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listGatewaysNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1010,7 +988,7 @@ Response listGatewaysNextSync( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listPortMirroringNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1018,7 +996,7 @@ Mono> listPortMirroringNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listPortMirroringNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1026,7 +1004,7 @@ Response listPortMirroringNextSync( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listPublicIPsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1034,7 +1012,7 @@ Mono> listPublicIPsNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listPublicIPsNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1042,7 +1020,7 @@ Response listPublicIPsNextSync( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listSegmentsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1050,7 +1028,7 @@ Mono> listSegmentsNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listSegmentsNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1058,7 +1036,7 @@ Response listSegmentsNextSync( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listVirtualMachinesNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1066,7 +1044,7 @@ Mono> listVirtualMachinesNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listVirtualMachinesNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1074,7 +1052,7 @@ Response listVirtualMachinesNextSync( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listVMGroupsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Headers({ "Content-Type: application/json" }) @@ -1082,7 +1060,7 @@ Mono> listVMGroupsNext( @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(ManagementException.class) Response listVMGroupsNextSync( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint, + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); } @@ -1679,11 +1657,12 @@ private Mono>> createDhcpWithResponseAsync(String reso } else { workloadNetworkDhcp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createDhcp(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, contentType, accept, + workloadNetworkDhcp, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -1730,10 +1709,11 @@ private Response createDhcpWithResponse(String resourceGroupName, St } else { workloadNetworkDhcp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createDhcpSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, accept, - Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, contentType, accept, + workloadNetworkDhcp, Context.NONE); } /** @@ -1780,10 +1760,11 @@ private Response createDhcpWithResponse(String resourceGroupName, St } else { workloadNetworkDhcp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createDhcpSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, accept, - context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, contentType, accept, + workloadNetworkDhcp, context); } /** @@ -1951,11 +1932,12 @@ private Mono>> updateDhcpWithResponseAsync(String reso } else { workloadNetworkDhcp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.updateDhcp(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, contentType, accept, + workloadNetworkDhcp, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -2002,10 +1984,11 @@ private Response updateDhcpWithResponse(String resourceGroupName, St } else { workloadNetworkDhcp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateDhcpSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, accept, - Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, contentType, accept, + workloadNetworkDhcp, Context.NONE); } /** @@ -2052,10 +2035,11 @@ private Response updateDhcpWithResponse(String resourceGroupName, St } else { workloadNetworkDhcp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateDhcpSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, workloadNetworkDhcp, accept, - context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dhcpId, contentType, accept, + workloadNetworkDhcp, context); } /** @@ -2740,11 +2724,12 @@ private Mono>> createDnsServiceWithResponseAsync(Strin } else { workloadNetworkDnsService.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createDnsService(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, - workloadNetworkDnsService, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, contentType, accept, + workloadNetworkDnsService, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -2792,10 +2777,11 @@ private Response createDnsServiceWithResponse(String resourceGroupNa } else { workloadNetworkDnsService.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createDnsServiceSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, - workloadNetworkDnsService, accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, contentType, accept, + workloadNetworkDnsService, Context.NONE); } /** @@ -2843,10 +2829,11 @@ private Response createDnsServiceWithResponse(String resourceGroupNa } else { workloadNetworkDnsService.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createDnsServiceSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, - workloadNetworkDnsService, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, contentType, accept, + workloadNetworkDnsService, context); } /** @@ -3016,11 +3003,12 @@ private Mono>> updateDnsServiceWithResponseAsync(Strin } else { workloadNetworkDnsService.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.updateDnsService(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, - workloadNetworkDnsService, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, contentType, accept, + workloadNetworkDnsService, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3068,10 +3056,11 @@ private Response updateDnsServiceWithResponse(String resourceGroupNa } else { workloadNetworkDnsService.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateDnsServiceSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, - workloadNetworkDnsService, accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, contentType, accept, + workloadNetworkDnsService, Context.NONE); } /** @@ -3119,10 +3108,11 @@ private Response updateDnsServiceWithResponse(String resourceGroupNa } else { workloadNetworkDnsService.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateDnsServiceSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, - workloadNetworkDnsService, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsServiceId, contentType, accept, + workloadNetworkDnsService, context); } /** @@ -3807,11 +3797,12 @@ private Mono>> createDnsZoneWithResponseAsync(String r } else { workloadNetworkDnsZone.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createDnsZone(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, contentType, accept, + workloadNetworkDnsZone, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -3858,10 +3849,11 @@ private Response createDnsZoneWithResponse(String resourceGroupName, } else { workloadNetworkDnsZone.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createDnsZoneSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, contentType, accept, + workloadNetworkDnsZone, Context.NONE); } /** @@ -3908,10 +3900,11 @@ private Response createDnsZoneWithResponse(String resourceGroupName, } else { workloadNetworkDnsZone.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createDnsZoneSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, contentType, accept, + workloadNetworkDnsZone, context); } /** @@ -4080,11 +4073,12 @@ private Mono>> updateDnsZoneWithResponseAsync(String r } else { workloadNetworkDnsZone.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.updateDnsZone(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, contentType, accept, + workloadNetworkDnsZone, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -4131,10 +4125,11 @@ private Response updateDnsZoneWithResponse(String resourceGroupName, } else { workloadNetworkDnsZone.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateDnsZoneSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, contentType, accept, + workloadNetworkDnsZone, Context.NONE); } /** @@ -4181,10 +4176,11 @@ private Response updateDnsZoneWithResponse(String resourceGroupName, } else { workloadNetworkDnsZone.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateDnsZoneSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, workloadNetworkDnsZone, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, dnsZoneId, contentType, accept, + workloadNetworkDnsZone, context); } /** @@ -5161,11 +5157,12 @@ private Mono>> createPortMirroringWithResponseAsync(St } else { workloadNetworkPortMirroring.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createPortMirroring(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, - workloadNetworkPortMirroring, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, contentType, + accept, workloadNetworkPortMirroring, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -5213,10 +5210,11 @@ private Response createPortMirroringWithResponse(String resourceGrou } else { workloadNetworkPortMirroring.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createPortMirroringSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, - workloadNetworkPortMirroring, accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, contentType, accept, + workloadNetworkPortMirroring, Context.NONE); } /** @@ -5264,10 +5262,11 @@ private Response createPortMirroringWithResponse(String resourceGrou } else { workloadNetworkPortMirroring.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createPortMirroringSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, - workloadNetworkPortMirroring, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, contentType, accept, + workloadNetworkPortMirroring, context); } /** @@ -5439,11 +5438,12 @@ private Mono>> updatePortMirroringWithResponseAsync(St } else { workloadNetworkPortMirroring.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.updatePortMirroring(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, - workloadNetworkPortMirroring, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, contentType, + accept, workloadNetworkPortMirroring, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -5491,10 +5491,11 @@ private Response updatePortMirroringWithResponse(String resourceGrou } else { workloadNetworkPortMirroring.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updatePortMirroringSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, - workloadNetworkPortMirroring, accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, contentType, accept, + workloadNetworkPortMirroring, Context.NONE); } /** @@ -5542,10 +5543,11 @@ private Response updatePortMirroringWithResponse(String resourceGrou } else { workloadNetworkPortMirroring.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updatePortMirroringSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, - workloadNetworkPortMirroring, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, portMirroringId, contentType, accept, + workloadNetworkPortMirroring, context); } /** @@ -6086,7 +6088,7 @@ public PagedIterable listPublicIPs(String resource * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @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. @@ -6094,7 +6096,7 @@ public PagedIterable listPublicIPs(String resource */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getPublicIpWithResponseAsync(String resourceGroupName, - String privateCloudName, String publicIpId) { + String privateCloudName, String publicIPId) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -6111,13 +6113,13 @@ private Mono> getPublicIpWithResponseAsyn return Mono .error(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); } - if (publicIpId == null) { - return Mono.error(new IllegalArgumentException("Parameter publicIpId is required and cannot be null.")); + if (publicIPId == null) { + return Mono.error(new IllegalArgumentException("Parameter publicIPId is required and cannot be null.")); } final String accept = "application/json"; return FluxUtil .withContext(context -> service.getPublicIp(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIpId, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIPId, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -6126,7 +6128,7 @@ private Mono> getPublicIpWithResponseAsyn * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @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. @@ -6134,8 +6136,8 @@ private Mono> getPublicIpWithResponseAsyn */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getPublicIpAsync(String resourceGroupName, String privateCloudName, - String publicIpId) { - return getPublicIpWithResponseAsync(resourceGroupName, privateCloudName, publicIpId) + String publicIPId) { + return getPublicIpWithResponseAsync(resourceGroupName, privateCloudName, publicIPId) .flatMap(res -> Mono.justOrEmpty(res.getValue())); } @@ -6144,7 +6146,7 @@ private Mono getPublicIpAsync(String resourceGroup * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @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. @@ -6153,7 +6155,7 @@ private Mono getPublicIpAsync(String resourceGroup */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getPublicIpWithResponse(String resourceGroupName, - String privateCloudName, String publicIpId, Context context) { + String privateCloudName, String publicIPId, Context context) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -6172,13 +6174,13 @@ public Response getPublicIpWithResponse(String res throw LOGGER.atError() .log(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); } - if (publicIpId == null) { + if (publicIPId == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Parameter publicIpId is required and cannot be null.")); + .log(new IllegalArgumentException("Parameter publicIPId is required and cannot be null.")); } final String accept = "application/json"; return service.getPublicIpSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIpId, accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIPId, accept, context); } /** @@ -6186,7 +6188,7 @@ public Response getPublicIpWithResponse(String res * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @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. @@ -6194,8 +6196,8 @@ public Response getPublicIpWithResponse(String res */ @ServiceMethod(returns = ReturnType.SINGLE) public WorkloadNetworkPublicIpInner getPublicIp(String resourceGroupName, String privateCloudName, - String publicIpId) { - return getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIpId, Context.NONE).getValue(); + String publicIPId) { + return getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIPId, Context.NONE).getValue(); } /** @@ -6203,7 +6205,7 @@ public WorkloadNetworkPublicIpInner getPublicIp(String resourceGroupName, String * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -6212,7 +6214,7 @@ public WorkloadNetworkPublicIpInner getPublicIp(String resourceGroupName, String */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> createPublicIpWithResponseAsync(String resourceGroupName, - String privateCloudName, String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { + String privateCloudName, String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { if (this.client.getEndpoint() == null) { return Mono.error( new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null.")); @@ -6229,8 +6231,8 @@ private Mono>> createPublicIpWithResponseAsync(String return Mono .error(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); } - if (publicIpId == null) { - return Mono.error(new IllegalArgumentException("Parameter publicIpId is required and cannot be null.")); + if (publicIPId == null) { + return Mono.error(new IllegalArgumentException("Parameter publicIPId is required and cannot be null.")); } if (workloadNetworkPublicIp == null) { return Mono.error( @@ -6238,11 +6240,12 @@ private Mono>> createPublicIpWithResponseAsync(String } else { workloadNetworkPublicIp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createPublicIp(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIpId, - workloadNetworkPublicIp, accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIPId, contentType, accept, + workloadNetworkPublicIp, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -6251,7 +6254,7 @@ private Mono>> createPublicIpWithResponseAsync(String * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -6260,7 +6263,7 @@ private Mono>> createPublicIpWithResponseAsync(String */ @ServiceMethod(returns = ReturnType.SINGLE) private Response createPublicIpWithResponse(String resourceGroupName, String privateCloudName, - String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { + String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -6279,9 +6282,9 @@ private Response createPublicIpWithResponse(String resourceGroupName throw LOGGER.atError() .log(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); } - if (publicIpId == null) { + if (publicIPId == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Parameter publicIpId is required and cannot be null.")); + .log(new IllegalArgumentException("Parameter publicIPId is required and cannot be null.")); } if (workloadNetworkPublicIp == null) { throw LOGGER.atError() @@ -6289,10 +6292,11 @@ private Response createPublicIpWithResponse(String resourceGroupName } else { workloadNetworkPublicIp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createPublicIpSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIpId, workloadNetworkPublicIp, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIPId, contentType, accept, + workloadNetworkPublicIp, Context.NONE); } /** @@ -6300,7 +6304,7 @@ private Response createPublicIpWithResponse(String resourceGroupName * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6310,7 +6314,7 @@ private Response createPublicIpWithResponse(String resourceGroupName */ @ServiceMethod(returns = ReturnType.SINGLE) private Response createPublicIpWithResponse(String resourceGroupName, String privateCloudName, - String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context) { + String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context) { if (this.client.getEndpoint() == null) { throw LOGGER.atError() .log(new IllegalArgumentException( @@ -6329,9 +6333,9 @@ private Response createPublicIpWithResponse(String resourceGroupName throw LOGGER.atError() .log(new IllegalArgumentException("Parameter privateCloudName is required and cannot be null.")); } - if (publicIpId == null) { + if (publicIPId == null) { throw LOGGER.atError() - .log(new IllegalArgumentException("Parameter publicIpId is required and cannot be null.")); + .log(new IllegalArgumentException("Parameter publicIPId is required and cannot be null.")); } if (workloadNetworkPublicIp == null) { throw LOGGER.atError() @@ -6339,10 +6343,11 @@ private Response createPublicIpWithResponse(String resourceGroupName } else { workloadNetworkPublicIp.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createPublicIpSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIpId, workloadNetworkPublicIp, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, publicIPId, contentType, accept, + workloadNetworkPublicIp, context); } /** @@ -6350,7 +6355,7 @@ private Response createPublicIpWithResponse(String resourceGroupName * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -6359,10 +6364,10 @@ private Response createPublicIpWithResponse(String resourceGroupName */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, WorkloadNetworkPublicIpInner> beginCreatePublicIpAsync( - String resourceGroupName, String privateCloudName, String publicIpId, + String resourceGroupName, String privateCloudName, String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { Mono>> mono - = createPublicIpWithResponseAsync(resourceGroupName, privateCloudName, publicIpId, workloadNetworkPublicIp); + = createPublicIpWithResponseAsync(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIp); return this.client.getLroResult(mono, this.client.getHttpPipeline(), WorkloadNetworkPublicIpInner.class, WorkloadNetworkPublicIpInner.class, this.client.getContext()); @@ -6373,7 +6378,7 @@ private PollerFlux, WorkloadNetworkPubl * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -6382,10 +6387,10 @@ private PollerFlux, WorkloadNetworkPubl */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WorkloadNetworkPublicIpInner> beginCreatePublicIp( - String resourceGroupName, String privateCloudName, String publicIpId, + String resourceGroupName, String privateCloudName, String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { Response response - = createPublicIpWithResponse(resourceGroupName, privateCloudName, publicIpId, workloadNetworkPublicIp); + = createPublicIpWithResponse(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIp); return this.client.getLroResult(response, WorkloadNetworkPublicIpInner.class, WorkloadNetworkPublicIpInner.class, Context.NONE); } @@ -6395,7 +6400,7 @@ public SyncPoller, WorkloadNetworkPubli * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6405,9 +6410,9 @@ public SyncPoller, WorkloadNetworkPubli */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WorkloadNetworkPublicIpInner> beginCreatePublicIp( - String resourceGroupName, String privateCloudName, String publicIpId, + String resourceGroupName, String privateCloudName, String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context) { - Response response = createPublicIpWithResponse(resourceGroupName, privateCloudName, publicIpId, + Response response = createPublicIpWithResponse(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIp, context); return this.client.getLroResult(response, WorkloadNetworkPublicIpInner.class, WorkloadNetworkPublicIpInner.class, context); @@ -6418,7 +6423,7 @@ public SyncPoller, WorkloadNetworkPubli * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -6427,8 +6432,8 @@ public SyncPoller, WorkloadNetworkPubli */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createPublicIpAsync(String resourceGroupName, String privateCloudName, - String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { - return beginCreatePublicIpAsync(resourceGroupName, privateCloudName, publicIpId, workloadNetworkPublicIp).last() + String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { + return beginCreatePublicIpAsync(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIp).last() .flatMap(this.client::getLroFinalResultOrError); } @@ -6437,7 +6442,7 @@ private Mono createPublicIpAsync(String resourceGr * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -6446,8 +6451,8 @@ private Mono createPublicIpAsync(String resourceGr */ @ServiceMethod(returns = ReturnType.SINGLE) public WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String privateCloudName, - String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { - return beginCreatePublicIp(resourceGroupName, privateCloudName, publicIpId, workloadNetworkPublicIp) + String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp) { + return beginCreatePublicIp(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIp) .getFinalResult(); } @@ -6456,7 +6461,7 @@ public WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, Str * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @param workloadNetworkPublicIp Resource create parameters. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -6466,8 +6471,8 @@ public WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, Str */ @ServiceMethod(returns = ReturnType.SINGLE) public WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String privateCloudName, - String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context) { - return beginCreatePublicIp(resourceGroupName, privateCloudName, publicIpId, workloadNetworkPublicIp, context) + String publicIPId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, Context context) { + return beginCreatePublicIp(resourceGroupName, privateCloudName, publicIPId, workloadNetworkPublicIp, context) .getFinalResult(); } @@ -7025,11 +7030,12 @@ private Mono>> createSegmentsWithResponseAsync(String } else { workloadNetworkSegment.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createSegments(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, contentType, accept, + workloadNetworkSegment, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -7076,10 +7082,11 @@ private Response createSegmentsWithResponse(String resourceGroupName } else { workloadNetworkSegment.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createSegmentsSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, contentType, accept, + workloadNetworkSegment, Context.NONE); } /** @@ -7126,10 +7133,11 @@ private Response createSegmentsWithResponse(String resourceGroupName } else { workloadNetworkSegment.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createSegmentsSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, contentType, accept, + workloadNetworkSegment, context); } /** @@ -7298,11 +7306,12 @@ private Mono>> updateSegmentsWithResponseAsync(String } else { workloadNetworkSegment.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.updateSegments(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, contentType, accept, + workloadNetworkSegment, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -7349,10 +7358,11 @@ private Response updateSegmentsWithResponse(String resourceGroupName } else { workloadNetworkSegment.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateSegmentsSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, contentType, accept, + workloadNetworkSegment, Context.NONE); } /** @@ -7399,10 +7409,11 @@ private Response updateSegmentsWithResponse(String resourceGroupName } else { workloadNetworkSegment.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateSegmentsSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, workloadNetworkSegment, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, segmentId, contentType, accept, + workloadNetworkSegment, context); } /** @@ -8378,11 +8389,12 @@ private Mono>> createVMGroupWithResponseAsync(String r } else { workloadNetworkVMGroup.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.createVMGroup(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, contentType, accept, + workloadNetworkVMGroup, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -8429,10 +8441,11 @@ private Response createVMGroupWithResponse(String resourceGroupName, } else { workloadNetworkVMGroup.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createVMGroupSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, contentType, accept, + workloadNetworkVMGroup, Context.NONE); } /** @@ -8479,10 +8492,11 @@ private Response createVMGroupWithResponse(String resourceGroupName, } else { workloadNetworkVMGroup.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.createVMGroupSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, contentType, accept, + workloadNetworkVMGroup, context); } /** @@ -8651,11 +8665,12 @@ private Mono>> updateVMGroupWithResponseAsync(String r } else { workloadNetworkVMGroup.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return FluxUtil .withContext(context -> service.updateVMGroup(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, - accept, context)) + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, contentType, accept, + workloadNetworkVMGroup, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); } @@ -8702,10 +8717,11 @@ private Response updateVMGroupWithResponse(String resourceGroupName, } else { workloadNetworkVMGroup.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateVMGroupSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, - accept, Context.NONE); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, contentType, accept, + workloadNetworkVMGroup, Context.NONE); } /** @@ -8752,10 +8768,11 @@ private Response updateVMGroupWithResponse(String resourceGroupName, } else { workloadNetworkVMGroup.validate(); } + final String contentType = "application/json"; final String accept = "application/json"; return service.updateVMGroupSync(this.client.getEndpoint(), this.client.getApiVersion(), - this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, workloadNetworkVMGroup, - accept, context); + this.client.getSubscriptionId(), resourceGroupName, privateCloudName, vmGroupId, contentType, accept, + workloadNetworkVMGroup, context); } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworksImpl.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworksImpl.java index 77ee7ac49c56..c5185a18f767 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworksImpl.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/WorkloadNetworksImpl.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.implementation; @@ -304,9 +304,9 @@ public PagedIterable listPublicIPs(String resourceGroup } public Response getPublicIpWithResponse(String resourceGroupName, String privateCloudName, - String publicIpId, Context context) { + String publicIPId, Context context) { Response inner - = this.serviceClient().getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIpId, context); + = this.serviceClient().getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIPId, context); if (inner != null) { return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(), new WorkloadNetworkPublicIpImpl(inner.getValue(), this.manager())); @@ -315,9 +315,9 @@ public Response getPublicIpWithResponse(String resource } } - public WorkloadNetworkPublicIp getPublicIp(String resourceGroupName, String privateCloudName, String publicIpId) { + public WorkloadNetworkPublicIp getPublicIp(String resourceGroupName, String privateCloudName, String publicIPId) { WorkloadNetworkPublicIpInner inner - = this.serviceClient().getPublicIp(resourceGroupName, privateCloudName, publicIpId); + = this.serviceClient().getPublicIp(resourceGroupName, privateCloudName, publicIPId); if (inner != null) { return new WorkloadNetworkPublicIpImpl(inner, this.manager()); } else { @@ -623,12 +623,12 @@ public WorkloadNetworkPublicIp getPublicIpById(String id) { throw LOGGER.logExceptionAsError(new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'privateClouds'.", id))); } - String publicIpId = ResourceManagerUtils.getValueFromIdByName(id, "publicIPs"); - if (publicIpId == null) { + String publicIPId = ResourceManagerUtils.getValueFromIdByName(id, "publicIPs"); + if (publicIPId == null) { throw LOGGER.logExceptionAsError(new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'publicIPs'.", id))); } - return this.getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIpId, Context.NONE).getValue(); + return this.getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIPId, Context.NONE).getValue(); } public Response getPublicIpByIdWithResponse(String id, Context context) { @@ -642,12 +642,12 @@ public Response getPublicIpByIdWithResponse(String id, throw LOGGER.logExceptionAsError(new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'privateClouds'.", id))); } - String publicIpId = ResourceManagerUtils.getValueFromIdByName(id, "publicIPs"); - if (publicIpId == null) { + String publicIPId = ResourceManagerUtils.getValueFromIdByName(id, "publicIPs"); + if (publicIPId == null) { throw LOGGER.logExceptionAsError(new IllegalArgumentException( String.format("The resource ID '%s' is not valid. Missing path segment 'publicIPs'.", id))); } - return this.getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIpId, context); + return this.getPublicIpWithResponse(resourceGroupName, privateCloudName, publicIPId, context); } public WorkloadNetworkSegment getSegmentById(String id) { diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/AddonList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/AddonList.java index 664ccfb68dfa..34ae80e952df 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/AddonList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a Addon list operation. */ -@Fluent +@Immutable public final class AddonList implements JsonSerializable { /* * The Addon items on this page @@ -32,7 +32,7 @@ public final class AddonList implements JsonSerializable { /** * Creates an instance of AddonList class. */ - public AddonList() { + private AddonList() { } /** @@ -44,17 +44,6 @@ public List value() { return this.value; } - /** - * Set the value property: The Addon items on this page. - * - * @param value the value value to set. - * @return the AddonList object itself. - */ - public AddonList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the AddonList object itself. - */ - public AddonList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/CloudLinkList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/CloudLinkList.java index 5758b9565f79..d2bdeceb5fbc 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/CloudLinkList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a CloudLink list operation. */ -@Fluent +@Immutable public final class CloudLinkList implements JsonSerializable { /* * The CloudLink items on this page @@ -32,7 +32,7 @@ public final class CloudLinkList implements JsonSerializable { /** * Creates an instance of CloudLinkList class. */ - public CloudLinkList() { + private CloudLinkList() { } /** @@ -44,17 +44,6 @@ public List value() { return this.value; } - /** - * Set the value property: The CloudLink items on this page. - * - * @param value the value value to set. - * @return the CloudLinkList object itself. - */ - public CloudLinkList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the CloudLinkList object itself. - */ - public CloudLinkList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ClusterList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ClusterList.java index c596ae22f3c5..c58f69412216 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ClusterList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a Cluster list operation. */ -@Fluent +@Immutable public final class ClusterList implements JsonSerializable { /* * The Cluster items on this page @@ -32,7 +32,7 @@ public final class ClusterList implements JsonSerializable { /** * Creates an instance of ClusterList class. */ - public ClusterList() { + private ClusterList() { } /** @@ -44,17 +44,6 @@ public List value() { return this.value; } - /** - * Set the value property: The Cluster items on this page. - * - * @param value the value value to set. - * @return the ClusterList object itself. - */ - public ClusterList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the ClusterList object itself. - */ - public ClusterList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/DatastoreList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/DatastoreList.java index 6ba8a2510db6..e0878d6f1b61 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/DatastoreList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a Datastore list operation. */ -@Fluent +@Immutable public final class DatastoreList implements JsonSerializable { /* * The Datastore items on this page @@ -32,7 +32,7 @@ public final class DatastoreList implements JsonSerializable { /** * Creates an instance of DatastoreList class. */ - public DatastoreList() { + private DatastoreList() { } /** @@ -44,17 +44,6 @@ public List value() { return this.value; } - /** - * Set the value property: The Datastore items on this page. - * - * @param value the value value to set. - * @return the DatastoreList object itself. - */ - public DatastoreList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the DatastoreList object itself. - */ - public DatastoreList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorizationList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ExpressRouteAuthorizationList.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorizationList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ExpressRouteAuthorizationList.java index 0bdaba9f8198..e88d80801ea5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorizationList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ExpressRouteAuthorizationList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a ExpressRouteAuthorization list operation. */ -@Fluent +@Immutable public final class ExpressRouteAuthorizationList implements JsonSerializable { /* * The ExpressRouteAuthorization items on this page @@ -32,7 +32,7 @@ public final class ExpressRouteAuthorizationList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The ExpressRouteAuthorization items on this page. - * - * @param value the value value to set. - * @return the ExpressRouteAuthorizationList object itself. - */ - public ExpressRouteAuthorizationList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the ExpressRouteAuthorizationList object itself. - */ - public ExpressRouteAuthorizationList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/GlobalReachConnectionList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/GlobalReachConnectionList.java index c46a1064b490..b0a04317d7a1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/GlobalReachConnectionList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a GlobalReachConnection list operation. */ -@Fluent +@Immutable public final class GlobalReachConnectionList implements JsonSerializable { /* * The GlobalReachConnection items on this page @@ -32,7 +32,7 @@ public final class GlobalReachConnectionList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The GlobalReachConnection items on this page. - * - * @param value the value value to set. - * @return the GlobalReachConnectionList object itself. - */ - public GlobalReachConnectionList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the GlobalReachConnectionList object itself. - */ - public GlobalReachConnectionList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/HcxEnterpriseSiteList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/HcxEnterpriseSiteList.java index cc15c75060da..de7232d25a29 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/HcxEnterpriseSiteList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a HcxEnterpriseSite list operation. */ -@Fluent +@Immutable public final class HcxEnterpriseSiteList implements JsonSerializable { /* * The HcxEnterpriseSite items on this page @@ -32,7 +32,7 @@ public final class HcxEnterpriseSiteList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The HcxEnterpriseSite items on this page. - * - * @param value the value value to set. - * @return the HcxEnterpriseSiteList object itself. - */ - public HcxEnterpriseSiteList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the HcxEnterpriseSiteList object itself. - */ - public HcxEnterpriseSiteList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostListResult.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/HostListResult.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostListResult.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/HostListResult.java index 2392daac10ba..4de1ec2a8217 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostListResult.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/HostListResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a Host list operation. */ -@Fluent +@Immutable public final class HostListResult implements JsonSerializable { /* * The Host items on this page @@ -32,7 +32,7 @@ public final class HostListResult implements JsonSerializable { /** * Creates an instance of HostListResult class. */ - public HostListResult() { + private HostListResult() { } /** @@ -44,17 +44,6 @@ public List value() { return this.value; } - /** - * Set the value property: The Host items on this page. - * - * @param value the value value to set. - * @return the HostListResult object itself. - */ - public HostListResult withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the HostListResult object itself. - */ - public HostListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPathListResult.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/IscsiPathListResult.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPathListResult.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/IscsiPathListResult.java index c404b450ab5d..a321ab85959f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPathListResult.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/IscsiPathListResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a IscsiPath list operation. */ -@Fluent +@Immutable public final class IscsiPathListResult implements JsonSerializable { /* * The IscsiPath items on this page @@ -32,7 +32,7 @@ public final class IscsiPathListResult implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The IscsiPath items on this page. - * - * @param value the value value to set. - * @return the IscsiPathListResult object itself. - */ - public IscsiPathListResult withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the IscsiPathListResult object itself. - */ - public IscsiPathListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/OperationListResult.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/OperationListResult.java similarity index 74% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/OperationListResult.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/OperationListResult.java index bc3307e45e4b..2b1d16cf79ab 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/OperationListResult.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/OperationListResult.java @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -20,23 +21,23 @@ @Immutable public final class OperationListResult implements JsonSerializable { /* - * List of operations supported by the resource provider + * The Operation items on this page */ private List value; /* - * URL to get the next set of operation list results (if there are any). + * The link to the next page of items */ private String nextLink; /** * Creates an instance of OperationListResult class. */ - public OperationListResult() { + private OperationListResult() { } /** - * Get the value property: List of operations supported by the resource provider. + * Get the value property: The Operation items on this page. * * @return the value value. */ @@ -45,7 +46,7 @@ public List value() { } /** - * Get the nextLink property: URL to get the next set of operation list results (if there are any). + * Get the nextLink property: The link to the next page of items. * * @return the nextLink value. */ @@ -59,17 +60,24 @@ public String nextLink() { * @throws IllegalArgumentException thrown if the instance is not valid. */ public void validate() { - if (value() != null) { + if (value() == null) { + throw LOGGER.atError() + .log(new IllegalArgumentException("Missing required property value in model OperationListResult")); + } else { value().forEach(e -> e.validate()); } } + private static final ClientLogger LOGGER = new ClientLogger(OperationListResult.class); + /** * {@inheritDoc} */ @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("nextLink", this.nextLink); return jsonWriter.writeEndObject(); } @@ -79,6 +87,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of OperationListResult if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the OperationListResult. */ public static OperationListResult fromJson(JsonReader jsonReader) throws IOException { diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PagedResourceSku.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PagedResourceSku.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PagedResourceSku.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PagedResourceSku.java index f022313f461e..1ccee54075e2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PagedResourceSku.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PagedResourceSku.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * Paged collection of ResourceSku items. */ -@Fluent +@Immutable public final class PagedResourceSku implements JsonSerializable { /* * The ResourceSku items on this page @@ -32,7 +32,7 @@ public final class PagedResourceSku implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The ResourceSku items on this page. - * - * @param value the value value to set. - * @return the PagedResourceSku object itself. - */ - public PagedResourceSku withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the PagedResourceSku object itself. - */ - public PagedResourceSku withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPoliciesList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PlacementPoliciesList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPoliciesList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PlacementPoliciesList.java index dad43d0f936b..bc967e4fcaeb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPoliciesList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PlacementPoliciesList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a PlacementPolicy list operation. */ -@Fluent +@Immutable public final class PlacementPoliciesList implements JsonSerializable { /* * The PlacementPolicy items on this page @@ -32,7 +32,7 @@ public final class PlacementPoliciesList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The PlacementPolicy items on this page. - * - * @param value the value value to set. - * @return the PlacementPoliciesList object itself. - */ - public PlacementPoliciesList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the PlacementPoliciesList object itself. - */ - public PlacementPoliciesList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PrivateCloudList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PrivateCloudList.java index 593200bf1f3d..5c2d798b7957 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PrivateCloudList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a PrivateCloud list operation. */ -@Fluent +@Immutable public final class PrivateCloudList implements JsonSerializable { /* * The PrivateCloud items on this page @@ -32,7 +32,7 @@ public final class PrivateCloudList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The PrivateCloud items on this page. - * - * @param value the value value to set. - * @return the PrivateCloudList object itself. - */ - public PrivateCloudList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the PrivateCloudList object itself. - */ - public PrivateCloudList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkListResult.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ProvisionedNetworkListResult.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkListResult.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ProvisionedNetworkListResult.java index 04b6338ca447..7a930e31805f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkListResult.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ProvisionedNetworkListResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a ProvisionedNetwork list operation. */ -@Fluent +@Immutable public final class ProvisionedNetworkListResult implements JsonSerializable { /* * The ProvisionedNetwork items on this page @@ -32,7 +32,7 @@ public final class ProvisionedNetworkListResult implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The ProvisionedNetwork items on this page. - * - * @param value the value value to set. - * @return the ProvisionedNetworkListResult object itself. - */ - public ProvisionedNetworkListResult withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the ProvisionedNetworkListResult object itself. - */ - public ProvisionedNetworkListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyListResult.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PureStoragePolicyListResult.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyListResult.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PureStoragePolicyListResult.java index 640f2fedf099..b17344e4a86a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyListResult.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/PureStoragePolicyListResult.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a PureStoragePolicy list operation. */ -@Fluent +@Immutable public final class PureStoragePolicyListResult implements JsonSerializable { /* * The PureStoragePolicy items on this page @@ -32,7 +32,7 @@ public final class PureStoragePolicyListResult implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The PureStoragePolicy items on this page. - * - * @param value the value value to set. - * @return the PureStoragePolicyListResult object itself. - */ - public PureStoragePolicyListResult withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the PureStoragePolicyListResult object itself. - */ - public PureStoragePolicyListResult withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletsList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptCmdletsList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletsList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptCmdletsList.java index 29a79e836cd4..df760524584c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletsList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptCmdletsList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a ScriptCmdlet list operation. */ -@Fluent +@Immutable public final class ScriptCmdletsList implements JsonSerializable { /* * The ScriptCmdlet items on this page @@ -32,7 +32,7 @@ public final class ScriptCmdletsList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The ScriptCmdlet items on this page. - * - * @param value the value value to set. - * @return the ScriptCmdletsList object itself. - */ - public ScriptCmdletsList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the ScriptCmdletsList object itself. - */ - public ScriptCmdletsList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionsList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptExecutionsList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionsList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptExecutionsList.java index 0751c5b94cc3..221a2d7d4c1b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionsList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptExecutionsList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a ScriptExecution list operation. */ -@Fluent +@Immutable public final class ScriptExecutionsList implements JsonSerializable { /* * The ScriptExecution items on this page @@ -32,7 +32,7 @@ public final class ScriptExecutionsList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The ScriptExecution items on this page. - * - * @param value the value value to set. - * @return the ScriptExecutionsList object itself. - */ - public ScriptExecutionsList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the ScriptExecutionsList object itself. - */ - public ScriptExecutionsList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackagesList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptPackagesList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackagesList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptPackagesList.java index 6cc1e86a6d66..4b6b8b48c29f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackagesList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/ScriptPackagesList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a ScriptPackage list operation. */ -@Fluent +@Immutable public final class ScriptPackagesList implements JsonSerializable { /* * The ScriptPackage items on this page @@ -32,7 +32,7 @@ public final class ScriptPackagesList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The ScriptPackage items on this page. - * - * @param value the value value to set. - * @return the ScriptPackagesList object itself. - */ - public ScriptPackagesList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the ScriptPackagesList object itself. - */ - public ScriptPackagesList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachinesList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/VirtualMachinesList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachinesList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/VirtualMachinesList.java index 5a49cbbd58aa..db88c30ef7c8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachinesList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/VirtualMachinesList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a VirtualMachine list operation. */ -@Fluent +@Immutable public final class VirtualMachinesList implements JsonSerializable { /* * The VirtualMachine items on this page @@ -32,7 +32,7 @@ public final class VirtualMachinesList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The VirtualMachine items on this page. - * - * @param value the value value to set. - * @return the VirtualMachinesList object itself. - */ - public VirtualMachinesList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the VirtualMachinesList object itself. - */ - public VirtualMachinesList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDhcpList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDhcpList.java index f46b706dce34..fef946cd0a77 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDhcpList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkDhcp list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkDhcpList implements JsonSerializable { /* * The WorkloadNetworkDhcp items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkDhcpList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkDhcp items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkDhcpList object itself. - */ - public WorkloadNetworkDhcpList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkDhcpList object itself. - */ - public WorkloadNetworkDhcpList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsServicesList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDnsServicesList.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsServicesList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDnsServicesList.java index 76d2e07988e0..292d21034031 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsServicesList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDnsServicesList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkDnsService list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkDnsServicesList implements JsonSerializable { /* * The WorkloadNetworkDnsService items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkDnsServicesList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkDnsService items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkDnsServicesList object itself. - */ - public WorkloadNetworkDnsServicesList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkDnsServicesList object itself. - */ - public WorkloadNetworkDnsServicesList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZonesList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDnsZonesList.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZonesList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDnsZonesList.java index c930e295bb71..930c54561a18 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZonesList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkDnsZonesList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkDnsZone list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkDnsZonesList implements JsonSerializable { /* * The WorkloadNetworkDnsZone items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkDnsZonesList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkDnsZone items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkDnsZonesList object itself. - */ - public WorkloadNetworkDnsZonesList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkDnsZonesList object itself. - */ - public WorkloadNetworkDnsZonesList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkGatewayList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkGatewayList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkGatewayList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkGatewayList.java index e9ab6559ca7c..770af19950ac 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkGatewayList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkGatewayList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkGateway list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkGatewayList implements JsonSerializable { /* * The WorkloadNetworkGateway items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkGatewayList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkGateway items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkGatewayList object itself. - */ - public WorkloadNetworkGatewayList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkGatewayList object itself. - */ - public WorkloadNetworkGatewayList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkList.java similarity index 81% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkList.java index 15fca9048b20..655ce3573c94 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetwork list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkList implements JsonSerializable { /* * The WorkloadNetwork items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The WorkloadNetwork items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkList object itself. - */ - public WorkloadNetworkList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkList object itself. - */ - public WorkloadNetworkList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroringList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkPortMirroringList.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroringList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkPortMirroringList.java index 4c8386b42953..8bee83c796c6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroringList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkPortMirroringList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkPortMirroring list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkPortMirroringList implements JsonSerializable { /* * The WorkloadNetworkPortMirroring items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkPortMirroringList implements JsonSerializable< /** * Creates an instance of WorkloadNetworkPortMirroringList class. */ - public WorkloadNetworkPortMirroringList() { + private WorkloadNetworkPortMirroringList() { } /** @@ -44,17 +44,6 @@ public List value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkPortMirroring items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkPortMirroringList object itself. - */ - public WorkloadNetworkPortMirroringList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkPortMirroringList object itself. - */ - public WorkloadNetworkPortMirroringList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIPsList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkPublicIPsList.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIPsList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkPublicIPsList.java index db09fea2cf4f..79339df90f44 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIPsList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkPublicIPsList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkPublicIP list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkPublicIPsList implements JsonSerializable { /* * The WorkloadNetworkPublicIP items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkPublicIPsList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkPublicIP items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkPublicIPsList object itself. - */ - public WorkloadNetworkPublicIPsList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkPublicIPsList object itself. - */ - public WorkloadNetworkPublicIPsList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentsList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkSegmentsList.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentsList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkSegmentsList.java index 46a9b41e5875..e066949e7b83 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentsList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkSegmentsList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkSegment list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkSegmentsList implements JsonSerializable { /* * The WorkloadNetworkSegment items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkSegmentsList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkSegment items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkSegmentsList object itself. - */ - public WorkloadNetworkSegmentsList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkSegmentsList object itself. - */ - public WorkloadNetworkSegmentsList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroupsList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkVMGroupsList.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroupsList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkVMGroupsList.java index 41ecea0e666a..529bacfa504a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroupsList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkVMGroupsList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkVMGroup list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkVMGroupsList implements JsonSerializable { /* * The WorkloadNetworkVMGroup items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkVMGroupsList implements JsonSerializable value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkVMGroup items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkVMGroupsList object itself. - */ - public WorkloadNetworkVMGroupsList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkVMGroupsList object itself. - */ - public WorkloadNetworkVMGroupsList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVirtualMachinesList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkVirtualMachinesList.java similarity index 80% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVirtualMachinesList.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkVirtualMachinesList.java index e1640e396d99..573d4ffa5d70 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVirtualMachinesList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/models/WorkloadNetworkVirtualMachinesList.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.models; +package com.azure.resourcemanager.avs.implementation.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -17,7 +17,7 @@ /** * The response of a WorkloadNetworkVirtualMachine list operation. */ -@Fluent +@Immutable public final class WorkloadNetworkVirtualMachinesList implements JsonSerializable { /* * The WorkloadNetworkVirtualMachine items on this page @@ -32,7 +32,7 @@ public final class WorkloadNetworkVirtualMachinesList implements JsonSerializabl /** * Creates an instance of WorkloadNetworkVirtualMachinesList class. */ - public WorkloadNetworkVirtualMachinesList() { + private WorkloadNetworkVirtualMachinesList() { } /** @@ -44,17 +44,6 @@ public List value() { return this.value; } - /** - * Set the value property: The WorkloadNetworkVirtualMachine items on this page. - * - * @param value the value value to set. - * @return the WorkloadNetworkVirtualMachinesList object itself. - */ - public WorkloadNetworkVirtualMachinesList withValue(List value) { - this.value = value; - return this; - } - /** * Get the nextLink property: The link to the next page of items. * @@ -64,17 +53,6 @@ public String nextLink() { return this.nextLink; } - /** - * Set the nextLink property: The link to the next page of items. - * - * @param nextLink the nextLink value to set. - * @return the WorkloadNetworkVirtualMachinesList object itself. - */ - public WorkloadNetworkVirtualMachinesList withNextLink(String nextLink) { - this.nextLink = nextLink; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/package-info.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/package-info.java index f4a0631101b9..6b06533a637d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/package-info.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/implementation/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the implementations for AvsClient. + * Package containing the implementations for Avs. * Azure VMware Solution API. */ package com.azure.resourcemanager.avs.implementation; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ActionType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ActionType.java index c50b3f136050..feeb9978fd4d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ActionType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ActionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -8,11 +8,11 @@ import java.util.Collection; /** - * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */ public final class ActionType extends ExpandableStringEnum { /** - * Static value Internal for ActionType. + * Actions are for internal-only APIs. */ public static final ActionType INTERNAL = fromString("Internal"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Addon.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Addon.java index 21fad4eca030..22ecde52de54 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Addon.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Addon.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonArcProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonArcProperties.java index 98b5ac5ea25f..1c6933802089 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonArcProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonArcProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonHcxProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonHcxProperties.java index 16be49876d57..091a997c44e1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonHcxProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonHcxProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonProperties.java index 2664de5116cb..67e3aaa9b2ff 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -103,14 +103,14 @@ public static AddonProperties fromJson(JsonReader jsonReader) throws IOException } } // Use the discriminator value to determine which subtype should be deserialized. - if ("Arc".equals(discriminatorValue)) { - return AddonArcProperties.fromJson(readerToUse.reset()); - } else if ("HCX".equals(discriminatorValue)) { - return AddonHcxProperties.fromJson(readerToUse.reset()); - } else if ("SRM".equals(discriminatorValue)) { + if ("SRM".equals(discriminatorValue)) { return AddonSrmProperties.fromJson(readerToUse.reset()); } else if ("VR".equals(discriminatorValue)) { return AddonVrProperties.fromJson(readerToUse.reset()); + } else if ("HCX".equals(discriminatorValue)) { + return AddonHcxProperties.fromJson(readerToUse.reset()); + } else if ("Arc".equals(discriminatorValue)) { + return AddonArcProperties.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonProvisioningState.java index a2eca422d988..54ab88e669f8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,37 +12,37 @@ */ public final class AddonProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for AddonProvisioningState. + * Resource has been created. */ public static final AddonProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for AddonProvisioningState. + * Resource creation failed. */ public static final AddonProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for AddonProvisioningState. + * Resource creation was canceled. */ public static final AddonProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Cancelled for AddonProvisioningState. + * is cancelled. */ public static final AddonProvisioningState CANCELLED = fromString("Cancelled"); /** - * Static value Building for AddonProvisioningState. + * is building. */ public static final AddonProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for AddonProvisioningState. + * is deleting. */ public static final AddonProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for AddonProvisioningState. + * is updating. */ public static final AddonProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonSrmProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonSrmProperties.java index 7d6746bc8f2f..2cda7ce07dbf 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonSrmProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonSrmProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonType.java index 784a393692c5..57b25f50ac57 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonVrProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonVrProperties.java index ac21b809fa61..3e925779a273 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonVrProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AddonVrProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Addons.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Addons.java index a0b40291f2e8..dc501f68a62f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Addons.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Addons.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AdminCredentials.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AdminCredentials.java index 7abe7069e343..265d685b159a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AdminCredentials.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AdminCredentials.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AffinityStrength.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AffinityStrength.java index 40d4de828602..32e6334dd97b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AffinityStrength.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AffinityStrength.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class AffinityStrength extends ExpandableStringEnum { /** - * Static value Should for AffinityStrength. + * is should. */ public static final AffinityStrength SHOULD = fromString("Should"); /** - * Static value Must for AffinityStrength. + * is must. */ public static final AffinityStrength MUST = fromString("Must"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AffinityType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AffinityType.java index 4f7b2466f097..2186c3f1a6eb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AffinityType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AffinityType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class AffinityType extends ExpandableStringEnum { /** - * Static value Affinity for AffinityType. + * is affinity. */ public static final AffinityType AFFINITY = fromString("Affinity"); /** - * Static value AntiAffinity for AffinityType. + * is anti-affinity. */ public static final AffinityType ANTI_AFFINITY = fromString("AntiAffinity"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Authorizations.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Authorizations.java index 94608027c3b7..715c100724cb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Authorizations.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Authorizations.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AvailabilityProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AvailabilityProperties.java index d75426481193..3bab7b0d484d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AvailabilityProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AvailabilityProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AvailabilityStrategy.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AvailabilityStrategy.java index d5066977f255..a8e8152a7de9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AvailabilityStrategy.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AvailabilityStrategy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class AvailabilityStrategy extends ExpandableStringEnum { /** - * Static value SingleZone for AvailabilityStrategy. + * in single zone. */ public static final AvailabilityStrategy SINGLE_ZONE = fromString("SingleZone"); /** - * Static value DualZone for AvailabilityStrategy. + * in two zones. */ public static final AvailabilityStrategy DUAL_ZONE = fromString("DualZone"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AzureHybridBenefitType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AzureHybridBenefitType.java index 4c81c8e93053..4145c3c7ddd6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AzureHybridBenefitType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/AzureHybridBenefitType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class AzureHybridBenefitType extends ExpandableStringEnum { /** - * Static value SqlHost for AzureHybridBenefitType. + * is SqlHost. */ public static final AzureHybridBenefitType SQL_HOST = fromString("SqlHost"); /** - * Static value None for AzureHybridBenefitType. + * is None. */ public static final AzureHybridBenefitType NONE = fromString("None"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Circuit.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Circuit.java index 517d52a6c6d7..42484381f02e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Circuit.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Circuit.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLink.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLink.java index 13eae37964b9..be1b1f75fd0e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLink.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLink.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkProvisioningState.java index 92557e85729e..12e178c46863 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class CloudLinkProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for CloudLinkProvisioningState. + * Resource has been created. */ public static final CloudLinkProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for CloudLinkProvisioningState. + * Resource creation failed. */ public static final CloudLinkProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for CloudLinkProvisioningState. + * Resource creation was canceled. */ public static final CloudLinkProvisioningState CANCELED = fromString("Canceled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkStatus.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkStatus.java index a04e1c6765b2..3eeb9f8abbd2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkStatus.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinkStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,27 +12,27 @@ */ public final class CloudLinkStatus extends ExpandableStringEnum { /** - * Static value Active for CloudLinkStatus. + * is active. */ public static final CloudLinkStatus ACTIVE = fromString("Active"); /** - * Static value Building for CloudLinkStatus. + * is building. */ public static final CloudLinkStatus BUILDING = fromString("Building"); /** - * Static value Deleting for CloudLinkStatus. + * is deleting. */ public static final CloudLinkStatus DELETING = fromString("Deleting"); /** - * Static value Failed for CloudLinkStatus. + * is failed. */ public static final CloudLinkStatus FAILED = fromString("Failed"); /** - * Static value Disconnected for CloudLinkStatus. + * is disconnected. */ public static final CloudLinkStatus DISCONNECTED = fromString("Disconnected"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinks.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinks.java index 6f5c96ad6b27..f7a0d33b5543 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinks.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/CloudLinks.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Cluster.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Cluster.java index a925e2ab724f..c3599367fd31 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Cluster.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Cluster.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterProvisioningState.java index d532ca0623bd..4a5af3ea6a00 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,32 +12,32 @@ */ public final class ClusterProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for ClusterProvisioningState. + * Resource has been created. */ public static final ClusterProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for ClusterProvisioningState. + * Resource creation failed. */ public static final ClusterProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for ClusterProvisioningState. + * Resource creation was canceled. */ public static final ClusterProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Cancelled for ClusterProvisioningState. + * is cancelled. */ public static final ClusterProvisioningState CANCELLED = fromString("Cancelled"); /** - * Static value Deleting for ClusterProvisioningState. + * is deleting. */ public static final ClusterProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for ClusterProvisioningState. + * is updating. */ public static final ClusterProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterUpdate.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterUpdate.java index fa53aa374903..f770db686fd9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterUpdate.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterUpdate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterZone.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterZone.java index dc971cba1ac1..70605586268b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterZone.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterZone.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -30,7 +30,7 @@ public final class ClusterZone implements JsonSerializable { /** * Creates an instance of ClusterZone class. */ - public ClusterZone() { + private ClusterZone() { } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterZoneList.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterZoneList.java index 350233c2ef30..ee23460ef211 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterZoneList.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ClusterZoneList.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Clusters.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Clusters.java index aa02399e9eb4..43a52f8d6d0a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Clusters.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Clusters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Datastore.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Datastore.java index b374e2066a8a..5c2cccdfd5c4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Datastore.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Datastore.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreProvisioningState.java index ef7c7c3d151f..064113914691 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,42 +12,42 @@ */ public final class DatastoreProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for DatastoreProvisioningState. + * Resource has been created. */ public static final DatastoreProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for DatastoreProvisioningState. + * Resource creation failed. */ public static final DatastoreProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for DatastoreProvisioningState. + * Resource creation was canceled. */ public static final DatastoreProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Cancelled for DatastoreProvisioningState. + * is cancelled. */ public static final DatastoreProvisioningState CANCELLED = fromString("Cancelled"); /** - * Static value Pending for DatastoreProvisioningState. + * is pending. */ public static final DatastoreProvisioningState PENDING = fromString("Pending"); /** - * Static value Creating for DatastoreProvisioningState. + * is creating. */ public static final DatastoreProvisioningState CREATING = fromString("Creating"); /** - * Static value Updating for DatastoreProvisioningState. + * is updating. */ public static final DatastoreProvisioningState UPDATING = fromString("Updating"); /** - * Static value Deleting for DatastoreProvisioningState. + * is deleting. */ public static final DatastoreProvisioningState DELETING = fromString("Deleting"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreStatus.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreStatus.java index 847e414bb9fb..3e8c4653f742 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreStatus.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DatastoreStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,37 +12,37 @@ */ public final class DatastoreStatus extends ExpandableStringEnum { /** - * Static value Unknown for DatastoreStatus. + * is unknown. */ public static final DatastoreStatus UNKNOWN = fromString("Unknown"); /** - * Static value Accessible for DatastoreStatus. + * is accessible. */ public static final DatastoreStatus ACCESSIBLE = fromString("Accessible"); /** - * Static value Inaccessible for DatastoreStatus. + * is inaccessible. */ public static final DatastoreStatus INACCESSIBLE = fromString("Inaccessible"); /** - * Static value Attached for DatastoreStatus. + * is attached. */ public static final DatastoreStatus ATTACHED = fromString("Attached"); /** - * Static value Detached for DatastoreStatus. + * is detached. */ public static final DatastoreStatus DETACHED = fromString("Detached"); /** - * Static value LostCommunication for DatastoreStatus. + * is lost communication. */ public static final DatastoreStatus LOST_COMMUNICATION = fromString("LostCommunication"); /** - * Static value DeadOrError for DatastoreStatus. + * is dead or error. */ public static final DatastoreStatus DEAD_OR_ERROR = fromString("DeadOrError"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Datastores.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Datastores.java index b0670e79c727..cf0dad4336d8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Datastores.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Datastores.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DhcpTypeEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DhcpTypeEnum.java index 8cb238579180..1874d6e10800 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DhcpTypeEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DhcpTypeEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DiskPoolVolume.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DiskPoolVolume.java index 71df8e977bd8..3036ea8f8890 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DiskPoolVolume.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DiskPoolVolume.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsServiceLogLevelEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsServiceLogLevelEnum.java index 5d348be233b8..51e8627eba26 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsServiceLogLevelEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsServiceLogLevelEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,27 +12,27 @@ */ public final class DnsServiceLogLevelEnum extends ExpandableStringEnum { /** - * Static value DEBUG for DnsServiceLogLevelEnum. + * is debug. */ public static final DnsServiceLogLevelEnum DEBUG = fromString("DEBUG"); /** - * Static value INFO for DnsServiceLogLevelEnum. + * is info. */ public static final DnsServiceLogLevelEnum INFO = fromString("INFO"); /** - * Static value WARNING for DnsServiceLogLevelEnum. + * is warning. */ public static final DnsServiceLogLevelEnum WARNING = fromString("WARNING"); /** - * Static value ERROR for DnsServiceLogLevelEnum. + * is error. */ public static final DnsServiceLogLevelEnum ERROR = fromString("ERROR"); /** - * Static value FATAL for DnsServiceLogLevelEnum. + * is fatal. */ public static final DnsServiceLogLevelEnum FATAL = fromString("FATAL"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsServiceStatusEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsServiceStatusEnum.java index 1bb83421c398..7c904a3eb234 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsServiceStatusEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsServiceStatusEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class DnsServiceStatusEnum extends ExpandableStringEnum { /** - * Static value SUCCESS for DnsServiceStatusEnum. + * is success. */ public static final DnsServiceStatusEnum SUCCESS = fromString("SUCCESS"); /** - * Static value FAILURE for DnsServiceStatusEnum. + * is failure. */ public static final DnsServiceStatusEnum FAILURE = fromString("FAILURE"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsZoneType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsZoneType.java index 58ca5b042bd0..99e55ee69dc2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsZoneType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/DnsZoneType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class DnsZoneType extends ExpandableStringEnum { /** - * Static value Public for DnsZoneType. + * Primary DNS zone. */ public static final DnsZoneType PUBLIC = fromString("Public"); /** - * Static value Private for DnsZoneType. + * Private DNS zone. */ public static final DnsZoneType PRIVATE = fromString("Private"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ElasticSanVolume.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ElasticSanVolume.java index d91ad9f8b36e..ecf6eef6c96a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ElasticSanVolume.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ElasticSanVolume.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Encryption.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Encryption.java index 8e2b1d391500..2485edf71ae5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Encryption.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Encryption.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionKeyStatus.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionKeyStatus.java index bdda450e865e..2a264606fa3e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionKeyStatus.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionKeyStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class EncryptionKeyStatus extends ExpandableStringEnum { /** - * Static value Connected for EncryptionKeyStatus. + * is connected. */ public static final EncryptionKeyStatus CONNECTED = fromString("Connected"); /** - * Static value AccessDenied for EncryptionKeyStatus. + * is access denied. */ public static final EncryptionKeyStatus ACCESS_DENIED = fromString("AccessDenied"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionKeyVaultProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionKeyVaultProperties.java index cc23a75c3a83..b6279d7d0007 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionKeyVaultProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionKeyVaultProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionState.java index 2474d4779731..22e6cdaeda96 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class EncryptionState extends ExpandableStringEnum { /** - * Static value Enabled for EncryptionState. + * is enabled. */ public static final EncryptionState ENABLED = fromString("Enabled"); /** - * Static value Disabled for EncryptionState. + * is disabled. */ public static final EncryptionState DISABLED = fromString("Disabled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionVersionType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionVersionType.java index b3248fcfb900..b02dc6d72cb7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionVersionType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/EncryptionVersionType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class EncryptionVersionType extends ExpandableStringEnum { /** - * Static value Fixed for EncryptionVersionType. + * is fixed. */ public static final EncryptionVersionType FIXED = fromString("Fixed"); /** - * Static value AutoDetected for EncryptionVersionType. + * is auto-detected. */ public static final EncryptionVersionType AUTO_DETECTED = fromString("AutoDetected"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Endpoints.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Endpoints.java index c766d2d35c69..1ec6012f38fa 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Endpoints.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Endpoints.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -49,7 +49,7 @@ public final class Endpoints implements JsonSerializable { /** * Creates an instance of Endpoints class. */ - public Endpoints() { + private Endpoints() { } /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorization.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorization.java index 04c550c0e92a..c0e51c102048 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorization.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorization.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorizationProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorizationProvisioningState.java index 7cff83c66b16..4ababdf7a25d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorizationProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ExpressRouteAuthorizationProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,22 +13,22 @@ public final class ExpressRouteAuthorizationProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for ExpressRouteAuthorizationProvisioningState. + * Resource has been created. */ public static final ExpressRouteAuthorizationProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for ExpressRouteAuthorizationProvisioningState. + * Resource creation failed. */ public static final ExpressRouteAuthorizationProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for ExpressRouteAuthorizationProvisioningState. + * Resource creation was canceled. */ public static final ExpressRouteAuthorizationProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Updating for ExpressRouteAuthorizationProvisioningState. + * is updating. */ public static final ExpressRouteAuthorizationProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GeneralHostProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GeneralHostProperties.java index 5e5ee28ae4b9..09d97501e8a6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GeneralHostProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GeneralHostProperties.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * The properties of a general host. */ -@Fluent +@Immutable public final class GeneralHostProperties extends HostProperties { /* * The kind of host @@ -23,7 +23,7 @@ public final class GeneralHostProperties extends HostProperties { /** * Creates an instance of GeneralHostProperties class. */ - public GeneralHostProperties() { + private GeneralHostProperties() { } /** @@ -36,24 +36,6 @@ public HostKind kind() { return this.kind; } - /** - * {@inheritDoc} - */ - @Override - public GeneralHostProperties withDisplayName(String displayName) { - super.withDisplayName(displayName); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public GeneralHostProperties withMaintenance(HostMaintenance maintenance) { - super.withMaintenance(maintenance); - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnection.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnection.java index 12d6133eecad..455f3b860742 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnection.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnection.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionProvisioningState.java index c89e5d04333c..2824b7a6acae 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,22 +13,22 @@ public final class GlobalReachConnectionProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for GlobalReachConnectionProvisioningState. + * Resource has been created. */ public static final GlobalReachConnectionProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for GlobalReachConnectionProvisioningState. + * Resource creation failed. */ public static final GlobalReachConnectionProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for GlobalReachConnectionProvisioningState. + * Resource creation was canceled. */ public static final GlobalReachConnectionProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Updating for GlobalReachConnectionProvisioningState. + * is updating. */ public static final GlobalReachConnectionProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionStatus.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionStatus.java index 197a290c4323..01fc70edcf1f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionStatus.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnectionStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class GlobalReachConnectionStatus extends ExpandableStringEnum { /** - * Static value Connected for GlobalReachConnectionStatus. + * is connected. */ public static final GlobalReachConnectionStatus CONNECTED = fromString("Connected"); /** - * Static value Connecting for GlobalReachConnectionStatus. + * is connecting. */ public static final GlobalReachConnectionStatus CONNECTING = fromString("Connecting"); /** - * Static value Disconnected for GlobalReachConnectionStatus. + * is disconnected. */ public static final GlobalReachConnectionStatus DISCONNECTED = fromString("Disconnected"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnections.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnections.java index aff4eaf20196..239a15c3bfd2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnections.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/GlobalReachConnections.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSite.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSite.java index d215efe368cc..dd8e9f165fe3 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSite.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSite.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteProvisioningState.java index 5ee517a3ecce..e66ff5dfb8f0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class HcxEnterpriseSiteProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for HcxEnterpriseSiteProvisioningState. + * Resource has been created. */ public static final HcxEnterpriseSiteProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for HcxEnterpriseSiteProvisioningState. + * Resource creation failed. */ public static final HcxEnterpriseSiteProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for HcxEnterpriseSiteProvisioningState. + * Resource creation was canceled. */ public static final HcxEnterpriseSiteProvisioningState CANCELED = fromString("Canceled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteStatus.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteStatus.java index fe37c6d9d69c..c05f9620f689 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteStatus.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSiteStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,22 +12,22 @@ */ public final class HcxEnterpriseSiteStatus extends ExpandableStringEnum { /** - * Static value Available for HcxEnterpriseSiteStatus. + * is available. */ public static final HcxEnterpriseSiteStatus AVAILABLE = fromString("Available"); /** - * Static value Consumed for HcxEnterpriseSiteStatus. + * is consumed. */ public static final HcxEnterpriseSiteStatus CONSUMED = fromString("Consumed"); /** - * Static value Deactivated for HcxEnterpriseSiteStatus. + * is deactivated. */ public static final HcxEnterpriseSiteStatus DEACTIVATED = fromString("Deactivated"); /** - * Static value Deleted for HcxEnterpriseSiteStatus. + * is deleted. */ public static final HcxEnterpriseSiteStatus DELETED = fromString("Deleted"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSites.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSites.java index 4b7f89f923ac..6ef2570b0d28 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSites.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HcxEnterpriseSites.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostKind.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostKind.java index 7d0501d786ad..c0ba0f6e1d77 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostKind.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostKind.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostMaintenance.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostMaintenance.java index 8b9196dbd9f9..25576689997d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostMaintenance.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostMaintenance.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class HostMaintenance extends ExpandableStringEnum { /** - * Static value Replacement for HostMaintenance. + * The host is a replacement host. */ public static final HostMaintenance REPLACEMENT = fromString("Replacement"); /** - * Static value Upgrade for HostMaintenance. + * The host is for an upgrade, such as an upgrade to ESXi, NSX-T, or other component. */ public static final HostMaintenance UPGRADE = fromString("Upgrade"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostModel.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostModel.java index adde0cd15cdd..75cc8ff252dd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostModel.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostModel.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostProperties.java index b1edfdb44bdc..9174337d2d96 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostProperties.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * The properties of a host. */ -@Fluent +@Immutable public class HostProperties implements JsonSerializable { /* * The kind of host @@ -54,7 +54,7 @@ public class HostProperties implements JsonSerializable { /** * Creates an instance of HostProperties class. */ - public HostProperties() { + protected HostProperties() { } /** @@ -101,7 +101,7 @@ public String displayName() { * @param displayName the displayName value to set. * @return the HostProperties object itself. */ - public HostProperties withDisplayName(String displayName) { + HostProperties withDisplayName(String displayName) { this.displayName = displayName; return this; } @@ -161,7 +161,7 @@ public HostMaintenance maintenance() { * @param maintenance the maintenance value to set. * @return the HostProperties object itself. */ - public HostProperties withMaintenance(HostMaintenance maintenance) { + HostProperties withMaintenance(HostMaintenance maintenance) { this.maintenance = maintenance; return this; } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostProvisioningState.java index d8b51dd87ed9..9c6807591020 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/HostProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class HostProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for HostProvisioningState. + * Resource has been created. */ public static final HostProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for HostProvisioningState. + * Resource creation failed. */ public static final HostProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for HostProvisioningState. + * Resource creation was canceled. */ public static final HostProvisioningState CANCELED = fromString("Canceled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Hosts.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Hosts.java index a2d97e28c0d9..bffb1de579fe 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Hosts.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Hosts.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IdentitySource.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IdentitySource.java index 6864915613db..e5bcdc6c737f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IdentitySource.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IdentitySource.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/InternetEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/InternetEnum.java index 76d4420f91d0..609f324752f2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/InternetEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/InternetEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class InternetEnum extends ExpandableStringEnum { /** - * Static value Enabled for InternetEnum. + * is enabled. */ public static final InternetEnum ENABLED = fromString("Enabled"); /** - * Static value Disabled for InternetEnum. + * is disabled. */ public static final InternetEnum DISABLED = fromString("Disabled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPath.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPath.java index dbaa6e5efb25..5f993e09c4f1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPath.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPath.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPathProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPathProvisioningState.java index 85e5901ae8ca..4a130bae3a87 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPathProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPathProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,37 +12,37 @@ */ public final class IscsiPathProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for IscsiPathProvisioningState. + * Resource has been created. */ public static final IscsiPathProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for IscsiPathProvisioningState. + * Resource creation failed. */ public static final IscsiPathProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for IscsiPathProvisioningState. + * Resource creation was canceled. */ public static final IscsiPathProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Pending for IscsiPathProvisioningState. + * is pending. */ public static final IscsiPathProvisioningState PENDING = fromString("Pending"); /** - * Static value Building for IscsiPathProvisioningState. + * is building. */ public static final IscsiPathProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for IscsiPathProvisioningState. + * is deleting. */ public static final IscsiPathProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for IscsiPathProvisioningState. + * is updating. */ public static final IscsiPathProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPaths.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPaths.java index c4cb34ba241c..f73c34858107 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPaths.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/IscsiPaths.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Locations.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Locations.java index 1fdd347f62d2..c3a58e0e221d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Locations.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Locations.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,49 +12,49 @@ */ public interface Locations { /** - * Return quota for subscription by region. + * Return trial status for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. + * @param sku Optionally, check for a specific SKU. * @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 subscription quotas along with {@link Response}. + * @return subscription trial availability along with {@link Response}. */ - Response checkQuotaAvailabilityWithResponse(String location, Context context); + Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context); /** - * Return quota for subscription by region. + * Return trial status for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return subscription quotas. + * @return subscription trial availability. */ - Quota checkQuotaAvailability(String location); + Trial checkTrialAvailability(String location); /** - * Return trial status for subscription by region. + * Return quota for subscription by region. * - * @param location The name of the Azure region. - * @param sku Optionally, check for a specific SKU. + * @param location A location in a subscription. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return subscription trial availability along with {@link Response}. + * @return subscription quotas along with {@link Response}. */ - Response checkTrialAvailabilityWithResponse(String location, Sku sku, Context context); + Response checkQuotaAvailabilityWithResponse(String location, Context context); /** - * Return trial status for subscription by region. + * Return quota for subscription by region. * - * @param location The name of the Azure region. + * @param location A location in a subscription. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return subscription trial availability. + * @return subscription quotas. */ - Trial checkTrialAvailability(String location); + Quota checkQuotaAvailability(String location); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ManagementCluster.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ManagementCluster.java index bd7ec5e775ad..b0e733323159 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ManagementCluster.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ManagementCluster.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/MountOptionEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/MountOptionEnum.java index 3e70266ef897..fa020a1ca462 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/MountOptionEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/MountOptionEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -8,17 +8,16 @@ import java.util.Collection; /** - * Mode that describes whether the LUN has to be mounted as a datastore or - * attached as a LUN. + * mount option. */ public final class MountOptionEnum extends ExpandableStringEnum { /** - * Static value MOUNT for MountOptionEnum. + * is mount. */ public static final MountOptionEnum MOUNT = fromString("MOUNT"); /** - * Static value ATTACH for MountOptionEnum. + * is attach. */ public static final MountOptionEnum ATTACH = fromString("ATTACH"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/NetAppVolume.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/NetAppVolume.java index 5c95e4bc5a16..7565084f5305 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/NetAppVolume.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/NetAppVolume.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/NsxPublicIpQuotaRaisedEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/NsxPublicIpQuotaRaisedEnum.java index b78ba037eee1..03b306dd15cf 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/NsxPublicIpQuotaRaisedEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/NsxPublicIpQuotaRaisedEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class NsxPublicIpQuotaRaisedEnum extends ExpandableStringEnum { /** - * Static value Enabled for NsxPublicIpQuotaRaisedEnum. + * is enabled. */ public static final NsxPublicIpQuotaRaisedEnum ENABLED = fromString("Enabled"); /** - * Static value Disabled for NsxPublicIpQuotaRaisedEnum. + * is disabled. */ public static final NsxPublicIpQuotaRaisedEnum DISABLED = fromString("Disabled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Operation.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Operation.java index 2fc37eedfbca..31958ed9fe51 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Operation.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Operation.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -20,7 +20,7 @@ public interface Operation { /** * Gets the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane - * operations and "false" for ARM/control-plane operations. + * operations and "false" for Azure Resource Manager/control-plane operations. * * @return the isDataAction value. */ @@ -42,8 +42,8 @@ public interface Operation { Origin origin(); /** - * Gets the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal - * only APIs. + * Gets the actionType property: Extensible enum. Indicates the action type. "Internal" refers to actions that are + * for internal only APIs. * * @return the actionType value. */ diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/OperationDisplay.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/OperationDisplay.java index 5ca4a2fb5397..26a189b906e4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/OperationDisplay.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/OperationDisplay.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,7 +12,7 @@ import java.io.IOException; /** - * Localized display information for this particular operation. + * Localized display information for and operation. */ @Immutable public final class OperationDisplay implements JsonSerializable { @@ -42,7 +42,7 @@ public final class OperationDisplay implements JsonSerializable { /** - * Static value Optional for OptionalParamEnum. + * is optional. */ public static final OptionalParamEnum OPTIONAL = fromString("Optional"); /** - * Static value Required for OptionalParamEnum. + * is required. */ public static final OptionalParamEnum REQUIRED = fromString("Required"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Origin.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Origin.java index 17cf52b98dc2..2e1c97d11992 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Origin.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Origin.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,17 +13,17 @@ */ public final class Origin extends ExpandableStringEnum { /** - * Static value user for Origin. + * Indicates the operation is initiated by a user. */ public static final Origin USER = fromString("user"); /** - * Static value system for Origin. + * Indicates the operation is initiated by a system. */ public static final Origin SYSTEM = fromString("system"); /** - * Static value user,system for Origin. + * Indicates the operation is initiated by a user or system. */ public static final Origin USER_SYSTEM = fromString("user,system"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PSCredentialExecutionParameter.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PSCredentialExecutionParameter.java index aa7accf73a10..e247a66552c7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PSCredentialExecutionParameter.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PSCredentialExecutionParameter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicies.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicies.java index feb1138cf5df..e21ed3848ed0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicies.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicies.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicy.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicy.java index 917a680a50de..835f15a34754 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicy.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyProperties.java index 2fe347e6e411..f932a1ea692a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -155,10 +155,10 @@ public static PlacementPolicyProperties fromJson(JsonReader jsonReader) throws I } } // Use the discriminator value to determine which subtype should be deserialized. - if ("VmHost".equals(discriminatorValue)) { - return VmHostPlacementPolicyProperties.fromJson(readerToUse.reset()); - } else if ("VmVm".equals(discriminatorValue)) { + if ("VmVm".equals(discriminatorValue)) { return VmPlacementPolicyProperties.fromJson(readerToUse.reset()); + } else if ("VmHost".equals(discriminatorValue)) { + return VmHostPlacementPolicyProperties.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyProvisioningState.java index 4f226ef469a5..716e64eae96c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,32 +12,32 @@ */ public final class PlacementPolicyProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for PlacementPolicyProvisioningState. + * Resource has been created. */ public static final PlacementPolicyProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for PlacementPolicyProvisioningState. + * Resource creation failed. */ public static final PlacementPolicyProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for PlacementPolicyProvisioningState. + * Resource creation was canceled. */ public static final PlacementPolicyProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for PlacementPolicyProvisioningState. + * is building. */ public static final PlacementPolicyProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for PlacementPolicyProvisioningState. + * is deleting. */ public static final PlacementPolicyProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for PlacementPolicyProvisioningState. + * is updating. */ public static final PlacementPolicyProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyState.java index 25a0b4a98087..29bc6eb3a6fc 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class PlacementPolicyState extends ExpandableStringEnum { /** - * Static value Enabled for PlacementPolicyState. + * is enabled. */ public static final PlacementPolicyState ENABLED = fromString("Enabled"); /** - * Static value Disabled for PlacementPolicyState. + * is disabled. */ public static final PlacementPolicyState DISABLED = fromString("Disabled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyType.java index 9c6ae52e26e6..6ea8a21eeb35 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyUpdate.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyUpdate.java index 4f8cea6f431c..bc1dbaf142f9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyUpdate.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PlacementPolicyUpdate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PortMirroringDirectionEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PortMirroringDirectionEnum.java index d94640d2cc2a..4f6a8baee2f1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PortMirroringDirectionEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PortMirroringDirectionEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class PortMirroringDirectionEnum extends ExpandableStringEnum { /** - * Static value INGRESS for PortMirroringDirectionEnum. + * is ingress. */ public static final PortMirroringDirectionEnum INGRESS = fromString("INGRESS"); /** - * Static value EGRESS for PortMirroringDirectionEnum. + * is egress. */ public static final PortMirroringDirectionEnum EGRESS = fromString("EGRESS"); /** - * Static value BIDIRECTIONAL for PortMirroringDirectionEnum. + * is bidirectional. */ public static final PortMirroringDirectionEnum BIDIRECTIONAL = fromString("BIDIRECTIONAL"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PortMirroringStatusEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PortMirroringStatusEnum.java index a3008c41d883..2c67ca05a7cf 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PortMirroringStatusEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PortMirroringStatusEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class PortMirroringStatusEnum extends ExpandableStringEnum { /** - * Static value SUCCESS for PortMirroringStatusEnum. + * is success. */ public static final PortMirroringStatusEnum SUCCESS = fromString("SUCCESS"); /** - * Static value FAILURE for PortMirroringStatusEnum. + * is failure. */ public static final PortMirroringStatusEnum FAILURE = fromString("FAILURE"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloud.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloud.java index f335f21e3b00..1488e9c1d826 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloud.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloud.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -764,24 +764,22 @@ interface WithDnsZoneType { PrivateCloud refresh(Context context); /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * - * @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 administrative credentials for accessing vCenter and NSX-T along with {@link Response}. */ - Response listAdminCredentialsWithResponse(Context context); + void rotateVcenterPassword(); /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * + * @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 administrative credentials for accessing vCenter and NSX-T. */ - AdminCredentials listAdminCredentials(); + void rotateVcenterPassword(Context context); /** * Rotate the NSX-T Manager password. @@ -802,20 +800,22 @@ interface WithDnsZoneType { void rotateNsxtPassword(Context context); /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * + * @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 administrative credentials for accessing vCenter and NSX-T along with {@link Response}. */ - void rotateVcenterPassword(); + Response listAdminCredentialsWithResponse(Context context); /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * - * @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 administrative credentials for accessing vCenter and NSX-T. */ - void rotateVcenterPassword(Context context); + AdminCredentials listAdminCredentials(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudIdentity.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudIdentity.java index 465e1fc66bb5..3e91d9d5b693 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudIdentity.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudIdentity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -30,7 +30,7 @@ public final class PrivateCloudIdentity implements JsonSerializable { /** - * Static value Succeeded for PrivateCloudProvisioningState. + * Resource has been created. */ public static final PrivateCloudProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for PrivateCloudProvisioningState. + * Resource creation failed. */ public static final PrivateCloudProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for PrivateCloudProvisioningState. + * Resource creation was canceled. */ public static final PrivateCloudProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Cancelled for PrivateCloudProvisioningState. + * is cancelled. */ public static final PrivateCloudProvisioningState CANCELLED = fromString("Cancelled"); /** - * Static value Pending for PrivateCloudProvisioningState. + * is pending. */ public static final PrivateCloudProvisioningState PENDING = fromString("Pending"); /** - * Static value Building for PrivateCloudProvisioningState. + * is building. */ public static final PrivateCloudProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for PrivateCloudProvisioningState. + * is deleting. */ public static final PrivateCloudProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for PrivateCloudProvisioningState. + * is updating. */ public static final PrivateCloudProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudUpdate.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudUpdate.java index c5565dde830a..7c9642789be9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudUpdate.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateCloudUpdate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateClouds.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateClouds.java index 154f89ed1c4a..f0030b9ca740 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateClouds.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PrivateClouds.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,47 +13,47 @@ */ public interface PrivateClouds { /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ - PagedIterable list(); + PagedIterable listByResourceGroup(String resourceGroupName); /** - * List PrivateCloud resources by subscription ID. + * List PrivateCloud resources by resource group. * + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ - PagedIterable list(Context context); + PagedIterable listByResourceGroup(String resourceGroupName, Context context); /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ - PagedIterable listByResourceGroup(String resourceGroupName); + PagedIterable list(); /** - * List PrivateCloud resources by resource group. + * List PrivateCloud resources by subscription ID. * - * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response of a PrivateCloud list operation as paginated response with {@link PagedIterable}. */ - PagedIterable listByResourceGroup(String resourceGroupName, Context context); + PagedIterable list(Context context); /** * Get a PrivateCloud. @@ -105,30 +105,27 @@ Response getByResourceGroupWithResponse(String resourceGroupName, void delete(String resourceGroupName, String privateCloudName, Context context); /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @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 administrative credentials for accessing vCenter and NSX-T along with {@link Response}. */ - Response listAdminCredentialsWithResponse(String resourceGroupName, String privateCloudName, - Context context); + void rotateVcenterPassword(String resourceGroupName, String privateCloudName); /** - * List the admin credentials for the private cloud. + * Rotate the vCenter password. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. + * @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 administrative credentials for accessing vCenter and NSX-T. */ - AdminCredentials listAdminCredentials(String resourceGroupName, String privateCloudName); + void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context); /** * Rotate the NSX-T Manager password. @@ -154,27 +151,30 @@ Response listAdminCredentialsWithResponse(String resourceGroup void rotateNsxtPassword(String resourceGroupName, String privateCloudName, Context context); /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. + * @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 administrative credentials for accessing vCenter and NSX-T along with {@link Response}. */ - void rotateVcenterPassword(String resourceGroupName, String privateCloudName); + Response listAdminCredentialsWithResponse(String resourceGroupName, String privateCloudName, + Context context); /** - * Rotate the vCenter password. + * List the admin credentials for the private cloud. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @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 administrative credentials for accessing vCenter and NSX-T. */ - void rotateVcenterPassword(String resourceGroupName, String privateCloudName, Context context); + AdminCredentials listAdminCredentials(String resourceGroupName, String privateCloudName); /** * Get a PrivateCloud. diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetwork.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetwork.java index 00b7f3d6b8aa..62124b6145d8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetwork.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetwork.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -33,32 +33,18 @@ public interface ProvisionedNetwork { String type(); /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - - /** - * Gets the provisioningState property: The provisioning state of the resource. + * Gets the properties property: The resource-specific properties for this resource. * - * @return the provisioningState value. + * @return the properties value. */ - ProvisionedNetworkProvisioningState provisioningState(); + ProvisionedNetworkProperties properties(); /** - * Gets the addressPrefix property: The address prefixes of the provisioned network in CIDR notation. - * - * @return the addressPrefix value. - */ - String addressPrefix(); - - /** - * Gets the networkType property: The type of network provisioned. + * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. * - * @return the networkType value. + * @return the systemData value. */ - ProvisionedNetworkTypes networkType(); + SystemData systemData(); /** * Gets the inner com.azure.resourcemanager.avs.fluent.models.ProvisionedNetworkInner object. diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ProvisionedNetworkProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkProperties.java similarity index 92% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ProvisionedNetworkProperties.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkProperties.java index 987f1e31a925..1bbf70a3612c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/ProvisionedNetworkProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkProperties.java @@ -1,16 +1,14 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.fluent.models; +package com.azure.resourcemanager.avs.models; import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.avs.models.ProvisionedNetworkProvisioningState; -import com.azure.resourcemanager.avs.models.ProvisionedNetworkTypes; import java.io.IOException; /** @@ -36,7 +34,7 @@ public final class ProvisionedNetworkProperties implements JsonSerializable { /** - * Static value Succeeded for ProvisionedNetworkProvisioningState. + * Resource has been created. */ public static final ProvisionedNetworkProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for ProvisionedNetworkProvisioningState. + * Resource creation failed. */ public static final ProvisionedNetworkProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for ProvisionedNetworkProvisioningState. + * Resource creation was canceled. */ public static final ProvisionedNetworkProvisioningState CANCELED = fromString("Canceled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkTypes.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkTypes.java index ad9dde23a8bd..a603ec16d6c4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkTypes.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworkTypes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,37 +12,37 @@ */ public final class ProvisionedNetworkTypes extends ExpandableStringEnum { /** - * Static value esxManagement for ProvisionedNetworkTypes. + * network for ESX management. */ public static final ProvisionedNetworkTypes ESX_MANAGEMENT = fromString("esxManagement"); /** - * Static value esxReplication for ProvisionedNetworkTypes. + * network for ESX replication. */ public static final ProvisionedNetworkTypes ESX_REPLICATION = fromString("esxReplication"); /** - * Static value hcxManagement for ProvisionedNetworkTypes. + * network for HCX management. */ public static final ProvisionedNetworkTypes HCX_MANAGEMENT = fromString("hcxManagement"); /** - * Static value hcxUplink for ProvisionedNetworkTypes. + * network for HCX uplink. */ public static final ProvisionedNetworkTypes HCX_UPLINK = fromString("hcxUplink"); /** - * Static value vcenterManagement for ProvisionedNetworkTypes. + * network for vCenter management. */ public static final ProvisionedNetworkTypes VCENTER_MANAGEMENT = fromString("vcenterManagement"); /** - * Static value vmotion for ProvisionedNetworkTypes. + * network for vmotion. */ public static final ProvisionedNetworkTypes VMOTION = fromString("vmotion"); /** - * Static value vsan for ProvisionedNetworkTypes. + * network for vsan. */ public static final ProvisionedNetworkTypes VSAN = fromString("vsan"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworks.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworks.java index 5ff4cc03e211..d35b9976359b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworks.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ProvisionedNetworks.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicies.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicies.java index 0cffcc861355..0d73ad5b0c50 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicies.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicies.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicy.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicy.java index 3e7db96b90f6..561736b1f4eb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicy.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicy.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -34,32 +34,18 @@ public interface PureStoragePolicy { String type(); /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - - /** - * Gets the storagePolicyDefinition property: Definition of a Pure Storage Policy Based Management policy. + * Gets the properties property: The resource-specific properties for this resource. * - * @return the storagePolicyDefinition value. + * @return the properties value. */ - String storagePolicyDefinition(); + PureStoragePolicyProperties properties(); /** - * Gets the storagePoolId property: Azure resource ID of the Pure Storage Pool associated with the storage policy. - * - * @return the storagePoolId value. - */ - String storagePoolId(); - - /** - * Gets the provisioningState property: The state of the Pure Storage Policy Based Management policy provisioning. + * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. * - * @return the provisioningState value. + * @return the systemData value. */ - PureStoragePolicyProvisioningState provisioningState(); + SystemData systemData(); /** * Gets the name of the resource group. @@ -110,7 +96,7 @@ interface WithParentResource { * The stage of the PureStoragePolicy definition which contains all the minimum required properties for the * resource to be created, but also allows for any other optional properties to be specified. */ - interface WithCreate extends DefinitionStages.WithStoragePolicyDefinition, DefinitionStages.WithStoragePoolId { + interface WithCreate extends DefinitionStages.WithProperties { /** * Executes the create request. * @@ -128,31 +114,16 @@ interface WithCreate extends DefinitionStages.WithStoragePolicyDefinition, Defin } /** - * The stage of the PureStoragePolicy definition allowing to specify storagePolicyDefinition. - */ - interface WithStoragePolicyDefinition { - /** - * Specifies the storagePolicyDefinition property: Definition of a Pure Storage Policy Based Management - * policy. - * - * @param storagePolicyDefinition Definition of a Pure Storage Policy Based Management policy. - * @return the next definition stage. - */ - WithCreate withStoragePolicyDefinition(String storagePolicyDefinition); - } - - /** - * The stage of the PureStoragePolicy definition allowing to specify storagePoolId. + * The stage of the PureStoragePolicy definition allowing to specify properties. */ - interface WithStoragePoolId { + interface WithProperties { /** - * Specifies the storagePoolId property: Azure resource ID of the Pure Storage Pool associated with the - * storage policy. + * Specifies the properties property: The resource-specific properties for this resource.. * - * @param storagePoolId Azure resource ID of the Pure Storage Pool associated with the storage policy. + * @param properties The resource-specific properties for this resource. * @return the next definition stage. */ - WithCreate withStoragePoolId(String storagePoolId); + WithCreate withProperties(PureStoragePolicyProperties properties); } } @@ -166,7 +137,7 @@ interface WithStoragePoolId { /** * The template for PureStoragePolicy update. */ - interface Update extends UpdateStages.WithStoragePolicyDefinition, UpdateStages.WithStoragePoolId { + interface Update extends UpdateStages.WithProperties { /** * Executes the update request. * @@ -188,31 +159,16 @@ interface Update extends UpdateStages.WithStoragePolicyDefinition, UpdateStages. */ interface UpdateStages { /** - * The stage of the PureStoragePolicy update allowing to specify storagePolicyDefinition. - */ - interface WithStoragePolicyDefinition { - /** - * Specifies the storagePolicyDefinition property: Definition of a Pure Storage Policy Based Management - * policy. - * - * @param storagePolicyDefinition Definition of a Pure Storage Policy Based Management policy. - * @return the next definition stage. - */ - Update withStoragePolicyDefinition(String storagePolicyDefinition); - } - - /** - * The stage of the PureStoragePolicy update allowing to specify storagePoolId. + * The stage of the PureStoragePolicy update allowing to specify properties. */ - interface WithStoragePoolId { + interface WithProperties { /** - * Specifies the storagePoolId property: Azure resource ID of the Pure Storage Pool associated with the - * storage policy. + * Specifies the properties property: The resource-specific properties for this resource.. * - * @param storagePoolId Azure resource ID of the Pure Storage Pool associated with the storage policy. + * @param properties The resource-specific properties for this resource. * @return the next definition stage. */ - Update withStoragePoolId(String storagePoolId); + Update withProperties(PureStoragePolicyProperties properties); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PureStoragePolicyProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyProperties.java similarity index 96% rename from sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PureStoragePolicyProperties.java rename to sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyProperties.java index 20d9cff8bf8f..109e8d87bc4c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/models/PureStoragePolicyProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyProperties.java @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. -package com.azure.resourcemanager.avs.fluent.models; +package com.azure.resourcemanager.avs.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; @@ -10,7 +10,6 @@ import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; -import com.azure.resourcemanager.avs.models.PureStoragePolicyProvisioningState; import java.io.IOException; /** diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyProvisioningState.java index ebf6f559e4e7..781d8763aea6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStoragePolicyProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,27 +12,27 @@ */ public final class PureStoragePolicyProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for PureStoragePolicyProvisioningState. + * Resource has been created. */ public static final PureStoragePolicyProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for PureStoragePolicyProvisioningState. + * Resource creation failed. */ public static final PureStoragePolicyProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for PureStoragePolicyProvisioningState. + * Resource creation was canceled. */ public static final PureStoragePolicyProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Deleting for PureStoragePolicyProvisioningState. + * is deleting. */ public static final PureStoragePolicyProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for PureStoragePolicyProvisioningState. + * is updating. */ public static final PureStoragePolicyProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStorageVolume.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStorageVolume.java index 594099680c55..a76e05c6b9f9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStorageVolume.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/PureStorageVolume.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Quota.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Quota.java index 94130208877f..af821a066aff 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Quota.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Quota.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/QuotaEnabled.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/QuotaEnabled.java index a042b39d46fa..5812a83762b0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/QuotaEnabled.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/QuotaEnabled.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class QuotaEnabled extends ExpandableStringEnum { /** - * Static value Enabled for QuotaEnabled. + * is enabled. */ public static final QuotaEnabled ENABLED = fromString("Enabled"); /** - * Static value Disabled for QuotaEnabled. + * is disabled. */ public static final QuotaEnabled DISABLED = fromString("Disabled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceIdentityType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceIdentityType.java index 2d09e96f51e4..d7978a1277f6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceIdentityType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceIdentityType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class ResourceIdentityType extends ExpandableStringEnum { /** - * Static value None for ResourceIdentityType. + * No managed system identity. */ public static final ResourceIdentityType NONE = fromString("None"); /** - * Static value SystemAssigned for ResourceIdentityType. + * System assigned managed system identity. */ public static final ResourceIdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSku.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSku.java index 413d6fecf5be..c491b4f40e28 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSku.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuCapabilities.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuCapabilities.java index 232951eb9921..7e269a67c6fd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuCapabilities.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuCapabilities.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -15,7 +15,7 @@ /** * Describes The SKU capabilities object. */ -@Fluent +@Immutable public final class ResourceSkuCapabilities implements JsonSerializable { /* * The name of the SKU capability. @@ -30,7 +30,7 @@ public final class ResourceSkuCapabilities implements JsonSerializable { /* * Location of the SKU @@ -36,7 +36,7 @@ public final class ResourceSkuLocationInfo implements JsonSerializable zones() { return this.zones; } - /** - * Set the zones property: List of availability zones where the SKU is supported. - * - * @param zones the zones value to set. - * @return the ResourceSkuLocationInfo object itself. - */ - public ResourceSkuLocationInfo withZones(List zones) { - this.zones = zones; - return this; - } - /** * Get the zoneDetails property: Gets details of capabilities available to a SKU in specific zones. * @@ -88,17 +66,6 @@ public List zoneDetails() { return this.zoneDetails; } - /** - * Set the zoneDetails property: Gets details of capabilities available to a SKU in specific zones. - * - * @param zoneDetails the zoneDetails value to set. - * @return the ResourceSkuLocationInfo object itself. - */ - public ResourceSkuLocationInfo withZoneDetails(List zoneDetails) { - this.zoneDetails = zoneDetails; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuResourceType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuResourceType.java index b4415ce89193..993e08320279 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuResourceType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuResourceType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class ResourceSkuResourceType extends ExpandableStringEnum { /** - * Static value privateClouds for ResourceSkuResourceType. + * The SKU is for a private cloud. */ public static final ResourceSkuResourceType PRIVATE_CLOUDS = fromString("privateClouds"); /** - * Static value privateClouds/clusters for ResourceSkuResourceType. + * The SKU is for a private cloud cluster. */ public static final ResourceSkuResourceType PRIVATE_CLOUDS_CLUSTERS = fromString("privateClouds/clusters"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionInfo.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionInfo.java index aead31089d6f..01297083aa0a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionInfo.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionInfo.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -15,7 +15,7 @@ /** * Describes an available Compute SKU Restriction Information. */ -@Fluent +@Immutable public final class ResourceSkuRestrictionInfo implements JsonSerializable { /* * Locations where the SKU is restricted @@ -30,7 +30,7 @@ public final class ResourceSkuRestrictionInfo implements JsonSerializable locations() { return this.locations; } - /** - * Set the locations property: Locations where the SKU is restricted. - * - * @param locations the locations value to set. - * @return the ResourceSkuRestrictionInfo object itself. - */ - public ResourceSkuRestrictionInfo withLocations(List locations) { - this.locations = locations; - return this; - } - /** * Get the zones property: List of availability zones where the SKU is restricted. * @@ -62,17 +51,6 @@ public List zones() { return this.zones; } - /** - * Set the zones property: List of availability zones where the SKU is restricted. - * - * @param zones the zones value to set. - * @return the ResourceSkuRestrictionInfo object itself. - */ - public ResourceSkuRestrictionInfo withZones(List zones) { - this.zones = zones; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictions.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictions.java index bf17728d9f43..a896ff96e313 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictions.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictions.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -16,7 +16,7 @@ /** * The restrictions of the SKU. */ -@Fluent +@Immutable public final class ResourceSkuRestrictions implements JsonSerializable { /* * the type of restrictions. @@ -42,7 +42,7 @@ public final class ResourceSkuRestrictions implements JsonSerializable values() { return this.values; } - /** - * Set the values property: The value of restrictions. If the restriction type is set to location. This would be - * different locations where the SKU is restricted. - * - * @param values the values value to set. - * @return the ResourceSkuRestrictions object itself. - */ - public ResourceSkuRestrictions withValues(List values) { - this.values = values; - return this; - } - /** * Get the restrictionInfo property: The information about the restriction where the SKU cannot be used. * @@ -96,17 +73,6 @@ public ResourceSkuRestrictionInfo restrictionInfo() { return this.restrictionInfo; } - /** - * Set the restrictionInfo property: The information about the restriction where the SKU cannot be used. - * - * @param restrictionInfo the restrictionInfo value to set. - * @return the ResourceSkuRestrictions object itself. - */ - public ResourceSkuRestrictions withRestrictionInfo(ResourceSkuRestrictionInfo restrictionInfo) { - this.restrictionInfo = restrictionInfo; - return this; - } - /** * Get the reasonCode property: the reason for restriction. * @@ -116,17 +82,6 @@ public ResourceSkuRestrictionsReasonCode reasonCode() { return this.reasonCode; } - /** - * Set the reasonCode property: the reason for restriction. - * - * @param reasonCode the reasonCode value to set. - * @return the ResourceSkuRestrictions object itself. - */ - public ResourceSkuRestrictions withReasonCode(ResourceSkuRestrictionsReasonCode reasonCode) { - this.reasonCode = reasonCode; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionsReasonCode.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionsReasonCode.java index 298f53a04e23..4d5db27de3ef 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionsReasonCode.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionsReasonCode.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class ResourceSkuRestrictionsReasonCode extends ExpandableStringEnum { /** - * Static value QuotaId for ResourceSkuRestrictionsReasonCode. + * The restriction is due to exceeding a quota limitation. */ public static final ResourceSkuRestrictionsReasonCode QUOTA_ID = fromString("QuotaId"); /** - * Static value NotAvailableForSubscription for ResourceSkuRestrictionsReasonCode. + * The restriction is not available for this subscription. */ public static final ResourceSkuRestrictionsReasonCode NOT_AVAILABLE_FOR_SUBSCRIPTION = fromString("NotAvailableForSubscription"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionsType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionsType.java index 71980f37c168..f040a92e303c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionsType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuRestrictionsType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class ResourceSkuRestrictionsType extends ExpandableStringEnum { /** - * Static value Location for ResourceSkuRestrictionsType. + * SKU restricted by location. */ public static final ResourceSkuRestrictionsType LOCATION = fromString("Location"); /** - * Static value Zone for ResourceSkuRestrictionsType. + * SKU restricted by availability zone. */ public static final ResourceSkuRestrictionsType ZONE = fromString("Zone"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuZoneDetails.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuZoneDetails.java index 39415d775ccd..c284792e6a87 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuZoneDetails.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ResourceSkuZoneDetails.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -16,7 +16,7 @@ /** * Describes The zonal capabilities of a SKU. */ -@Fluent +@Immutable public final class ResourceSkuZoneDetails implements JsonSerializable { /* * Gets the set of zones that the SKU is available in with the specified capabilities. @@ -31,7 +31,7 @@ public final class ResourceSkuZoneDetails implements JsonSerializable name() { return this.name; } - /** - * Set the name property: Gets the set of zones that the SKU is available in with the specified capabilities. - * - * @param name the name value to set. - * @return the ResourceSkuZoneDetails object itself. - */ - public ResourceSkuZoneDetails withName(List name) { - this.name = name; - return this; - } - /** * Get the capabilities property: A list of capabilities that are available for the SKU in the specified list of * zones. @@ -64,18 +53,6 @@ public List capabilities() { return this.capabilities; } - /** - * Set the capabilities property: A list of capabilities that are available for the SKU in the specified list of - * zones. - * - * @param capabilities the capabilities value to set. - * @return the ResourceSkuZoneDetails object itself. - */ - public ResourceSkuZoneDetails withCapabilities(List capabilities) { - this.capabilities = capabilities; - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdlet.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdlet.java index f6758052b6f9..8c33d7dae39a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdlet.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdlet.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletAudience.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletAudience.java index 83d394dcb7a2..b017ff935129 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletAudience.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletAudience.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class ScriptCmdletAudience extends ExpandableStringEnum { /** - * Static value Automation for ScriptCmdletAudience. + * is automation. */ public static final ScriptCmdletAudience AUTOMATION = fromString("Automation"); /** - * Static value Any for ScriptCmdletAudience. + * is any. */ public static final ScriptCmdletAudience ANY = fromString("Any"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletProvisioningState.java index e43a7bb082de..81577fc87158 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdletProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class ScriptCmdletProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for ScriptCmdletProvisioningState. + * Resource has been created. */ public static final ScriptCmdletProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for ScriptCmdletProvisioningState. + * Resource creation failed. */ public static final ScriptCmdletProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for ScriptCmdletProvisioningState. + * Resource creation was canceled. */ public static final ScriptCmdletProvisioningState CANCELED = fromString("Canceled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdlets.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdlets.java index 7f8d7b4b433f..d1d79be5c463 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdlets.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptCmdlets.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecution.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecution.java index ae7e11eca9be..6f4d6269398b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecution.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecution.java @@ -1,11 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; import com.azure.core.http.rest.Response; import com.azure.core.management.SystemData; +import com.azure.core.util.BinaryData; import com.azure.core.util.Context; import com.azure.resourcemanager.avs.fluent.models.ScriptExecutionInner; import java.time.OffsetDateTime; @@ -128,7 +129,7 @@ public interface ScriptExecution { * * @return the namedOutputs value. */ - Map namedOutputs(); + Map namedOutputs(); /** * Gets the information property: Standard information out stream from the powershell execution. @@ -328,7 +329,7 @@ interface WithNamedOutputs { * @param namedOutputs User-defined dictionary. * @return the next definition stage. */ - WithCreate withNamedOutputs(Map namedOutputs); + WithCreate withNamedOutputs(Map namedOutputs); } } @@ -474,7 +475,7 @@ interface WithNamedOutputs { * @param namedOutputs User-defined dictionary. * @return the next definition stage. */ - Update withNamedOutputs(Map namedOutputs); + Update withNamedOutputs(Map namedOutputs); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionParameter.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionParameter.java index 00e76a4968a6..2767375ab487 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionParameter.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionParameter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -112,12 +112,12 @@ public static ScriptExecutionParameter fromJson(JsonReader jsonReader) throws IO } } // Use the discriminator value to determine which subtype should be deserialized. - if ("Credential".equals(discriminatorValue)) { - return PSCredentialExecutionParameter.fromJson(readerToUse.reset()); - } else if ("SecureValue".equals(discriminatorValue)) { + if ("SecureValue".equals(discriminatorValue)) { return ScriptSecureStringExecutionParameter.fromJson(readerToUse.reset()); } else if ("Value".equals(discriminatorValue)) { return ScriptStringExecutionParameter.fromJson(readerToUse.reset()); + } else if ("Credential".equals(discriminatorValue)) { + return PSCredentialExecutionParameter.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionParameterType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionParameterType.java index 0dd85491426a..73e9dbf342a4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionParameterType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionParameterType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionProvisioningState.java index 7fe0d7c8bb45..35688988d197 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutionProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,42 +12,42 @@ */ public final class ScriptExecutionProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for ScriptExecutionProvisioningState. + * Resource has been created. */ public static final ScriptExecutionProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for ScriptExecutionProvisioningState. + * Resource creation failed. */ public static final ScriptExecutionProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for ScriptExecutionProvisioningState. + * Resource creation was canceled. */ public static final ScriptExecutionProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Pending for ScriptExecutionProvisioningState. + * is pending. */ public static final ScriptExecutionProvisioningState PENDING = fromString("Pending"); /** - * Static value Running for ScriptExecutionProvisioningState. + * is running. */ public static final ScriptExecutionProvisioningState RUNNING = fromString("Running"); /** - * Static value Cancelling for ScriptExecutionProvisioningState. + * is cancelling. */ public static final ScriptExecutionProvisioningState CANCELLING = fromString("Cancelling"); /** - * Static value Cancelled for ScriptExecutionProvisioningState. + * is cancelled. */ public static final ScriptExecutionProvisioningState CANCELLED = fromString("Cancelled"); /** - * Static value Deleting for ScriptExecutionProvisioningState. + * is deleting. */ public static final ScriptExecutionProvisioningState DELETING = fromString("Deleting"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutions.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutions.java index 5d1e4330c70a..751fd80070b2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutions.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptExecutions.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptOutputStreamType.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptOutputStreamType.java index 493208fd5e84..c9f9e68927b4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptOutputStreamType.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptOutputStreamType.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,22 +12,22 @@ */ public final class ScriptOutputStreamType extends ExpandableStringEnum { /** - * Static value Information for ScriptOutputStreamType. + * is information. */ public static final ScriptOutputStreamType INFORMATION = fromString("Information"); /** - * Static value Warning for ScriptOutputStreamType. + * is warning. */ public static final ScriptOutputStreamType WARNING = fromString("Warning"); /** - * Static value Output for ScriptOutputStreamType. + * is output. */ public static final ScriptOutputStreamType OUTPUT = fromString("Output"); /** - * Static value Error for ScriptOutputStreamType. + * is error. */ public static final ScriptOutputStreamType ERROR = fromString("Error"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackage.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackage.java index 33cedd0592b9..33ba11e89d2c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackage.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackage.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackageProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackageProvisioningState.java index 76503c40236b..049cb2b71ef8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackageProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackageProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class ScriptPackageProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for ScriptPackageProvisioningState. + * Resource has been created. */ public static final ScriptPackageProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for ScriptPackageProvisioningState. + * Resource creation failed. */ public static final ScriptPackageProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for ScriptPackageProvisioningState. + * Resource creation was canceled. */ public static final ScriptPackageProvisioningState CANCELED = fromString("Canceled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackages.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackages.java index 457f32d3e0dd..0c3e2f0101f5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackages.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptPackages.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptParameter.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptParameter.java index a7b577ca91a9..cce96969e8c8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptParameter.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptParameter.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * An parameter that the script will accept. */ -@Fluent +@Immutable public final class ScriptParameter implements JsonSerializable { /* * The type of parameter the script is expecting. psCredential is a @@ -46,7 +46,7 @@ public final class ScriptParameter implements JsonSerializable /** * Creates an instance of ScriptParameter class. */ - public ScriptParameter() { + private ScriptParameter() { } /** @@ -68,17 +68,6 @@ public String name() { return this.name; } - /** - * Set the name property: The parameter name that the script will expect a parameter value for. - * - * @param name the name value to set. - * @return the ScriptParameter object itself. - */ - public ScriptParameter withName(String name) { - this.name = name; - return this; - } - /** * Get the description property: User friendly description of the parameter. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptParameterTypes.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptParameterTypes.java index dc5232cd21a3..f5ec37fdc190 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptParameterTypes.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptParameterTypes.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,32 +12,32 @@ */ public final class ScriptParameterTypes extends ExpandableStringEnum { /** - * Static value String for ScriptParameterTypes. + * is string. */ public static final ScriptParameterTypes STRING = fromString("String"); /** - * Static value SecureString for ScriptParameterTypes. + * is secure string. */ public static final ScriptParameterTypes SECURE_STRING = fromString("SecureString"); /** - * Static value Credential for ScriptParameterTypes. + * is credential. */ public static final ScriptParameterTypes CREDENTIAL = fromString("Credential"); /** - * Static value Int for ScriptParameterTypes. + * is int. */ public static final ScriptParameterTypes INT = fromString("Int"); /** - * Static value Bool for ScriptParameterTypes. + * is bool. */ public static final ScriptParameterTypes BOOL = fromString("Bool"); /** - * Static value Float for ScriptParameterTypes. + * is float. */ public static final ScriptParameterTypes FLOAT = fromString("Float"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptSecureStringExecutionParameter.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptSecureStringExecutionParameter.java index a26151dff54d..107e3af02698 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptSecureStringExecutionParameter.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptSecureStringExecutionParameter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptStringExecutionParameter.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptStringExecutionParameter.java index 04389922f92b..ff4a7444e24f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptStringExecutionParameter.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/ScriptStringExecutionParameter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SegmentStatusEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SegmentStatusEnum.java index 03d45f61c809..374c42d9ee6f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SegmentStatusEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SegmentStatusEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class SegmentStatusEnum extends ExpandableStringEnum { /** - * Static value SUCCESS for SegmentStatusEnum. + * is success. */ public static final SegmentStatusEnum SUCCESS = fromString("SUCCESS"); /** - * Static value FAILURE for SegmentStatusEnum. + * is failure. */ public static final SegmentStatusEnum FAILURE = fromString("FAILURE"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Sku.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Sku.java index b527649da328..f06fe022b873 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Sku.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Sku.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -18,7 +18,7 @@ @Fluent public final class Sku implements JsonSerializable { /* - * The name of the SKU. E.g. P3. It is typically a letter+number code + * The name of the SKU. Ex - P3. It is typically a letter+number code */ private String name; @@ -52,7 +52,7 @@ public Sku() { } /** - * Get the name property: The name of the SKU. E.g. P3. It is typically a letter+number code. + * Get the name property: The name of the SKU. Ex - P3. It is typically a letter+number code. * * @return the name value. */ @@ -61,7 +61,7 @@ public String name() { } /** - * Set the name property: The name of the SKU. E.g. P3. It is typically a letter+number code. + * Set the name property: The name of the SKU. Ex - P3. It is typically a letter+number code. * * @param name the name value to set. * @return the Sku object itself. diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SkuTier.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SkuTier.java index 6be884faf689..56f43a035b75 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SkuTier.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SkuTier.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -10,22 +10,22 @@ */ public enum SkuTier { /** - * Enum value Free. + * The Free service tier. */ FREE("Free"), /** - * Enum value Basic. + * The Basic service tier. */ BASIC("Basic"), /** - * Enum value Standard. + * The Standard service tier. */ STANDARD("Standard"), /** - * Enum value Premium. + * The Premium service tier. */ PREMIUM("Premium"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Skus.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Skus.java index e62b3b06858d..a09646f34479 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Skus.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Skus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SpecializedHostProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SpecializedHostProperties.java index 2f7d430d37b1..cba5a005bab9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SpecializedHostProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SpecializedHostProperties.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -13,7 +13,7 @@ /** * The properties of a specialized host. */ -@Fluent +@Immutable public final class SpecializedHostProperties extends HostProperties { /* * The kind of host @@ -23,7 +23,7 @@ public final class SpecializedHostProperties extends HostProperties { /** * Creates an instance of SpecializedHostProperties class. */ - public SpecializedHostProperties() { + private SpecializedHostProperties() { } /** @@ -36,24 +36,6 @@ public HostKind kind() { return this.kind; } - /** - * {@inheritDoc} - */ - @Override - public SpecializedHostProperties withDisplayName(String displayName) { - super.withDisplayName(displayName); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public SpecializedHostProperties withMaintenance(HostMaintenance maintenance) { - super.withMaintenance(maintenance); - return this; - } - /** * Validates the instance. * diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SslEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SslEnum.java index f45b038c9c10..5d146bf7599f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SslEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/SslEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class SslEnum extends ExpandableStringEnum { /** - * Static value Enabled for SslEnum. + * is enabled. */ public static final SslEnum ENABLED = fromString("Enabled"); /** - * Static value Disabled for SslEnum. + * is disabled. */ public static final SslEnum DISABLED = fromString("Disabled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Trial.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Trial.java index f65dae8db654..d80e79d348d9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Trial.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/Trial.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/TrialStatus.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/TrialStatus.java index 4b651f7724c0..567cfc9b9451 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/TrialStatus.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/TrialStatus.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class TrialStatus extends ExpandableStringEnum { /** - * Static value TrialAvailable for TrialStatus. + * is available. */ public static final TrialStatus TRIAL_AVAILABLE = fromString("TrialAvailable"); /** - * Static value TrialUsed for TrialStatus. + * is used. */ public static final TrialStatus TRIAL_USED = fromString("TrialUsed"); /** - * Static value TrialDisabled for TrialStatus. + * is disabled. */ public static final TrialStatus TRIAL_DISABLED = fromString("TrialDisabled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VMGroupStatusEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VMGroupStatusEnum.java index c5aa668dc4c8..8a740c086f57 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VMGroupStatusEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VMGroupStatusEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class VMGroupStatusEnum extends ExpandableStringEnum { /** - * Static value SUCCESS for VMGroupStatusEnum. + * is success. */ public static final VMGroupStatusEnum SUCCESS = fromString("SUCCESS"); /** - * Static value FAILURE for VMGroupStatusEnum. + * is failure. */ public static final VMGroupStatusEnum FAILURE = fromString("FAILURE"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VMTypeEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VMTypeEnum.java index ad9c0334ea14..4cbd77ba13e4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VMTypeEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VMTypeEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class VMTypeEnum extends ExpandableStringEnum { /** - * Static value REGULAR for VMTypeEnum. + * is regular. */ public static final VMTypeEnum REGULAR = fromString("REGULAR"); /** - * Static value EDGE for VMTypeEnum. + * is edge. */ public static final VMTypeEnum EDGE = fromString("EDGE"); /** - * Static value SERVICE for VMTypeEnum. + * is service. */ public static final VMTypeEnum SERVICE = fromString("SERVICE"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachine.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachine.java index 2531b7250b06..808b739188fb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachine.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachine.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineProvisioningState.java index 6d256db38306..8bb5bfa77e76 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,17 +12,17 @@ */ public final class VirtualMachineProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for VirtualMachineProvisioningState. + * Resource has been created. */ public static final VirtualMachineProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for VirtualMachineProvisioningState. + * Resource creation failed. */ public static final VirtualMachineProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for VirtualMachineProvisioningState. + * Resource creation was canceled. */ public static final VirtualMachineProvisioningState CANCELED = fromString("Canceled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovement.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovement.java index c9d45cb67602..705cde62c1b7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovement.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovement.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovementState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovementState.java index aafb82a07a72..0b1993e9d734 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovementState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovementState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,12 +13,12 @@ public final class VirtualMachineRestrictMovementState extends ExpandableStringEnum { /** - * Static value Enabled for VirtualMachineRestrictMovementState. + * is enabled. */ public static final VirtualMachineRestrictMovementState ENABLED = fromString("Enabled"); /** - * Static value Disabled for VirtualMachineRestrictMovementState. + * is disabled. */ public static final VirtualMachineRestrictMovementState DISABLED = fromString("Disabled"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachines.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachines.java index 435cede9dc2f..ba250a01c1cb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachines.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachines.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VisibilityParameterEnum.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VisibilityParameterEnum.java index ad2ea2724459..9199f52cbd20 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VisibilityParameterEnum.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VisibilityParameterEnum.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,12 +12,12 @@ */ public final class VisibilityParameterEnum extends ExpandableStringEnum { /** - * Static value Visible for VisibilityParameterEnum. + * is visible. */ public static final VisibilityParameterEnum VISIBLE = fromString("Visible"); /** - * Static value Hidden for VisibilityParameterEnum. + * is hidden. */ public static final VisibilityParameterEnum HIDDEN = fromString("Hidden"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VmHostPlacementPolicyProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VmHostPlacementPolicyProperties.java index 20a87d048c34..7058b9a573c6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VmHostPlacementPolicyProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VmHostPlacementPolicyProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VmPlacementPolicyProperties.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VmPlacementPolicyProperties.java index 32cdd42799bb..deede05446e8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VmPlacementPolicyProperties.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VmPlacementPolicyProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetwork.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetwork.java index be59cf3574dc..81b07270a4ff 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetwork.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetwork.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcp.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcp.java index a205f5ad95ca..adad0ea38981 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcp.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcp.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpEntity.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpEntity.java index 9aba7bfb0a91..eb71f9e61f71 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpEntity.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpEntity.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -182,10 +182,10 @@ public static WorkloadNetworkDhcpEntity fromJson(JsonReader jsonReader) throws I } } // Use the discriminator value to determine which subtype should be deserialized. - if ("RELAY".equals(discriminatorValue)) { - return WorkloadNetworkDhcpRelay.fromJson(readerToUse.reset()); - } else if ("SERVER".equals(discriminatorValue)) { + if ("SERVER".equals(discriminatorValue)) { return WorkloadNetworkDhcpServer.fromJson(readerToUse.reset()); + } else if ("RELAY".equals(discriminatorValue)) { + return WorkloadNetworkDhcpRelay.fromJson(readerToUse.reset()); } else { return fromJsonKnownDiscriminator(readerToUse.reset()); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpProvisioningState.java index 7c5edf4a9e68..4f23575949f5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,32 +13,32 @@ public final class WorkloadNetworkDhcpProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for WorkloadNetworkDhcpProvisioningState. + * Resource has been created. */ public static final WorkloadNetworkDhcpProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for WorkloadNetworkDhcpProvisioningState. + * Resource creation failed. */ public static final WorkloadNetworkDhcpProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for WorkloadNetworkDhcpProvisioningState. + * Resource creation was canceled. */ public static final WorkloadNetworkDhcpProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for WorkloadNetworkDhcpProvisioningState. + * is building. */ public static final WorkloadNetworkDhcpProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for WorkloadNetworkDhcpProvisioningState. + * is deleting. */ public static final WorkloadNetworkDhcpProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for WorkloadNetworkDhcpProvisioningState. + * is updating. */ public static final WorkloadNetworkDhcpProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpRelay.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpRelay.java index 313804d89a9f..d17612f8494f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpRelay.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpRelay.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpServer.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpServer.java index f75f2005416b..042c905dad94 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpServer.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDhcpServer.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsService.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsService.java index c6e4c0ae7327..02b5b76dac31 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsService.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsService.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsServiceProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsServiceProvisioningState.java index 3a7245b6d274..69f20c555fcd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsServiceProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsServiceProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,32 +13,32 @@ public final class WorkloadNetworkDnsServiceProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for WorkloadNetworkDnsServiceProvisioningState. + * Resource has been created. */ public static final WorkloadNetworkDnsServiceProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for WorkloadNetworkDnsServiceProvisioningState. + * Resource creation failed. */ public static final WorkloadNetworkDnsServiceProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for WorkloadNetworkDnsServiceProvisioningState. + * Resource creation was canceled. */ public static final WorkloadNetworkDnsServiceProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for WorkloadNetworkDnsServiceProvisioningState. + * is building. */ public static final WorkloadNetworkDnsServiceProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for WorkloadNetworkDnsServiceProvisioningState. + * is deleting. */ public static final WorkloadNetworkDnsServiceProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for WorkloadNetworkDnsServiceProvisioningState. + * is updating. */ public static final WorkloadNetworkDnsServiceProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZone.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZone.java index b141ff0bbb33..7fc1a1f4f796 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZone.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZone.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZoneProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZoneProvisioningState.java index 86f1440591dc..36bcc8ec16b2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZoneProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkDnsZoneProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,32 +13,32 @@ public final class WorkloadNetworkDnsZoneProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for WorkloadNetworkDnsZoneProvisioningState. + * Resource has been created. */ public static final WorkloadNetworkDnsZoneProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for WorkloadNetworkDnsZoneProvisioningState. + * Resource creation failed. */ public static final WorkloadNetworkDnsZoneProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for WorkloadNetworkDnsZoneProvisioningState. + * Resource creation was canceled. */ public static final WorkloadNetworkDnsZoneProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for WorkloadNetworkDnsZoneProvisioningState. + * is building. */ public static final WorkloadNetworkDnsZoneProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for WorkloadNetworkDnsZoneProvisioningState. + * is deleting. */ public static final WorkloadNetworkDnsZoneProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for WorkloadNetworkDnsZoneProvisioningState. + * is updating. */ public static final WorkloadNetworkDnsZoneProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkGateway.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkGateway.java index fc5f23c15a90..8c1dc832c9cf 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkGateway.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkGateway.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroring.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroring.java index a446ad3bb381..e9fe2eadd5cd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroring.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroring.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroringProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroringProvisioningState.java index f68e65097b5b..f01980545b19 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroringProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPortMirroringProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,32 +13,32 @@ public final class WorkloadNetworkPortMirroringProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for WorkloadNetworkPortMirroringProvisioningState. + * Resource has been created. */ public static final WorkloadNetworkPortMirroringProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for WorkloadNetworkPortMirroringProvisioningState. + * Resource creation failed. */ public static final WorkloadNetworkPortMirroringProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for WorkloadNetworkPortMirroringProvisioningState. + * Resource creation was canceled. */ public static final WorkloadNetworkPortMirroringProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for WorkloadNetworkPortMirroringProvisioningState. + * is building. */ public static final WorkloadNetworkPortMirroringProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for WorkloadNetworkPortMirroringProvisioningState. + * is deleting. */ public static final WorkloadNetworkPortMirroringProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for WorkloadNetworkPortMirroringProvisioningState. + * is updating. */ public static final WorkloadNetworkPortMirroringProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkProvisioningState.java index 932c4604a7db..7f66e66a0c74 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -12,32 +12,32 @@ */ public final class WorkloadNetworkProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for WorkloadNetworkProvisioningState. + * Resource has been created. */ public static final WorkloadNetworkProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for WorkloadNetworkProvisioningState. + * Resource creation failed. */ public static final WorkloadNetworkProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for WorkloadNetworkProvisioningState. + * Resource creation was canceled. */ public static final WorkloadNetworkProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for WorkloadNetworkProvisioningState. + * is building. */ public static final WorkloadNetworkProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for WorkloadNetworkProvisioningState. + * is deleting. */ public static final WorkloadNetworkProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for WorkloadNetworkProvisioningState. + * is updating. */ public static final WorkloadNetworkProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIp.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIp.java index fada5305c0ad..13b6a50c67f1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIp.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIp.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIpProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIpProvisioningState.java index 0e264a22523d..7f56e833e8a6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIpProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkPublicIpProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,32 +13,32 @@ public final class WorkloadNetworkPublicIpProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for WorkloadNetworkPublicIpProvisioningState. + * Resource has been created. */ public static final WorkloadNetworkPublicIpProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for WorkloadNetworkPublicIpProvisioningState. + * Resource creation failed. */ public static final WorkloadNetworkPublicIpProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for WorkloadNetworkPublicIpProvisioningState. + * Resource creation was canceled. */ public static final WorkloadNetworkPublicIpProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for WorkloadNetworkPublicIpProvisioningState. + * is building. */ public static final WorkloadNetworkPublicIpProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for WorkloadNetworkPublicIpProvisioningState. + * is deleting. */ public static final WorkloadNetworkPublicIpProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for WorkloadNetworkPublicIpProvisioningState. + * is updating. */ public static final WorkloadNetworkPublicIpProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegment.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegment.java index 47bcaa0510d6..5d92d9259dd1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegment.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegment.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentPortVif.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentPortVif.java index 7083990dc7b5..32c5a4e85f31 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentPortVif.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentPortVif.java @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; -import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Immutable; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -14,7 +14,7 @@ /** * Ports and any VIF attached to segment. */ -@Fluent +@Immutable public final class WorkloadNetworkSegmentPortVif implements JsonSerializable { /* * Name of port or VIF attached to segment. @@ -24,7 +24,7 @@ public final class WorkloadNetworkSegmentPortVif implements JsonSerializable { /** - * Static value Succeeded for WorkloadNetworkSegmentProvisioningState. + * Resource has been created. */ public static final WorkloadNetworkSegmentProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for WorkloadNetworkSegmentProvisioningState. + * Resource creation failed. */ public static final WorkloadNetworkSegmentProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for WorkloadNetworkSegmentProvisioningState. + * Resource creation was canceled. */ public static final WorkloadNetworkSegmentProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for WorkloadNetworkSegmentProvisioningState. + * is building. */ public static final WorkloadNetworkSegmentProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for WorkloadNetworkSegmentProvisioningState. + * is deleting. */ public static final WorkloadNetworkSegmentProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for WorkloadNetworkSegmentProvisioningState. + * is updating. */ public static final WorkloadNetworkSegmentProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentSubnet.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentSubnet.java index 9521121042ad..a4a5a4234f92 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentSubnet.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkSegmentSubnet.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroup.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroup.java index cb464c2ecfae..5da5fa4d3d88 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroup.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroup.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroupProvisioningState.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroupProvisioningState.java index bbc70c1181ac..956bddde1c75 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroupProvisioningState.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVMGroupProvisioningState.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -13,32 +13,32 @@ public final class WorkloadNetworkVMGroupProvisioningState extends ExpandableStringEnum { /** - * Static value Succeeded for WorkloadNetworkVMGroupProvisioningState. + * Resource has been created. */ public static final WorkloadNetworkVMGroupProvisioningState SUCCEEDED = fromString("Succeeded"); /** - * Static value Failed for WorkloadNetworkVMGroupProvisioningState. + * Resource creation failed. */ public static final WorkloadNetworkVMGroupProvisioningState FAILED = fromString("Failed"); /** - * Static value Canceled for WorkloadNetworkVMGroupProvisioningState. + * Resource creation was canceled. */ public static final WorkloadNetworkVMGroupProvisioningState CANCELED = fromString("Canceled"); /** - * Static value Building for WorkloadNetworkVMGroupProvisioningState. + * is building. */ public static final WorkloadNetworkVMGroupProvisioningState BUILDING = fromString("Building"); /** - * Static value Deleting for WorkloadNetworkVMGroupProvisioningState. + * is deleting. */ public static final WorkloadNetworkVMGroupProvisioningState DELETING = fromString("Deleting"); /** - * Static value Updating for WorkloadNetworkVMGroupProvisioningState. + * is updating. */ public static final WorkloadNetworkVMGroupProvisioningState UPDATING = fromString("Updating"); diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVirtualMachine.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVirtualMachine.java index fa22a3fccf0e..1b8c67b47ec5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVirtualMachine.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworkVirtualMachine.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworks.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworks.java index e0b2c8394d12..ef5a927881b9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworks.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/WorkloadNetworks.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.models; @@ -470,7 +470,7 @@ PagedIterable listPublicIPs(String resourceGroupName, S * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @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. @@ -478,20 +478,20 @@ PagedIterable listPublicIPs(String resourceGroupName, S * @return a WorkloadNetworkPublicIP along with {@link Response}. */ Response getPublicIpWithResponse(String resourceGroupName, String privateCloudName, - String publicIpId, Context context); + String publicIPId, Context context); /** * Get a WorkloadNetworkPublicIP. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName Name of the private cloud. - * @param publicIpId ID of the DNS zone. + * @param publicIPId ID of the DNS zone. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.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 WorkloadNetworkPublicIP. */ - WorkloadNetworkPublicIp getPublicIp(String resourceGroupName, String privateCloudName, String publicIpId); + WorkloadNetworkPublicIp getPublicIp(String resourceGroupName, String privateCloudName, String publicIPId); /** * Delete a WorkloadNetworkPublicIP. diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/package-info.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/package-info.java index 6324b6c91578..5861083294c4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/package-info.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the data models for AvsClient. + * Package containing the data models for Avs. * Azure VMware Solution API. */ package com.azure.resourcemanager.avs.models; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/package-info.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/package-info.java index 5c45a9ed54e5..b6b9d1926f20 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/package-info.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/package-info.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. /** - * Package containing the classes for AvsClient. + * Package containing the classes for Avs. * Azure VMware Solution API. */ package com.azure.resourcemanager.avs; diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/java/module-info.java b/sdk/avs/azure-resourcemanager-avs/src/main/java/module-info.java index 87b5358a052c..50aced2f8e9c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/main/java/module-info.java +++ b/sdk/avs/azure-resourcemanager-avs/src/main/java/module-info.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. module com.azure.resourcemanager.avs { requires transitive com.azure.core.management; @@ -12,4 +12,5 @@ opens com.azure.resourcemanager.avs.fluent.models to com.azure.core; opens com.azure.resourcemanager.avs.models to com.azure.core; + opens com.azure.resourcemanager.avs.implementation.models to com.azure.core; } diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/resources/META-INF/azure-resourcemanager-avs_apiview_properties.json b/sdk/avs/azure-resourcemanager-avs/src/main/resources/META-INF/azure-resourcemanager-avs_apiview_properties.json new file mode 100644 index 000000000000..22f568370aa2 --- /dev/null +++ b/sdk/avs/azure-resourcemanager-avs/src/main/resources/META-INF/azure-resourcemanager-avs_apiview_properties.json @@ -0,0 +1,426 @@ +{ + "flavor": "azure", + "CrossLanguageDefinitionId": { + "com.azure.resourcemanager.avs.fluent.AddonsClient": "Customization.Addons", + "com.azure.resourcemanager.avs.fluent.AddonsClient.beginCreateOrUpdate": "Microsoft.AVS.Addons.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.AddonsClient.beginDelete": "Microsoft.AVS.Addons.delete", + "com.azure.resourcemanager.avs.fluent.AddonsClient.createOrUpdate": "Microsoft.AVS.Addons.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.AddonsClient.delete": "Microsoft.AVS.Addons.delete", + "com.azure.resourcemanager.avs.fluent.AddonsClient.get": "Microsoft.AVS.Addons.get", + "com.azure.resourcemanager.avs.fluent.AddonsClient.getWithResponse": "Microsoft.AVS.Addons.get", + "com.azure.resourcemanager.avs.fluent.AddonsClient.list": "Microsoft.AVS.Addons.list", + "com.azure.resourcemanager.avs.fluent.AuthorizationsClient": "Customization.Authorizations", + "com.azure.resourcemanager.avs.fluent.AuthorizationsClient.beginCreateOrUpdate": "Microsoft.AVS.Authorizations.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.AuthorizationsClient.beginDelete": "Microsoft.AVS.Authorizations.delete", + "com.azure.resourcemanager.avs.fluent.AuthorizationsClient.createOrUpdate": "Microsoft.AVS.Authorizations.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.AuthorizationsClient.delete": "Microsoft.AVS.Authorizations.delete", + "com.azure.resourcemanager.avs.fluent.AuthorizationsClient.get": "Microsoft.AVS.Authorizations.get", + "com.azure.resourcemanager.avs.fluent.AuthorizationsClient.getWithResponse": "Microsoft.AVS.Authorizations.get", + "com.azure.resourcemanager.avs.fluent.AuthorizationsClient.list": "Microsoft.AVS.Authorizations.list", + "com.azure.resourcemanager.avs.fluent.AvsClient": "Customization", + "com.azure.resourcemanager.avs.fluent.CloudLinksClient": "Customization.CloudLinks", + "com.azure.resourcemanager.avs.fluent.CloudLinksClient.beginCreateOrUpdate": "Microsoft.AVS.CloudLinks.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.CloudLinksClient.beginDelete": "Microsoft.AVS.CloudLinks.delete", + "com.azure.resourcemanager.avs.fluent.CloudLinksClient.createOrUpdate": "Microsoft.AVS.CloudLinks.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.CloudLinksClient.delete": "Microsoft.AVS.CloudLinks.delete", + "com.azure.resourcemanager.avs.fluent.CloudLinksClient.get": "Microsoft.AVS.CloudLinks.get", + "com.azure.resourcemanager.avs.fluent.CloudLinksClient.getWithResponse": "Microsoft.AVS.CloudLinks.get", + "com.azure.resourcemanager.avs.fluent.CloudLinksClient.list": "Microsoft.AVS.CloudLinks.list", + "com.azure.resourcemanager.avs.fluent.ClustersClient": "Customization.Clusters", + "com.azure.resourcemanager.avs.fluent.ClustersClient.beginCreateOrUpdate": "Microsoft.AVS.Clusters.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.ClustersClient.beginDelete": "Microsoft.AVS.Clusters.delete", + "com.azure.resourcemanager.avs.fluent.ClustersClient.beginUpdate": "Microsoft.AVS.Clusters.update", + "com.azure.resourcemanager.avs.fluent.ClustersClient.createOrUpdate": "Microsoft.AVS.Clusters.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.ClustersClient.delete": "Microsoft.AVS.Clusters.delete", + "com.azure.resourcemanager.avs.fluent.ClustersClient.get": "Microsoft.AVS.Clusters.get", + "com.azure.resourcemanager.avs.fluent.ClustersClient.getWithResponse": "Microsoft.AVS.Clusters.get", + "com.azure.resourcemanager.avs.fluent.ClustersClient.list": "Microsoft.AVS.Clusters.list", + "com.azure.resourcemanager.avs.fluent.ClustersClient.listZones": "Microsoft.AVS.Clusters.listZones", + "com.azure.resourcemanager.avs.fluent.ClustersClient.listZonesWithResponse": "Microsoft.AVS.Clusters.listZones", + "com.azure.resourcemanager.avs.fluent.ClustersClient.update": "Microsoft.AVS.Clusters.update", + "com.azure.resourcemanager.avs.fluent.DatastoresClient": "Customization.Datastores", + "com.azure.resourcemanager.avs.fluent.DatastoresClient.beginCreateOrUpdate": "Microsoft.AVS.Datastores.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.DatastoresClient.beginDelete": "Microsoft.AVS.Datastores.delete", + "com.azure.resourcemanager.avs.fluent.DatastoresClient.createOrUpdate": "Microsoft.AVS.Datastores.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.DatastoresClient.delete": "Microsoft.AVS.Datastores.delete", + "com.azure.resourcemanager.avs.fluent.DatastoresClient.get": "Microsoft.AVS.Datastores.get", + "com.azure.resourcemanager.avs.fluent.DatastoresClient.getWithResponse": "Microsoft.AVS.Datastores.get", + "com.azure.resourcemanager.avs.fluent.DatastoresClient.list": "Microsoft.AVS.Datastores.list", + "com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient": "Customization.GlobalReachConnections", + "com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.beginCreateOrUpdate": "Microsoft.AVS.GlobalReachConnections.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.beginDelete": "Microsoft.AVS.GlobalReachConnections.delete", + "com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.createOrUpdate": "Microsoft.AVS.GlobalReachConnections.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.delete": "Microsoft.AVS.GlobalReachConnections.delete", + "com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.get": "Microsoft.AVS.GlobalReachConnections.get", + "com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.getWithResponse": "Microsoft.AVS.GlobalReachConnections.get", + "com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.list": "Microsoft.AVS.GlobalReachConnections.list", + "com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient": "Customization.HcxEnterpriseSites", + "com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.createOrUpdate": "Microsoft.AVS.HcxEnterpriseSites.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.createOrUpdateWithResponse": "Microsoft.AVS.HcxEnterpriseSites.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.delete": "Microsoft.AVS.HcxEnterpriseSites.delete", + "com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.deleteWithResponse": "Microsoft.AVS.HcxEnterpriseSites.delete", + "com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.get": "Microsoft.AVS.HcxEnterpriseSites.get", + "com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.getWithResponse": "Microsoft.AVS.HcxEnterpriseSites.get", + "com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.list": "Microsoft.AVS.HcxEnterpriseSites.list", + "com.azure.resourcemanager.avs.fluent.HostsClient": "Customization.Hosts", + "com.azure.resourcemanager.avs.fluent.HostsClient.get": "Microsoft.AVS.Hosts.get", + "com.azure.resourcemanager.avs.fluent.HostsClient.getWithResponse": "Microsoft.AVS.Hosts.get", + "com.azure.resourcemanager.avs.fluent.HostsClient.list": "Microsoft.AVS.Hosts.list", + "com.azure.resourcemanager.avs.fluent.IscsiPathsClient": "Customization.IscsiPaths", + "com.azure.resourcemanager.avs.fluent.IscsiPathsClient.beginCreateOrUpdate": "Microsoft.AVS.IscsiPaths.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.IscsiPathsClient.beginDelete": "Microsoft.AVS.IscsiPaths.delete", + "com.azure.resourcemanager.avs.fluent.IscsiPathsClient.createOrUpdate": "Microsoft.AVS.IscsiPaths.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.IscsiPathsClient.delete": "Microsoft.AVS.IscsiPaths.delete", + "com.azure.resourcemanager.avs.fluent.IscsiPathsClient.get": "Microsoft.AVS.IscsiPaths.get", + "com.azure.resourcemanager.avs.fluent.IscsiPathsClient.getWithResponse": "Microsoft.AVS.IscsiPaths.get", + "com.azure.resourcemanager.avs.fluent.IscsiPathsClient.listByPrivateCloud": "Microsoft.AVS.IscsiPaths.listByPrivateCloud", + "com.azure.resourcemanager.avs.fluent.LocationsClient": "Customization.Locations", + "com.azure.resourcemanager.avs.fluent.LocationsClient.checkQuotaAvailability": "Microsoft.AVS.Locations.checkQuotaAvailability", + "com.azure.resourcemanager.avs.fluent.LocationsClient.checkQuotaAvailabilityWithResponse": "Microsoft.AVS.Locations.checkQuotaAvailability", + "com.azure.resourcemanager.avs.fluent.LocationsClient.checkTrialAvailability": "Microsoft.AVS.Locations.checkTrialAvailability", + "com.azure.resourcemanager.avs.fluent.LocationsClient.checkTrialAvailabilityWithResponse": "Microsoft.AVS.Locations.checkTrialAvailability", + "com.azure.resourcemanager.avs.fluent.OperationsClient": "Customization.Operations", + "com.azure.resourcemanager.avs.fluent.OperationsClient.list": "Azure.ResourceManager.Operations.list", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient": "Customization.PlacementPolicies", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.beginCreateOrUpdate": "Microsoft.AVS.PlacementPolicies.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.beginDelete": "Microsoft.AVS.PlacementPolicies.delete", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.beginUpdate": "Microsoft.AVS.PlacementPolicies.update", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.createOrUpdate": "Microsoft.AVS.PlacementPolicies.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.delete": "Microsoft.AVS.PlacementPolicies.delete", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.get": "Microsoft.AVS.PlacementPolicies.get", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.getWithResponse": "Microsoft.AVS.PlacementPolicies.get", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.list": "Microsoft.AVS.PlacementPolicies.list", + "com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.update": "Microsoft.AVS.PlacementPolicies.update", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient": "Customization.PrivateClouds", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginCreateOrUpdate": "Microsoft.AVS.PrivateClouds.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginDelete": "Microsoft.AVS.PrivateClouds.delete", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginRotateNsxtPassword": "Microsoft.AVS.PrivateClouds.rotateNsxtPassword", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginRotateVcenterPassword": "Microsoft.AVS.PrivateClouds.rotateVcenterPassword", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginUpdate": "Microsoft.AVS.PrivateClouds.update", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.createOrUpdate": "Microsoft.AVS.PrivateClouds.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.delete": "Microsoft.AVS.PrivateClouds.delete", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.getByResourceGroup": "Microsoft.AVS.PrivateClouds.get", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.getByResourceGroupWithResponse": "Microsoft.AVS.PrivateClouds.get", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.list": "Microsoft.AVS.PrivateClouds.listInSubscription", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.listAdminCredentials": "Microsoft.AVS.PrivateClouds.listAdminCredentials", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.listAdminCredentialsWithResponse": "Microsoft.AVS.PrivateClouds.listAdminCredentials", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.listByResourceGroup": "Microsoft.AVS.PrivateClouds.list", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.rotateNsxtPassword": "Microsoft.AVS.PrivateClouds.rotateNsxtPassword", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.rotateVcenterPassword": "Microsoft.AVS.PrivateClouds.rotateVcenterPassword", + "com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.update": "Microsoft.AVS.PrivateClouds.update", + "com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient": "Customization.ProvisionedNetworks", + "com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient.get": "Microsoft.AVS.ProvisionedNetworks.get", + "com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient.getWithResponse": "Microsoft.AVS.ProvisionedNetworks.get", + "com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient.list": "Microsoft.AVS.ProvisionedNetworks.list", + "com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient": "Customization.PureStoragePolicies", + "com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.beginCreateOrUpdate": "Microsoft.AVS.PureStoragePolicies.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.beginDelete": "Microsoft.AVS.PureStoragePolicies.delete", + "com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.createOrUpdate": "Microsoft.AVS.PureStoragePolicies.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.delete": "Microsoft.AVS.PureStoragePolicies.delete", + "com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.get": "Microsoft.AVS.PureStoragePolicies.get", + "com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.getWithResponse": "Microsoft.AVS.PureStoragePolicies.get", + "com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.list": "Microsoft.AVS.PureStoragePolicies.list", + "com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient": "Customization.ScriptCmdlets", + "com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient.get": "Microsoft.AVS.ScriptCmdlets.get", + "com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient.getWithResponse": "Microsoft.AVS.ScriptCmdlets.get", + "com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient.list": "Microsoft.AVS.ScriptCmdlets.list", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient": "Customization.ScriptExecutions", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.beginCreateOrUpdate": "Microsoft.AVS.ScriptExecutions.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.beginDelete": "Microsoft.AVS.ScriptExecutions.delete", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.createOrUpdate": "Microsoft.AVS.ScriptExecutions.createOrUpdate", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.delete": "Microsoft.AVS.ScriptExecutions.delete", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.get": "Microsoft.AVS.ScriptExecutions.get", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.getExecutionLogs": "Microsoft.AVS.ScriptExecutions.getExecutionLogs", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.getExecutionLogsWithResponse": "Microsoft.AVS.ScriptExecutions.getExecutionLogs", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.getWithResponse": "Microsoft.AVS.ScriptExecutions.get", + "com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.list": "Microsoft.AVS.ScriptExecutions.list", + "com.azure.resourcemanager.avs.fluent.ScriptPackagesClient": "Customization.ScriptPackages", + "com.azure.resourcemanager.avs.fluent.ScriptPackagesClient.get": "Microsoft.AVS.ScriptPackages.get", + "com.azure.resourcemanager.avs.fluent.ScriptPackagesClient.getWithResponse": "Microsoft.AVS.ScriptPackages.get", + "com.azure.resourcemanager.avs.fluent.ScriptPackagesClient.list": "Microsoft.AVS.ScriptPackages.list", + "com.azure.resourcemanager.avs.fluent.SkusClient": "Customization.Skus", + "com.azure.resourcemanager.avs.fluent.SkusClient.list": "Microsoft.AVS.Skus.list", + "com.azure.resourcemanager.avs.fluent.VirtualMachinesClient": "Customization.VirtualMachines", + "com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.beginRestrictMovement": "Microsoft.AVS.VirtualMachines.restrictMovement", + "com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.get": "Microsoft.AVS.VirtualMachines.get", + "com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.getWithResponse": "Microsoft.AVS.VirtualMachines.get", + "com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.list": "Microsoft.AVS.VirtualMachines.list", + "com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.restrictMovement": "Microsoft.AVS.VirtualMachines.restrictMovement", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient": "Customization.WorkloadNetworks", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateDhcp": "Customization.WorkloadNetworks.createDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateDnsService": "Customization.WorkloadNetworks.createDnsService", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateDnsZone": "Customization.WorkloadNetworks.createDnsZone", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreatePortMirroring": "Customization.WorkloadNetworks.createPortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreatePublicIp": "Customization.WorkloadNetworks.createPublicIP", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateSegments": "Customization.WorkloadNetworks.createSegment", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateVMGroup": "Customization.WorkloadNetworks.createVMGroup", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteDhcp": "Customization.WorkloadNetworks.deleteDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteDnsService": "Customization.WorkloadNetworks.deleteDnsService", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteDnsZone": "Customization.WorkloadNetworks.deleteDnsZone", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeletePortMirroring": "Customization.WorkloadNetworks.deletePortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeletePublicIp": "Customization.WorkloadNetworks.deletePublicIP", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteSegment": "Customization.WorkloadNetworks.deleteSegment", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteVMGroup": "Customization.WorkloadNetworks.deleteVMGroup", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateDhcp": "Customization.WorkloadNetworks.updateDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateDnsService": "Customization.WorkloadNetworks.updateDnsService", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateDnsZone": "Customization.WorkloadNetworks.updateDnsZone", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdatePortMirroring": "Customization.WorkloadNetworks.updatePortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateSegments": "Customization.WorkloadNetworks.updateSegment", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateVMGroup": "Customization.WorkloadNetworks.updateVMGroup", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createDhcp": "Customization.WorkloadNetworks.createDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createDnsService": "Customization.WorkloadNetworks.createDnsService", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createDnsZone": "Customization.WorkloadNetworks.createDnsZone", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createPortMirroring": "Customization.WorkloadNetworks.createPortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createPublicIp": "Customization.WorkloadNetworks.createPublicIP", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createSegments": "Customization.WorkloadNetworks.createSegment", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createVMGroup": "Customization.WorkloadNetworks.createVMGroup", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteDhcp": "Customization.WorkloadNetworks.deleteDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteDnsService": "Customization.WorkloadNetworks.deleteDnsService", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteDnsZone": "Customization.WorkloadNetworks.deleteDnsZone", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deletePortMirroring": "Customization.WorkloadNetworks.deletePortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deletePublicIp": "Customization.WorkloadNetworks.deletePublicIP", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteSegment": "Customization.WorkloadNetworks.deleteSegment", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteVMGroup": "Customization.WorkloadNetworks.deleteVMGroup", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.get": "Customization.WorkloadNetworks.get", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDhcp": "Customization.WorkloadNetworks.getDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDhcpWithResponse": "Customization.WorkloadNetworks.getDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDnsService": "Customization.WorkloadNetworks.getDnsService", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDnsServiceWithResponse": "Customization.WorkloadNetworks.getDnsService", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDnsZone": "Customization.WorkloadNetworks.getDnsZone", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDnsZoneWithResponse": "Customization.WorkloadNetworks.getDnsZone", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getGateway": "Customization.WorkloadNetworks.getGateway", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getGatewayWithResponse": "Customization.WorkloadNetworks.getGateway", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getPortMirroring": "Customization.WorkloadNetworks.getPortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getPortMirroringWithResponse": "Customization.WorkloadNetworks.getPortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getPublicIp": "Customization.WorkloadNetworks.getPublicIP", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getPublicIpWithResponse": "Customization.WorkloadNetworks.getPublicIP", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getSegment": "Customization.WorkloadNetworks.getSegment", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getSegmentWithResponse": "Customization.WorkloadNetworks.getSegment", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getVMGroup": "Customization.WorkloadNetworks.getVMGroup", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getVMGroupWithResponse": "Customization.WorkloadNetworks.getVMGroup", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getVirtualMachine": "Customization.WorkloadNetworks.getVirtualMachine", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getVirtualMachineWithResponse": "Customization.WorkloadNetworks.getVirtualMachine", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getWithResponse": "Customization.WorkloadNetworks.get", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.list": "Customization.WorkloadNetworks.list", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listDhcp": "Customization.WorkloadNetworks.listDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listDnsServices": "Customization.WorkloadNetworks.listDnsServices", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listDnsZones": "Customization.WorkloadNetworks.listDnsZones", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listGateways": "Customization.WorkloadNetworks.listGateways", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listPortMirroring": "Customization.WorkloadNetworks.listPortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listPublicIPs": "Customization.WorkloadNetworks.listPublicIPs", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listSegments": "Customization.WorkloadNetworks.listSegments", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listVMGroups": "Customization.WorkloadNetworks.listVMGroups", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listVirtualMachines": "Customization.WorkloadNetworks.listVirtualMachines", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateDhcp": "Customization.WorkloadNetworks.updateDhcp", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateDnsService": "Customization.WorkloadNetworks.updateDnsService", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateDnsZone": "Customization.WorkloadNetworks.updateDnsZone", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updatePortMirroring": "Customization.WorkloadNetworks.updatePortMirroring", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateSegments": "Customization.WorkloadNetworks.updateSegment", + "com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateVMGroup": "Customization.WorkloadNetworks.updateVMGroup", + "com.azure.resourcemanager.avs.fluent.models.AddonInner": "Microsoft.AVS.Addon", + "com.azure.resourcemanager.avs.fluent.models.AdminCredentialsInner": "Microsoft.AVS.AdminCredentials", + "com.azure.resourcemanager.avs.fluent.models.CloudLinkInner": "Microsoft.AVS.CloudLink", + "com.azure.resourcemanager.avs.fluent.models.CloudLinkProperties": "Microsoft.AVS.CloudLinkProperties", + "com.azure.resourcemanager.avs.fluent.models.ClusterInner": "Microsoft.AVS.Cluster", + "com.azure.resourcemanager.avs.fluent.models.ClusterProperties": "Microsoft.AVS.ClusterProperties", + "com.azure.resourcemanager.avs.fluent.models.ClusterUpdateProperties": "Microsoft.AVS.ClusterUpdateProperties", + "com.azure.resourcemanager.avs.fluent.models.ClusterZoneListInner": "Microsoft.AVS.ClusterZoneList", + "com.azure.resourcemanager.avs.fluent.models.DatastoreInner": "Microsoft.AVS.Datastore", + "com.azure.resourcemanager.avs.fluent.models.DatastoreProperties": "Microsoft.AVS.DatastoreProperties", + "com.azure.resourcemanager.avs.fluent.models.ExpressRouteAuthorizationInner": "Microsoft.AVS.ExpressRouteAuthorization", + "com.azure.resourcemanager.avs.fluent.models.ExpressRouteAuthorizationProperties": "Microsoft.AVS.ExpressRouteAuthorizationProperties", + "com.azure.resourcemanager.avs.fluent.models.GlobalReachConnectionInner": "Microsoft.AVS.GlobalReachConnection", + "com.azure.resourcemanager.avs.fluent.models.GlobalReachConnectionProperties": "Microsoft.AVS.GlobalReachConnectionProperties", + "com.azure.resourcemanager.avs.fluent.models.HcxEnterpriseSiteInner": "Microsoft.AVS.HcxEnterpriseSite", + "com.azure.resourcemanager.avs.fluent.models.HcxEnterpriseSiteProperties": "Microsoft.AVS.HcxEnterpriseSiteProperties", + "com.azure.resourcemanager.avs.fluent.models.HostModelInner": "Microsoft.AVS.Host", + "com.azure.resourcemanager.avs.fluent.models.IscsiPathInner": "Microsoft.AVS.IscsiPath", + "com.azure.resourcemanager.avs.fluent.models.IscsiPathProperties": "Microsoft.AVS.IscsiPathProperties", + "com.azure.resourcemanager.avs.fluent.models.OperationInner": "Azure.ResourceManager.CommonTypes.Operation", + "com.azure.resourcemanager.avs.fluent.models.PlacementPolicyInner": "Microsoft.AVS.PlacementPolicy", + "com.azure.resourcemanager.avs.fluent.models.PlacementPolicyUpdateProperties": "Microsoft.AVS.PlacementPolicyUpdateProperties", + "com.azure.resourcemanager.avs.fluent.models.PrivateCloudInner": "Microsoft.AVS.PrivateCloud", + "com.azure.resourcemanager.avs.fluent.models.PrivateCloudProperties": "Microsoft.AVS.PrivateCloudProperties", + "com.azure.resourcemanager.avs.fluent.models.PrivateCloudUpdateProperties": "Microsoft.AVS.PrivateCloudUpdateProperties", + "com.azure.resourcemanager.avs.fluent.models.ProvisionedNetworkInner": "Microsoft.AVS.ProvisionedNetwork", + "com.azure.resourcemanager.avs.fluent.models.PureStoragePolicyInner": "Microsoft.AVS.PureStoragePolicy", + "com.azure.resourcemanager.avs.fluent.models.QuotaInner": "Microsoft.AVS.Quota", + "com.azure.resourcemanager.avs.fluent.models.ResourceSkuInner": "Microsoft.AVS.ResourceSku", + "com.azure.resourcemanager.avs.fluent.models.ScriptCmdletInner": "Microsoft.AVS.ScriptCmdlet", + "com.azure.resourcemanager.avs.fluent.models.ScriptCmdletProperties": "Microsoft.AVS.ScriptCmdletProperties", + "com.azure.resourcemanager.avs.fluent.models.ScriptExecutionInner": "Microsoft.AVS.ScriptExecution", + "com.azure.resourcemanager.avs.fluent.models.ScriptExecutionProperties": "Microsoft.AVS.ScriptExecutionProperties", + "com.azure.resourcemanager.avs.fluent.models.ScriptPackageInner": "Microsoft.AVS.ScriptPackage", + "com.azure.resourcemanager.avs.fluent.models.ScriptPackageProperties": "Microsoft.AVS.ScriptPackageProperties", + "com.azure.resourcemanager.avs.fluent.models.TrialInner": "Microsoft.AVS.Trial", + "com.azure.resourcemanager.avs.fluent.models.VirtualMachineInner": "Microsoft.AVS.VirtualMachine", + "com.azure.resourcemanager.avs.fluent.models.VirtualMachineProperties": "Microsoft.AVS.VirtualMachineProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDhcpInner": "Microsoft.AVS.WorkloadNetworkDhcp", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsServiceInner": "Microsoft.AVS.WorkloadNetworkDnsService", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsServiceProperties": "Microsoft.AVS.WorkloadNetworkDnsServiceProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsZoneInner": "Microsoft.AVS.WorkloadNetworkDnsZone", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsZoneProperties": "Microsoft.AVS.WorkloadNetworkDnsZoneProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkGatewayInner": "Microsoft.AVS.WorkloadNetworkGateway", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkGatewayProperties": "Microsoft.AVS.WorkloadNetworkGatewayProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkInner": "Microsoft.AVS.WorkloadNetwork", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPortMirroringInner": "Microsoft.AVS.WorkloadNetworkPortMirroring", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPortMirroringProperties": "Microsoft.AVS.WorkloadNetworkPortMirroringProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkProperties": "Microsoft.AVS.WorkloadNetworkProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPublicIpInner": "Microsoft.AVS.WorkloadNetworkPublicIP", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPublicIpProperties": "Microsoft.AVS.WorkloadNetworkPublicIPProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentInner": "Microsoft.AVS.WorkloadNetworkSegment", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentProperties": "Microsoft.AVS.WorkloadNetworkSegmentProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVMGroupInner": "Microsoft.AVS.WorkloadNetworkVMGroup", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVMGroupProperties": "Microsoft.AVS.WorkloadNetworkVMGroupProperties", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineInner": "Microsoft.AVS.WorkloadNetworkVirtualMachine", + "com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineProperties": "Microsoft.AVS.WorkloadNetworkVirtualMachineProperties", + "com.azure.resourcemanager.avs.implementation.AvsClientBuilder": "Customization", + "com.azure.resourcemanager.avs.implementation.models.AddonList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.CloudLinkList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.ClusterList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.DatastoreList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.ExpressRouteAuthorizationList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.GlobalReachConnectionList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.HcxEnterpriseSiteList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.HostListResult": "Azure.ResourceManager.ResourceListResult", + "com.azure.resourcemanager.avs.implementation.models.IscsiPathListResult": "Azure.ResourceManager.ResourceListResult", + "com.azure.resourcemanager.avs.implementation.models.OperationListResult": "Azure.ResourceManager.CommonTypes.OperationListResult", + "com.azure.resourcemanager.avs.implementation.models.PagedResourceSku": "Azure.Core.Page", + "com.azure.resourcemanager.avs.implementation.models.PlacementPoliciesList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.PrivateCloudList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.ProvisionedNetworkListResult": "Azure.ResourceManager.ResourceListResult", + "com.azure.resourcemanager.avs.implementation.models.PureStoragePolicyListResult": "Azure.ResourceManager.ResourceListResult", + "com.azure.resourcemanager.avs.implementation.models.ScriptCmdletsList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.ScriptExecutionsList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.ScriptPackagesList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.VirtualMachinesList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDhcpList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDnsServicesList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDnsZonesList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkGatewayList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkPortMirroringList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkPublicIPsList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkSegmentsList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkVMGroupsList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkVirtualMachinesList": "Microsoft.AVS.ResourceList", + "com.azure.resourcemanager.avs.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType", + "com.azure.resourcemanager.avs.models.AddonArcProperties": "Microsoft.AVS.AddonArcProperties", + "com.azure.resourcemanager.avs.models.AddonHcxProperties": "Microsoft.AVS.AddonHcxProperties", + "com.azure.resourcemanager.avs.models.AddonProperties": "Microsoft.AVS.AddonProperties", + "com.azure.resourcemanager.avs.models.AddonProvisioningState": "Microsoft.AVS.AddonProvisioningState", + "com.azure.resourcemanager.avs.models.AddonSrmProperties": "Microsoft.AVS.AddonSrmProperties", + "com.azure.resourcemanager.avs.models.AddonType": "Microsoft.AVS.AddonType", + "com.azure.resourcemanager.avs.models.AddonVrProperties": "Microsoft.AVS.AddonVrProperties", + "com.azure.resourcemanager.avs.models.AffinityStrength": "Microsoft.AVS.AffinityStrength", + "com.azure.resourcemanager.avs.models.AffinityType": "Microsoft.AVS.AffinityType", + "com.azure.resourcemanager.avs.models.AvailabilityProperties": "Microsoft.AVS.AvailabilityProperties", + "com.azure.resourcemanager.avs.models.AvailabilityStrategy": "Microsoft.AVS.AvailabilityStrategy", + "com.azure.resourcemanager.avs.models.AzureHybridBenefitType": "Microsoft.AVS.AzureHybridBenefitType", + "com.azure.resourcemanager.avs.models.Circuit": "Microsoft.AVS.Circuit", + "com.azure.resourcemanager.avs.models.CloudLinkProvisioningState": "Microsoft.AVS.CloudLinkProvisioningState", + "com.azure.resourcemanager.avs.models.CloudLinkStatus": "Microsoft.AVS.CloudLinkStatus", + "com.azure.resourcemanager.avs.models.ClusterProvisioningState": "Microsoft.AVS.ClusterProvisioningState", + "com.azure.resourcemanager.avs.models.ClusterUpdate": "Microsoft.AVS.ClusterUpdate", + "com.azure.resourcemanager.avs.models.ClusterZone": "Microsoft.AVS.ClusterZone", + "com.azure.resourcemanager.avs.models.DatastoreProvisioningState": "Microsoft.AVS.DatastoreProvisioningState", + "com.azure.resourcemanager.avs.models.DatastoreStatus": "Microsoft.AVS.DatastoreStatus", + "com.azure.resourcemanager.avs.models.DhcpTypeEnum": "Microsoft.AVS.DhcpTypeEnum", + "com.azure.resourcemanager.avs.models.DiskPoolVolume": "Microsoft.AVS.DiskPoolVolume", + "com.azure.resourcemanager.avs.models.DnsServiceLogLevelEnum": "Microsoft.AVS.DnsServiceLogLevelEnum", + "com.azure.resourcemanager.avs.models.DnsServiceStatusEnum": "Microsoft.AVS.DnsServiceStatusEnum", + "com.azure.resourcemanager.avs.models.DnsZoneType": "Microsoft.AVS.DnsZoneType", + "com.azure.resourcemanager.avs.models.ElasticSanVolume": "Microsoft.AVS.ElasticSanVolume", + "com.azure.resourcemanager.avs.models.Encryption": "Microsoft.AVS.Encryption", + "com.azure.resourcemanager.avs.models.EncryptionKeyStatus": "Microsoft.AVS.EncryptionKeyStatus", + "com.azure.resourcemanager.avs.models.EncryptionKeyVaultProperties": "Microsoft.AVS.EncryptionKeyVaultProperties", + "com.azure.resourcemanager.avs.models.EncryptionState": "Microsoft.AVS.EncryptionState", + "com.azure.resourcemanager.avs.models.EncryptionVersionType": "Microsoft.AVS.EncryptionVersionType", + "com.azure.resourcemanager.avs.models.Endpoints": "Microsoft.AVS.Endpoints", + "com.azure.resourcemanager.avs.models.ExpressRouteAuthorizationProvisioningState": "Microsoft.AVS.ExpressRouteAuthorizationProvisioningState", + "com.azure.resourcemanager.avs.models.GeneralHostProperties": "Microsoft.AVS.GeneralHostProperties", + "com.azure.resourcemanager.avs.models.GlobalReachConnectionProvisioningState": "Microsoft.AVS.GlobalReachConnectionProvisioningState", + "com.azure.resourcemanager.avs.models.GlobalReachConnectionStatus": "Microsoft.AVS.GlobalReachConnectionStatus", + "com.azure.resourcemanager.avs.models.HcxEnterpriseSiteProvisioningState": "Microsoft.AVS.HcxEnterpriseSiteProvisioningState", + "com.azure.resourcemanager.avs.models.HcxEnterpriseSiteStatus": "Microsoft.AVS.HcxEnterpriseSiteStatus", + "com.azure.resourcemanager.avs.models.HostKind": "Microsoft.AVS.HostKind", + "com.azure.resourcemanager.avs.models.HostMaintenance": "Microsoft.AVS.HostMaintenance", + "com.azure.resourcemanager.avs.models.HostProperties": "Microsoft.AVS.HostProperties", + "com.azure.resourcemanager.avs.models.HostProvisioningState": "Microsoft.AVS.HostProvisioningState", + "com.azure.resourcemanager.avs.models.IdentitySource": "Microsoft.AVS.IdentitySource", + "com.azure.resourcemanager.avs.models.InternetEnum": "Microsoft.AVS.InternetEnum", + "com.azure.resourcemanager.avs.models.IscsiPathProvisioningState": "Microsoft.AVS.IscsiPathProvisioningState", + "com.azure.resourcemanager.avs.models.ManagementCluster": "Microsoft.AVS.ManagementCluster", + "com.azure.resourcemanager.avs.models.MountOptionEnum": "Microsoft.AVS.MountOptionEnum", + "com.azure.resourcemanager.avs.models.NetAppVolume": "Microsoft.AVS.NetAppVolume", + "com.azure.resourcemanager.avs.models.NsxPublicIpQuotaRaisedEnum": "Microsoft.AVS.NsxPublicIpQuotaRaisedEnum", + "com.azure.resourcemanager.avs.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "com.azure.resourcemanager.avs.models.OptionalParamEnum": "Microsoft.AVS.OptionalParamEnum", + "com.azure.resourcemanager.avs.models.Origin": "Azure.ResourceManager.CommonTypes.Origin", + "com.azure.resourcemanager.avs.models.PSCredentialExecutionParameter": "Microsoft.AVS.PSCredentialExecutionParameter", + "com.azure.resourcemanager.avs.models.PlacementPolicyProperties": "Microsoft.AVS.PlacementPolicyProperties", + "com.azure.resourcemanager.avs.models.PlacementPolicyProvisioningState": "Microsoft.AVS.PlacementPolicyProvisioningState", + "com.azure.resourcemanager.avs.models.PlacementPolicyState": "Microsoft.AVS.PlacementPolicyState", + "com.azure.resourcemanager.avs.models.PlacementPolicyType": "Microsoft.AVS.PlacementPolicyType", + "com.azure.resourcemanager.avs.models.PlacementPolicyUpdate": "Microsoft.AVS.PlacementPolicyUpdate", + "com.azure.resourcemanager.avs.models.PortMirroringDirectionEnum": "Microsoft.AVS.PortMirroringDirectionEnum", + "com.azure.resourcemanager.avs.models.PortMirroringStatusEnum": "Microsoft.AVS.PortMirroringStatusEnum", + "com.azure.resourcemanager.avs.models.PrivateCloudIdentity": "Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentity", + "com.azure.resourcemanager.avs.models.PrivateCloudProvisioningState": "Microsoft.AVS.PrivateCloudProvisioningState", + "com.azure.resourcemanager.avs.models.PrivateCloudUpdate": "Microsoft.AVS.PrivateCloudUpdate", + "com.azure.resourcemanager.avs.models.ProvisionedNetworkProperties": "Microsoft.AVS.ProvisionedNetworkProperties", + "com.azure.resourcemanager.avs.models.ProvisionedNetworkProvisioningState": "Microsoft.AVS.ProvisionedNetworkProvisioningState", + "com.azure.resourcemanager.avs.models.ProvisionedNetworkTypes": "Microsoft.AVS.ProvisionedNetworkTypes", + "com.azure.resourcemanager.avs.models.PureStoragePolicyProperties": "Microsoft.AVS.PureStoragePolicyProperties", + "com.azure.resourcemanager.avs.models.PureStoragePolicyProvisioningState": "Microsoft.AVS.PureStoragePolicyProvisioningState", + "com.azure.resourcemanager.avs.models.PureStorageVolume": "Microsoft.AVS.PureStorageVolume", + "com.azure.resourcemanager.avs.models.QuotaEnabled": "Microsoft.AVS.QuotaEnabled", + "com.azure.resourcemanager.avs.models.ResourceIdentityType": "Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentityType", + "com.azure.resourcemanager.avs.models.ResourceSkuCapabilities": "Microsoft.AVS.ResourceSkuCapabilities", + "com.azure.resourcemanager.avs.models.ResourceSkuLocationInfo": "Microsoft.AVS.ResourceSkuLocationInfo", + "com.azure.resourcemanager.avs.models.ResourceSkuResourceType": "Microsoft.AVS.ResourceSkuResourceType", + "com.azure.resourcemanager.avs.models.ResourceSkuRestrictionInfo": "Microsoft.AVS.ResourceSkuRestrictionInfo", + "com.azure.resourcemanager.avs.models.ResourceSkuRestrictions": "Microsoft.AVS.ResourceSkuRestrictions", + "com.azure.resourcemanager.avs.models.ResourceSkuRestrictionsReasonCode": "Microsoft.AVS.ResourceSkuRestrictionsReasonCode", + "com.azure.resourcemanager.avs.models.ResourceSkuRestrictionsType": "Microsoft.AVS.ResourceSkuRestrictionsType", + "com.azure.resourcemanager.avs.models.ResourceSkuZoneDetails": "Microsoft.AVS.ResourceSkuZoneDetails", + "com.azure.resourcemanager.avs.models.ScriptCmdletAudience": "Microsoft.AVS.ScriptCmdletAudience", + "com.azure.resourcemanager.avs.models.ScriptCmdletProvisioningState": "Microsoft.AVS.ScriptCmdletProvisioningState", + "com.azure.resourcemanager.avs.models.ScriptExecutionParameter": "Microsoft.AVS.ScriptExecutionParameter", + "com.azure.resourcemanager.avs.models.ScriptExecutionParameterType": "Microsoft.AVS.ScriptExecutionParameterType", + "com.azure.resourcemanager.avs.models.ScriptExecutionProvisioningState": "Microsoft.AVS.ScriptExecutionProvisioningState", + "com.azure.resourcemanager.avs.models.ScriptOutputStreamType": "Microsoft.AVS.ScriptOutputStreamType", + "com.azure.resourcemanager.avs.models.ScriptPackageProvisioningState": "Microsoft.AVS.ScriptPackageProvisioningState", + "com.azure.resourcemanager.avs.models.ScriptParameter": "Microsoft.AVS.ScriptParameter", + "com.azure.resourcemanager.avs.models.ScriptParameterTypes": "Microsoft.AVS.ScriptParameterTypes", + "com.azure.resourcemanager.avs.models.ScriptSecureStringExecutionParameter": "Microsoft.AVS.ScriptSecureStringExecutionParameter", + "com.azure.resourcemanager.avs.models.ScriptStringExecutionParameter": "Microsoft.AVS.ScriptStringExecutionParameter", + "com.azure.resourcemanager.avs.models.SegmentStatusEnum": "Microsoft.AVS.SegmentStatusEnum", + "com.azure.resourcemanager.avs.models.Sku": "Azure.ResourceManager.CommonTypes.Sku", + "com.azure.resourcemanager.avs.models.SkuTier": "Azure.ResourceManager.CommonTypes.SkuTier", + "com.azure.resourcemanager.avs.models.SpecializedHostProperties": "Microsoft.AVS.SpecializedHostProperties", + "com.azure.resourcemanager.avs.models.SslEnum": "Microsoft.AVS.SslEnum", + "com.azure.resourcemanager.avs.models.TrialStatus": "Microsoft.AVS.TrialStatus", + "com.azure.resourcemanager.avs.models.VMGroupStatusEnum": "Microsoft.AVS.VMGroupStatusEnum", + "com.azure.resourcemanager.avs.models.VMTypeEnum": "Microsoft.AVS.VMTypeEnum", + "com.azure.resourcemanager.avs.models.VirtualMachineProvisioningState": "Microsoft.AVS.VirtualMachineProvisioningState", + "com.azure.resourcemanager.avs.models.VirtualMachineRestrictMovement": "Microsoft.AVS.VirtualMachineRestrictMovement", + "com.azure.resourcemanager.avs.models.VirtualMachineRestrictMovementState": "Microsoft.AVS.VirtualMachineRestrictMovementState", + "com.azure.resourcemanager.avs.models.VisibilityParameterEnum": "Microsoft.AVS.VisibilityParameterEnum", + "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties": "Microsoft.AVS.VmHostPlacementPolicyProperties", + "com.azure.resourcemanager.avs.models.VmPlacementPolicyProperties": "Microsoft.AVS.VmVmPlacementPolicyProperties", + "com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpEntity": "Microsoft.AVS.WorkloadNetworkDhcpEntity", + "com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpProvisioningState": "Microsoft.AVS.WorkloadNetworkDhcpProvisioningState", + "com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpRelay": "Microsoft.AVS.WorkloadNetworkDhcpRelay", + "com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpServer": "Microsoft.AVS.WorkloadNetworkDhcpServer", + "com.azure.resourcemanager.avs.models.WorkloadNetworkDnsServiceProvisioningState": "Microsoft.AVS.WorkloadNetworkDnsServiceProvisioningState", + "com.azure.resourcemanager.avs.models.WorkloadNetworkDnsZoneProvisioningState": "Microsoft.AVS.WorkloadNetworkDnsZoneProvisioningState", + "com.azure.resourcemanager.avs.models.WorkloadNetworkPortMirroringProvisioningState": "Microsoft.AVS.WorkloadNetworkPortMirroringProvisioningState", + "com.azure.resourcemanager.avs.models.WorkloadNetworkProvisioningState": "Microsoft.AVS.WorkloadNetworkProvisioningState", + "com.azure.resourcemanager.avs.models.WorkloadNetworkPublicIpProvisioningState": "Microsoft.AVS.WorkloadNetworkPublicIPProvisioningState", + "com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentPortVif": "Microsoft.AVS.WorkloadNetworkSegmentPortVif", + "com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentProvisioningState": "Microsoft.AVS.WorkloadNetworkSegmentProvisioningState", + "com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentSubnet": "Microsoft.AVS.WorkloadNetworkSegmentSubnet", + "com.azure.resourcemanager.avs.models.WorkloadNetworkVMGroupProvisioningState": "Microsoft.AVS.WorkloadNetworkVMGroupProvisioningState" + } +} diff --git a/sdk/avs/azure-resourcemanager-avs/src/main/resources/META-INF/azure-resourcemanager-avs_metadata.json b/sdk/avs/azure-resourcemanager-avs/src/main/resources/META-INF/azure-resourcemanager-avs_metadata.json new file mode 100644 index 000000000000..c3c6ad987624 --- /dev/null +++ b/sdk/avs/azure-resourcemanager-avs/src/main/resources/META-INF/azure-resourcemanager-avs_metadata.json @@ -0,0 +1 @@ +{"flavor":"azure","apiVersion":"2024-09-01","crossLanguageDefinitions":{"com.azure.resourcemanager.avs.fluent.AddonsClient":"Customization.Addons","com.azure.resourcemanager.avs.fluent.AddonsClient.beginCreateOrUpdate":"Microsoft.AVS.Addons.createOrUpdate","com.azure.resourcemanager.avs.fluent.AddonsClient.beginDelete":"Microsoft.AVS.Addons.delete","com.azure.resourcemanager.avs.fluent.AddonsClient.createOrUpdate":"Microsoft.AVS.Addons.createOrUpdate","com.azure.resourcemanager.avs.fluent.AddonsClient.delete":"Microsoft.AVS.Addons.delete","com.azure.resourcemanager.avs.fluent.AddonsClient.get":"Microsoft.AVS.Addons.get","com.azure.resourcemanager.avs.fluent.AddonsClient.getWithResponse":"Microsoft.AVS.Addons.get","com.azure.resourcemanager.avs.fluent.AddonsClient.list":"Microsoft.AVS.Addons.list","com.azure.resourcemanager.avs.fluent.AuthorizationsClient":"Customization.Authorizations","com.azure.resourcemanager.avs.fluent.AuthorizationsClient.beginCreateOrUpdate":"Microsoft.AVS.Authorizations.createOrUpdate","com.azure.resourcemanager.avs.fluent.AuthorizationsClient.beginDelete":"Microsoft.AVS.Authorizations.delete","com.azure.resourcemanager.avs.fluent.AuthorizationsClient.createOrUpdate":"Microsoft.AVS.Authorizations.createOrUpdate","com.azure.resourcemanager.avs.fluent.AuthorizationsClient.delete":"Microsoft.AVS.Authorizations.delete","com.azure.resourcemanager.avs.fluent.AuthorizationsClient.get":"Microsoft.AVS.Authorizations.get","com.azure.resourcemanager.avs.fluent.AuthorizationsClient.getWithResponse":"Microsoft.AVS.Authorizations.get","com.azure.resourcemanager.avs.fluent.AuthorizationsClient.list":"Microsoft.AVS.Authorizations.list","com.azure.resourcemanager.avs.fluent.AvsClient":"Customization","com.azure.resourcemanager.avs.fluent.CloudLinksClient":"Customization.CloudLinks","com.azure.resourcemanager.avs.fluent.CloudLinksClient.beginCreateOrUpdate":"Microsoft.AVS.CloudLinks.createOrUpdate","com.azure.resourcemanager.avs.fluent.CloudLinksClient.beginDelete":"Microsoft.AVS.CloudLinks.delete","com.azure.resourcemanager.avs.fluent.CloudLinksClient.createOrUpdate":"Microsoft.AVS.CloudLinks.createOrUpdate","com.azure.resourcemanager.avs.fluent.CloudLinksClient.delete":"Microsoft.AVS.CloudLinks.delete","com.azure.resourcemanager.avs.fluent.CloudLinksClient.get":"Microsoft.AVS.CloudLinks.get","com.azure.resourcemanager.avs.fluent.CloudLinksClient.getWithResponse":"Microsoft.AVS.CloudLinks.get","com.azure.resourcemanager.avs.fluent.CloudLinksClient.list":"Microsoft.AVS.CloudLinks.list","com.azure.resourcemanager.avs.fluent.ClustersClient":"Customization.Clusters","com.azure.resourcemanager.avs.fluent.ClustersClient.beginCreateOrUpdate":"Microsoft.AVS.Clusters.createOrUpdate","com.azure.resourcemanager.avs.fluent.ClustersClient.beginDelete":"Microsoft.AVS.Clusters.delete","com.azure.resourcemanager.avs.fluent.ClustersClient.beginUpdate":"Microsoft.AVS.Clusters.update","com.azure.resourcemanager.avs.fluent.ClustersClient.createOrUpdate":"Microsoft.AVS.Clusters.createOrUpdate","com.azure.resourcemanager.avs.fluent.ClustersClient.delete":"Microsoft.AVS.Clusters.delete","com.azure.resourcemanager.avs.fluent.ClustersClient.get":"Microsoft.AVS.Clusters.get","com.azure.resourcemanager.avs.fluent.ClustersClient.getWithResponse":"Microsoft.AVS.Clusters.get","com.azure.resourcemanager.avs.fluent.ClustersClient.list":"Microsoft.AVS.Clusters.list","com.azure.resourcemanager.avs.fluent.ClustersClient.listZones":"Microsoft.AVS.Clusters.listZones","com.azure.resourcemanager.avs.fluent.ClustersClient.listZonesWithResponse":"Microsoft.AVS.Clusters.listZones","com.azure.resourcemanager.avs.fluent.ClustersClient.update":"Microsoft.AVS.Clusters.update","com.azure.resourcemanager.avs.fluent.DatastoresClient":"Customization.Datastores","com.azure.resourcemanager.avs.fluent.DatastoresClient.beginCreateOrUpdate":"Microsoft.AVS.Datastores.createOrUpdate","com.azure.resourcemanager.avs.fluent.DatastoresClient.beginDelete":"Microsoft.AVS.Datastores.delete","com.azure.resourcemanager.avs.fluent.DatastoresClient.createOrUpdate":"Microsoft.AVS.Datastores.createOrUpdate","com.azure.resourcemanager.avs.fluent.DatastoresClient.delete":"Microsoft.AVS.Datastores.delete","com.azure.resourcemanager.avs.fluent.DatastoresClient.get":"Microsoft.AVS.Datastores.get","com.azure.resourcemanager.avs.fluent.DatastoresClient.getWithResponse":"Microsoft.AVS.Datastores.get","com.azure.resourcemanager.avs.fluent.DatastoresClient.list":"Microsoft.AVS.Datastores.list","com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient":"Customization.GlobalReachConnections","com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.beginCreateOrUpdate":"Microsoft.AVS.GlobalReachConnections.createOrUpdate","com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.beginDelete":"Microsoft.AVS.GlobalReachConnections.delete","com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.createOrUpdate":"Microsoft.AVS.GlobalReachConnections.createOrUpdate","com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.delete":"Microsoft.AVS.GlobalReachConnections.delete","com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.get":"Microsoft.AVS.GlobalReachConnections.get","com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.getWithResponse":"Microsoft.AVS.GlobalReachConnections.get","com.azure.resourcemanager.avs.fluent.GlobalReachConnectionsClient.list":"Microsoft.AVS.GlobalReachConnections.list","com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient":"Customization.HcxEnterpriseSites","com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.createOrUpdate":"Microsoft.AVS.HcxEnterpriseSites.createOrUpdate","com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.createOrUpdateWithResponse":"Microsoft.AVS.HcxEnterpriseSites.createOrUpdate","com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.delete":"Microsoft.AVS.HcxEnterpriseSites.delete","com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.deleteWithResponse":"Microsoft.AVS.HcxEnterpriseSites.delete","com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.get":"Microsoft.AVS.HcxEnterpriseSites.get","com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.getWithResponse":"Microsoft.AVS.HcxEnterpriseSites.get","com.azure.resourcemanager.avs.fluent.HcxEnterpriseSitesClient.list":"Microsoft.AVS.HcxEnterpriseSites.list","com.azure.resourcemanager.avs.fluent.HostsClient":"Customization.Hosts","com.azure.resourcemanager.avs.fluent.HostsClient.get":"Microsoft.AVS.Hosts.get","com.azure.resourcemanager.avs.fluent.HostsClient.getWithResponse":"Microsoft.AVS.Hosts.get","com.azure.resourcemanager.avs.fluent.HostsClient.list":"Microsoft.AVS.Hosts.list","com.azure.resourcemanager.avs.fluent.IscsiPathsClient":"Customization.IscsiPaths","com.azure.resourcemanager.avs.fluent.IscsiPathsClient.beginCreateOrUpdate":"Microsoft.AVS.IscsiPaths.createOrUpdate","com.azure.resourcemanager.avs.fluent.IscsiPathsClient.beginDelete":"Microsoft.AVS.IscsiPaths.delete","com.azure.resourcemanager.avs.fluent.IscsiPathsClient.createOrUpdate":"Microsoft.AVS.IscsiPaths.createOrUpdate","com.azure.resourcemanager.avs.fluent.IscsiPathsClient.delete":"Microsoft.AVS.IscsiPaths.delete","com.azure.resourcemanager.avs.fluent.IscsiPathsClient.get":"Microsoft.AVS.IscsiPaths.get","com.azure.resourcemanager.avs.fluent.IscsiPathsClient.getWithResponse":"Microsoft.AVS.IscsiPaths.get","com.azure.resourcemanager.avs.fluent.IscsiPathsClient.listByPrivateCloud":"Microsoft.AVS.IscsiPaths.listByPrivateCloud","com.azure.resourcemanager.avs.fluent.LocationsClient":"Customization.Locations","com.azure.resourcemanager.avs.fluent.LocationsClient.checkQuotaAvailability":"Microsoft.AVS.Locations.checkQuotaAvailability","com.azure.resourcemanager.avs.fluent.LocationsClient.checkQuotaAvailabilityWithResponse":"Microsoft.AVS.Locations.checkQuotaAvailability","com.azure.resourcemanager.avs.fluent.LocationsClient.checkTrialAvailability":"Microsoft.AVS.Locations.checkTrialAvailability","com.azure.resourcemanager.avs.fluent.LocationsClient.checkTrialAvailabilityWithResponse":"Microsoft.AVS.Locations.checkTrialAvailability","com.azure.resourcemanager.avs.fluent.OperationsClient":"Customization.Operations","com.azure.resourcemanager.avs.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient":"Customization.PlacementPolicies","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.beginCreateOrUpdate":"Microsoft.AVS.PlacementPolicies.createOrUpdate","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.beginDelete":"Microsoft.AVS.PlacementPolicies.delete","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.beginUpdate":"Microsoft.AVS.PlacementPolicies.update","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.createOrUpdate":"Microsoft.AVS.PlacementPolicies.createOrUpdate","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.delete":"Microsoft.AVS.PlacementPolicies.delete","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.get":"Microsoft.AVS.PlacementPolicies.get","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.getWithResponse":"Microsoft.AVS.PlacementPolicies.get","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.list":"Microsoft.AVS.PlacementPolicies.list","com.azure.resourcemanager.avs.fluent.PlacementPoliciesClient.update":"Microsoft.AVS.PlacementPolicies.update","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient":"Customization.PrivateClouds","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginCreateOrUpdate":"Microsoft.AVS.PrivateClouds.createOrUpdate","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginDelete":"Microsoft.AVS.PrivateClouds.delete","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginRotateNsxtPassword":"Microsoft.AVS.PrivateClouds.rotateNsxtPassword","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginRotateVcenterPassword":"Microsoft.AVS.PrivateClouds.rotateVcenterPassword","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.beginUpdate":"Microsoft.AVS.PrivateClouds.update","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.createOrUpdate":"Microsoft.AVS.PrivateClouds.createOrUpdate","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.delete":"Microsoft.AVS.PrivateClouds.delete","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.getByResourceGroup":"Microsoft.AVS.PrivateClouds.get","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.getByResourceGroupWithResponse":"Microsoft.AVS.PrivateClouds.get","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.list":"Microsoft.AVS.PrivateClouds.listInSubscription","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.listAdminCredentials":"Microsoft.AVS.PrivateClouds.listAdminCredentials","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.listAdminCredentialsWithResponse":"Microsoft.AVS.PrivateClouds.listAdminCredentials","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.listByResourceGroup":"Microsoft.AVS.PrivateClouds.list","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.rotateNsxtPassword":"Microsoft.AVS.PrivateClouds.rotateNsxtPassword","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.rotateVcenterPassword":"Microsoft.AVS.PrivateClouds.rotateVcenterPassword","com.azure.resourcemanager.avs.fluent.PrivateCloudsClient.update":"Microsoft.AVS.PrivateClouds.update","com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient":"Customization.ProvisionedNetworks","com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient.get":"Microsoft.AVS.ProvisionedNetworks.get","com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient.getWithResponse":"Microsoft.AVS.ProvisionedNetworks.get","com.azure.resourcemanager.avs.fluent.ProvisionedNetworksClient.list":"Microsoft.AVS.ProvisionedNetworks.list","com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient":"Customization.PureStoragePolicies","com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.beginCreateOrUpdate":"Microsoft.AVS.PureStoragePolicies.createOrUpdate","com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.beginDelete":"Microsoft.AVS.PureStoragePolicies.delete","com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.createOrUpdate":"Microsoft.AVS.PureStoragePolicies.createOrUpdate","com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.delete":"Microsoft.AVS.PureStoragePolicies.delete","com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.get":"Microsoft.AVS.PureStoragePolicies.get","com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.getWithResponse":"Microsoft.AVS.PureStoragePolicies.get","com.azure.resourcemanager.avs.fluent.PureStoragePoliciesClient.list":"Microsoft.AVS.PureStoragePolicies.list","com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient":"Customization.ScriptCmdlets","com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient.get":"Microsoft.AVS.ScriptCmdlets.get","com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient.getWithResponse":"Microsoft.AVS.ScriptCmdlets.get","com.azure.resourcemanager.avs.fluent.ScriptCmdletsClient.list":"Microsoft.AVS.ScriptCmdlets.list","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient":"Customization.ScriptExecutions","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.beginCreateOrUpdate":"Microsoft.AVS.ScriptExecutions.createOrUpdate","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.beginDelete":"Microsoft.AVS.ScriptExecutions.delete","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.createOrUpdate":"Microsoft.AVS.ScriptExecutions.createOrUpdate","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.delete":"Microsoft.AVS.ScriptExecutions.delete","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.get":"Microsoft.AVS.ScriptExecutions.get","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.getExecutionLogs":"Microsoft.AVS.ScriptExecutions.getExecutionLogs","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.getExecutionLogsWithResponse":"Microsoft.AVS.ScriptExecutions.getExecutionLogs","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.getWithResponse":"Microsoft.AVS.ScriptExecutions.get","com.azure.resourcemanager.avs.fluent.ScriptExecutionsClient.list":"Microsoft.AVS.ScriptExecutions.list","com.azure.resourcemanager.avs.fluent.ScriptPackagesClient":"Customization.ScriptPackages","com.azure.resourcemanager.avs.fluent.ScriptPackagesClient.get":"Microsoft.AVS.ScriptPackages.get","com.azure.resourcemanager.avs.fluent.ScriptPackagesClient.getWithResponse":"Microsoft.AVS.ScriptPackages.get","com.azure.resourcemanager.avs.fluent.ScriptPackagesClient.list":"Microsoft.AVS.ScriptPackages.list","com.azure.resourcemanager.avs.fluent.SkusClient":"Customization.Skus","com.azure.resourcemanager.avs.fluent.SkusClient.list":"Microsoft.AVS.Skus.list","com.azure.resourcemanager.avs.fluent.VirtualMachinesClient":"Customization.VirtualMachines","com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.beginRestrictMovement":"Microsoft.AVS.VirtualMachines.restrictMovement","com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.get":"Microsoft.AVS.VirtualMachines.get","com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.getWithResponse":"Microsoft.AVS.VirtualMachines.get","com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.list":"Microsoft.AVS.VirtualMachines.list","com.azure.resourcemanager.avs.fluent.VirtualMachinesClient.restrictMovement":"Microsoft.AVS.VirtualMachines.restrictMovement","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient":"Customization.WorkloadNetworks","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateDhcp":"Customization.WorkloadNetworks.createDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateDnsService":"Customization.WorkloadNetworks.createDnsService","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateDnsZone":"Customization.WorkloadNetworks.createDnsZone","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreatePortMirroring":"Customization.WorkloadNetworks.createPortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreatePublicIp":"Customization.WorkloadNetworks.createPublicIP","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateSegments":"Customization.WorkloadNetworks.createSegment","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginCreateVMGroup":"Customization.WorkloadNetworks.createVMGroup","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteDhcp":"Customization.WorkloadNetworks.deleteDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteDnsService":"Customization.WorkloadNetworks.deleteDnsService","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteDnsZone":"Customization.WorkloadNetworks.deleteDnsZone","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeletePortMirroring":"Customization.WorkloadNetworks.deletePortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeletePublicIp":"Customization.WorkloadNetworks.deletePublicIP","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteSegment":"Customization.WorkloadNetworks.deleteSegment","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginDeleteVMGroup":"Customization.WorkloadNetworks.deleteVMGroup","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateDhcp":"Customization.WorkloadNetworks.updateDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateDnsService":"Customization.WorkloadNetworks.updateDnsService","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateDnsZone":"Customization.WorkloadNetworks.updateDnsZone","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdatePortMirroring":"Customization.WorkloadNetworks.updatePortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateSegments":"Customization.WorkloadNetworks.updateSegment","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.beginUpdateVMGroup":"Customization.WorkloadNetworks.updateVMGroup","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createDhcp":"Customization.WorkloadNetworks.createDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createDnsService":"Customization.WorkloadNetworks.createDnsService","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createDnsZone":"Customization.WorkloadNetworks.createDnsZone","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createPortMirroring":"Customization.WorkloadNetworks.createPortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createPublicIp":"Customization.WorkloadNetworks.createPublicIP","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createSegments":"Customization.WorkloadNetworks.createSegment","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.createVMGroup":"Customization.WorkloadNetworks.createVMGroup","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteDhcp":"Customization.WorkloadNetworks.deleteDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteDnsService":"Customization.WorkloadNetworks.deleteDnsService","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteDnsZone":"Customization.WorkloadNetworks.deleteDnsZone","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deletePortMirroring":"Customization.WorkloadNetworks.deletePortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deletePublicIp":"Customization.WorkloadNetworks.deletePublicIP","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteSegment":"Customization.WorkloadNetworks.deleteSegment","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.deleteVMGroup":"Customization.WorkloadNetworks.deleteVMGroup","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.get":"Customization.WorkloadNetworks.get","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDhcp":"Customization.WorkloadNetworks.getDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDhcpWithResponse":"Customization.WorkloadNetworks.getDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDnsService":"Customization.WorkloadNetworks.getDnsService","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDnsServiceWithResponse":"Customization.WorkloadNetworks.getDnsService","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDnsZone":"Customization.WorkloadNetworks.getDnsZone","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getDnsZoneWithResponse":"Customization.WorkloadNetworks.getDnsZone","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getGateway":"Customization.WorkloadNetworks.getGateway","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getGatewayWithResponse":"Customization.WorkloadNetworks.getGateway","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getPortMirroring":"Customization.WorkloadNetworks.getPortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getPortMirroringWithResponse":"Customization.WorkloadNetworks.getPortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getPublicIp":"Customization.WorkloadNetworks.getPublicIP","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getPublicIpWithResponse":"Customization.WorkloadNetworks.getPublicIP","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getSegment":"Customization.WorkloadNetworks.getSegment","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getSegmentWithResponse":"Customization.WorkloadNetworks.getSegment","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getVMGroup":"Customization.WorkloadNetworks.getVMGroup","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getVMGroupWithResponse":"Customization.WorkloadNetworks.getVMGroup","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getVirtualMachine":"Customization.WorkloadNetworks.getVirtualMachine","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getVirtualMachineWithResponse":"Customization.WorkloadNetworks.getVirtualMachine","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.getWithResponse":"Customization.WorkloadNetworks.get","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.list":"Customization.WorkloadNetworks.list","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listDhcp":"Customization.WorkloadNetworks.listDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listDnsServices":"Customization.WorkloadNetworks.listDnsServices","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listDnsZones":"Customization.WorkloadNetworks.listDnsZones","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listGateways":"Customization.WorkloadNetworks.listGateways","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listPortMirroring":"Customization.WorkloadNetworks.listPortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listPublicIPs":"Customization.WorkloadNetworks.listPublicIPs","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listSegments":"Customization.WorkloadNetworks.listSegments","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listVMGroups":"Customization.WorkloadNetworks.listVMGroups","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.listVirtualMachines":"Customization.WorkloadNetworks.listVirtualMachines","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateDhcp":"Customization.WorkloadNetworks.updateDhcp","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateDnsService":"Customization.WorkloadNetworks.updateDnsService","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateDnsZone":"Customization.WorkloadNetworks.updateDnsZone","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updatePortMirroring":"Customization.WorkloadNetworks.updatePortMirroring","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateSegments":"Customization.WorkloadNetworks.updateSegment","com.azure.resourcemanager.avs.fluent.WorkloadNetworksClient.updateVMGroup":"Customization.WorkloadNetworks.updateVMGroup","com.azure.resourcemanager.avs.fluent.models.AddonInner":"Microsoft.AVS.Addon","com.azure.resourcemanager.avs.fluent.models.AdminCredentialsInner":"Microsoft.AVS.AdminCredentials","com.azure.resourcemanager.avs.fluent.models.CloudLinkInner":"Microsoft.AVS.CloudLink","com.azure.resourcemanager.avs.fluent.models.CloudLinkProperties":"Microsoft.AVS.CloudLinkProperties","com.azure.resourcemanager.avs.fluent.models.ClusterInner":"Microsoft.AVS.Cluster","com.azure.resourcemanager.avs.fluent.models.ClusterProperties":"Microsoft.AVS.ClusterProperties","com.azure.resourcemanager.avs.fluent.models.ClusterUpdateProperties":"Microsoft.AVS.ClusterUpdateProperties","com.azure.resourcemanager.avs.fluent.models.ClusterZoneListInner":"Microsoft.AVS.ClusterZoneList","com.azure.resourcemanager.avs.fluent.models.DatastoreInner":"Microsoft.AVS.Datastore","com.azure.resourcemanager.avs.fluent.models.DatastoreProperties":"Microsoft.AVS.DatastoreProperties","com.azure.resourcemanager.avs.fluent.models.ExpressRouteAuthorizationInner":"Microsoft.AVS.ExpressRouteAuthorization","com.azure.resourcemanager.avs.fluent.models.ExpressRouteAuthorizationProperties":"Microsoft.AVS.ExpressRouteAuthorizationProperties","com.azure.resourcemanager.avs.fluent.models.GlobalReachConnectionInner":"Microsoft.AVS.GlobalReachConnection","com.azure.resourcemanager.avs.fluent.models.GlobalReachConnectionProperties":"Microsoft.AVS.GlobalReachConnectionProperties","com.azure.resourcemanager.avs.fluent.models.HcxEnterpriseSiteInner":"Microsoft.AVS.HcxEnterpriseSite","com.azure.resourcemanager.avs.fluent.models.HcxEnterpriseSiteProperties":"Microsoft.AVS.HcxEnterpriseSiteProperties","com.azure.resourcemanager.avs.fluent.models.HostModelInner":"Microsoft.AVS.Host","com.azure.resourcemanager.avs.fluent.models.IscsiPathInner":"Microsoft.AVS.IscsiPath","com.azure.resourcemanager.avs.fluent.models.IscsiPathProperties":"Microsoft.AVS.IscsiPathProperties","com.azure.resourcemanager.avs.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.avs.fluent.models.PlacementPolicyInner":"Microsoft.AVS.PlacementPolicy","com.azure.resourcemanager.avs.fluent.models.PlacementPolicyUpdateProperties":"Microsoft.AVS.PlacementPolicyUpdateProperties","com.azure.resourcemanager.avs.fluent.models.PrivateCloudInner":"Microsoft.AVS.PrivateCloud","com.azure.resourcemanager.avs.fluent.models.PrivateCloudProperties":"Microsoft.AVS.PrivateCloudProperties","com.azure.resourcemanager.avs.fluent.models.PrivateCloudUpdateProperties":"Microsoft.AVS.PrivateCloudUpdateProperties","com.azure.resourcemanager.avs.fluent.models.ProvisionedNetworkInner":"Microsoft.AVS.ProvisionedNetwork","com.azure.resourcemanager.avs.fluent.models.PureStoragePolicyInner":"Microsoft.AVS.PureStoragePolicy","com.azure.resourcemanager.avs.fluent.models.QuotaInner":"Microsoft.AVS.Quota","com.azure.resourcemanager.avs.fluent.models.ResourceSkuInner":"Microsoft.AVS.ResourceSku","com.azure.resourcemanager.avs.fluent.models.ScriptCmdletInner":"Microsoft.AVS.ScriptCmdlet","com.azure.resourcemanager.avs.fluent.models.ScriptCmdletProperties":"Microsoft.AVS.ScriptCmdletProperties","com.azure.resourcemanager.avs.fluent.models.ScriptExecutionInner":"Microsoft.AVS.ScriptExecution","com.azure.resourcemanager.avs.fluent.models.ScriptExecutionProperties":"Microsoft.AVS.ScriptExecutionProperties","com.azure.resourcemanager.avs.fluent.models.ScriptPackageInner":"Microsoft.AVS.ScriptPackage","com.azure.resourcemanager.avs.fluent.models.ScriptPackageProperties":"Microsoft.AVS.ScriptPackageProperties","com.azure.resourcemanager.avs.fluent.models.TrialInner":"Microsoft.AVS.Trial","com.azure.resourcemanager.avs.fluent.models.VirtualMachineInner":"Microsoft.AVS.VirtualMachine","com.azure.resourcemanager.avs.fluent.models.VirtualMachineProperties":"Microsoft.AVS.VirtualMachineProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDhcpInner":"Microsoft.AVS.WorkloadNetworkDhcp","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsServiceInner":"Microsoft.AVS.WorkloadNetworkDnsService","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsServiceProperties":"Microsoft.AVS.WorkloadNetworkDnsServiceProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsZoneInner":"Microsoft.AVS.WorkloadNetworkDnsZone","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsZoneProperties":"Microsoft.AVS.WorkloadNetworkDnsZoneProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkGatewayInner":"Microsoft.AVS.WorkloadNetworkGateway","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkGatewayProperties":"Microsoft.AVS.WorkloadNetworkGatewayProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkInner":"Microsoft.AVS.WorkloadNetwork","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPortMirroringInner":"Microsoft.AVS.WorkloadNetworkPortMirroring","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPortMirroringProperties":"Microsoft.AVS.WorkloadNetworkPortMirroringProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkProperties":"Microsoft.AVS.WorkloadNetworkProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPublicIpInner":"Microsoft.AVS.WorkloadNetworkPublicIP","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPublicIpProperties":"Microsoft.AVS.WorkloadNetworkPublicIPProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentInner":"Microsoft.AVS.WorkloadNetworkSegment","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkSegmentProperties":"Microsoft.AVS.WorkloadNetworkSegmentProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVMGroupInner":"Microsoft.AVS.WorkloadNetworkVMGroup","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVMGroupProperties":"Microsoft.AVS.WorkloadNetworkVMGroupProperties","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineInner":"Microsoft.AVS.WorkloadNetworkVirtualMachine","com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineProperties":"Microsoft.AVS.WorkloadNetworkVirtualMachineProperties","com.azure.resourcemanager.avs.implementation.AvsClientBuilder":"Customization","com.azure.resourcemanager.avs.implementation.models.AddonList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.CloudLinkList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.ClusterList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.DatastoreList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.ExpressRouteAuthorizationList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.GlobalReachConnectionList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.HcxEnterpriseSiteList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.HostListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.avs.implementation.models.IscsiPathListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.avs.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.avs.implementation.models.PagedResourceSku":"Azure.Core.Page","com.azure.resourcemanager.avs.implementation.models.PlacementPoliciesList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.PrivateCloudList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.ProvisionedNetworkListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.avs.implementation.models.PureStoragePolicyListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.avs.implementation.models.ScriptCmdletsList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.ScriptExecutionsList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.ScriptPackagesList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.VirtualMachinesList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDhcpList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDnsServicesList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkDnsZonesList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkGatewayList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkPortMirroringList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkPublicIPsList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkSegmentsList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkVMGroupsList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.implementation.models.WorkloadNetworkVirtualMachinesList":"Microsoft.AVS.ResourceList","com.azure.resourcemanager.avs.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.avs.models.AddonArcProperties":"Microsoft.AVS.AddonArcProperties","com.azure.resourcemanager.avs.models.AddonHcxProperties":"Microsoft.AVS.AddonHcxProperties","com.azure.resourcemanager.avs.models.AddonProperties":"Microsoft.AVS.AddonProperties","com.azure.resourcemanager.avs.models.AddonProvisioningState":"Microsoft.AVS.AddonProvisioningState","com.azure.resourcemanager.avs.models.AddonSrmProperties":"Microsoft.AVS.AddonSrmProperties","com.azure.resourcemanager.avs.models.AddonType":"Microsoft.AVS.AddonType","com.azure.resourcemanager.avs.models.AddonVrProperties":"Microsoft.AVS.AddonVrProperties","com.azure.resourcemanager.avs.models.AffinityStrength":"Microsoft.AVS.AffinityStrength","com.azure.resourcemanager.avs.models.AffinityType":"Microsoft.AVS.AffinityType","com.azure.resourcemanager.avs.models.AvailabilityProperties":"Microsoft.AVS.AvailabilityProperties","com.azure.resourcemanager.avs.models.AvailabilityStrategy":"Microsoft.AVS.AvailabilityStrategy","com.azure.resourcemanager.avs.models.AzureHybridBenefitType":"Microsoft.AVS.AzureHybridBenefitType","com.azure.resourcemanager.avs.models.Circuit":"Microsoft.AVS.Circuit","com.azure.resourcemanager.avs.models.CloudLinkProvisioningState":"Microsoft.AVS.CloudLinkProvisioningState","com.azure.resourcemanager.avs.models.CloudLinkStatus":"Microsoft.AVS.CloudLinkStatus","com.azure.resourcemanager.avs.models.ClusterProvisioningState":"Microsoft.AVS.ClusterProvisioningState","com.azure.resourcemanager.avs.models.ClusterUpdate":"Microsoft.AVS.ClusterUpdate","com.azure.resourcemanager.avs.models.ClusterZone":"Microsoft.AVS.ClusterZone","com.azure.resourcemanager.avs.models.DatastoreProvisioningState":"Microsoft.AVS.DatastoreProvisioningState","com.azure.resourcemanager.avs.models.DatastoreStatus":"Microsoft.AVS.DatastoreStatus","com.azure.resourcemanager.avs.models.DhcpTypeEnum":"Microsoft.AVS.DhcpTypeEnum","com.azure.resourcemanager.avs.models.DiskPoolVolume":"Microsoft.AVS.DiskPoolVolume","com.azure.resourcemanager.avs.models.DnsServiceLogLevelEnum":"Microsoft.AVS.DnsServiceLogLevelEnum","com.azure.resourcemanager.avs.models.DnsServiceStatusEnum":"Microsoft.AVS.DnsServiceStatusEnum","com.azure.resourcemanager.avs.models.DnsZoneType":"Microsoft.AVS.DnsZoneType","com.azure.resourcemanager.avs.models.ElasticSanVolume":"Microsoft.AVS.ElasticSanVolume","com.azure.resourcemanager.avs.models.Encryption":"Microsoft.AVS.Encryption","com.azure.resourcemanager.avs.models.EncryptionKeyStatus":"Microsoft.AVS.EncryptionKeyStatus","com.azure.resourcemanager.avs.models.EncryptionKeyVaultProperties":"Microsoft.AVS.EncryptionKeyVaultProperties","com.azure.resourcemanager.avs.models.EncryptionState":"Microsoft.AVS.EncryptionState","com.azure.resourcemanager.avs.models.EncryptionVersionType":"Microsoft.AVS.EncryptionVersionType","com.azure.resourcemanager.avs.models.Endpoints":"Microsoft.AVS.Endpoints","com.azure.resourcemanager.avs.models.ExpressRouteAuthorizationProvisioningState":"Microsoft.AVS.ExpressRouteAuthorizationProvisioningState","com.azure.resourcemanager.avs.models.GeneralHostProperties":"Microsoft.AVS.GeneralHostProperties","com.azure.resourcemanager.avs.models.GlobalReachConnectionProvisioningState":"Microsoft.AVS.GlobalReachConnectionProvisioningState","com.azure.resourcemanager.avs.models.GlobalReachConnectionStatus":"Microsoft.AVS.GlobalReachConnectionStatus","com.azure.resourcemanager.avs.models.HcxEnterpriseSiteProvisioningState":"Microsoft.AVS.HcxEnterpriseSiteProvisioningState","com.azure.resourcemanager.avs.models.HcxEnterpriseSiteStatus":"Microsoft.AVS.HcxEnterpriseSiteStatus","com.azure.resourcemanager.avs.models.HostKind":"Microsoft.AVS.HostKind","com.azure.resourcemanager.avs.models.HostMaintenance":"Microsoft.AVS.HostMaintenance","com.azure.resourcemanager.avs.models.HostProperties":"Microsoft.AVS.HostProperties","com.azure.resourcemanager.avs.models.HostProvisioningState":"Microsoft.AVS.HostProvisioningState","com.azure.resourcemanager.avs.models.IdentitySource":"Microsoft.AVS.IdentitySource","com.azure.resourcemanager.avs.models.InternetEnum":"Microsoft.AVS.InternetEnum","com.azure.resourcemanager.avs.models.IscsiPathProvisioningState":"Microsoft.AVS.IscsiPathProvisioningState","com.azure.resourcemanager.avs.models.ManagementCluster":"Microsoft.AVS.ManagementCluster","com.azure.resourcemanager.avs.models.MountOptionEnum":"Microsoft.AVS.MountOptionEnum","com.azure.resourcemanager.avs.models.NetAppVolume":"Microsoft.AVS.NetAppVolume","com.azure.resourcemanager.avs.models.NsxPublicIpQuotaRaisedEnum":"Microsoft.AVS.NsxPublicIpQuotaRaisedEnum","com.azure.resourcemanager.avs.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.avs.models.OptionalParamEnum":"Microsoft.AVS.OptionalParamEnum","com.azure.resourcemanager.avs.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.avs.models.PSCredentialExecutionParameter":"Microsoft.AVS.PSCredentialExecutionParameter","com.azure.resourcemanager.avs.models.PlacementPolicyProperties":"Microsoft.AVS.PlacementPolicyProperties","com.azure.resourcemanager.avs.models.PlacementPolicyProvisioningState":"Microsoft.AVS.PlacementPolicyProvisioningState","com.azure.resourcemanager.avs.models.PlacementPolicyState":"Microsoft.AVS.PlacementPolicyState","com.azure.resourcemanager.avs.models.PlacementPolicyType":"Microsoft.AVS.PlacementPolicyType","com.azure.resourcemanager.avs.models.PlacementPolicyUpdate":"Microsoft.AVS.PlacementPolicyUpdate","com.azure.resourcemanager.avs.models.PortMirroringDirectionEnum":"Microsoft.AVS.PortMirroringDirectionEnum","com.azure.resourcemanager.avs.models.PortMirroringStatusEnum":"Microsoft.AVS.PortMirroringStatusEnum","com.azure.resourcemanager.avs.models.PrivateCloudIdentity":"Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentity","com.azure.resourcemanager.avs.models.PrivateCloudProvisioningState":"Microsoft.AVS.PrivateCloudProvisioningState","com.azure.resourcemanager.avs.models.PrivateCloudUpdate":"Microsoft.AVS.PrivateCloudUpdate","com.azure.resourcemanager.avs.models.ProvisionedNetworkProperties":"Microsoft.AVS.ProvisionedNetworkProperties","com.azure.resourcemanager.avs.models.ProvisionedNetworkProvisioningState":"Microsoft.AVS.ProvisionedNetworkProvisioningState","com.azure.resourcemanager.avs.models.ProvisionedNetworkTypes":"Microsoft.AVS.ProvisionedNetworkTypes","com.azure.resourcemanager.avs.models.PureStoragePolicyProperties":"Microsoft.AVS.PureStoragePolicyProperties","com.azure.resourcemanager.avs.models.PureStoragePolicyProvisioningState":"Microsoft.AVS.PureStoragePolicyProvisioningState","com.azure.resourcemanager.avs.models.PureStorageVolume":"Microsoft.AVS.PureStorageVolume","com.azure.resourcemanager.avs.models.QuotaEnabled":"Microsoft.AVS.QuotaEnabled","com.azure.resourcemanager.avs.models.ResourceIdentityType":"Azure.ResourceManager.CommonTypes.SystemAssignedServiceIdentityType","com.azure.resourcemanager.avs.models.ResourceSkuCapabilities":"Microsoft.AVS.ResourceSkuCapabilities","com.azure.resourcemanager.avs.models.ResourceSkuLocationInfo":"Microsoft.AVS.ResourceSkuLocationInfo","com.azure.resourcemanager.avs.models.ResourceSkuResourceType":"Microsoft.AVS.ResourceSkuResourceType","com.azure.resourcemanager.avs.models.ResourceSkuRestrictionInfo":"Microsoft.AVS.ResourceSkuRestrictionInfo","com.azure.resourcemanager.avs.models.ResourceSkuRestrictions":"Microsoft.AVS.ResourceSkuRestrictions","com.azure.resourcemanager.avs.models.ResourceSkuRestrictionsReasonCode":"Microsoft.AVS.ResourceSkuRestrictionsReasonCode","com.azure.resourcemanager.avs.models.ResourceSkuRestrictionsType":"Microsoft.AVS.ResourceSkuRestrictionsType","com.azure.resourcemanager.avs.models.ResourceSkuZoneDetails":"Microsoft.AVS.ResourceSkuZoneDetails","com.azure.resourcemanager.avs.models.ScriptCmdletAudience":"Microsoft.AVS.ScriptCmdletAudience","com.azure.resourcemanager.avs.models.ScriptCmdletProvisioningState":"Microsoft.AVS.ScriptCmdletProvisioningState","com.azure.resourcemanager.avs.models.ScriptExecutionParameter":"Microsoft.AVS.ScriptExecutionParameter","com.azure.resourcemanager.avs.models.ScriptExecutionParameterType":"Microsoft.AVS.ScriptExecutionParameterType","com.azure.resourcemanager.avs.models.ScriptExecutionProvisioningState":"Microsoft.AVS.ScriptExecutionProvisioningState","com.azure.resourcemanager.avs.models.ScriptOutputStreamType":"Microsoft.AVS.ScriptOutputStreamType","com.azure.resourcemanager.avs.models.ScriptPackageProvisioningState":"Microsoft.AVS.ScriptPackageProvisioningState","com.azure.resourcemanager.avs.models.ScriptParameter":"Microsoft.AVS.ScriptParameter","com.azure.resourcemanager.avs.models.ScriptParameterTypes":"Microsoft.AVS.ScriptParameterTypes","com.azure.resourcemanager.avs.models.ScriptSecureStringExecutionParameter":"Microsoft.AVS.ScriptSecureStringExecutionParameter","com.azure.resourcemanager.avs.models.ScriptStringExecutionParameter":"Microsoft.AVS.ScriptStringExecutionParameter","com.azure.resourcemanager.avs.models.SegmentStatusEnum":"Microsoft.AVS.SegmentStatusEnum","com.azure.resourcemanager.avs.models.Sku":"Azure.ResourceManager.CommonTypes.Sku","com.azure.resourcemanager.avs.models.SkuTier":"Azure.ResourceManager.CommonTypes.SkuTier","com.azure.resourcemanager.avs.models.SpecializedHostProperties":"Microsoft.AVS.SpecializedHostProperties","com.azure.resourcemanager.avs.models.SslEnum":"Microsoft.AVS.SslEnum","com.azure.resourcemanager.avs.models.TrialStatus":"Microsoft.AVS.TrialStatus","com.azure.resourcemanager.avs.models.VMGroupStatusEnum":"Microsoft.AVS.VMGroupStatusEnum","com.azure.resourcemanager.avs.models.VMTypeEnum":"Microsoft.AVS.VMTypeEnum","com.azure.resourcemanager.avs.models.VirtualMachineProvisioningState":"Microsoft.AVS.VirtualMachineProvisioningState","com.azure.resourcemanager.avs.models.VirtualMachineRestrictMovement":"Microsoft.AVS.VirtualMachineRestrictMovement","com.azure.resourcemanager.avs.models.VirtualMachineRestrictMovementState":"Microsoft.AVS.VirtualMachineRestrictMovementState","com.azure.resourcemanager.avs.models.VisibilityParameterEnum":"Microsoft.AVS.VisibilityParameterEnum","com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties":"Microsoft.AVS.VmHostPlacementPolicyProperties","com.azure.resourcemanager.avs.models.VmPlacementPolicyProperties":"Microsoft.AVS.VmVmPlacementPolicyProperties","com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpEntity":"Microsoft.AVS.WorkloadNetworkDhcpEntity","com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpProvisioningState":"Microsoft.AVS.WorkloadNetworkDhcpProvisioningState","com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpRelay":"Microsoft.AVS.WorkloadNetworkDhcpRelay","com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpServer":"Microsoft.AVS.WorkloadNetworkDhcpServer","com.azure.resourcemanager.avs.models.WorkloadNetworkDnsServiceProvisioningState":"Microsoft.AVS.WorkloadNetworkDnsServiceProvisioningState","com.azure.resourcemanager.avs.models.WorkloadNetworkDnsZoneProvisioningState":"Microsoft.AVS.WorkloadNetworkDnsZoneProvisioningState","com.azure.resourcemanager.avs.models.WorkloadNetworkPortMirroringProvisioningState":"Microsoft.AVS.WorkloadNetworkPortMirroringProvisioningState","com.azure.resourcemanager.avs.models.WorkloadNetworkProvisioningState":"Microsoft.AVS.WorkloadNetworkProvisioningState","com.azure.resourcemanager.avs.models.WorkloadNetworkPublicIpProvisioningState":"Microsoft.AVS.WorkloadNetworkPublicIPProvisioningState","com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentPortVif":"Microsoft.AVS.WorkloadNetworkSegmentPortVif","com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentProvisioningState":"Microsoft.AVS.WorkloadNetworkSegmentProvisioningState","com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentSubnet":"Microsoft.AVS.WorkloadNetworkSegmentSubnet","com.azure.resourcemanager.avs.models.WorkloadNetworkVMGroupProvisioningState":"Microsoft.AVS.WorkloadNetworkVMGroupProvisioningState"}} \ No newline at end of file diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsCreateOrUpdateSamples.java index 77ac06708fec..c81a2c77aff8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -14,8 +14,7 @@ */ public final class AddonsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_CreateOrUpdate_HCX.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_HCX.json */ /** * Sample code: Addons_CreateOrUpdate_HCX. @@ -31,8 +30,7 @@ public static void addonsCreateOrUpdateHCX(com.azure.resourcemanager.avs.AvsMana } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_CreateOrUpdate_SRM.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_SRM.json */ /** * Sample code: Addons_CreateOrUpdate_SRM. @@ -48,8 +46,7 @@ public static void addonsCreateOrUpdateSRM(com.azure.resourcemanager.avs.AvsMana } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * Addons_CreateOrUpdate_HCX_With_Networks.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_HCX_With_Networks.json */ /** * Sample code: Addons_CreateOrUpdate_HCX_With_Networks. @@ -67,8 +64,7 @@ public static void addonsCreateOrUpdateHCXWithNetworks(com.azure.resourcemanager } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_CreateOrUpdate_ArcReg.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_ArcReg.json */ /** * Sample code: Addons_CreateOrUpdate_ArcReg. @@ -85,8 +81,7 @@ public static void addonsCreateOrUpdateArcReg(com.azure.resourcemanager.avs.AvsM } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_CreateOrUpdate_VR.json + * x-ms-original-file: 2024-09-01/Addons_CreateOrUpdate_VR.json */ /** * Sample code: Addons_CreateOrUpdate_VR. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsDeleteSamples.java index 159a8e780384..e4dd7a445bd0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class AddonsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Delete.json + * x-ms-original-file: 2024-09-01/Addons_Delete.json */ /** * Sample code: Addons_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsGetSamples.java index 256b09b241c7..fb8be8c0c1ec 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class AddonsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_HCX_With_Networks.json + * x-ms-original-file: 2024-09-01/Addons_Get_HCX_With_Networks.json */ /** * Sample code: Addons_Get_HCX_With_Networks. @@ -22,8 +21,7 @@ public static void addonsGetHCXWithNetworks(com.azure.resourcemanager.avs.AvsMan } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_SRM.json + * x-ms-original-file: 2024-09-01/Addons_Get_SRM.json */ /** * Sample code: Addons_Get_SRM. @@ -35,8 +33,7 @@ public static void addonsGetSRM(com.azure.resourcemanager.avs.AvsManager manager } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_VR.json + * x-ms-original-file: 2024-09-01/Addons_Get_VR.json */ /** * Sample code: Addons_Get_VR. @@ -48,8 +45,7 @@ public static void addonsGetVR(com.azure.resourcemanager.avs.AvsManager manager) } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_HCX.json + * x-ms-original-file: 2024-09-01/Addons_Get_HCX.json */ /** * Sample code: Addons_Get_HCX. @@ -61,8 +57,7 @@ public static void addonsGetHCX(com.azure.resourcemanager.avs.AvsManager manager } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_Get_ArcReg.json + * x-ms-original-file: 2024-09-01/Addons_Get_ArcReg.json */ /** * Sample code: Addons_Get_ArcReg. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsListSamples.java index fa1c95fb42d4..77d6758d89c2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AddonsListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class AddonsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Addons_List.json + * x-ms-original-file: 2024-09-01/Addons_List.json */ /** * Sample code: Addons_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsCreateOrUpdateSamples.java index a88cb98b2516..6833c5cf447a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class AuthorizationsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Authorizations_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/Authorizations_CreateOrUpdate.json */ /** * Sample code: Authorizations_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsDeleteSamples.java index 96f9f8497600..a8b69e0ba072 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class AuthorizationsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Authorizations_Delete.json + * x-ms-original-file: 2024-09-01/Authorizations_Delete.json */ /** * Sample code: Authorizations_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsGetSamples.java index a3f1771387c3..b1e75ac67fb6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class AuthorizationsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Authorizations_Get.json + * x-ms-original-file: 2024-09-01/Authorizations_Get.json */ /** * Sample code: Authorizations_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsListSamples.java index ceced5f4c2ff..fb09d81c99ab 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/AuthorizationsListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class AuthorizationsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Authorizations_List.json + * x-ms-original-file: 2024-09-01/Authorizations_List.json */ /** * Sample code: Authorizations_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksCreateOrUpdateSamples.java index 935b29478593..110becc566a9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class CloudLinksCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/CloudLinks_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/CloudLinks_CreateOrUpdate.json */ /** * Sample code: CloudLinks_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksDeleteSamples.java index 3b822703116d..c330c60381d4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class CloudLinksDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/CloudLinks_Delete.json + * x-ms-original-file: 2024-09-01/CloudLinks_Delete.json */ /** * Sample code: CloudLinks_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksGetSamples.java index 30a457fd8b23..795c55e1dea8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class CloudLinksGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/CloudLinks_Get.json + * x-ms-original-file: 2024-09-01/CloudLinks_Get.json */ /** * Sample code: CloudLinks_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksListSamples.java index d0247958126b..5ab1c298d413 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/CloudLinksListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class CloudLinksListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/CloudLinks_List.json + * x-ms-original-file: 2024-09-01/CloudLinks_List.json */ /** * Sample code: CloudLinks_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersCreateOrUpdateSamples.java index 10d21774e6c1..bf930d757ada 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,8 +11,7 @@ */ public final class ClustersCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/Clusters_CreateOrUpdate.json */ /** * Sample code: Clusters_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersDeleteSamples.java index 0b097a29242b..d02a358ab1d3 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ClustersDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_Delete.json + * x-ms-original-file: 2024-09-01/Clusters_Delete.json */ /** * Sample code: Clusters_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersGetSamples.java index 6080ecfe4228..af904a52b063 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ClustersGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_Get.json + * x-ms-original-file: 2024-09-01/Clusters_Get.json */ /** * Sample code: Clusters_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersListSamples.java index a2187c68b98c..2b2e10cd5592 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ClustersListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_List.json + * x-ms-original-file: 2024-09-01/Clusters_List.json */ /** * Sample code: Clusters_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersListZonesSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersListZonesSamples.java index 20d120f2b541..b3ab0338617d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersListZonesSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersListZonesSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ClustersListZonesSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_ListZones.json + * x-ms-original-file: 2024-09-01/Clusters_ListZones.json */ /** * Sample code: Clusters_ListZones. @@ -22,8 +21,7 @@ public static void clustersListZones(com.azure.resourcemanager.avs.AvsManager ma } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_ListZones_Stretched.json + * x-ms-original-file: 2024-09-01/Clusters_ListZones_Stretched.json */ /** * Sample code: Clusters_ListZones_Stretched. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersUpdateSamples.java index a7398d778ada..7e44b00985a2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ClustersUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,8 +11,7 @@ */ public final class ClustersUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Clusters_Update.json + * x-ms-original-file: 2024-09-01/Clusters_Update.json */ /** * Sample code: Clusters_Update. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresCreateOrUpdateSamples.java index 54f2761df210..9bfa67df0e71 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,8 +11,7 @@ */ public final class DatastoresCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Datastores_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/Datastores_CreateOrUpdate.json */ /** * Sample code: Datastores_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresDeleteSamples.java index e0272787a0bf..a732392a7052 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class DatastoresDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Datastores_Delete.json + * x-ms-original-file: 2024-09-01/Datastores_Delete.json */ /** * Sample code: Datastores_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresGetSamples.java index 4680f3bef733..2195bb616c9c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class DatastoresGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Datastores_Get.json + * x-ms-original-file: 2024-09-01/Datastores_Get.json */ /** * Sample code: Datastores_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresListSamples.java index 66832070ead2..b639d14c47dd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/DatastoresListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class DatastoresListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Datastores_List.json + * x-ms-original-file: 2024-09-01/Datastores_List.json */ /** * Sample code: Datastores_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsCreateOrUpdateSamples.java index 548d3c272d8e..ec436107a975 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class GlobalReachConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * GlobalReachConnections_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/GlobalReachConnections_CreateOrUpdate.json */ /** * Sample code: GlobalReachConnections_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsDeleteSamples.java index 79553aad1a3c..23b5bed425f8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class GlobalReachConnectionsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/GlobalReachConnections_Delete.json + * x-ms-original-file: 2024-09-01/GlobalReachConnections_Delete.json */ /** * Sample code: GlobalReachConnections_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsGetSamples.java index e50ac53129bd..7e8c7fc3b6d6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class GlobalReachConnectionsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/GlobalReachConnections_Get.json + * x-ms-original-file: 2024-09-01/GlobalReachConnections_Get.json */ /** * Sample code: GlobalReachConnections_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsListSamples.java index 775a3ed3406a..4a4537a69040 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class GlobalReachConnectionsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/GlobalReachConnections_List.json + * x-ms-original-file: 2024-09-01/GlobalReachConnections_List.json */ /** * Sample code: GlobalReachConnections_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesCreateOrUpdateSamples.java index 7ff1436a58a7..6b6e475938d1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class HcxEnterpriseSitesCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/HcxEnterpriseSites_CreateOrUpdate. - * json + * x-ms-original-file: 2024-09-01/HcxEnterpriseSites_CreateOrUpdate.json */ /** * Sample code: HcxEnterpriseSites_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesDeleteSamples.java index f7ec69c420b4..2873fe9639f9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class HcxEnterpriseSitesDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/HcxEnterpriseSites_Delete.json + * x-ms-original-file: 2024-09-01/HcxEnterpriseSites_Delete.json */ /** * Sample code: HcxEnterpriseSites_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesGetSamples.java index 1781a620917f..cc96347b6fe2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class HcxEnterpriseSitesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/HcxEnterpriseSites_Get.json + * x-ms-original-file: 2024-09-01/HcxEnterpriseSites_Get.json */ /** * Sample code: HcxEnterpriseSites_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesListSamples.java index 4939c8835fa2..35c583789575 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class HcxEnterpriseSitesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/HcxEnterpriseSites_List.json + * x-ms-original-file: 2024-09-01/HcxEnterpriseSites_List.json */ /** * Sample code: HcxEnterpriseSites_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HostsGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HostsGetSamples.java index 4acb35b29296..951440bc8d23 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HostsGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HostsGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,7 +9,7 @@ */ public final class HostsGetSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Hosts_Get.json + * x-ms-original-file: 2024-09-01/Hosts_Get.json */ /** * Sample code: Hosts_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HostsListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HostsListSamples.java index 59a8e7bd46b8..53f8689a83e3 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HostsListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/HostsListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class HostsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Hosts_List.json + * x-ms-original-file: 2024-09-01/Hosts_List.json */ /** * Sample code: Hosts_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsCreateOrUpdateSamples.java index d87630995328..7b6298b363d0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,8 +11,7 @@ */ public final class IscsiPathsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/IscsiPaths_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/IscsiPaths_CreateOrUpdate.json */ /** * Sample code: IscsiPaths_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsDeleteSamples.java index 86e60f011851..12abaacc65e9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class IscsiPathsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/IscsiPaths_Delete.json + * x-ms-original-file: 2024-09-01/IscsiPaths_Delete.json */ /** * Sample code: IscsiPaths_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsGetSamples.java index a91a4fbd514d..0fc5a45a5f6b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class IscsiPathsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/IscsiPaths_Get.json + * x-ms-original-file: 2024-09-01/IscsiPaths_Get.json */ /** * Sample code: IscsiPaths_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsListByPrivateCloudSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsListByPrivateCloudSamples.java index fc5bd33952fb..1184be381a17 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsListByPrivateCloudSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/IscsiPathsListByPrivateCloudSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class IscsiPathsListByPrivateCloudSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/IscsiPaths_List.json + * x-ms-original-file: 2024-09-01/IscsiPaths_List.json */ /** * Sample code: IscsiPaths_ListByPrivateCloud. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/LocationsCheckQuotaAvailabilitySamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/LocationsCheckQuotaAvailabilitySamples.java index 182d5ac2ff76..9d17fd6a13b7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/LocationsCheckQuotaAvailabilitySamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/LocationsCheckQuotaAvailabilitySamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class LocationsCheckQuotaAvailabilitySamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Locations_CheckQuotaAvailability. - * json + * x-ms-original-file: 2024-09-01/Locations_CheckQuotaAvailability.json */ /** * Sample code: Locations_CheckQuotaAvailability. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/LocationsCheckTrialAvailabilitySamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/LocationsCheckTrialAvailabilitySamples.java index 5244a65e4ab5..9a93518c1775 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/LocationsCheckTrialAvailabilitySamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/LocationsCheckTrialAvailabilitySamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,9 +11,7 @@ */ public final class LocationsCheckTrialAvailabilitySamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Locations_CheckTrialAvailability. - * json + * x-ms-original-file: 2024-09-01/Locations_CheckTrialAvailability.json */ /** * Sample code: Locations_CheckTrialAvailability. @@ -25,8 +23,7 @@ public static void locationsCheckTrialAvailability(com.azure.resourcemanager.avs } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * Locations_CheckTrialAvailabilityWithSku.json + * x-ms-original-file: 2024-09-01/Locations_CheckTrialAvailabilityWithSku.json */ /** * Sample code: Locations_CheckTrialAvailabilityWithSku. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/OperationsListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/OperationsListSamples.java index b37b9afa502c..ad7f78eb4e2f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/OperationsListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/OperationsListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class OperationsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Operations_List.json + * x-ms-original-file: 2024-09-01/Operations_List.json */ /** * Sample code: Operations_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesCreateOrUpdateSamples.java index d605eb6378ee..f73d8016f258 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -15,9 +15,7 @@ */ public final class PlacementPoliciesCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_CreateOrUpdate. - * json + * x-ms-original-file: 2024-09-01/PlacementPolicies_CreateOrUpdate.json */ /** * Sample code: PlacementPolicies_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesDeleteSamples.java index 03ace45e6bb5..7ffcd68d0281 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PlacementPoliciesDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_Delete.json + * x-ms-original-file: 2024-09-01/PlacementPolicies_Delete.json */ /** * Sample code: PlacementPolicies_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesGetSamples.java index 0d6420c018e7..e8c94cde0d2a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PlacementPoliciesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_Get.json + * x-ms-original-file: 2024-09-01/PlacementPolicies_Get.json */ /** * Sample code: PlacementPolicies_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesListSamples.java index 7b13acf998f9..35e7d0c239c8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PlacementPoliciesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_List.json + * x-ms-original-file: 2024-09-01/PlacementPolicies_List.json */ /** * Sample code: PlacementPolicies_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesUpdateSamples.java index eb1c9453aa86..53e01d6dbbd2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -15,8 +15,7 @@ */ public final class PlacementPoliciesUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PlacementPolicies_Update.json + * x-ms-original-file: 2024-09-01/PlacementPolicies_Update.json */ /** * Sample code: PlacementPolicies_Update. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsCreateOrUpdateSamples.java index 8375bb3e7c68..a7961d6ef480 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,8 +20,7 @@ */ public final class PrivateCloudsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_CreateOrUpdate.json + * x-ms-original-file: 2024-09-01/PrivateClouds_CreateOrUpdate.json */ /** * Sample code: PrivateClouds_CreateOrUpdate. @@ -42,8 +41,7 @@ public static void privateCloudsCreateOrUpdate(com.azure.resourcemanager.avs.Avs } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_CreateOrUpdate_StretchedZones.json + * x-ms-original-file: 2024-09-01/PrivateClouds_CreateOrUpdate_StretchedZones.json */ /** * Sample code: PrivateClouds_CreateOrUpdate_StretchedZones. @@ -64,8 +62,7 @@ public static void privateCloudsCreateOrUpdateStretchedZones(com.azure.resourcem } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_CreateOrUpdate_FleetNative.json + * x-ms-original-file: 2024-09-01/PrivateClouds_CreateOrUpdate_FleetNative.json */ /** * Sample code: PrivateClouds_CreateOrUpdate_FleetNative. @@ -88,8 +85,7 @@ public static void privateCloudsCreateOrUpdateFleetNative(com.azure.resourcemana } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_CreateOrUpdate_Stretched.json + * x-ms-original-file: 2024-09-01/PrivateClouds_CreateOrUpdate_Stretched.json */ /** * Sample code: PrivateClouds_CreateOrUpdate_Stretched. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsDeleteSamples.java index 810128f160f4..ece0e3526091 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PrivateCloudsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Delete.json + * x-ms-original-file: 2024-09-01/PrivateClouds_Delete.json */ /** * Sample code: PrivateClouds_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsGetByResourceGroupSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsGetByResourceGroupSamples.java index d2763c9ab39f..0defa7dd3eaf 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsGetByResourceGroupSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsGetByResourceGroupSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PrivateCloudsGetByResourceGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Get.json + * x-ms-original-file: 2024-09-01/PrivateClouds_Get.json */ /** * Sample code: PrivateClouds_Get. @@ -22,8 +21,7 @@ public static void privateCloudsGet(com.azure.resourcemanager.avs.AvsManager man } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Get_Stretched.json + * x-ms-original-file: 2024-09-01/PrivateClouds_Get_Stretched.json */ /** * Sample code: PrivateClouds_Get_Stretched. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListAdminCredentialsSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListAdminCredentialsSamples.java index 18a44b0a180a..28788cfcd5c7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListAdminCredentialsSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListAdminCredentialsSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class PrivateCloudsListAdminCredentialsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_ListAdminCredentials - * .json + * x-ms-original-file: 2024-09-01/PrivateClouds_ListAdminCredentials.json */ /** * Sample code: PrivateClouds_ListAdminCredentials. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListByResourceGroupSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListByResourceGroupSamples.java index cd44bb98aec9..136f488770c7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListByResourceGroupSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListByResourceGroupSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PrivateCloudsListByResourceGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_List.json + * x-ms-original-file: 2024-09-01/PrivateClouds_List.json */ /** * Sample code: PrivateClouds_List. @@ -22,8 +21,7 @@ public static void privateCloudsList(com.azure.resourcemanager.avs.AvsManager ma } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_List_Stretched.json + * x-ms-original-file: 2024-09-01/PrivateClouds_List_Stretched.json */ /** * Sample code: PrivateClouds_List_Stretched. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListSamples.java index 66f3f1d1e187..93cde458051a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class PrivateCloudsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_ListInSubscription. - * json + * x-ms-original-file: 2024-09-01/PrivateClouds_ListInSubscription.json */ /** * Sample code: PrivateClouds_ListInSubscription. @@ -23,8 +21,7 @@ public static void privateCloudsListInSubscription(com.azure.resourcemanager.avs } /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_ListInSubscription_Stretched.json + * x-ms-original-file: 2024-09-01/PrivateClouds_ListInSubscription_Stretched.json */ /** * Sample code: PrivateClouds_ListInSubscription_Stretched. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsRotateNsxtPasswordSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsRotateNsxtPasswordSamples.java index c895688e9f5a..4bff535cdb3d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsRotateNsxtPasswordSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsRotateNsxtPasswordSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class PrivateCloudsRotateNsxtPasswordSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_RotateNsxtPassword. - * json + * x-ms-original-file: 2024-09-01/PrivateClouds_RotateNsxtPassword.json */ /** * Sample code: PrivateClouds_RotateNsxtPassword. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsRotateVcenterPasswordSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsRotateVcenterPasswordSamples.java index 8ae6a14a26dc..099d74bf01b3 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsRotateVcenterPasswordSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsRotateVcenterPasswordSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PrivateCloudsRotateVcenterPasswordSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * PrivateClouds_RotateVcenterPassword.json + * x-ms-original-file: 2024-09-01/PrivateClouds_RotateVcenterPassword.json */ /** * Sample code: PrivateClouds_RotateVcenterPassword. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsUpdateSamples.java index 7d4dd5c05966..11d382df0e6c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PrivateCloudsUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -17,8 +17,7 @@ */ public final class PrivateCloudsUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Update.json + * x-ms-original-file: 2024-09-01/PrivateClouds_Update.json */ /** * Sample code: PrivateClouds_Update. @@ -40,9 +39,7 @@ public static void privateCloudsUpdate(com.azure.resourcemanager.avs.AvsManager } /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PrivateClouds_Update_Stretched. - * json + * x-ms-original-file: 2024-09-01/PrivateClouds_Update_Stretched.json */ /** * Sample code: PrivateClouds_Update_Stretched. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksGetSamples.java index 636d3339cf1c..fdd1eb6a66f7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ProvisionedNetworksGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ProvisionedNetworks_Get.json + * x-ms-original-file: 2024-09-01/ProvisionedNetworks_Get.json */ /** * Sample code: ProvisionedNetworks_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksListSamples.java index 4cec0f783b4e..54abe365b6f4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ProvisionedNetworksListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ProvisionedNetworks_List.json + * x-ms-original-file: 2024-09-01/ProvisionedNetworks_List.json */ /** * Sample code: ProvisionedNetworks_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesCreateOrUpdateSamples.java index 327a15b1feca..84287bb0334e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesCreateOrUpdateSamples.java @@ -1,17 +1,17 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; +import com.azure.resourcemanager.avs.models.PureStoragePolicyProperties; + /** * Samples for PureStoragePolicies CreateOrUpdate. */ public final class PureStoragePoliciesCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PureStoragePolicies_CreateOrUpdate - * .json + * x-ms-original-file: 2024-09-01/PureStoragePolicies_CreateOrUpdate.json */ /** * Sample code: PureStoragePolicies_CreateOrUpdate. @@ -22,9 +22,9 @@ public static void pureStoragePoliciesCreateOrUpdate(com.azure.resourcemanager.a manager.pureStoragePolicies() .define("storagePolicy1") .withExistingPrivateCloud("group1", "cloud1") - .withStoragePolicyDefinition("storagePolicyDefinition1") - .withStoragePoolId( - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1") + .withProperties(new PureStoragePolicyProperties().withStoragePolicyDefinition("storagePolicyDefinition1") + .withStoragePoolId( + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1")) .create(); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesDeleteSamples.java index 5741c65c144c..a1b01aa89541 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PureStoragePoliciesDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PureStoragePolicies_Delete.json + * x-ms-original-file: 2024-09-01/PureStoragePolicies_Delete.json */ /** * Sample code: PureStoragePolicies_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesGetSamples.java index c08d8ba6fc31..15bfe941e9c6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PureStoragePoliciesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PureStoragePolicies_Get.json + * x-ms-original-file: 2024-09-01/PureStoragePolicies_Get.json */ /** * Sample code: PureStoragePolicies_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesListSamples.java index ba6775d75a5f..74bc549f95ce 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class PureStoragePoliciesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/PureStoragePolicies_List.json + * x-ms-original-file: 2024-09-01/PureStoragePolicies_List.json */ /** * Sample code: PureStoragePolicies_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsGetSamples.java index f2ec938eadc4..beaf379b0024 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ScriptCmdletsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptCmdlets_Get.json + * x-ms-original-file: 2024-09-01/ScriptCmdlets_Get.json */ /** * Sample code: ScriptCmdlets_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsListSamples.java index 1a16b8d644b7..45bbcf2db065 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ScriptCmdletsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptCmdlets_List.json + * x-ms-original-file: 2024-09-01/ScriptCmdlets_List.json */ /** * Sample code: ScriptCmdlets_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsCreateOrUpdateSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsCreateOrUpdateSamples.java index ba6225f701ef..484278968eae 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsCreateOrUpdateSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsCreateOrUpdateSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -13,9 +13,7 @@ */ public final class ScriptExecutionsCreateOrUpdateSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_CreateOrUpdate. - * json + * x-ms-original-file: 2024-09-01/ScriptExecutions_CreateOrUpdate.json */ /** * Sample code: ScriptExecutions_CreateOrUpdate. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsDeleteSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsDeleteSamples.java index ad87376a3a1e..0e9b2cc85b49 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsDeleteSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsDeleteSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ScriptExecutionsDeleteSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_Delete.json + * x-ms-original-file: 2024-09-01/ScriptExecutions_Delete.json */ /** * Sample code: ScriptExecutions_Delete. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetExecutionLogsSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetExecutionLogsSamples.java index b144649adba4..cd602fca3567 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetExecutionLogsSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetExecutionLogsSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -12,9 +12,7 @@ */ public final class ScriptExecutionsGetExecutionLogsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_GetExecutionLogs. - * json + * x-ms-original-file: 2024-09-01/ScriptExecutions_GetExecutionLogs.json */ /** * Sample code: ScriptExecutions_GetExecutionLogs. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetSamples.java index 75883ed2b985..8758e9fe7994 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ScriptExecutionsGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_Get.json + * x-ms-original-file: 2024-09-01/ScriptExecutions_Get.json */ /** * Sample code: ScriptExecutions_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsListSamples.java index f4409016a3b4..c46c622f96fa 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ScriptExecutionsListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptExecutions_List.json + * x-ms-original-file: 2024-09-01/ScriptExecutions_List.json */ /** * Sample code: ScriptExecutions_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptPackagesGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptPackagesGetSamples.java index f6a3e574c7ec..4c6aba9d080c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptPackagesGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptPackagesGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ScriptPackagesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptPackages_Get.json + * x-ms-original-file: 2024-09-01/ScriptPackages_Get.json */ /** * Sample code: ScriptPackages_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptPackagesListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptPackagesListSamples.java index f18a3dcfae88..2f7caf80f8dd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptPackagesListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/ScriptPackagesListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class ScriptPackagesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ScriptPackages_List.json + * x-ms-original-file: 2024-09-01/ScriptPackages_List.json */ /** * Sample code: ScriptPackages_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/SkusListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/SkusListSamples.java index 7f50e45b0b46..a75b9165b42e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/SkusListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/SkusListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,7 +9,7 @@ */ public final class SkusListSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/Skus_List.json + * x-ms-original-file: 2024-09-01/Skus_List.json */ /** * Sample code: Skus_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesGetSamples.java index 92eab4681145..5fb2596cfcac 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class VirtualMachinesGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/VirtualMachines_Get.json + * x-ms-original-file: 2024-09-01/VirtualMachines_Get.json */ /** * Sample code: VirtualMachines_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesListSamples.java index d12d6a3de169..7c31d8d513f2 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class VirtualMachinesListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/VirtualMachines_List.json + * x-ms-original-file: 2024-09-01/VirtualMachines_List.json */ /** * Sample code: VirtualMachines_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesRestrictMovementSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesRestrictMovementSamples.java index c6783d928847..a35b094f8605 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesRestrictMovementSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/VirtualMachinesRestrictMovementSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -12,9 +12,7 @@ */ public final class VirtualMachinesRestrictMovementSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/VirtualMachines_RestrictMovement. - * json + * x-ms-original-file: 2024-09-01/VirtualMachines_RestrictMovement.json */ /** * Sample code: VirtualMachines_RestrictMovement. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDhcpSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDhcpSamples.java index ae1529102949..d30f1528faa3 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDhcpSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDhcpSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,8 +11,7 @@ */ public final class WorkloadNetworksCreateDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateDhcp.json */ /** * Sample code: WorkloadNetworks_CreateDhcp. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsServiceSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsServiceSamples.java index dddc29892d17..389ad30b1d49 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsServiceSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsServiceSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -12,9 +12,7 @@ */ public final class WorkloadNetworksCreateDnsServiceSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateDnsService. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateDnsService.json */ /** * Sample code: WorkloadNetworks_CreateDnsService. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsZoneSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsZoneSamples.java index ec909de59de3..193d59310c7f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsZoneSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsZoneSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,9 +11,7 @@ */ public final class WorkloadNetworksCreateDnsZoneSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateDnsZone. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateDnsZone.json */ /** * Sample code: WorkloadNetworks_CreateDnsZone. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePortMirroringSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePortMirroringSamples.java index 29bd64469855..30f988fc45c5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePortMirroringSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePortMirroringSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,8 +11,7 @@ */ public final class WorkloadNetworksCreatePortMirroringSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * WorkloadNetworks_CreatePortMirroring.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreatePortMirroring.json */ /** * Sample code: WorkloadNetworks_CreatePortMirroring. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePublicIpSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePublicIpSamples.java index a1254fd9981f..625ae1c27258 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePublicIpSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePublicIpSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksCreatePublicIpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreatePublicIP. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreatePublicIP.json */ /** * Sample code: WorkloadNetworks_CreatePublicIP. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateSegmentsSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateSegmentsSamples.java index 13280901e318..29a18353c37d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateSegmentsSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateSegmentsSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -12,9 +12,7 @@ */ public final class WorkloadNetworksCreateSegmentsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateSegments. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateSegments.json */ /** * Sample code: WorkloadNetworks_CreateSegments. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateVMGroupSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateVMGroupSamples.java index 8a2cfaaabeda..ec815c4caa48 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateVMGroupSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateVMGroupSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,9 +11,7 @@ */ public final class WorkloadNetworksCreateVMGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_CreateVMGroup. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_CreateVMGroup.json */ /** * Sample code: WorkloadNetworks_CreateVMGroup. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDhcpSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDhcpSamples.java index 965adaac699d..e3702b894517 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDhcpSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDhcpSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksDeleteDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteDhcp.json */ /** * Sample code: WorkloadNetworks_DeleteDhcp. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsServiceSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsServiceSamples.java index 961950c23940..aec0207b064c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsServiceSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsServiceSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksDeleteDnsServiceSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteDnsService. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteDnsService.json */ /** * Sample code: WorkloadNetworks_DeleteDnsService. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsZoneSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsZoneSamples.java index f381a3f697ff..12551a69980d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsZoneSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsZoneSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksDeleteDnsZoneSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteDnsZone. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteDnsZone.json */ /** * Sample code: WorkloadNetworks_DeleteDnsZone. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePortMirroringSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePortMirroringSamples.java index 035c9dfcc335..3fc45c6337a4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePortMirroringSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePortMirroringSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksDeletePortMirroringSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * WorkloadNetworks_DeletePortMirroring.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeletePortMirroring.json */ /** * Sample code: WorkloadNetworks_DeletePortMirroring. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePublicIpSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePublicIpSamples.java index 27e55b3d9da1..59d91630670d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePublicIpSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePublicIpSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksDeletePublicIpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeletePublicIP. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeletePublicIP.json */ /** * Sample code: WorkloadNetworks_DeletePublicIP. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteSegmentSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteSegmentSamples.java index 70004dc53183..1dea561c2236 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteSegmentSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteSegmentSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksDeleteSegmentSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteSegment. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteSegment.json */ /** * Sample code: WorkloadNetworks_DeleteSegment. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteVMGroupSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteVMGroupSamples.java index d96c06269cf8..edfeb5e9c0ac 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteVMGroupSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteVMGroupSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksDeleteVMGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_DeleteVMGroup. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_DeleteVMGroup.json */ /** * Sample code: WorkloadNetworks_DeleteVMGroup. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDhcpSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDhcpSamples.java index 944cb2f5ce31..bac42c2b28eb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDhcpSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDhcpSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksGetDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetDhcp.json */ /** * Sample code: WorkloadNetworks_GetDhcp. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsServiceSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsServiceSamples.java index 85bd6033e00e..7cb059d6a387 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsServiceSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsServiceSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksGetDnsServiceSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetDnsService. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetDnsService.json */ /** * Sample code: WorkloadNetworks_GetDnsService. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsZoneSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsZoneSamples.java index b3e019266a83..60b7b2ba3677 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsZoneSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsZoneSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksGetDnsZoneSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetDnsZone.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetDnsZone.json */ /** * Sample code: WorkloadNetworks_GetDnsZone. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetGatewaySamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetGatewaySamples.java index 2c3f7c21c61b..136b8200dee4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetGatewaySamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetGatewaySamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksGetGatewaySamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetGateway.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetGateway.json */ /** * Sample code: WorkloadNetworks_GetGateway. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPortMirroringSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPortMirroringSamples.java index f27fc4adb65e..a6ad560ac6da 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPortMirroringSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPortMirroringSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksGetPortMirroringSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetPortMirroring. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetPortMirroring.json */ /** * Sample code: WorkloadNetworks_GetPortMirroring. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPublicIpSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPublicIpSamples.java index e97049ef490a..ca54c2bdd35f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPublicIpSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPublicIpSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksGetPublicIpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetPublicIP.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetPublicIP.json */ /** * Sample code: WorkloadNetworks_GetPublicIP. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSamples.java index 45eedb67c88c..623b3212c320 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksGetSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_Get.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_Get.json */ /** * Sample code: WorkloadNetworks_Get. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSegmentSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSegmentSamples.java index 81e5f6bd10aa..c11029b3e078 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSegmentSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSegmentSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksGetSegmentSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetSegment.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetSegment.json */ /** * Sample code: WorkloadNetworks_GetSegment. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVMGroupSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVMGroupSamples.java index a7b09c9b6281..a2291d548198 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVMGroupSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVMGroupSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksGetVMGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetVMGroup.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetVMGroup.json */ /** * Sample code: WorkloadNetworks_GetVMGroup. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVirtualMachineSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVirtualMachineSamples.java index 82bcd2525deb..6734eaf98020 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVirtualMachineSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVirtualMachineSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksGetVirtualMachineSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_GetVirtualMachine - * .json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_GetVirtualMachine.json */ /** * Sample code: WorkloadNetworks_GetVirtualMachine. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDhcpSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDhcpSamples.java index 911e92e41378..867f0a96e550 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDhcpSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDhcpSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksListDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListDhcp.json */ /** * Sample code: WorkloadNetworks_ListDhcp. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsServicesSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsServicesSamples.java index 9b3e278ca5fe..6d458db9a9a9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsServicesSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsServicesSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksListDnsServicesSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListDnsServices. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListDnsServices.json */ /** * Sample code: WorkloadNetworks_ListDnsServices. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsZonesSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsZonesSamples.java index 28fb42c325ca..bf10cf4518ff 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsZonesSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsZonesSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksListDnsZonesSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListDnsZones.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListDnsZones.json */ /** * Sample code: WorkloadNetworks_ListDnsZones. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListGatewaysSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListGatewaysSamples.java index f855a27f00c9..2aea6b5f449b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListGatewaysSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListGatewaysSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksListGatewaysSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListGateways.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListGateways.json */ /** * Sample code: WorkloadNetworks_ListGateways. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPortMirroringSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPortMirroringSamples.java index b2fd0745dc10..72c51a4bd9e9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPortMirroringSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPortMirroringSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksListPortMirroringSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListPortMirroring - * .json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListPortMirroring.json */ /** * Sample code: WorkloadNetworks_ListPortMirroring. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPublicIPsSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPublicIPsSamples.java index b3b1c40a1bfe..cc021ec38f4c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPublicIPsSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPublicIPsSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,9 +9,7 @@ */ public final class WorkloadNetworksListPublicIPsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListPublicIPs. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListPublicIPs.json */ /** * Sample code: WorkloadNetworks_ListPublicIPs. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSamples.java index d2de7841e80a..dc45431ea8d1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksListSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_List.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_List.json */ /** * Sample code: WorkloadNetworks_List. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSegmentsSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSegmentsSamples.java index 4f07c4faa673..1114d12ba7bf 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSegmentsSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSegmentsSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksListSegmentsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListSegments.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListSegments.json */ /** * Sample code: WorkloadNetworks_ListSegments. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVMGroupsSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVMGroupsSamples.java index 6aebb778c5c0..7665a8c25787 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVMGroupsSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVMGroupsSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksListVMGroupsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_ListVMGroups.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListVMGroups.json */ /** * Sample code: WorkloadNetworks_ListVMGroups. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVirtualMachinesSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVirtualMachinesSamples.java index 6655e1c58703..a1a099b1edba 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVirtualMachinesSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVirtualMachinesSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -9,8 +9,7 @@ */ public final class WorkloadNetworksListVirtualMachinesSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * WorkloadNetworks_ListVirtualMachines.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_ListVirtualMachines.json */ /** * Sample code: WorkloadNetworks_ListVirtualMachines. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDhcpSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDhcpSamples.java index 4210c151149e..b8031cbbc2e9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDhcpSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDhcpSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -12,8 +12,7 @@ */ public final class WorkloadNetworksUpdateDhcpSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateDhcp.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateDhcp.json */ /** * Sample code: WorkloadNetworks_UpdateDhcp. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDnsServiceSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDnsServiceSamples.java index a6874a0d0ade..b7a2bb1ed8a0 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDnsServiceSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDnsServiceSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -13,9 +13,7 @@ */ public final class WorkloadNetworksUpdateDnsServiceSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateDnsService. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateDnsService.json */ /** * Sample code: WorkloadNetworks_UpdateDnsService. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDnsZoneSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDnsZoneSamples.java index 43d84059d217..189e0a3458cf 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDnsZoneSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateDnsZoneSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -12,9 +12,7 @@ */ public final class WorkloadNetworksUpdateDnsZoneSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateDnsZone. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateDnsZone.json */ /** * Sample code: WorkloadNetworks_UpdateDnsZone. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdatePortMirroringSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdatePortMirroringSamples.java index d26dc721119f..8a4fa91b474a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdatePortMirroringSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdatePortMirroringSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -12,8 +12,7 @@ */ public final class WorkloadNetworksUpdatePortMirroringSamples { /* - * x-ms-original-file: specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/ - * WorkloadNetworks_UpdatePortMirroring.json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdatePortMirroring.json */ /** * Sample code: WorkloadNetworks_UpdatePortMirroring. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateSegmentsSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateSegmentsSamples.java index e2437021372a..e62c72f800fb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateSegmentsSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateSegmentsSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -13,9 +13,7 @@ */ public final class WorkloadNetworksUpdateSegmentsSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateSegments. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateSegments.json */ /** * Sample code: WorkloadNetworks_UpdateSegments. diff --git a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateVMGroupSamples.java b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateVMGroupSamples.java index bb469121b094..42d6e12c54cd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateVMGroupSamples.java +++ b/sdk/avs/azure-resourcemanager-avs/src/samples/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksUpdateVMGroupSamples.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -12,9 +12,7 @@ */ public final class WorkloadNetworksUpdateVMGroupSamples { /* - * x-ms-original-file: - * specification/vmware/resource-manager/Microsoft.AVS/stable/2024-09-01/examples/WorkloadNetworks_UpdateVMGroup. - * json + * x-ms-original-file: 2024-09-01/WorkloadNetworks_UpdateVMGroup.json */ /** * Sample code: WorkloadNetworks_UpdateVMGroup. diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsCreateOrUpdateMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsCreateOrUpdateMockTests.java index 766766c0d794..2bfbc912cc3b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsCreateOrUpdateMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsCreateOrUpdateMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class AddonsCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Succeeded\"},\"id\":\"cmjkavlgorbmftpm\",\"name\":\"tzfjltf\",\"type\":\"nzcyjtotp\"}"; + = "{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Succeeded\"},\"id\":\"rczezkhhlt\",\"name\":\"jadhqoawj\",\"type\":\"oyueayfbpcmsp\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,8 +31,8 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Addon response = manager.addons() - .define("nlj") - .withExistingPrivateCloud("iitdfuxt", "asiibmiybnnust") + .define("bxrblmliowxihspn") + .withExistingPrivateCloud("a", "s") .withProperties(new AddonProperties()) .create(); diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsDeleteMockTests.java index 987d7868f7d0..d98a92e34498 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.addons().delete("irpghriypoqeyh", "qhykprlpyzn", "ciqdsme", com.azure.core.util.Context.NONE); + manager.addons().delete("nqbpi", "xqltgrd", "gypxrxvbfihwuhvc", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsGetWithResponseMockTests.java index 58145f3a7e27..cf869fc9ec77 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,7 +20,7 @@ public final class AddonsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Succeeded\"},\"id\":\"tfaeyl\",\"name\":\"nm\",\"type\":\"gv\"}"; + = "{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Building\"},\"id\":\"c\",\"name\":\"xnbkkj\",\"type\":\"nurnnq\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Addon response = manager.addons() - .getWithResponse("qqxlajr", "wxacevehj", "uyxoaf", com.azure.core.util.Context.NONE) + .getWithResponse("rdzsylollgtrczzy", "mxzjijpvua", "rkihcirld", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsListMockTests.java index 78cbed1a5152..5024aa30e88c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AddonsListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class AddonsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Building\"},\"id\":\"uankrrfxeeeb\",\"name\":\"ij\",\"type\":\"acvbmqz\"}]}"; + = "{\"value\":[{\"properties\":{\"addonType\":\"AddonProperties\",\"provisioningState\":\"Failed\"},\"id\":\"isqcssffxuifmcs\",\"name\":\"p\",\"type\":\"bkdq\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testList() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response = manager.addons().list("bgomfgbegl", "gleohi", com.azure.core.util.Context.NONE); + PagedIterable response = manager.addons().list("u", "vxnqmhrpqpd", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AuthorizationsDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AuthorizationsDeleteMockTests.java index 029bf8717790..69a53db365b1 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AuthorizationsDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/AuthorizationsDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,8 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.authorizations() - .delete("mcdzsufcohdxbz", "mcmuapc", "hdbevwqqxeyskon", com.azure.core.util.Context.NONE); + manager.authorizations().delete("mjc", "oewbid", "vteo", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksCreateOrUpdateMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksCreateOrUpdateMockTests.java index 6389cda38eab..ad4a9b08f7b5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksCreateOrUpdateMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksCreateOrUpdateMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class CloudLinksCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"status\":\"Failed\",\"linkedCloud\":\"gny\"},\"id\":\"sf\",\"name\":\"svtui\",\"type\":\"zh\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"status\":\"Deleting\",\"linkedCloud\":\"shxcylhkg\"},\"id\":\"sghpx\",\"name\":\"cphdrwjjkhvyo\",\"type\":\"ac\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,11 +31,11 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); CloudLink response = manager.cloudLinks() - .define("clj") - .withExistingPrivateCloud("nobpudcdabtqwpw", "awbzasqb") - .withLinkedCloud("guyaip") + .define("dlrgms") + .withExistingPrivateCloud("eewxeiqbpsmg", "mguaml") + .withLinkedCloud("cshhv") .create(); - Assertions.assertEquals("gny", response.linkedCloud()); + Assertions.assertEquals("shxcylhkg", response.linkedCloud()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksDeleteMockTests.java index e3d67149c122..1431a875c28b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.cloudLinks().delete("fqsfa", "aqtferr", "wexjkmfxapjwogq", com.azure.core.util.Context.NONE); + manager.cloudLinks().delete("wtoaukhfk", "cisiz", "oaedsxjwuivedwcg", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksGetWithResponseMockTests.java index a22a41ef9d67..6c9a42136246 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class CloudLinksGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"status\":\"Active\",\"linkedCloud\":\"prprsnmokay\"},\"id\":\"jnhlbkpbzpcpiljh\",\"name\":\"hzvechndbnwieho\",\"type\":\"ewjwiuubw\"}"; + = "{\"properties\":{\"provisioningState\":\"Canceled\",\"status\":\"Failed\",\"linkedCloud\":\"myqwcab\"},\"id\":\"ui\",\"name\":\"eeyaswl\",\"type\":\"augmrmfjlr\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,10 +30,9 @@ public void testGetWithResponse() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - CloudLink response = manager.cloudLinks() - .getWithResponse("dlat", "tmzlbiojlv", "hrbbpneqvcwwyy", com.azure.core.util.Context.NONE) - .getValue(); + CloudLink response + = manager.cloudLinks().getWithResponse("mgtvlj", "rc", "yfqi", com.azure.core.util.Context.NONE).getValue(); - Assertions.assertEquals("prprsnmokay", response.linkedCloud()); + Assertions.assertEquals("myqwcab", response.linkedCloud()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksListMockTests.java index 706000aaea8c..fe42a2f5765b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/CloudLinksListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class CloudLinksListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"status\":\"Disconnected\",\"linkedCloud\":\"d\"},\"id\":\"zmqpnodawopqhewj\",\"name\":\"tmcg\",\"type\":\"bostzel\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"status\":\"Failed\",\"linkedCloud\":\"dikdfrdbi\"},\"id\":\"rjgeih\",\"name\":\"qlggwfi\",\"type\":\"zcxmjpbyep\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,8 +31,9 @@ public void testList() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response = manager.cloudLinks().list("q", "bkwvzg", com.azure.core.util.Context.NONE); + PagedIterable response + = manager.cloudLinks().list("vpbbt", "efjokn", com.azure.core.util.Context.NONE); - Assertions.assertEquals("d", response.iterator().next().linkedCloud()); + Assertions.assertEquals("dikdfrdbi", response.iterator().next().linkedCloud()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersCreateOrUpdateMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersCreateOrUpdateMockTests.java index 82da40ba918c..925af72f3e0d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersCreateOrUpdateMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersCreateOrUpdateMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -24,7 +24,7 @@ public final class ClustersCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"clusterSize\":1506746299,\"provisioningState\":\"Succeeded\",\"clusterId\":1026663345,\"hosts\":[\"jx\",\"nptfujgi\",\"gaao\"],\"vsanDatastoreName\":\"ttaqutdew\"},\"sku\":{\"name\":\"mxswvruunzz\",\"tier\":\"Premium\",\"size\":\"kfkimrtixok\",\"family\":\"qyinl\",\"capacity\":980930736},\"id\":\"qwhix\",\"name\":\"onsts\",\"type\":\"i\"}"; + = "{\"properties\":{\"clusterSize\":2061594635,\"provisioningState\":\"Succeeded\",\"clusterId\":1733569114,\"hosts\":[\"pzdqtvhcspod\",\"qaxsipietgbebjf\",\"lbmoichd\"],\"vsanDatastoreName\":\"nfpubntnbatz\"},\"sku\":{\"name\":\"iqsowsaaelc\",\"tier\":\"Free\",\"size\":\"ju\",\"family\":\"lrvkmjc\",\"capacity\":1748299697},\"id\":\"lgfggcvk\",\"name\":\"y\",\"type\":\"izrzb\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,25 +34,25 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Cluster response = manager.clusters() - .define("ktwfa") - .withExistingPrivateCloud("zjedmstkvnlv", "bcuiiz") - .withSku(new Sku().withName("fwlwxjwetnps") - .withTier(SkuTier.STANDARD) - .withSize("afzvaylptrs") - .withFamily("wztcmwqkchc") - .withCapacity(1038627609)) - .withClusterSize(206149919) - .withHosts(Arrays.asList("kostbzbki", "buqny", "phzfylsgcrp", "bcunezzceze")) - .withVsanDatastoreName("w") + .define("bfdpyflubhv") + .withExistingPrivateCloud("vv", "icphvtrrmhw") + .withSku(new Sku().withName("mykyujxsglhs") + .withTier(SkuTier.FREE) + .withSize("ejylmbkzu") + .withFamily("igrfihotjewl") + .withCapacity(349681251)) + .withClusterSize(213573747) + .withHosts(Arrays.asList("whhmemhooc")) + .withVsanDatastoreName("tnpqmemczjk") .create(); - Assertions.assertEquals("mxswvruunzz", response.sku().name()); - Assertions.assertEquals(SkuTier.PREMIUM, response.sku().tier()); - Assertions.assertEquals("kfkimrtixok", response.sku().size()); - Assertions.assertEquals("qyinl", response.sku().family()); - Assertions.assertEquals(980930736, response.sku().capacity()); - Assertions.assertEquals(1506746299, response.clusterSize()); - Assertions.assertEquals("jx", response.hosts().get(0)); - Assertions.assertEquals("ttaqutdew", response.vsanDatastoreName()); + Assertions.assertEquals("iqsowsaaelc", response.sku().name()); + Assertions.assertEquals(SkuTier.FREE, response.sku().tier()); + Assertions.assertEquals("ju", response.sku().size()); + Assertions.assertEquals("lrvkmjc", response.sku().family()); + Assertions.assertEquals(1748299697, response.sku().capacity()); + Assertions.assertEquals(2061594635, response.clusterSize()); + Assertions.assertEquals("pzdqtvhcspod", response.hosts().get(0)); + Assertions.assertEquals("nfpubntnbatz", response.vsanDatastoreName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersDeleteMockTests.java index be28c3bc97b1..3f52c4dd544f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,8 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.clusters().delete("ryuzcbmqqv", "mv", "fgtayxonsup", com.azure.core.util.Context.NONE); + manager.clusters() + .delete("tkcudfbsfarfsiow", "kjxnqpvwgfstmhq", "kizmdksaoafclu", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersGetWithResponseMockTests.java index 3a6c47689cb8..554ffebfc67d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class ClustersGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"clusterSize\":1111132453,\"provisioningState\":\"Deleting\",\"clusterId\":1707444160,\"hosts\":[\"vcpopmxe\",\"nwcl\"],\"vsanDatastoreName\":\"jedexxmlf\"},\"sku\":{\"name\":\"kqscazuawxtzx\",\"tier\":\"Premium\",\"size\":\"wabzxrvxcushsp\",\"family\":\"ivmxyasfl\",\"capacity\":1652128908},\"id\":\"zwywako\",\"name\":\"hknsmjbl\",\"type\":\"ljhlnymzotq\"}"; + = "{\"properties\":{\"clusterSize\":892408076,\"provisioningState\":\"Canceled\",\"clusterId\":1073428271,\"hosts\":[\"cfdmmcpugmehqe\",\"vufhbzehewhoq\",\"nlbqnbldxeaclg\"],\"vsanDatastoreName\":\"horimkr\"},\"sku\":{\"name\":\"r\",\"tier\":\"Free\",\"size\":\"cso\",\"family\":\"dpuviyf\",\"capacity\":901847104},\"id\":\"eolhbhlvbmx\",\"name\":\"qi\",\"type\":\"s\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,16 +32,16 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Cluster response = manager.clusters() - .getWithResponse("dwfmvigorqjb", "tzh", "aglkafhon", com.azure.core.util.Context.NONE) + .getWithResponse("oshbragapyy", "mfsvbpav", "opfppdbwnupgah", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("kqscazuawxtzx", response.sku().name()); - Assertions.assertEquals(SkuTier.PREMIUM, response.sku().tier()); - Assertions.assertEquals("wabzxrvxcushsp", response.sku().size()); - Assertions.assertEquals("ivmxyasfl", response.sku().family()); - Assertions.assertEquals(1652128908, response.sku().capacity()); - Assertions.assertEquals(1111132453, response.clusterSize()); - Assertions.assertEquals("vcpopmxe", response.hosts().get(0)); - Assertions.assertEquals("jedexxmlf", response.vsanDatastoreName()); + Assertions.assertEquals("r", response.sku().name()); + Assertions.assertEquals(SkuTier.FREE, response.sku().tier()); + Assertions.assertEquals("cso", response.sku().size()); + Assertions.assertEquals("dpuviyf", response.sku().family()); + Assertions.assertEquals(901847104, response.sku().capacity()); + Assertions.assertEquals(892408076, response.clusterSize()); + Assertions.assertEquals("cfdmmcpugmehqe", response.hosts().get(0)); + Assertions.assertEquals("horimkr", response.vsanDatastoreName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersListMockTests.java index 8baa206858b1..db5e1d9fb4f9 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class ClustersListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"clusterSize\":356071455,\"provisioningState\":\"Failed\",\"clusterId\":752629993,\"hosts\":[\"xznptgoeiyb\",\"abpfhvfs\",\"kvntjlrigjkskyri\"],\"vsanDatastoreName\":\"vzidsxwaab\"},\"sku\":{\"name\":\"mifrygznmma\",\"tier\":\"Basic\",\"size\":\"kzobgopxlhsln\",\"family\":\"xieixynllxec\",\"capacity\":2059770888},\"id\":\"jphslhcaw\",\"name\":\"u\",\"type\":\"i\"}]}"; + = "{\"value\":[{\"properties\":{\"clusterSize\":1416170888,\"provisioningState\":\"Cancelled\",\"clusterId\":61809023,\"hosts\":[\"mkmlmvevfx\",\"op\",\"hbzxli\"],\"vsanDatastoreName\":\"rdddtfgxqbawpcb\"},\"sku\":{\"name\":\"nzqcy\",\"tier\":\"Standard\",\"size\":\"qofyuicdhzbdy\",\"family\":\"wgbdvibidmhmwffp\",\"capacity\":1436158527},\"id\":\"vapckccrrvwey\",\"name\":\"xoy\",\"type\":\"ukphaimmoiroq\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,15 +33,15 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.clusters().list("jqg", "cfhmlrqryxyn", com.azure.core.util.Context.NONE); + = manager.clusters().list("xv", "sasbcrymodizrx", com.azure.core.util.Context.NONE); - Assertions.assertEquals("mifrygznmma", response.iterator().next().sku().name()); - Assertions.assertEquals(SkuTier.BASIC, response.iterator().next().sku().tier()); - Assertions.assertEquals("kzobgopxlhsln", response.iterator().next().sku().size()); - Assertions.assertEquals("xieixynllxec", response.iterator().next().sku().family()); - Assertions.assertEquals(2059770888, response.iterator().next().sku().capacity()); - Assertions.assertEquals(356071455, response.iterator().next().clusterSize()); - Assertions.assertEquals("xznptgoeiyb", response.iterator().next().hosts().get(0)); - Assertions.assertEquals("vzidsxwaab", response.iterator().next().vsanDatastoreName()); + Assertions.assertEquals("nzqcy", response.iterator().next().sku().name()); + Assertions.assertEquals(SkuTier.STANDARD, response.iterator().next().sku().tier()); + Assertions.assertEquals("qofyuicdhzbdy", response.iterator().next().sku().size()); + Assertions.assertEquals("wgbdvibidmhmwffp", response.iterator().next().sku().family()); + Assertions.assertEquals(1436158527, response.iterator().next().sku().capacity()); + Assertions.assertEquals(1416170888, response.iterator().next().clusterSize()); + Assertions.assertEquals("mkmlmvevfx", response.iterator().next().hosts().get(0)); + Assertions.assertEquals("rdddtfgxqbawpcb", response.iterator().next().vsanDatastoreName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersListZonesWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersListZonesWithResponseMockTests.java index 18a68c9dfaca..ca8d23ba230c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersListZonesWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ClustersListZonesWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,7 +20,7 @@ public final class ClustersListZonesWithResponseMockTests { @Test public void testListZonesWithResponse() throws Exception { String responseStr - = "{\"zones\":[{\"hosts\":[\"qxeiiqbimhtmwwi\",\"h\",\"hfqpofv\"],\"zone\":\"cblembnkbwv\"},{\"hosts\":[\"kdi\"],\"zone\":\"ihebwtsw\"},{\"hosts\":[\"wfmdurage\",\"izvcjfe\",\"isdju\",\"ggbqi\"],\"zone\":\"xkbsazgakgac\"},{\"hosts\":[\"m\",\"dmspof\",\"pv\"],\"zone\":\"rylniofrzg\"}]}"; + = "{\"zones\":[{\"hosts\":[\"dsxwefoh\"],\"zone\":\"bvopwndyqle\"},{\"hosts\":[\"klmtkhlowkx\",\"pvbrdfjmzsyz\",\"hotlhikcyychunsj\"],\"zone\":\"jrtwsz\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testListZonesWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ClusterZoneList response = manager.clusters() - .listZonesWithResponse("ujlzqnhcvsqltn", "oibgsxg", "xfyqonmpqoxwdo", com.azure.core.util.Context.NONE) + .listZonesWithResponse("v", "xmycjimryvwgcw", "pbmz", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresCreateOrUpdateMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresCreateOrUpdateMockTests.java index 72afe1194e2a..715aa08faa1b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresCreateOrUpdateMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresCreateOrUpdateMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -26,7 +26,7 @@ public final class DatastoresCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"netAppVolume\":{\"id\":\"abpxuc\"},\"diskPoolVolume\":{\"targetId\":\"ggqowey\",\"lunName\":\"rdhlis\",\"mountOption\":\"MOUNT\",\"path\":\"lqqmpiz\"},\"elasticSanVolume\":{\"targetId\":\"w\"},\"pureStorageVolume\":{\"storagePoolId\":\"qxpxiwfcngjsaa\",\"sizeGb\":2137009925},\"status\":\"Unknown\"},\"id\":\"mkzjvkviir\",\"name\":\"gfgrwsdp\",\"type\":\"ra\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"netAppVolume\":{\"id\":\"qjjyslurl\"},\"diskPoolVolume\":{\"targetId\":\"hhkvpedwqs\",\"lunName\":\"srhmpqvww\",\"mountOption\":\"MOUNT\",\"path\":\"dcbrwimuvq\"},\"elasticSanVolume\":{\"targetId\":\"osovyrrleaesin\"},\"pureStorageVolume\":{\"storagePoolId\":\"tljqobbpih\",\"sizeGb\":547069832},\"status\":\"LostCommunication\"},\"id\":\"ybmrqbrjbbmp\",\"name\":\"dlvykfrex\",\"type\":\"rseqwjksghudgz\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,22 +36,22 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Datastore response = manager.datastores() - .define("gunbtgfebwlnbm") - .withExistingCluster("gbzahgxqdlyr", "ltlaprltzkatbhj", "znnbsoqeqalarvl") - .withNetAppVolume(new NetAppVolume().withId("udzqavbp")) - .withDiskPoolVolume(new DiskPoolVolume().withTargetId("mjxlyyzglgouw") - .withLunName("lmjjyuo") - .withMountOption(MountOptionEnum.MOUNT)) - .withElasticSanVolume(new ElasticSanVolume().withTargetId("ytunlbfjkwr")) - .withPureStorageVolume(new PureStorageVolume().withStoragePoolId("nkqbhsyrq").withSizeGb(166091812)) + .define("pxy") + .withExistingCluster("iwdcxsmlzzhzd", "xetlgydlhqv", "n") + .withNetAppVolume(new NetAppVolume().withId("geaar")) + .withDiskPoolVolume(new DiskPoolVolume().withTargetId("jekglklbyuli") + .withLunName("wcwvmzeg") + .withMountOption(MountOptionEnum.ATTACH)) + .withElasticSanVolume(new ElasticSanVolume().withTargetId("wgdnqzbr")) + .withPureStorageVolume(new PureStorageVolume().withStoragePoolId("spzhzmtksjc").withSizeGb(544084832)) .create(); - Assertions.assertEquals("abpxuc", response.netAppVolume().id()); - Assertions.assertEquals("ggqowey", response.diskPoolVolume().targetId()); - Assertions.assertEquals("rdhlis", response.diskPoolVolume().lunName()); + Assertions.assertEquals("qjjyslurl", response.netAppVolume().id()); + Assertions.assertEquals("hhkvpedwqs", response.diskPoolVolume().targetId()); + Assertions.assertEquals("srhmpqvww", response.diskPoolVolume().lunName()); Assertions.assertEquals(MountOptionEnum.MOUNT, response.diskPoolVolume().mountOption()); - Assertions.assertEquals("w", response.elasticSanVolume().targetId()); - Assertions.assertEquals("qxpxiwfcngjsaa", response.pureStorageVolume().storagePoolId()); - Assertions.assertEquals(2137009925, response.pureStorageVolume().sizeGb()); + Assertions.assertEquals("osovyrrleaesin", response.elasticSanVolume().targetId()); + Assertions.assertEquals("tljqobbpih", response.pureStorageVolume().storagePoolId()); + Assertions.assertEquals(547069832, response.pureStorageVolume().sizeGb()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresDeleteMockTests.java index ec157656e9d3..86a50a7f3c88 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.datastores().delete("twk", "aosrxuz", "oamktcq", "os", com.azure.core.util.Context.NONE); + manager.datastores().delete("mzlanru", "dwv", "phcnzqtpj", "mqrhvthl", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresGetWithResponseMockTests.java index fb5f78353372..3c312fa55dcb 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class DatastoresGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Failed\",\"netAppVolume\":{\"id\":\"g\"},\"diskPoolVolume\":{\"targetId\":\"npbs\",\"lunName\":\"vefloccsrmozihmi\",\"mountOption\":\"MOUNT\",\"path\":\"txx\"},\"elasticSanVolume\":{\"targetId\":\"y\"},\"pureStorageVolume\":{\"storagePoolId\":\"xcjxgrytfmpcy\",\"sizeGb\":1141313452},\"status\":\"Attached\"},\"id\":\"caykggnoxuz\",\"name\":\"rksxwpndfc\",\"type\":\"fnznth\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"netAppVolume\":{\"id\":\"mltx\"},\"diskPoolVolume\":{\"targetId\":\"hmoz\",\"lunName\":\"sgzv\",\"mountOption\":\"ATTACH\",\"path\":\"nj\"},\"elasticSanVolume\":{\"targetId\":\"pafolp\"},\"pureStorageVolume\":{\"storagePoolId\":\"wamxqzrag\",\"sizeGb\":520460830},\"status\":\"DeadOrError\"},\"id\":\"t\",\"name\":\"dulajvlejchcs\",\"type\":\"lzk\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,16 +32,15 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Datastore response = manager.datastores() - .getWithResponse("wwixzvumw", "xqhndvnoamlds", "haohdjhhflzokxc", "xpelnjetagltsx", - com.azure.core.util.Context.NONE) + .getWithResponse("mjsmwr", "kcdxfzzzw", "jafi", "lhguyn", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("g", response.netAppVolume().id()); - Assertions.assertEquals("npbs", response.diskPoolVolume().targetId()); - Assertions.assertEquals("vefloccsrmozihmi", response.diskPoolVolume().lunName()); - Assertions.assertEquals(MountOptionEnum.MOUNT, response.diskPoolVolume().mountOption()); - Assertions.assertEquals("y", response.elasticSanVolume().targetId()); - Assertions.assertEquals("xcjxgrytfmpcy", response.pureStorageVolume().storagePoolId()); - Assertions.assertEquals(1141313452, response.pureStorageVolume().sizeGb()); + Assertions.assertEquals("mltx", response.netAppVolume().id()); + Assertions.assertEquals("hmoz", response.diskPoolVolume().targetId()); + Assertions.assertEquals("sgzv", response.diskPoolVolume().lunName()); + Assertions.assertEquals(MountOptionEnum.ATTACH, response.diskPoolVolume().mountOption()); + Assertions.assertEquals("pafolp", response.elasticSanVolume().targetId()); + Assertions.assertEquals("wamxqzrag", response.pureStorageVolume().storagePoolId()); + Assertions.assertEquals(520460830, response.pureStorageVolume().sizeGb()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresListMockTests.java index b5a20c01a8ed..353260e2ea5f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/DatastoresListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class DatastoresListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Creating\",\"netAppVolume\":{\"id\":\"bxqmu\"},\"diskPoolVolume\":{\"targetId\":\"xlxqzvn\",\"lunName\":\"rsbycucrwn\",\"mountOption\":\"MOUNT\",\"path\":\"ze\"},\"elasticSanVolume\":{\"targetId\":\"qbsms\"},\"pureStorageVolume\":{\"storagePoolId\":\"iqg\",\"sizeGb\":965940259},\"status\":\"LostCommunication\"},\"id\":\"zruswh\",\"name\":\"hczznvf\",\"type\":\"ycjsx\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Creating\",\"netAppVolume\":{\"id\":\"nmjmvlwyzgiblk\"},\"diskPoolVolume\":{\"targetId\":\"rllfojuidjpuuyj\",\"lunName\":\"c\",\"mountOption\":\"ATTACH\",\"path\":\"zoeovvtzejet\"},\"elasticSanVolume\":{\"targetId\":\"ln\"},\"pureStorageVolume\":{\"storagePoolId\":\"k\",\"sizeGb\":2014573492},\"status\":\"LostCommunication\"},\"id\":\"dbqzolxrzvhqjw\",\"name\":\"rhtgvgzpcrrkol\",\"type\":\"w\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,15 +32,15 @@ public void testList() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response = manager.datastores() - .list("xgvelfclduccbird", "vuwcobiegstmnin", "jizcilnghgs", com.azure.core.util.Context.NONE); + PagedIterable response + = manager.datastores().list("psfxsf", "ztlvtmvagbwidqlv", "ukoveofi", com.azure.core.util.Context.NONE); - Assertions.assertEquals("bxqmu", response.iterator().next().netAppVolume().id()); - Assertions.assertEquals("xlxqzvn", response.iterator().next().diskPoolVolume().targetId()); - Assertions.assertEquals("rsbycucrwn", response.iterator().next().diskPoolVolume().lunName()); - Assertions.assertEquals(MountOptionEnum.MOUNT, response.iterator().next().diskPoolVolume().mountOption()); - Assertions.assertEquals("qbsms", response.iterator().next().elasticSanVolume().targetId()); - Assertions.assertEquals("iqg", response.iterator().next().pureStorageVolume().storagePoolId()); - Assertions.assertEquals(965940259, response.iterator().next().pureStorageVolume().sizeGb()); + Assertions.assertEquals("nmjmvlwyzgiblk", response.iterator().next().netAppVolume().id()); + Assertions.assertEquals("rllfojuidjpuuyj", response.iterator().next().diskPoolVolume().targetId()); + Assertions.assertEquals("c", response.iterator().next().diskPoolVolume().lunName()); + Assertions.assertEquals(MountOptionEnum.ATTACH, response.iterator().next().diskPoolVolume().mountOption()); + Assertions.assertEquals("ln", response.iterator().next().elasticSanVolume().targetId()); + Assertions.assertEquals("k", response.iterator().next().pureStorageVolume().storagePoolId()); + Assertions.assertEquals(2014573492, response.iterator().next().pureStorageVolume().sizeGb()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsDeleteMockTests.java index 5932435f37b4..75e85b34fc67 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/GlobalReachConnectionsDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,8 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.globalReachConnections().delete("jxtxrdc", "tjvidt", "gepuslvyjtc", com.azure.core.util.Context.NONE); + manager.globalReachConnections() + .delete("dptjgwdtgukranb", "wphqlkccuzgygqw", "hoi", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesDeleteWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesDeleteWithResponseMockTests.java index 7031589399e8..c3cf62e0e932 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesDeleteWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HcxEnterpriseSitesDeleteWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -28,7 +28,7 @@ public void testDeleteWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.hcxEnterpriseSites() - .deleteWithResponse("zeqyjleziun", "xdfzantkw", "eg", com.azure.core.util.Context.NONE); + .deleteWithResponse("sqowxwc", "mlikytw", "czcswka", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HostsGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HostsGetWithResponseMockTests.java index 726792207bcc..674c15aaec42 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HostsGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HostsGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class HostsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"kind\":\"HostProperties\",\"provisioningState\":\"Failed\",\"displayName\":\"jpmspbpssdfppy\",\"moRefId\":\"tieyujtvczkcny\",\"fqdn\":\"x\",\"maintenance\":\"Upgrade\",\"faultDomain\":\"d\"},\"zones\":[\"lnkvxlx\",\"aglqivbgkcvkh\",\"zvuqdflvon\"],\"sku\":{\"name\":\"pfpubcpzgpx\",\"tier\":\"Basic\",\"size\":\"j\",\"family\":\"idibgqjxgpn\",\"capacity\":1622110038},\"id\":\"vfgpikqmhhaowjrm\",\"name\":\"vuporqzdfuydzv\",\"type\":\"fvxcnqmxqpswo\"}"; + = "{\"properties\":{\"kind\":\"HostProperties\",\"provisioningState\":\"Canceled\",\"displayName\":\"mepjpf\",\"moRefId\":\"ykgsangpszng\",\"fqdn\":\"p\",\"maintenance\":\"Replacement\",\"faultDomain\":\"vecjujcn\"},\"zones\":[\"dyedmzrgjfo\",\"nub\",\"oitpkpztrgdgx\",\"coqra\"],\"sku\":{\"name\":\"ugyxpqit\",\"tier\":\"Basic\",\"size\":\"l\",\"family\":\"skbuhzaca\",\"capacity\":149181411},\"id\":\"tco\",\"name\":\"cujp\",\"type\":\"sxzakuejkm\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,16 +33,17 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); HostModel response = manager.hosts() - .getWithResponse("dtmaa", "quhuxylrj", "m", "ygjbmzyospspsh", com.azure.core.util.Context.NONE) + .getWithResponse("zvqqugdrftbcvexr", "uquowtljvfwhr", "agk", "yxvrqtvbczsul", + com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("jpmspbpssdfppy", response.properties().displayName()); - Assertions.assertEquals(HostMaintenance.UPGRADE, response.properties().maintenance()); - Assertions.assertEquals("lnkvxlx", response.zones().get(0)); - Assertions.assertEquals("pfpubcpzgpx", response.sku().name()); + Assertions.assertEquals("mepjpf", response.properties().displayName()); + Assertions.assertEquals(HostMaintenance.REPLACEMENT, response.properties().maintenance()); + Assertions.assertEquals("dyedmzrgjfo", response.zones().get(0)); + Assertions.assertEquals("ugyxpqit", response.sku().name()); Assertions.assertEquals(SkuTier.BASIC, response.sku().tier()); - Assertions.assertEquals("j", response.sku().size()); - Assertions.assertEquals("idibgqjxgpn", response.sku().family()); - Assertions.assertEquals(1622110038, response.sku().capacity()); + Assertions.assertEquals("l", response.sku().size()); + Assertions.assertEquals("skbuhzaca", response.sku().family()); + Assertions.assertEquals(149181411, response.sku().capacity()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HostsListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HostsListMockTests.java index 0587426b0751..440ebf397546 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HostsListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/HostsListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -24,7 +24,7 @@ public final class HostsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"kind\":\"HostProperties\",\"provisioningState\":\"Failed\",\"displayName\":\"zxwopdbydpizq\",\"moRefId\":\"lnapxbiygn\",\"fqdn\":\"j\",\"maintenance\":\"Upgrade\",\"faultDomain\":\"mfcttux\"},\"zones\":[\"i\",\"flqo\",\"quvre\",\"mrnjh\"],\"sku\":{\"name\":\"ujztcz\",\"tier\":\"Basic\",\"size\":\"t\",\"family\":\"auunfprnjletlx\",\"capacity\":561102100},\"id\":\"ddoui\",\"name\":\"amowaziynknlqwzd\",\"type\":\"piwhxqs\"}]}"; + = "{\"value\":[{\"properties\":{\"kind\":\"HostProperties\",\"provisioningState\":\"Succeeded\",\"displayName\":\"phvxz\",\"moRefId\":\"xhmpejtlkex\",\"fqdn\":\"nwivkcqhrxh\",\"maintenance\":\"Replacement\",\"faultDomain\":\"ccrmmk\"},\"zones\":[\"ijubyqjfkakfqf\",\"kemyil\"],\"sku\":{\"name\":\"dxjascowvfdj\",\"tier\":\"Basic\",\"size\":\"phlkksnm\",\"family\":\"vyfijdkzuqnw\",\"capacity\":891479464},\"id\":\"uqoly\",\"name\":\"hluqwquls\",\"type\":\"trjbhxykfhyq\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,15 +34,15 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.hosts().list("zvzbglbyv", "ctctbrxkjz", "rgxffmshkw", com.azure.core.util.Context.NONE); + = manager.hosts().list("xn", "akizvoaikna", "lnuwiguy", com.azure.core.util.Context.NONE); - Assertions.assertEquals("zxwopdbydpizq", response.iterator().next().properties().displayName()); - Assertions.assertEquals(HostMaintenance.UPGRADE, response.iterator().next().properties().maintenance()); - Assertions.assertEquals("i", response.iterator().next().zones().get(0)); - Assertions.assertEquals("ujztcz", response.iterator().next().sku().name()); + Assertions.assertEquals("phvxz", response.iterator().next().properties().displayName()); + Assertions.assertEquals(HostMaintenance.REPLACEMENT, response.iterator().next().properties().maintenance()); + Assertions.assertEquals("ijubyqjfkakfqf", response.iterator().next().zones().get(0)); + Assertions.assertEquals("dxjascowvfdj", response.iterator().next().sku().name()); Assertions.assertEquals(SkuTier.BASIC, response.iterator().next().sku().tier()); - Assertions.assertEquals("t", response.iterator().next().sku().size()); - Assertions.assertEquals("auunfprnjletlx", response.iterator().next().sku().family()); - Assertions.assertEquals(561102100, response.iterator().next().sku().capacity()); + Assertions.assertEquals("phlkksnm", response.iterator().next().sku().size()); + Assertions.assertEquals("vyfijdkzuqnw", response.iterator().next().sku().family()); + Assertions.assertEquals(891479464, response.iterator().next().sku().capacity()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsCreateOrUpdateMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsCreateOrUpdateMockTests.java index 98ecec6c9b0a..5598efd8d244 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsCreateOrUpdateMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsCreateOrUpdateMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class IscsiPathsCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"networkBlock\":\"xpunjqi\"},\"id\":\"zvvitacgxmfcs\",\"name\":\"er\",\"type\":\"htvs\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"networkBlock\":\"igtuu\"},\"id\":\"ouhdawsigrb\",\"name\":\"bxsjybvitvqkj\",\"type\":\"az\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,9 +32,9 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); IscsiPath response = manager.iscsiPaths() - .createOrUpdate("t", "iqxf", new IscsiPathInner().withNetworkBlock("ttvwkpqh"), + .createOrUpdate("kpbafvafhl", "ylcc", new IscsiPathInner().withNetworkBlock("rhyzdf"), com.azure.core.util.Context.NONE); - Assertions.assertEquals("xpunjqi", response.networkBlock()); + Assertions.assertEquals("igtuu", response.networkBlock()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsDeleteMockTests.java index 1ed51cb90ba7..7d6e559d6e7f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.iscsiPaths().delete("xhlw", "tsjgqrsx", com.azure.core.util.Context.NONE); + manager.iscsiPaths().delete("umtggmuwdchozfn", "fexl", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsGetWithResponseMockTests.java index 7c9ad19920b2..10f98d9f89ee 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class IscsiPathsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Pending\",\"networkBlock\":\"dfvclglxnfu\"},\"id\":\"tkbu\",\"name\":\"qogsfikayian\",\"type\":\"haru\"}"; + = "{\"properties\":{\"provisioningState\":\"Canceled\",\"networkBlock\":\"e\"},\"id\":\"no\",\"name\":\"pziuwfbzkkdtnh\",\"type\":\"sycljsel\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,10 +30,9 @@ public void testGetWithResponse() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - IscsiPath response = manager.iscsiPaths() - .getWithResponse("kyqltqsrogt", "wkffdjkt", com.azure.core.util.Context.NONE) - .getValue(); + IscsiPath response + = manager.iscsiPaths().getWithResponse("se", "zlex", com.azure.core.util.Context.NONE).getValue(); - Assertions.assertEquals("dfvclglxnfu", response.networkBlock()); + Assertions.assertEquals("e", response.networkBlock()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsListByPrivateCloudMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsListByPrivateCloudMockTests.java index 59737c86d210..fcd9b53ccf2f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsListByPrivateCloudMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/IscsiPathsListByPrivateCloudMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class IscsiPathsListByPrivateCloudMockTests { @Test public void testListByPrivateCloud() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Updating\",\"networkBlock\":\"k\"},\"id\":\"irazftxejwabmd\",\"name\":\"jtmvc\",\"type\":\"pexcmjurbuhh\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"networkBlock\":\"wwviyo\"},\"id\":\"suhbrnn\",\"name\":\"jxsqwjhqkbiwetp\",\"type\":\"zycyqiqyhg\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,8 +32,8 @@ public void testListByPrivateCloud() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.iscsiPaths().listByPrivateCloud("toebnf", "o", com.azure.core.util.Context.NONE); + = manager.iscsiPaths().listByPrivateCloud("sbfwxr", "xmdewsrsxkrplbj", com.azure.core.util.Context.NONE); - Assertions.assertEquals("k", response.iterator().next().networkBlock()); + Assertions.assertEquals("wwviyo", response.iterator().next().networkBlock()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/LocationsCheckQuotaAvailabilityWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/LocationsCheckQuotaAvailabilityWithResponseMockTests.java index 9d36dff2a9e7..9ae0b935c5c3 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/LocationsCheckQuotaAvailabilityWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/LocationsCheckQuotaAvailabilityWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,7 +20,7 @@ public final class LocationsCheckQuotaAvailabilityWithResponseMockTests { @Test public void testCheckQuotaAvailabilityWithResponse() throws Exception { String responseStr - = "{\"hostsRemaining\":{\"bbjjidjksyxk\":1060180082,\"vxevblb\":1920543012},\"quotaEnabled\":\"Enabled\"}"; + = "{\"hostsRemaining\":{\"tu\":1128032057,\"igebxncnwfepb\":171999728,\"gfmx\":1152853598,\"cgbjbgdlfgt\":1395211030},\"quotaEnabled\":\"Enabled\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testCheckQuotaAvailabilityWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Quota response = manager.locations() - .checkQuotaAvailabilityWithResponse("qgatjeaahhvjhhn", com.azure.core.util.Context.NONE) + .checkQuotaAvailabilityWithResponse("jbaqehgpdoh", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/LocationsCheckTrialAvailabilityWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/LocationsCheckTrialAvailabilityWithResponseMockTests.java index 600f7fb72523..a3e45ae7f53b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/LocationsCheckTrialAvailabilityWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/LocationsCheckTrialAvailabilityWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class LocationsCheckTrialAvailabilityWithResponseMockTests { @Test public void testCheckTrialAvailabilityWithResponse() throws Exception { - String responseStr = "{\"status\":\"TrialUsed\",\"availableHosts\":1617529760}"; + String responseStr = "{\"status\":\"TrialDisabled\",\"availableHosts\":1704016300}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,12 +31,12 @@ public void testCheckTrialAvailabilityWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); Trial response = manager.locations() - .checkTrialAvailabilityWithResponse("nljlageuaulx", - new Sku().withName("nsmjbnkppxynen") - .withTier(SkuTier.FREE) - .withSize("eizzgwk") - .withFamily("srmffeycxcktpiym") - .withCapacity(1764465622), + .checkTrialAvailabilityWithResponse("slvyjtcvuwkasi", + new Sku().withName("iesfuug") + .withTier(SkuTier.BASIC) + .withSize("fecjxeygtuhx") + .withFamily("cbuewmrswnjlxuz") + .withCapacity(900937379), com.azure.core.util.Context.NONE) .getValue(); diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/OperationsListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/OperationsListMockTests.java index 828a8857586a..c7988df185ae 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/OperationsListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/OperationsListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class OperationsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"name\":\"nsymoyqhlwigd\",\"isDataAction\":true,\"display\":{\"provider\":\"xgomfajuwa\",\"resource\":\"vdaeyyguxakjsq\",\"operation\":\"zbezkgimsidxasic\",\"description\":\"yvvjskgfmo\"},\"origin\":\"user,system\",\"actionType\":\"Internal\"}]}"; + = "{\"value\":[{\"name\":\"nixjawrtmjfjmy\",\"isDataAction\":true,\"display\":{\"provider\":\"hcoxov\",\"resource\":\"khenlus\",\"operation\":\"rd\",\"description\":\"xtxrdcqtjvidt\"},\"origin\":\"user,system\",\"actionType\":\"Internal\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesCreateOrUpdateMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesCreateOrUpdateMockTests.java index d49952eaddfb..a586641fdbab 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesCreateOrUpdateMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesCreateOrUpdateMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class PlacementPoliciesCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"type\":\"PlacementPolicyProperties\",\"state\":\"Disabled\",\"displayName\":\"qinjipnwjf\",\"provisioningState\":\"Succeeded\"},\"id\":\"afcba\",\"name\":\"hpzpo\",\"type\":\"o\"}"; + = "{\"properties\":{\"type\":\"PlacementPolicyProperties\",\"state\":\"Disabled\",\"displayName\":\"vvf\",\"provisioningState\":\"Succeeded\"},\"id\":\"lghktuidvrm\",\"name\":\"zlpdwwex\",\"type\":\"mzvlazipbh\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,13 +33,13 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PlacementPolicy response = manager.placementPolicies() - .define("btozipqwje") - .withExistingCluster("gfabuiyjibuzphdu", "neiknpg", "xgjiuqh") + .define("k") + .withExistingCluster("aq", "pirpiwrqof", "lopmjnlexwhcbjpi") .withProperties( - new PlacementPolicyProperties().withState(PlacementPolicyState.DISABLED).withDisplayName("xxgewpk")) + new PlacementPolicyProperties().withState(PlacementPolicyState.ENABLED).withDisplayName("uerct")) .create(); Assertions.assertEquals(PlacementPolicyState.DISABLED, response.properties().state()); - Assertions.assertEquals("qinjipnwjf", response.properties().displayName()); + Assertions.assertEquals("vvf", response.properties().displayName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesDeleteMockTests.java index 58b92f72e27b..36b5a16a3c16 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -28,7 +28,7 @@ public void testDelete() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.placementPolicies() - .delete("fhnykzcugs", "vxwlmzqwmvtxnj", "xmcuqud", "cvclxynpdk", com.azure.core.util.Context.NONE); + .delete("vyuns", "xlghieegj", "gvvpasek", "gbuxantuygdh", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesGetWithResponseMockTests.java index 524b68a5560b..b9ef69a39017 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class PlacementPoliciesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"type\":\"PlacementPolicyProperties\",\"state\":\"Disabled\",\"displayName\":\"svth\",\"provisioningState\":\"Deleting\"},\"id\":\"tekovmri\",\"name\":\"iattgplu\",\"type\":\"fotang\"}"; + = "{\"properties\":{\"type\":\"PlacementPolicyProperties\",\"state\":\"Enabled\",\"displayName\":\"blydyvkf\",\"provisioningState\":\"Canceled\"},\"id\":\"cxneh\",\"name\":\"sm\",\"type\":\"odlfpyapucygvo\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,10 +32,10 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PlacementPolicy response = manager.placementPolicies() - .getWithResponse("s", "qgvriibakcla", "jfrnxousxauzlwv", "gmwohqfzizvu", com.azure.core.util.Context.NONE) + .getWithResponse("oqza", "unwqr", "zfrgqhaohcm", "uocnjrohmbpyr", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals(PlacementPolicyState.DISABLED, response.properties().state()); - Assertions.assertEquals("svth", response.properties().displayName()); + Assertions.assertEquals(PlacementPolicyState.ENABLED, response.properties().state()); + Assertions.assertEquals("blydyvkf", response.properties().displayName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesListMockTests.java index a3a1a66eb17b..c9ec29e36646 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PlacementPoliciesListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class PlacementPoliciesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"type\":\"PlacementPolicyProperties\",\"state\":\"Disabled\",\"displayName\":\"gpicr\",\"provisioningState\":\"Failed\"},\"id\":\"rgmqgjs\",\"name\":\"vpqcb\",\"type\":\"rmbodt\"}]}"; + = "{\"value\":[{\"properties\":{\"type\":\"PlacementPolicyProperties\",\"state\":\"Disabled\",\"displayName\":\"uatmzwcjjncqtj\",\"provisioningState\":\"Canceled\"},\"id\":\"vgbgatzuuvbxng\",\"name\":\"ebwgga\",\"type\":\"ttzlswvajqfutlx\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,9 +33,9 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.placementPolicies().list("mvkhlggd", "bemzqkzszuwi", "tglxx", com.azure.core.util.Context.NONE); + = manager.placementPolicies().list("cgdz", "enribc", "wetzqddtjwfljh", com.azure.core.util.Context.NONE); Assertions.assertEquals(PlacementPolicyState.DISABLED, response.iterator().next().properties().state()); - Assertions.assertEquals("gpicr", response.iterator().next().properties().displayName()); + Assertions.assertEquals("uatmzwcjjncqtj", response.iterator().next().properties().displayName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PrivateCloudsDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PrivateCloudsDeleteMockTests.java index daddd88cd730..e6636da0c7af 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PrivateCloudsDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PrivateCloudsDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.privateClouds().delete("sylwxdzaumweooh", "uufuz", com.azure.core.util.Context.NONE); + manager.privateClouds().delete("eizjcpeogkhnmg", "ro", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksGetWithResponseMockTests.java index ea2789f35710..f2f4f7a1fc51 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,7 +20,7 @@ public final class ProvisionedNetworksGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"addressPrefix\":\"ta\",\"networkType\":\"hcxUplink\"},\"id\":\"dlpukhpyrne\",\"name\":\"zjcpeogk\",\"type\":\"nmg\"}"; + = "{\"properties\":{\"provisioningState\":\"Failed\",\"addressPrefix\":\"gftipwc\",\"networkType\":\"hcxManagement\"},\"id\":\"bh\",\"name\":\"qdx\",\"type\":\"urnpnuhzafccnuh\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ProvisionedNetwork response = manager.provisionedNetworks() - .getWithResponse("fusuckzmkwklsno", "axmqeqal", "hjnhgwydyynfsvk", com.azure.core.util.Context.NONE) + .getWithResponse("cbgqnzmnhiil", "alwcjgckbb", "ccgzpraoxnyu", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksListMockTests.java index 41b7ada73ebd..399e464bd0b8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ProvisionedNetworksListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class ProvisionedNetworksListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"addressPrefix\":\"yetnd\",\"networkType\":\"hcxUplink\"},\"id\":\"yggagflnlgmt\",\"name\":\"wahzjmucftbyr\",\"type\":\"lrohkpig\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"addressPrefix\":\"ej\",\"networkType\":\"vcenterManagement\"},\"id\":\"xeg\",\"name\":\"hortu\",\"type\":\"awlpjfelqerpp\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.provisionedNetworks().list("p", "uuuybnchrsziz", com.azure.core.util.Context.NONE); + = manager.provisionedNetworks().list("bizt", "ofqcvovjufycsjm", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesCreateOrUpdateMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesCreateOrUpdateMockTests.java index 215640b642d5..5f204a66c942 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesCreateOrUpdateMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesCreateOrUpdateMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -11,6 +11,7 @@ import com.azure.core.test.http.MockHttpResponse; import com.azure.resourcemanager.avs.AvsManager; import com.azure.resourcemanager.avs.models.PureStoragePolicy; +import com.azure.resourcemanager.avs.models.PureStoragePolicyProperties; import java.nio.charset.StandardCharsets; import java.time.OffsetDateTime; import org.junit.jupiter.api.Assertions; @@ -21,7 +22,7 @@ public final class PureStoragePoliciesCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"storagePolicyDefinition\":\"crymodizrxklobd\",\"storagePoolId\":\"nazpmk\",\"provisioningState\":\"Succeeded\"},\"id\":\"evfxzopjhbzxlioh\",\"name\":\"d\",\"type\":\"dtfgxqbawpcbb\"}"; + = "{\"properties\":{\"storagePolicyDefinition\":\"iqswbqer\",\"storagePoolId\":\"w\",\"provisioningState\":\"Succeeded\"},\"id\":\"x\",\"name\":\"dgukvlbpktgds\",\"type\":\"youambewr\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,13 +32,13 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PureStoragePolicy response = manager.pureStoragePolicies() - .define("tddmf") - .withExistingPrivateCloud("h", "qdtvqecrqctmxx") - .withStoragePolicyDefinition("uytxzvtznapxban") - .withStoragePoolId("o") + .define("jgydzul") + .withExistingPrivateCloud("hkhufm", "qumq") + .withProperties(new PureStoragePolicyProperties().withStoragePolicyDefinition("saeuzanhsfnhsenw") + .withStoragePoolId("hpzfngqj")) .create(); - Assertions.assertEquals("crymodizrxklobd", response.storagePolicyDefinition()); - Assertions.assertEquals("nazpmk", response.storagePoolId()); + Assertions.assertEquals("iqswbqer", response.properties().storagePolicyDefinition()); + Assertions.assertEquals("w", response.properties().storagePoolId()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesGetWithResponseMockTests.java index 8da8ad74981a..07000dd6ed8b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class PureStoragePoliciesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"storagePolicyDefinition\":\"oslc\",\"storagePoolId\":\"xypokkhmi\",\"provisioningState\":\"Canceled\"},\"id\":\"mczngn\",\"name\":\"dxxewuninv\",\"type\":\"db\"}"; + = "{\"properties\":{\"storagePolicyDefinition\":\"ugiqjtiogqg\",\"storagePoolId\":\"minict\",\"provisioningState\":\"Deleting\"},\"id\":\"ohiygspn\",\"name\":\"onhpcz\",\"type\":\"kmktpvwxqcseh\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,10 +31,10 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PureStoragePolicy response = manager.pureStoragePolicies() - .getWithResponse("q", "fuarenlvhht", "lnvnafvvkyfedev", com.azure.core.util.Context.NONE) + .getWithResponse("b", "h", "alehpav", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("oslc", response.storagePolicyDefinition()); - Assertions.assertEquals("xypokkhmi", response.storagePoolId()); + Assertions.assertEquals("ugiqjtiogqg", response.properties().storagePolicyDefinition()); + Assertions.assertEquals("minict", response.properties().storagePoolId()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesListMockTests.java index fe0c6c22f345..ef32343ba343 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/PureStoragePoliciesListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class PureStoragePoliciesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"storagePolicyDefinition\":\"oywjxhpdulont\",\"storagePoolId\":\"cnpqwteht\",\"provisioningState\":\"Failed\"},\"id\":\"hrljy\",\"name\":\"ogwxhnsduugwb\",\"type\":\"reur\"}]}"; + = "{\"value\":[{\"properties\":{\"storagePolicyDefinition\":\"mnwagltbxoe\",\"storagePoolId\":\"onql\",\"provisioningState\":\"Succeeded\"},\"id\":\"y\",\"name\":\"mvqdbpbhfckdvez\",\"type\":\"rcssbzhddubbnq\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,9 +32,9 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.pureStoragePolicies().list("ro", "xddbhfhpfpaz", com.azure.core.util.Context.NONE); + = manager.pureStoragePolicies().list("zf", "ivjreuyk", com.azure.core.util.Context.NONE); - Assertions.assertEquals("oywjxhpdulont", response.iterator().next().storagePolicyDefinition()); - Assertions.assertEquals("cnpqwteht", response.iterator().next().storagePoolId()); + Assertions.assertEquals("mnwagltbxoe", response.iterator().next().properties().storagePolicyDefinition()); + Assertions.assertEquals("onql", response.iterator().next().properties().storagePoolId()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsGetWithResponseMockTests.java index 2bd1b6a0b05f..4990d8c69eac 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,7 +20,7 @@ public final class ScriptCmdletsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"glrrczez\",\"timeout\":\"hltnjadhqoawjq\",\"audience\":\"Any\",\"parameters\":[{\"type\":\"String\",\"name\":\"pcmsplbyrrueqth\",\"description\":\"gnmbscbbxigdhx\",\"visibility\":\"Visible\",\"optional\":\"Required\"},{\"type\":\"Float\",\"name\":\"bwdpyqyyb\",\"description\":\"bmdnafcbqwre\",\"visibility\":\"Visible\",\"optional\":\"Required\"}]},\"id\":\"acigel\",\"name\":\"ohdbvqvwzkj\",\"type\":\"pwbeonr\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"lrtywikdmhlakuf\",\"timeout\":\"bhgau\",\"audience\":\"Any\",\"parameters\":[{\"type\":\"String\",\"name\":\"f\",\"description\":\"ryjqgdkf\",\"visibility\":\"Visible\",\"optional\":\"Required\"},{\"type\":\"Bool\",\"name\":\"vjhvefgwbm\",\"description\":\"c\",\"visibility\":\"Hidden\",\"optional\":\"Optional\"},{\"type\":\"Int\",\"name\":\"mx\",\"description\":\"lpzealbmqkyojwyv\",\"visibility\":\"Hidden\",\"optional\":\"Optional\"},{\"type\":\"String\",\"name\":\"hxsgxj\",\"description\":\"mzrrscubiwsdrn\",\"visibility\":\"Hidden\",\"optional\":\"Required\"}]},\"id\":\"iffjxcjrm\",\"name\":\"uabwibvjogjo\",\"type\":\"mcyefoyzbam\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ScriptCmdlet response = manager.scriptCmdlets() - .getWithResponse("wxihs", "nxw", "agnepzwaklsb", "bqqqagwwrxa", com.azure.core.util.Context.NONE) + .getWithResponse("wqejpmvsse", "aepwamcxtcz", "upeuknijduyye", "pydjfboc", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsListMockTests.java index 1a3808a4b7ee..3d006d2d762d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptCmdletsListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class ScriptCmdletsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"nqmhrp\",\"timeout\":\"df\",\"audience\":\"Automation\",\"parameters\":[{\"type\":\"Credential\",\"name\":\"ssffxuifmc\",\"description\":\"p\",\"visibility\":\"Hidden\",\"optional\":\"Required\"},{\"type\":\"Int\",\"name\":\"zsylollgt\",\"description\":\"zzydmxzjijpvua\",\"visibility\":\"Hidden\",\"optional\":\"Optional\"},{\"type\":\"String\",\"name\":\"ldefxrdcoxn\",\"description\":\"kjanur\",\"visibility\":\"Hidden\",\"optional\":\"Optional\"},{\"type\":\"String\",\"name\":\"izxqltgrd\",\"description\":\"ypxrx\",\"visibility\":\"Visible\",\"optional\":\"Required\"}]},\"id\":\"u\",\"name\":\"vctafsrb\",\"type\":\"rblmli\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"description\":\"accxnafbwqroohtu\",\"timeout\":\"maonurj\",\"audience\":\"Automation\",\"parameters\":[{\"type\":\"String\",\"name\":\"ve\",\"description\":\"slclblyjxltbsju\",\"visibility\":\"Hidden\",\"optional\":\"Optional\"},{\"type\":\"SecureString\",\"name\":\"ctmgxuupbezqccy\",\"description\":\"tce\",\"visibility\":\"Visible\",\"optional\":\"Optional\"},{\"type\":\"String\",\"name\":\"hztgeqmgqzgwld\",\"description\":\"chillcecf\",\"visibility\":\"Hidden\",\"optional\":\"Required\"}]},\"id\":\"a\",\"name\":\"uhicqllizstacsjv\",\"type\":\"rweft\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.scriptCmdlets().list("lhkgmnsghp", "ycphdrwjjkhvyo", "ac", com.azure.core.util.Context.NONE); + = manager.scriptCmdlets().list("vidbztjhqtfb", "vnynkb", "etnjuhpsprkz", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsCreateOrUpdateMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsCreateOrUpdateMockTests.java index 363031b9f6e8..bce74eded65c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsCreateOrUpdateMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsCreateOrUpdateMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -25,7 +25,7 @@ public final class ScriptExecutionsCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"scriptCmdletId\":\"oe\",\"parameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"ankltytm\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"droznn\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"drlktg\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"csgguxhemlw\"}],\"hiddenParameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"eeczgfbu\"}],\"failureReason\":\"lelssxblycsxzujk\",\"timeout\":\"rlsmdesqplpvmjc\",\"retention\":\"ewbidyvteowxv\",\"submittedAt\":\"2021-09-28T17:23:11Z\",\"startedAt\":\"2021-10-23T07:47:56Z\",\"finishedAt\":\"2021-04-22T21:22:18Z\",\"provisioningState\":\"Succeeded\",\"output\":[\"zec\",\"axwk\",\"fykhvuhxepmru\",\"znabaobns\"],\"namedOutputs\":{\"guihywar\":\"datadjltymkm\",\"xkykxdssjp\":\"dataspphk\",\"xhikkflrmymyin\":\"datammuc\",\"sl\":\"dataqlhris\"},\"information\":[\"iov\",\"qcgxuug\",\"kctotiowlxteq\"],\"warnings\":[\"jgwdtgukranbl\",\"phqlkccuz\",\"ygqwahoiu\"],\"errors\":[\"niiprglvaw\",\"wzdufypivlsbb\",\"pmcubkmifoxxkub\"]},\"id\":\"havpmhbrbqgvg\",\"name\":\"vpbbt\",\"type\":\"efjokn\"}"; + = "{\"properties\":{\"scriptCmdletId\":\"ipsk\",\"parameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"atvfuzkaftj\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"vru\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"wigsyeipqdsm\"}],\"hiddenParameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"rqgdgkkil\"}],\"failureReason\":\"lkcsmknhwtbbae\",\"timeout\":\"orvvmqfloygbdgw\",\"retention\":\"gxdgdhpab\",\"submittedAt\":\"2021-08-07T19:32:43Z\",\"startedAt\":\"2021-09-13T20:34:21Z\",\"finishedAt\":\"2021-09-14T20:30:43Z\",\"provisioningState\":\"Succeeded\",\"output\":[\"qwotmmwllcol\",\"rsxaptefh\",\"xcgjokjljnhvlq\"],\"namedOutputs\":{},\"information\":[\"eeksnbksdqhjvyk\",\"xeslkhhustcpoqm\",\"vnwqjwgo\",\"nlejjjkxybwf\"],\"warnings\":[\"jbzten\",\"vkzykjtjknsxf\",\"us\",\"cdp\"],\"errors\":[\"nq\"]},\"id\":\"gjfbpkuwxeoi\",\"name\":\"jfizfavkjzwfbc\",\"type\":\"aykmmf\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,28 +35,29 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ScriptExecution response = manager.scriptExecutions() - .define("plkeuachtomflryt") - .withExistingPrivateCloud("zhzmtksjci", "digsxcdgl") - .withScriptCmdletId("pfmdgycx") - .withParameters(Arrays.asList(new ScriptExecutionParameter().withName("kwhqj"))) - .withHiddenParameters(Arrays.asList(new ScriptExecutionParameter().withName("lurlpshhkvp"), - new ScriptExecutionParameter().withName("dwqslsrhmpqvw"), - new ScriptExecutionParameter().withName("skondcbrwimu"), - new ScriptExecutionParameter().withName("qejo"))) - .withFailureReason("vyrrleaesinuq") - .withTimeout("ljqobbpihehcecyb") - .withRetention("qbr") - .withOutput(Arrays.asList("frexcrseqw", "ksghudgzhxogjgg", "voujkxibdafhrk", "dyomkxfbv")) - .withNamedOutputs(mapOf("rhpw", "datady")) + .define("kukjtasb") + .withExistingPrivateCloud("hvyeldotj", "dkwisw") + .withScriptCmdletId("spkxkdt") + .withParameters(Arrays.asList(new ScriptExecutionParameter().withName("ndlqvtwknvgmmbu"), + new ScriptExecutionParameter().withName("tywatmqaq"), + new ScriptExecutionParameter().withName("ueatgroe"))) + .withHiddenParameters(Arrays.asList(new ScriptExecutionParameter().withName("ygzc"), + new ScriptExecutionParameter().withName("yf"), new ScriptExecutionParameter().withName("x"), + new ScriptExecutionParameter().withName("faoytehqpuv"))) + .withFailureReason("vqmtdwckygroejn") + .withTimeout("dljdjuskb") + .withRetention("eqy") + .withOutput(Arrays.asList("pl", "ryshwddkvbxgk")) + .withNamedOutputs(mapOf()) .create(); - Assertions.assertEquals("oe", response.scriptCmdletId()); - Assertions.assertEquals("ankltytm", response.parameters().get(0).name()); - Assertions.assertEquals("eeczgfbu", response.hiddenParameters().get(0).name()); - Assertions.assertEquals("lelssxblycsxzujk", response.failureReason()); - Assertions.assertEquals("rlsmdesqplpvmjc", response.timeout()); - Assertions.assertEquals("ewbidyvteowxv", response.retention()); - Assertions.assertEquals("zec", response.output().get(0)); + Assertions.assertEquals("ipsk", response.scriptCmdletId()); + Assertions.assertEquals("atvfuzkaftj", response.parameters().get(0).name()); + Assertions.assertEquals("rqgdgkkil", response.hiddenParameters().get(0).name()); + Assertions.assertEquals("lkcsmknhwtbbae", response.failureReason()); + Assertions.assertEquals("orvvmqfloygbdgw", response.timeout()); + Assertions.assertEquals("gxdgdhpab", response.retention()); + Assertions.assertEquals("qwotmmwllcol", response.output().get(0)); } // Use "Map.of" if available diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsDeleteMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsDeleteMockTests.java index 199bdfcada91..b86b149303de 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsDeleteMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsDeleteMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.scriptExecutions().delete("izrzb", "psfxsf", "ztlvtmvagbwidqlv", com.azure.core.util.Context.NONE); + manager.scriptExecutions().delete("ookrtalvnbw", "pbeme", "uclvdjj", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetExecutionLogsWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetExecutionLogsWithResponseMockTests.java index 142e9f884eb8..9de46b11b14b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetExecutionLogsWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetExecutionLogsWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class ScriptExecutionsGetExecutionLogsWithResponseMockTests { @Test public void testGetExecutionLogsWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"scriptCmdletId\":\"jrllf\",\"parameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"idjpuuyju\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"ejikzoeovvtzejet\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"kl\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"tikyj\"}],\"hiddenParameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"dbqzolxrzvhqjw\"}],\"failureReason\":\"htgv\",\"timeout\":\"zpcrrkolawj\",\"retention\":\"smwr\",\"submittedAt\":\"2021-09-09T22:55:06Z\",\"startedAt\":\"2021-04-12T00:09:13Z\",\"finishedAt\":\"2021-04-09T17:42:23Z\",\"provisioningState\":\"Cancelling\",\"output\":[\"jafi\"],\"namedOutputs\":{\"chl\":\"dataguyn\",\"whmozusgzvlnsnnj\":\"datamltx\",\"rag\":\"datafpafolpymwamxq\",\"vl\":\"datagdphtvdula\"},\"information\":[\"hcsrlzknmzl\"],\"warnings\":[\"updwv\",\"phcnzqtpj\",\"mqrhvthl\",\"iwdcxsmlzzhzd\"],\"errors\":[\"tlgy\",\"lhqvlnnpxybafi\",\"geaar\",\"gjekglklby\"]},\"id\":\"idwcwvmzegjon\",\"name\":\"hj\",\"type\":\"rwgdnqzbrfks\"}"; + = "{\"properties\":{\"scriptCmdletId\":\"uejdtxptlg\",\"parameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"homewjjstliu\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"qawmoaianc\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"nvodrrs\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"blxydkxr\"}],\"hiddenParameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"bxiwkgfbqljn\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"khychocokulehur\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"lrqff\"}],\"failureReason\":\"eyu\",\"timeout\":\"kphyjdxrav\",\"retention\":\"qdbrxmrgc\",\"submittedAt\":\"2021-11-02T00:29:07Z\",\"startedAt\":\"2021-04-10T10:11:55Z\",\"finishedAt\":\"2021-04-10T00:22:46Z\",\"provisioningState\":\"Pending\",\"output\":[\"kbajbu\"],\"namedOutputs\":{},\"information\":[\"u\",\"ioycbl\",\"vpmclujyxkyxlz\"],\"warnings\":[\"gkzz\"],\"errors\":[\"fhbzffovwmbjlzq\",\"czpgvdwnapfdq\"]},\"id\":\"wf\",\"name\":\"ptnuwjtkschgc\",\"type\":\"qyhleseyq\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,17 +33,16 @@ public void testGetExecutionLogsWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ScriptExecution response = manager.scriptExecutions() - .getExecutionLogsWithResponse("ukoveofi", "rvjfnmjmvlw", "z", - Arrays.asList(ScriptOutputStreamType.ERROR, ScriptOutputStreamType.OUTPUT), - com.azure.core.util.Context.NONE) + .getExecutionLogsWithResponse("kyrdnqodx", "hhxhq", "aqnvzoqgyipemchg", + Arrays.asList(ScriptOutputStreamType.ERROR), com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("jrllf", response.scriptCmdletId()); - Assertions.assertEquals("idjpuuyju", response.parameters().get(0).name()); - Assertions.assertEquals("dbqzolxrzvhqjw", response.hiddenParameters().get(0).name()); - Assertions.assertEquals("htgv", response.failureReason()); - Assertions.assertEquals("zpcrrkolawj", response.timeout()); - Assertions.assertEquals("smwr", response.retention()); - Assertions.assertEquals("jafi", response.output().get(0)); + Assertions.assertEquals("uejdtxptlg", response.scriptCmdletId()); + Assertions.assertEquals("homewjjstliu", response.parameters().get(0).name()); + Assertions.assertEquals("bxiwkgfbqljn", response.hiddenParameters().get(0).name()); + Assertions.assertEquals("eyu", response.failureReason()); + Assertions.assertEquals("kphyjdxrav", response.timeout()); + Assertions.assertEquals("qdbrxmrgc", response.retention()); + Assertions.assertEquals("kbajbu", response.output().get(0)); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetWithResponseMockTests.java index fcdb6b6fdae5..505de290d1cc 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class ScriptExecutionsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"scriptCmdletId\":\"ohec\",\"parameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"pwndyqlea\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"lklmtkhlo\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"kxxpvbrd\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"jmzsyzfh\"}],\"hiddenParameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"h\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"k\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"yych\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"nsjlpjrtws\"}],\"failureReason\":\"vv\",\"timeout\":\"icphvtrrmhw\",\"retention\":\"fdpyflubh\",\"submittedAt\":\"2021-03-31T10:36:55Z\",\"startedAt\":\"2021-06-05T23:01:13Z\",\"finishedAt\":\"2021-05-09T12:14:46Z\",\"provisioningState\":\"Canceled\",\"output\":[\"whhmemhooc\"],\"namedOutputs\":{\"qmemc\":\"datan\",\"mykyujxsglhs\":\"datajk\",\"fihotj\":\"datarryejylmbkzudnig\"},\"information\":[\"pxuzzjg\",\"refqy\",\"qotoihiqakydiwfb\",\"kwpzdqtvh\"],\"warnings\":[\"odaqaxsi\",\"ietgbebjfu\"],\"errors\":[\"oichdlpnfpubnt\",\"batzviqsows\",\"aelcat\",\"cjuhplrvkm\"]},\"id\":\"wmj\",\"name\":\"lgfggcvk\",\"type\":\"y\"}"; + = "{\"properties\":{\"scriptCmdletId\":\"mffjkutycyarn\",\"parameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"hguabzoghktdp\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"czhcoeocnh\"}],\"hiddenParameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"ot\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"jzcfyjzptwr\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"ohapqinfsz\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"yglqdhmrjzral\"}],\"failureReason\":\"pjby\",\"timeout\":\"psjoqcjenk\",\"retention\":\"fq\",\"submittedAt\":\"2021-08-21T02:34:59Z\",\"startedAt\":\"2021-12-04T02:32:58Z\",\"finishedAt\":\"2021-05-25T20:24:43Z\",\"provisioningState\":\"Cancelled\",\"output\":[\"cmpzqjhhhqx\"],\"namedOutputs\":{},\"information\":[\"acoyvivbsizusjs\",\"lbscmnlz\",\"jiu\"],\"warnings\":[\"gmvflnwyvqkx\"],\"errors\":[\"lniylylyfwxz\",\"tgqztwhghmup\"]},\"id\":\"yjtcdxabbujftab\",\"name\":\"nbbklqpxzucafed\",\"type\":\"wwnlzafwxudgnh\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,15 +31,15 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ScriptExecution response = manager.scriptExecutions() - .getWithResponse("ycjimryvwgcwwpbm", "gwe", "ydsx", com.azure.core.util.Context.NONE) + .getWithResponse("ijymrhbguzozky", "wnf", "zhhh", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("ohec", response.scriptCmdletId()); - Assertions.assertEquals("pwndyqlea", response.parameters().get(0).name()); - Assertions.assertEquals("h", response.hiddenParameters().get(0).name()); - Assertions.assertEquals("vv", response.failureReason()); - Assertions.assertEquals("icphvtrrmhw", response.timeout()); - Assertions.assertEquals("fdpyflubh", response.retention()); - Assertions.assertEquals("whhmemhooc", response.output().get(0)); + Assertions.assertEquals("mffjkutycyarn", response.scriptCmdletId()); + Assertions.assertEquals("hguabzoghktdp", response.parameters().get(0).name()); + Assertions.assertEquals("ot", response.hiddenParameters().get(0).name()); + Assertions.assertEquals("pjby", response.failureReason()); + Assertions.assertEquals("psjoqcjenk", response.timeout()); + Assertions.assertEquals("fq", response.retention()); + Assertions.assertEquals("cmpzqjhhhqx", response.output().get(0)); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsListMockTests.java index 9b0b69e7b1f3..29ac377c8d16 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptExecutionsListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class ScriptExecutionsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"scriptCmdletId\":\"dyb\",\"parameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"bdvibidmhmwffpl\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"muvapc\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"ccrrvweyoxoyyu\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"phaimmoi\"}],\"hiddenParameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"boshbragapyyrmfs\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"bpav\"}],\"failureReason\":\"pfppd\",\"timeout\":\"wnupgahxku\",\"retention\":\"sjcaacfdmmcpugm\",\"submittedAt\":\"2021-06-17T13:12:39Z\",\"startedAt\":\"2021-09-30T04:22:30Z\",\"finishedAt\":\"2021-07-18T03:42:35Z\",\"provisioningState\":\"Running\",\"output\":[\"ehewhoqh\"],\"namedOutputs\":{\"clgsc\":\"dataqnbldxe\",\"rsrrmoucsofldp\":\"dataorim\"},\"information\":[\"yfcaabeolhbhlvbm\"],\"warnings\":[\"ibsxtkcud\"],\"errors\":[\"farfs\"]},\"id\":\"wlkjxn\",\"name\":\"pvwgfstmhqykizmd\",\"type\":\"saoafcluqvox\"}]}"; + = "{\"value\":[{\"properties\":{\"scriptCmdletId\":\"cl\",\"parameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"jknyu\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"gvttx\"}],\"hiddenParameters\":[{\"type\":\"ScriptExecutionParameter\",\"name\":\"upzaamrdixtre\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"ids\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"yskbruff\"},{\"type\":\"ScriptExecutionParameter\",\"name\":\"l\"}],\"failureReason\":\"k\",\"timeout\":\"utvlxhr\",\"retention\":\"hvmblcouqehbhbc\",\"submittedAt\":\"2021-08-26T19:29:12Z\",\"startedAt\":\"2021-08-10T10:48:26Z\",\"finishedAt\":\"2021-04-02T17:51Z\",\"provisioningState\":\"Failed\",\"output\":[\"ypmbltoormkfq\",\"wxldykalsygaoln\",\"pnnbm\"],\"namedOutputs\":{},\"information\":[\"jgsjjxxahmrn\",\"dzyqe\",\"xyivpinbm\",\"wbjijkgq\"],\"warnings\":[\"mbk\"],\"errors\":[\"jauj\",\"aan\",\"ggiycwkdtaawxwf\"]},\"id\":\"aumrrqmbzmqkrat\",\"name\":\"nxwbjsidbirkfp\",\"type\":\"sokdgoge\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,14 +32,14 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.scriptExecutions().list("zqcyknap", "ofyuicd", com.azure.core.util.Context.NONE); + = manager.scriptExecutions().list("in", "ofvfkakpoldtve", com.azure.core.util.Context.NONE); - Assertions.assertEquals("dyb", response.iterator().next().scriptCmdletId()); - Assertions.assertEquals("bdvibidmhmwffpl", response.iterator().next().parameters().get(0).name()); - Assertions.assertEquals("boshbragapyyrmfs", response.iterator().next().hiddenParameters().get(0).name()); - Assertions.assertEquals("pfppd", response.iterator().next().failureReason()); - Assertions.assertEquals("wnupgahxku", response.iterator().next().timeout()); - Assertions.assertEquals("sjcaacfdmmcpugm", response.iterator().next().retention()); - Assertions.assertEquals("ehewhoqh", response.iterator().next().output().get(0)); + Assertions.assertEquals("cl", response.iterator().next().scriptCmdletId()); + Assertions.assertEquals("jknyu", response.iterator().next().parameters().get(0).name()); + Assertions.assertEquals("upzaamrdixtre", response.iterator().next().hiddenParameters().get(0).name()); + Assertions.assertEquals("k", response.iterator().next().failureReason()); + Assertions.assertEquals("utvlxhr", response.iterator().next().timeout()); + Assertions.assertEquals("hvmblcouqehbhbc", response.iterator().next().retention()); + Assertions.assertEquals("ypmbltoormkfq", response.iterator().next().output().get(0)); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptPackagesGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptPackagesGetWithResponseMockTests.java index e8df7b453cd5..7291da99286a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptPackagesGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptPackagesGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,7 +20,7 @@ public final class ScriptPackagesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Canceled\",\"description\":\"ewxeiqbpsm\",\"version\":\"mguaml\",\"company\":\"l\",\"uri\":\"msplzgaufcshhvn\"},\"id\":\"gnxkympqan\",\"name\":\"rjkixtw\",\"type\":\"taoypnyghshxc\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"ctwwgzw\",\"version\":\"l\",\"company\":\"cvogygzyvne\",\"uri\":\"aifghtmoqqt\"},\"id\":\"fhzbkr\",\"name\":\"jjjavfqnvhnq\",\"type\":\"ewdogiyetesy\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ScriptPackage response = manager.scriptPackages() - .getWithResponse("sizmoae", "sx", "wuived", com.azure.core.util.Context.NONE) + .getWithResponse("hiqfyuttdiy", "b", "vnwsw", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptPackagesListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptPackagesListMockTests.java index 3d0596757692..fdb651d52d15 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptPackagesListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/ScriptPackagesListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class ScriptPackagesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"gwfiwzcxmjpby\",\"version\":\"hmgtvljvrcmyfqi\",\"company\":\"xhnpo\",\"uri\":\"qwcabvnui\"},\"id\":\"ey\",\"name\":\"swlpaugmrmfj\",\"type\":\"rxwtoaukhfkvc\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"bijpzgsksrfh\",\"version\":\"olmk\",\"company\":\"nxwcdommpv\",\"uri\":\"awz\"},\"id\":\"brttuiacl\",\"name\":\"iexhajl\",\"type\":\"n\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.scriptPackages().list("sqyzqedikdfr", "biqmrjgei", com.azure.core.util.Context.NONE); + = manager.scriptPackages().list("wvqsgny", "uuzivensrpmeyyvp", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/VirtualMachinesGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/VirtualMachinesGetWithResponseMockTests.java index 0fc2b401f93b..1cb96b3feb3e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/VirtualMachinesGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/VirtualMachinesGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,7 +20,7 @@ public final class VirtualMachinesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Canceled\",\"displayName\":\"kqtob\",\"moRefId\":\"uxofshfphwpnulai\",\"folderPath\":\"zejywhslw\",\"restrictMovement\":\"Disabled\"},\"id\":\"llndnpd\",\"name\":\"rpqaf\",\"type\":\"fugsnnfhyetefy\"}"; + = "{\"properties\":{\"provisioningState\":\"Failed\",\"displayName\":\"anbwzohmnrxxbso\",\"moRefId\":\"linhmdptysprqs\",\"folderPath\":\"zxojpslsv\",\"restrictMovement\":\"Enabled\"},\"id\":\"iufiqwo\",\"name\":\"xqvapcohh\",\"type\":\"ucqpqojxcxzrz\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); VirtualMachine response = manager.virtualMachines() - .getWithResponse("taboidvmf", "hppubowsepdfgkmt", "herngb", "c", com.azure.core.util.Context.NONE) + .getWithResponse("x", "eakxcptsoqfyi", "seqchkrt", "zrazisgyk", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/VirtualMachinesListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/VirtualMachinesListMockTests.java index 346cfb8f0308..d70f90ce64ea 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/VirtualMachinesListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/VirtualMachinesListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class VirtualMachinesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"displayName\":\"vtiukyef\",\"moRefId\":\"nmnahmnx\",\"folderPath\":\"xjqirwrweoox\",\"restrictMovement\":\"Enabled\"},\"id\":\"hx\",\"name\":\"rsnewmozqvbubqma\",\"type\":\"hsycxhxzgaz\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"displayName\":\"iidlop\",\"moRefId\":\"bwdpyqyyb\",\"folderPath\":\"bmdnafcbqwre\",\"restrictMovement\":\"Enabled\"},\"id\":\"aqacigeleohd\",\"name\":\"vqvwzkjopwbe\",\"type\":\"nrlkwzdqy\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.virtualMachines().list("yjwpfilkmkkh", "l", "dndviauogp", com.azure.core.util.Context.NONE); + = manager.virtualMachines().list("byrrueqth", "mg", "mbscbbx", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDhcpMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDhcpMockTests.java index b0aa4cb8186d..d7fc49ea778e 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDhcpMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDhcpMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksCreateDhcpMockTests { @Test public void testCreateDhcp() throws Exception { String responseStr - = "{\"properties\":{\"dhcpType\":\"WorkloadNetworkDhcpEntity\",\"displayName\":\"atvfuzkaftj\",\"segments\":[\"uxwigsyeipqdsm\"],\"provisioningState\":\"Succeeded\",\"revision\":2399148659179052},\"id\":\"gkkileplkcsmkn\",\"name\":\"wtbbaedorvvmqf\",\"type\":\"oygbdgwumgxd\"}"; + = "{\"properties\":{\"dhcpType\":\"WorkloadNetworkDhcpEntity\",\"displayName\":\"lduccbi\",\"segments\":[\"vuwcobiegstmnin\"],\"provisioningState\":\"Succeeded\",\"revision\":5605265911389940437},\"id\":\"nghgshej\",\"name\":\"tbxqmuluxlxq\",\"type\":\"vnersbycucrw\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,13 +32,13 @@ public void testCreateDhcp() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkDhcp response = manager.workloadNetworks() - .defineDhcp("tekva") - .withExistingPrivateCloud("hhkuuip", "dqq") + .defineDhcp("gicgaaoepttaq") + .withExistingPrivateCloud("zjrgyww", "gjxsnptfu") .withProperties( - new WorkloadNetworkDhcpEntity().withDisplayName("htjqvqyvw").withRevision(2344293302529256151L)) + new WorkloadNetworkDhcpEntity().withDisplayName("ewemxs").withRevision(6932449090517620100L)) .create(); - Assertions.assertEquals("atvfuzkaftj", response.properties().displayName()); - Assertions.assertEquals(2399148659179052L, response.properties().revision()); + Assertions.assertEquals("lduccbi", response.properties().displayName()); + Assertions.assertEquals(5605265911389940437L, response.properties().revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsServiceMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsServiceMockTests.java index c0b2f9c6e6e4..0aab3021416b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsServiceMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsServiceMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class WorkloadNetworksCreateDnsServiceMockTests { @Test public void testCreateDnsService() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"ztensvkzykjtj\",\"dnsServiceIp\":\"sxfwushcdp\",\"defaultDnsZone\":\"pn\",\"fqdnZones\":[\"gjfbpkuwxeoi\",\"jfizfavkjzwfbc\",\"aykmmf\",\"sbfwxr\"],\"logLevel\":\"INFO\",\"status\":\"FAILURE\",\"provisioningState\":\"Succeeded\",\"revision\":5897750454813877665},\"id\":\"rplbjazejwwvi\",\"name\":\"oypsuhbrnnhj\",\"type\":\"sqwjhqkbiwetpozy\"}"; + = "{\"properties\":{\"displayName\":\"ycilrmcaykggnox\",\"dnsServiceIp\":\"t\",\"defaultDnsZone\":\"sxwpndfcpfnznthj\",\"fqdnZones\":[\"jaosrxuzv\",\"amktcqiosmgbzah\",\"xqdlyrtltlapr\"],\"logLevel\":\"FATAL\",\"status\":\"FAILURE\",\"provisioningState\":\"Succeeded\",\"revision\":2141409666351005246},\"id\":\"nnbsoqeqa\",\"name\":\"arvlagunbt\",\"type\":\"febwlnbmhyreeudz\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,21 +33,21 @@ public void testCreateDnsService() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkDnsService response = manager.workloadNetworks() - .defineDnsService("xjd") - .withExistingPrivateCloud("dhp", "bgd") - .withDisplayName("saq") - .withDnsServiceIp("tm") - .withDefaultDnsZone("llcolsrsxapte") - .withFqdnZones(Arrays.asList("xcgjokjljnhvlq", "bekpeeksnbksdqhj", "yklxe", "lkhhu")) - .withLogLevel(DnsServiceLogLevelEnum.ERROR) - .withRevision(8873287360862091590L) + .defineDnsService("swhvhczznvfbycj") + .withExistingPrivateCloud("amikzebrqbsm", "wziqgfuhokzr") + .withDisplayName("wwixzvumw") + .withDnsServiceIp("qhndvnoam") + .withDefaultDnsZone("sehaohdjhhflzok") + .withFqdnZones(Arrays.asList("xpelnjetagltsx")) + .withLogLevel(DnsServiceLogLevelEnum.FATAL) + .withRevision(4444044351696890783L) .create(); - Assertions.assertEquals("ztensvkzykjtj", response.displayName()); - Assertions.assertEquals("sxfwushcdp", response.dnsServiceIp()); - Assertions.assertEquals("pn", response.defaultDnsZone()); - Assertions.assertEquals("gjfbpkuwxeoi", response.fqdnZones().get(0)); - Assertions.assertEquals(DnsServiceLogLevelEnum.INFO, response.logLevel()); - Assertions.assertEquals(5897750454813877665L, response.revision()); + Assertions.assertEquals("ycilrmcaykggnox", response.displayName()); + Assertions.assertEquals("t", response.dnsServiceIp()); + Assertions.assertEquals("sxwpndfcpfnznthj", response.defaultDnsZone()); + Assertions.assertEquals("jaosrxuzv", response.fqdnZones().get(0)); + Assertions.assertEquals(DnsServiceLogLevelEnum.FATAL, response.logLevel()); + Assertions.assertEquals(2141409666351005246L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsZoneMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsZoneMockTests.java index 899b1fc9514a..f6f5df7f9453 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsZoneMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateDnsZoneMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksCreateDnsZoneMockTests { @Test public void testCreateDnsZone() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"oakizvoai\",\"domain\":[\"q\"],\"dnsServerIps\":[\"wiguyxlyk\",\"phvxz\",\"wxh\"],\"sourceIp\":\"ejtlk\",\"dnsServices\":4640356221735153473,\"provisioningState\":\"Succeeded\",\"revision\":6028048177476509003},\"id\":\"qhr\",\"name\":\"hxknlccrmmkyupi\",\"type\":\"ubyqj\"}"; + = "{\"properties\":{\"displayName\":\"qxpxiwfcngjsaa\",\"domain\":[\"xtmkzjvkviir\",\"gfgrwsdp\",\"ra\",\"zvzbglbyv\"],\"dnsServerIps\":[\"ctbrxkjzwrgxffm\",\"hkwfbkgozxwop\",\"bydpizqaclnapxb\",\"yg\"],\"sourceIp\":\"gjkn\",\"dnsServices\":7448053712084224188,\"provisioningState\":\"Succeeded\",\"revision\":1309991078108099908},\"id\":\"uyilflqoiquvrehm\",\"name\":\"njhvsujztc\",\"type\":\"ytqj\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,21 +32,21 @@ public void testCreateDnsZone() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkDnsZone response = manager.workloadNetworks() - .defineDnsZone("etzlexbsfledynoj") - .withExistingPrivateCloud("yqiq", "hgf") - .withDisplayName("uwfbzkkdtnhqsy") - .withDomain(Arrays.asList("selpkpbaf", "afhlbyl", "cbevxrhyzdfw", "sofpltd")) - .withDnsServerIps(Arrays.asList("irrhv", "fnrac", "npq", "g")) - .withSourceIp("ujwouhdawsi") - .withDnsServices(2551040558110498862L) - .withRevision(6770143582647764002L) + .defineDnsZone("lmjjyuo") + .withExistingPrivateCloud("av", "pdqmjxlyyzglgouw") + .withDisplayName("obaxkjeytu") + .withDomain(Arrays.asList("fjkwrusnkq", "hsyrqunj")) + .withDnsServerIps(Arrays.asList("enx", "ulkpakd")) + .withSourceIp("fmjnnawtqa") + .withDnsServices(5950273022777547751L) + .withRevision(7550004046942026385L) .create(); - Assertions.assertEquals("oakizvoai", response.displayName()); - Assertions.assertEquals("q", response.domain().get(0)); - Assertions.assertEquals("wiguyxlyk", response.dnsServerIps().get(0)); - Assertions.assertEquals("ejtlk", response.sourceIp()); - Assertions.assertEquals(4640356221735153473L, response.dnsServices()); - Assertions.assertEquals(6028048177476509003L, response.revision()); + Assertions.assertEquals("qxpxiwfcngjsaa", response.displayName()); + Assertions.assertEquals("xtmkzjvkviir", response.domain().get(0)); + Assertions.assertEquals("ctbrxkjzwrgxffm", response.dnsServerIps().get(0)); + Assertions.assertEquals("gjkn", response.sourceIp()); + Assertions.assertEquals(7448053712084224188L, response.dnsServices()); + Assertions.assertEquals(1309991078108099908L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePortMirroringMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePortMirroringMockTests.java index 574783b56840..0d010aca86a5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePortMirroringMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePortMirroringMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksCreatePortMirroringMockTests { @Test public void testCreatePortMirroring() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"ah\",\"direction\":\"BIDIRECTIONAL\",\"source\":\"qulsutrjbhxykfhy\",\"destination\":\"zvqqugdrftbcvexr\",\"status\":\"FAILURE\",\"provisioningState\":\"Succeeded\",\"revision\":6933349984929306758},\"id\":\"vfwhreagkhyxv\",\"name\":\"qtvbczsu\",\"type\":\"mdgglmepjpfs\"}"; + = "{\"properties\":{\"displayName\":\"hckfkyjpmspbps\",\"direction\":\"INGRESS\",\"source\":\"pyogtieyuj\",\"destination\":\"czkcnyxrxmunjd\",\"status\":\"FAILURE\",\"provisioningState\":\"Succeeded\",\"revision\":4590256970889413991},\"id\":\"xpaglqivbgkc\",\"name\":\"khpzvuqdflv\",\"type\":\"niypfpubcpzg\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,19 +32,19 @@ public void testCreatePortMirroring() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkPortMirroring response = manager.workloadNetworks() - .definePortMirroring("il") - .withExistingPrivateCloud("kakfqfr", "em") - .withDisplayName("xjas") + .definePortMirroring("mr") + .withExistingPrivateCloud("w", "auunfprnjletlx") + .withDisplayName("ou") .withDirection(PortMirroringDirectionEnum.INGRESS) - .withSource("f") - .withDestination("kpdxphlk") - .withRevision(4071221467509630034L) + .withSource("owa") + .withDestination("yn") + .withRevision(6544912556011065299L) .create(); - Assertions.assertEquals("ah", response.displayName()); - Assertions.assertEquals(PortMirroringDirectionEnum.BIDIRECTIONAL, response.direction()); - Assertions.assertEquals("qulsutrjbhxykfhy", response.source()); - Assertions.assertEquals("zvqqugdrftbcvexr", response.destination()); - Assertions.assertEquals(6933349984929306758L, response.revision()); + Assertions.assertEquals("hckfkyjpmspbps", response.displayName()); + Assertions.assertEquals(PortMirroringDirectionEnum.INGRESS, response.direction()); + Assertions.assertEquals("pyogtieyuj", response.source()); + Assertions.assertEquals("czkcnyxrxmunjd", response.destination()); + Assertions.assertEquals(4590256970889413991L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePublicIpMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePublicIpMockTests.java index 01716878af1f..ac4ad71685e4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePublicIpMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreatePublicIpMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksCreatePublicIpMockTests { @Test public void testCreatePublicIp() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"alwvskbu\",\"numberOfPublicIPs\":5090690227140702601,\"publicIPBlock\":\"qtyltcoqcujp\",\"provisioningState\":\"Succeeded\"},\"id\":\"akuejk\",\"name\":\"vbiztjofqcv\",\"type\":\"vjufycsjmlbe\"}"; + = "{\"properties\":{\"displayName\":\"lgg\",\"numberOfPublicIPs\":4165002629766746131,\"publicIPBlock\":\"zqkzszuwi\",\"provisioningState\":\"Succeeded\"},\"id\":\"xxhljfpgpic\",\"name\":\"mnzhrgmqg\",\"type\":\"sxvpqcbfrmbodths\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,13 +31,13 @@ public void testCreatePublicIp() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkPublicIp response = manager.workloadNetworks() - .definePublicIp("jujcngoad") - .withExistingPrivateCloud("ykgsangpszng", "fpgylkve") - .withDisplayName("mzr") - .withNumberOfPublicIPs(2864882512148868203L) + .definePublicIp("nidibgqjxg") + .withExistingPrivateCloud("xtiv", "j") + .withDisplayName("hgovfgp") + .withNumberOfPublicIPs(8602443977258369217L) .create(); - Assertions.assertEquals("alwvskbu", response.displayName()); - Assertions.assertEquals(5090690227140702601L, response.numberOfPublicIPs()); + Assertions.assertEquals("lgg", response.displayName()); + Assertions.assertEquals(4165002629766746131L, response.numberOfPublicIPs()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateSegmentsMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateSegmentsMockTests.java index 0200f5781d22..2a9b605116b5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateSegmentsMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateSegmentsMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class WorkloadNetworksCreateSegmentsMockTests { @Test public void testCreateSegments() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"gttmvmmagoaqyl\",\"connectedGateway\":\"ztj\",\"subnet\":{\"dhcpRanges\":[\"jcg\"],\"gatewayAddress\":\"itpfinzcpdl\"},\"portVif\":[{\"portName\":\"gjmtbdrvcqguefzh\"},{\"portName\":\"p\"}],\"status\":\"FAILURE\",\"provisioningState\":\"Succeeded\",\"revision\":5442242837114254993},\"id\":\"ujlfyoumpcky\",\"name\":\"clcdigptajbrzmq\",\"type\":\"ucycijo\"}"; + = "{\"properties\":{\"displayName\":\"hlfbcgwgc\",\"connectedGateway\":\"xoe\",\"subnet\":{\"dhcpRanges\":[\"jipnwj\",\"ujqlafcbahh\",\"zpofoiyjwpfilk\"],\"gatewayAddress\":\"kholvd\"},\"portVif\":[{\"portName\":\"auo\"},{\"portName\":\"huartv\"},{\"portName\":\"ukyefchnmnahmnxh\"}],\"status\":\"SUCCESS\",\"provisioningState\":\"Succeeded\",\"revision\":6542563185953297376},\"id\":\"eooxffifh\",\"name\":\"wrsnewmozqvbu\",\"type\":\"qmamhsycxhxzga\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,20 +33,20 @@ public void testCreateSegments() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkSegment response = manager.workloadNetworks() - .defineSegments("rtudawlpjfel") - .withExistingPrivateCloud("yeji", "iuxegth") - .withDisplayName("pptcbgqnzmnhii") - .withConnectedGateway("alwcjgckbb") + .defineSegments("gmwohqfzizvu") + .withExistingPrivateCloud("qgvriibakcla", "jfrnxousxauzlwv") + .withDisplayName("kjsvthnwpzteko") + .withConnectedGateway("ribi") .withSubnet(new WorkloadNetworkSegmentSubnet() - .withDhcpRanges(Arrays.asList("zpraoxn", "uffatsgftipwc", "byubhiqdxyurnpn", "hza")) - .withGatewayAddress("cnuhiigbylbuigv")) - .withRevision(4905778208552045689L) + .withDhcpRanges(Arrays.asList("plucfotangcfhnyk", "cugswvxwlmzqw", "vtxnjmxmcuqud", "cvclxynpdk")) + .withGatewayAddress("fabuiyjibu")) + .withRevision(4510615405098514734L) .create(); - Assertions.assertEquals("gttmvmmagoaqyl", response.displayName()); - Assertions.assertEquals("ztj", response.connectedGateway()); - Assertions.assertEquals("jcg", response.subnet().dhcpRanges().get(0)); - Assertions.assertEquals("itpfinzcpdl", response.subnet().gatewayAddress()); - Assertions.assertEquals(5442242837114254993L, response.revision()); + Assertions.assertEquals("hlfbcgwgc", response.displayName()); + Assertions.assertEquals("xoe", response.connectedGateway()); + Assertions.assertEquals("jipnwj", response.subnet().dhcpRanges().get(0)); + Assertions.assertEquals("kholvd", response.subnet().gatewayAddress()); + Assertions.assertEquals(6542563185953297376L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateVMGroupMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateVMGroupMockTests.java index 176451bc2c54..058683688ed6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateVMGroupMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksCreateVMGroupMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksCreateVMGroupMockTests { @Test public void testCreateVMGroup() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"vcpwnkwy\",\"members\":[\"ofalickduoiqtam\",\"yvsk\"],\"status\":\"SUCCESS\",\"provisioningState\":\"Succeeded\",\"revision\":3103416770960569276},\"id\":\"sbc\",\"name\":\"hzagxnvhycvdimw\",\"type\":\"zregzgyufutrwpw\"}"; + = "{\"properties\":{\"displayName\":\"gsnnf\",\"members\":[\"tefypococtfjgti\"],\"status\":\"SUCCESS\",\"provisioningState\":\"Succeeded\",\"revision\":418846037583136212},\"id\":\"rmlmuowo\",\"name\":\"bauiropi\",\"type\":\"nszonwpngaj\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,15 +32,15 @@ public void testCreateVMGroup() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkVMGroup response = manager.workloadNetworks() - .defineVMGroup("xjeaoqaqbzgyh") - .withExistingPrivateCloud("lxiutgjcyzyzjdnr", "jb") - .withDisplayName("v") - .withMembers(Arrays.asList("bwbqamt", "uliyslpkcv", "w")) - .withRevision(2039620424045659199L) + .defineVMGroup("mtdherngb") + .withExistingPrivateCloud("ttaboidvmfqh", "pubowsepdfg") + .withDisplayName("uahokq") + .withMembers(Arrays.asList("kauxof")) + .withRevision(3172922641680010339L) .create(); - Assertions.assertEquals("vcpwnkwy", response.displayName()); - Assertions.assertEquals("ofalickduoiqtam", response.members().get(0)); - Assertions.assertEquals(3103416770960569276L, response.revision()); + Assertions.assertEquals("gsnnf", response.displayName()); + Assertions.assertEquals("tefypococtfjgti", response.members().get(0)); + Assertions.assertEquals(418846037583136212L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDhcpMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDhcpMockTests.java index ca48057b013d..7e26290a2ea6 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDhcpMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDhcpMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,8 @@ public void testDeleteDhcp() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.workloadNetworks().deleteDhcp("gvvpasek", "gbuxantuygdh", "aq", com.azure.core.util.Context.NONE); + manager.workloadNetworks() + .deleteDhcp("tmhheioqa", "hvseufuqyrx", "dlcgqlsismjqfr", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsServiceMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsServiceMockTests.java index eba9bf445edf..a5f2a31d3cab 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsServiceMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsServiceMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,8 @@ public void testDeleteDnsService() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.workloadNetworks().deleteDnsService("l", "ecvo", "ygzyvneezaifght", com.azure.core.util.Context.NONE); + manager.workloadNetworks() + .deleteDnsService("cwyhahno", "drkywuhps", "fuurutlwexx", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsZoneMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsZoneMockTests.java index 94906674f175..7561fd177aee 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsZoneMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteDnsZoneMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,8 +27,7 @@ public void testDeleteDnsZone() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.workloadNetworks() - .deleteDnsZone("cxtczhupeukn", "jduyyespydjfb", "c", com.azure.core.util.Context.NONE); + manager.workloadNetworks().deleteDnsZone("qqxlajr", "wxacevehj", "uyxoaf", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePortMirroringMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePortMirroringMockTests.java index 7738c79af6e3..8205a06384d7 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePortMirroringMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePortMirroringMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -28,7 +28,7 @@ public void testDeletePortMirroring() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.workloadNetworks() - .deletePortMirroring("gxyivpinbmh", "bjijkgqxnh", "bkezn", com.azure.core.util.Context.NONE); + .deletePortMirroring("tmzlbiojlv", "hrbbpneqvcwwyy", "r", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePublicIpMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePublicIpMockTests.java index 57428e782275..d9603d26ea0a 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePublicIpMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeletePublicIpMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,8 @@ public void testDeletePublicIp() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.workloadNetworks().deletePublicIp("yglqdhmrjzral", "xpjb", "ypsjoq", com.azure.core.util.Context.NONE); + manager.workloadNetworks() + .deletePublicIp("bjwgnyfus", "zsvtuikzhajqgl", "fh", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteSegmentMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteSegmentMockTests.java index b868045a692e..03958ff02bc5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteSegmentMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteSegmentMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,8 @@ public void testDeleteSegment() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.workloadNetworks().deleteSegment("lrqff", "weyurkphyjd", "ravjuq", com.azure.core.util.Context.NONE); + manager.workloadNetworks() + .deleteSegment("mxyasflvgsgzw", "wakoihkn", "mjblmljhlny", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteVMGroupMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteVMGroupMockTests.java index 68fb00f1c287..eb13f76342f8 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteVMGroupMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksDeleteVMGroupMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -27,7 +27,8 @@ public void testDeleteVMGroup() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.workloadNetworks().deleteVMGroup("lsxkd", "wqapfgsdp", "vessm", com.azure.core.util.Context.NONE); + manager.workloadNetworks() + .deleteVMGroup("cxwaxfewz", "kjexfdeqvhp", "ylkkshkbffmbm", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDhcpWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDhcpWithResponseMockTests.java index 8747e57206c8..a3d3c8041ed5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDhcpWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDhcpWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksGetDhcpWithResponseMockTests { @Test public void testGetDhcpWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"dhcpType\":\"WorkloadNetworkDhcpEntity\",\"displayName\":\"cnjrohmbpyryxame\",\"segments\":[\"dyvkfkmr\",\"cxneh\",\"sm\"],\"provisioningState\":\"Deleting\",\"revision\":7274187586173675983},\"id\":\"apucygvo\",\"name\":\"vyuns\",\"type\":\"xlghieegj\"}"; + = "{\"properties\":{\"dhcpType\":\"WorkloadNetworkDhcpEntity\",\"displayName\":\"dija\",\"segments\":[\"mrsieekp\"],\"provisioningState\":\"Building\",\"revision\":2943303978030464573},\"id\":\"udqmeqwigpibudq\",\"name\":\"yxeb\",\"type\":\"ybpmzznrtffyaq\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,10 +31,10 @@ public void testGetDhcpWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkDhcp response = manager.workloadNetworks() - .getDhcpWithResponse("oqza", "unwqr", "zfrgqhaohcm", com.azure.core.util.Context.NONE) + .getDhcpWithResponse("lxveabfqx", "mwmqtibx", "ijddtvqc", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("cnjrohmbpyryxame", response.properties().displayName()); - Assertions.assertEquals(7274187586173675983L, response.properties().revision()); + Assertions.assertEquals("dija", response.properties().displayName()); + Assertions.assertEquals(2943303978030464573L, response.properties().revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsServiceWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsServiceWithResponseMockTests.java index d62505811cbb..9982c4252d1f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsServiceWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsServiceWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksGetDnsServiceWithResponseMockTests { @Test public void testGetDnsServiceWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"ksrf\",\"dnsServiceIp\":\"v\",\"defaultDnsZone\":\"mknbnxwcdommpv\",\"fqdnZones\":[\"wzfgbrttuiaclkie\"],\"logLevel\":\"ERROR\",\"status\":\"FAILURE\",\"provisioningState\":\"Failed\",\"revision\":3380169612516312887},\"id\":\"fyut\",\"name\":\"diygbpvnwswmtxky\",\"type\":\"twwgzwx\"}"; + = "{\"properties\":{\"displayName\":\"uuwwltv\",\"dnsServiceIp\":\"jctzenkei\",\"defaultDnsZone\":\"zhmkdasvflyh\",\"fqdnZones\":[\"udchxgsrboldforo\"],\"logLevel\":\"FATAL\",\"status\":\"SUCCESS\",\"provisioningState\":\"Deleting\",\"revision\":6875255372638477871},\"id\":\"ovvacqpbt\",\"name\":\"odxeszabbela\",\"type\":\"umuaslzkwrrwoycq\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,14 +32,14 @@ public void testGetDnsServiceWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkDnsService response = manager.workloadNetworks() - .getDnsServiceWithResponse("wvqsgny", "uuzivensrpmeyyvp", "patlbijp", com.azure.core.util.Context.NONE) + .getDnsServiceWithResponse("lvidizozs", "bccxjmonfdgn", "n", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("ksrf", response.displayName()); - Assertions.assertEquals("v", response.dnsServiceIp()); - Assertions.assertEquals("mknbnxwcdommpv", response.defaultDnsZone()); - Assertions.assertEquals("wzfgbrttuiaclkie", response.fqdnZones().get(0)); - Assertions.assertEquals(DnsServiceLogLevelEnum.ERROR, response.logLevel()); - Assertions.assertEquals(3380169612516312887L, response.revision()); + Assertions.assertEquals("uuwwltv", response.displayName()); + Assertions.assertEquals("jctzenkei", response.dnsServiceIp()); + Assertions.assertEquals("zhmkdasvflyh", response.defaultDnsZone()); + Assertions.assertEquals("udchxgsrboldforo", response.fqdnZones().get(0)); + Assertions.assertEquals(DnsServiceLogLevelEnum.FATAL, response.logLevel()); + Assertions.assertEquals(6875255372638477871L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsZoneWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsZoneWithResponseMockTests.java index 7f3a83021e71..b76dc1edc88f 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsZoneWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetDnsZoneWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksGetDnsZoneWithResponseMockTests { @Test public void testGetDnsZoneWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"juscvsfx\",\"domain\":[\"tmgxuupbezqcc\",\"drtc\",\"ukdqkkyihztg\",\"qm\"],\"dnsServerIps\":[\"gwldo\",\"chillcecf\",\"huwaoaguhic\",\"llizs\"],\"sourceIp\":\"csjvhrwef\",\"dnsServices\":2091546182568270804,\"provisioningState\":\"Succeeded\",\"revision\":4430853762890090237},\"id\":\"s\",\"name\":\"haep\",\"type\":\"a\"}"; + = "{\"properties\":{\"displayName\":\"dvruzslzojhpctf\",\"domain\":[\"xotngfdguge\",\"zihgrkyu\"],\"dnsServerIps\":[\"bsnmfpph\",\"jee\"],\"sourceIp\":\"hyhsgzfczbg\",\"dnsServices\":6788751410838737774,\"provisioningState\":\"Building\",\"revision\":2354871388013628710},\"id\":\"leohibetnluankr\",\"name\":\"fxeeebtijvacvbm\",\"type\":\"z\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,14 +31,14 @@ public void testGetDnsZoneWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkDnsZone response = manager.workloadNetworks() - .getDnsZoneWithResponse("mghihp", "ecmslclbl", "jxl", com.azure.core.util.Context.NONE) + .getDnsZoneWithResponse("xfuojrn", "iflrzpasccbiu", "mzdlyjdfqwmkyo", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("juscvsfx", response.displayName()); - Assertions.assertEquals("tmgxuupbezqcc", response.domain().get(0)); - Assertions.assertEquals("gwldo", response.dnsServerIps().get(0)); - Assertions.assertEquals("csjvhrwef", response.sourceIp()); - Assertions.assertEquals(2091546182568270804L, response.dnsServices()); - Assertions.assertEquals(4430853762890090237L, response.revision()); + Assertions.assertEquals("dvruzslzojhpctf", response.displayName()); + Assertions.assertEquals("xotngfdguge", response.domain().get(0)); + Assertions.assertEquals("bsnmfpph", response.dnsServerIps().get(0)); + Assertions.assertEquals("hyhsgzfczbg", response.sourceIp()); + Assertions.assertEquals(6788751410838737774L, response.dnsServices()); + Assertions.assertEquals(2354871388013628710L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetGatewayWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetGatewayWithResponseMockTests.java index f7810c04cc1a..cad5add47f70 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetGatewayWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetGatewayWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksGetGatewayWithResponseMockTests { @Test public void testGetGatewayWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"displayName\":\"zrrscub\",\"path\":\"sd\"},\"id\":\"pxqwo\",\"name\":\"iffjxcjrm\",\"type\":\"uabwibvjogjo\"}"; + = "{\"properties\":{\"provisioningState\":\"Canceled\",\"displayName\":\"rhc\",\"path\":\"yprotwyp\"},\"id\":\"d\",\"name\":\"bxhugcmjkavlgorb\",\"type\":\"ftpmdtzfjltfv\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,9 +31,9 @@ public void testGetGatewayWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkGateway response = manager.workloadNetworks() - .getGatewayWithResponse("xbulpzealbmqkyo", "wyvf", "mbtsuahxsg", com.azure.core.util.Context.NONE) + .getGatewayWithResponse("nlj", "nmgixh", "mavmq", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("zrrscub", response.displayName()); + Assertions.assertEquals("rhc", response.displayName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPortMirroringWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPortMirroringWithResponseMockTests.java index 17209aa8ca0e..2a3b2a6c7262 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPortMirroringWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPortMirroringWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksGetPortMirroringWithResponseMockTests { @Test public void testGetPortMirroringWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"ndo\",\"direction\":\"BIDIRECTIONAL\",\"source\":\"ltoormkfqlwxldyk\",\"destination\":\"sy\",\"status\":\"FAILURE\",\"provisioningState\":\"Updating\",\"revision\":5192971092079574246},\"id\":\"bmjk\",\"name\":\"ibjgsjjxxahm\",\"type\":\"nadzyq\"}"; + = "{\"properties\":{\"displayName\":\"urtleipqxb\",\"direction\":\"EGRESS\",\"source\":\"gnzvdfbzdixzm\",\"destination\":\"noda\",\"status\":\"SUCCESS\",\"provisioningState\":\"Succeeded\",\"revision\":4650892591644207965},\"id\":\"tmcg\",\"name\":\"bostzel\",\"type\":\"dlat\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,14 +32,13 @@ public void testGetPortMirroringWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkPortMirroring response = manager.workloadNetworks() - .getPortMirroringWithResponse("ffg", "lukkutvlxhrpqhvm", "lcouqehbhbcdszir", - com.azure.core.util.Context.NONE) + .getPortMirroringWithResponse("eqocljmygvk", "qkjjeokbz", "fezrx", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("ndo", response.displayName()); - Assertions.assertEquals(PortMirroringDirectionEnum.BIDIRECTIONAL, response.direction()); - Assertions.assertEquals("ltoormkfqlwxldyk", response.source()); - Assertions.assertEquals("sy", response.destination()); - Assertions.assertEquals(5192971092079574246L, response.revision()); + Assertions.assertEquals("urtleipqxb", response.displayName()); + Assertions.assertEquals(PortMirroringDirectionEnum.EGRESS, response.direction()); + Assertions.assertEquals("gnzvdfbzdixzm", response.source()); + Assertions.assertEquals("noda", response.destination()); + Assertions.assertEquals(4650892591644207965L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPublicIpWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPublicIpWithResponseMockTests.java index e6bbed91d69e..a6033e8d0775 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPublicIpWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetPublicIpWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksGetPublicIpWithResponseMockTests { @Test public void testGetPublicIpWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"fjkutycyarnroo\",\"numberOfPublicIPs\":178457974168076809,\"publicIPBlock\":\"zoghktdpyczhc\",\"provisioningState\":\"Deleting\"},\"id\":\"nhzqrottjzcfy\",\"name\":\"zptwrlohap\",\"type\":\"infsz\"}"; + = "{\"properties\":{\"displayName\":\"jg\",\"numberOfPublicIPs\":8699123673474583360,\"publicIPBlock\":\"oguyaip\",\"provisioningState\":\"Updating\"},\"id\":\"ault\",\"name\":\"ijjumfq\",\"type\":\"azlnqnmcjngzqdqx\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,10 +31,10 @@ public void testGetPublicIpWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkPublicIp response = manager.workloadNetworks() - .getPublicIpWithResponse("zkye", "nfnzhhh", "o", com.azure.core.util.Context.NONE) + .getPublicIpWithResponse("wexjkmfxapjwogq", "nobpudcdabtqwpw", "awbzasqb", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("fjkutycyarnroo", response.displayName()); - Assertions.assertEquals(178457974168076809L, response.numberOfPublicIPs()); + Assertions.assertEquals("jg", response.displayName()); + Assertions.assertEquals(8699123673474583360L, response.numberOfPublicIPs()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSegmentWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSegmentWithResponseMockTests.java index f0d2831f5ede..bab6bd51f46d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSegmentWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetSegmentWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksGetSegmentWithResponseMockTests { @Test public void testGetSegmentWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"emeluclv\",\"connectedGateway\":\"jukyrdn\",\"subnet\":{\"dhcpRanges\":[\"ahhxhqfaqnvzoqg\",\"ipemchgavscz\",\"ejdtxptl\",\"h\"],\"gatewayAddress\":\"homewjjstliu\"},\"portVif\":[{\"portName\":\"moaiancz\"}],\"status\":\"FAILURE\",\"provisioningState\":\"Updating\",\"revision\":6751565524667893953},\"id\":\"lxydkxrxv\",\"name\":\"bxiwkgfbqljn\",\"type\":\"khychocokulehur\"}"; + = "{\"properties\":{\"displayName\":\"fmvigorqjbttzh\",\"connectedGateway\":\"glka\",\"subnet\":{\"dhcpRanges\":[\"qjujeickpzvcp\"],\"gatewayAddress\":\"mxelnwcltyjed\"},\"portVif\":[{\"portName\":\"lfmk\"}],\"status\":\"SUCCESS\",\"provisioningState\":\"Succeeded\",\"revision\":3152566329630762720},\"id\":\"tzxpuamwabzxrv\",\"name\":\"cush\",\"type\":\"phai\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,14 +31,13 @@ public void testGetSegmentWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkSegment response = manager.workloadNetworks() - .getSegmentWithResponse("nbbklqpxzucafed", "wwnlzafwxudgnh", "ookrtalvnbw", - com.azure.core.util.Context.NONE) + .getSegmentWithResponse("wcrojphslhcaw", "u", "i", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("emeluclv", response.displayName()); - Assertions.assertEquals("jukyrdn", response.connectedGateway()); - Assertions.assertEquals("ahhxhqfaqnvzoqg", response.subnet().dhcpRanges().get(0)); - Assertions.assertEquals("homewjjstliu", response.subnet().gatewayAddress()); - Assertions.assertEquals(6751565524667893953L, response.revision()); + Assertions.assertEquals("fmvigorqjbttzh", response.displayName()); + Assertions.assertEquals("glka", response.connectedGateway()); + Assertions.assertEquals("qjujeickpzvcp", response.subnet().dhcpRanges().get(0)); + Assertions.assertEquals("mxelnwcltyjed", response.subnet().gatewayAddress()); + Assertions.assertEquals(3152566329630762720L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVMGroupWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVMGroupWithResponseMockTests.java index 931932f03150..7e3209fa7c62 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVMGroupWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVMGroupWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksGetVMGroupWithResponseMockTests { @Test public void testGetVMGroupWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"displayName\":\"ljdjuskbrreqy\",\"members\":[\"eysfaqegplw\",\"ysh\",\"ddkvbxgkqu\"],\"status\":\"FAILURE\",\"provisioningState\":\"Canceled\",\"revision\":4493367874703479410},\"id\":\"arvvlfnt\",\"name\":\"mt\",\"type\":\"oiwenazerohzrsq\"}"; + = "{\"properties\":{\"displayName\":\"crpfbcunez\",\"members\":[\"zelfwyfwl\"],\"status\":\"FAILURE\",\"provisioningState\":\"Deleting\",\"revision\":979869830822712459},\"id\":\"ihclafzv\",\"name\":\"ylptrsqqwztcm\",\"type\":\"qkc\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,11 +31,11 @@ public void testGetVMGroupWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkVMGroup response = manager.workloadNetworks() - .getVMGroupWithResponse("x", "faoytehqpuv", "mvqmtdwckygroej", com.azure.core.util.Context.NONE) + .getVMGroupWithResponse("z", "kiwbuqnyoph", "fy", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("ljdjuskbrreqy", response.displayName()); - Assertions.assertEquals("eysfaqegplw", response.members().get(0)); - Assertions.assertEquals(4493367874703479410L, response.revision()); + Assertions.assertEquals("crpfbcunez", response.displayName()); + Assertions.assertEquals("zelfwyfwl", response.members().get(0)); + Assertions.assertEquals(979869830822712459L, response.revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVirtualMachineWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVirtualMachineWithResponseMockTests.java index 0c7b80c50a57..95c40e494926 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVirtualMachineWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetVirtualMachineWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksGetVirtualMachineWithResponseMockTests { @Test public void testGetVirtualMachineWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"displayName\":\"kschgcgqyhle\",\"vmType\":\"SERVICE\"},\"id\":\"rhvyeld\",\"name\":\"tj\",\"type\":\"dkwisw\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"displayName\":\"embnkbw\",\"vmType\":\"EDGE\"},\"id\":\"kdi\",\"name\":\"qihebw\",\"type\":\"swbzuwfmdurage\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,10 +31,9 @@ public void testGetVirtualMachineWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetworkVirtualMachine response = manager.workloadNetworks() - .getVirtualMachineWithResponse("kzzltafhbzf", "ovwmbjlzqsczpgvd", "napfdqwowftpt", - com.azure.core.util.Context.NONE) + .getVirtualMachineWithResponse("iiqbi", "htmwwinh", "hfqpofv", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("kschgcgqyhle", response.displayName()); + Assertions.assertEquals("embnkbw", response.displayName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetWithResponseMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetWithResponseMockTests.java index 7833489c4f0d..1dbf9b7fed8b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetWithResponseMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksGetWithResponseMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -20,7 +20,7 @@ public final class WorkloadNetworksGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Updating\"},\"id\":\"fiqwoy\",\"name\":\"qvapcohhoucq\",\"type\":\"q\"}"; + = "{\"properties\":{\"provisioningState\":\"Building\"},\"id\":\"ralllibphb\",\"name\":\"zmizakakan\",\"type\":\"jpdn\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,7 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); WorkloadNetwork response = manager.workloadNetworks() - .getWithResponse("klinhmdptysprq", "gnzxojpslsvj", com.azure.core.util.Context.NONE) + .getWithResponse("qtgdqohmcwsl", "riz", com.azure.core.util.Context.NONE) .getValue(); } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDhcpMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDhcpMockTests.java index e1ab78c3430a..5d73abaa2acd 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDhcpMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDhcpMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksListDhcpMockTests { @Test public void testListDhcp() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"dhcpType\":\"WorkloadNetworkDhcpEntity\",\"displayName\":\"qd\",\"segments\":[\"wflj\",\"zn\",\"mtuatmzwcjjncqtj\",\"mizvgbgatzuuvbx\"],\"provisioningState\":\"Succeeded\",\"revision\":8608381823862362175},\"id\":\"gahttzlswvaj\",\"name\":\"fu\",\"type\":\"lx\"}]}"; + = "{\"value\":[{\"properties\":{\"dhcpType\":\"WorkloadNetworkDhcpEntity\",\"displayName\":\"cjmeislstvasy\",\"segments\":[\"dzaumweooh\"],\"provisioningState\":\"Deleting\",\"revision\":2121128863693550353},\"id\":\"oyjathwtzol\",\"name\":\"a\",\"type\":\"mwmdxmebwjscjpa\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,9 +32,9 @@ public void testListDhcp() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.workloadNetworks().listDhcp("jxcx", "rzdcgdzbenribcaw", com.azure.core.util.Context.NONE); + = manager.workloadNetworks().listDhcp("zhajoylhjlmuo", "xprimrsop", com.azure.core.util.Context.NONE); - Assertions.assertEquals("qd", response.iterator().next().properties().displayName()); - Assertions.assertEquals(8608381823862362175L, response.iterator().next().properties().revision()); + Assertions.assertEquals("cjmeislstvasy", response.iterator().next().properties().displayName()); + Assertions.assertEquals(2121128863693550353L, response.iterator().next().properties().revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsServicesMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsServicesMockTests.java index 884374974dd3..d9b8065a5f25 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsServicesMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsServicesMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class WorkloadNetworksListDnsServicesMockTests { @Test public void testListDnsServices() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"displayName\":\"phuuuerctato\",\"dnsServiceIp\":\"ntqpbr\",\"defaultDnsZone\":\"yrduczkgofxyfsr\",\"fqdnZones\":[\"crrpcjttbstvje\",\"qnrmvvfko\"],\"logLevel\":\"INFO\",\"status\":\"FAILURE\",\"provisioningState\":\"Canceled\",\"revision\":7982609704368094345},\"id\":\"r\",\"name\":\"azlp\",\"type\":\"wwexymzvlazipbh\"}]}"; + = "{\"value\":[{\"properties\":{\"displayName\":\"zexrxzbujrt\",\"dnsServiceIp\":\"qvwre\",\"defaultDnsZone\":\"h\",\"fqdnZones\":[\"nzonzl\",\"piqywnc\",\"jtszcof\",\"zehtdhgb\"],\"logLevel\":\"FATAL\",\"status\":\"FAILURE\",\"provisioningState\":\"Updating\",\"revision\":5299106895755673529},\"id\":\"rvzmlovuana\",\"name\":\"hcxlpm\",\"type\":\"erbdk\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,13 +33,13 @@ public void testListDnsServices() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response = manager.workloadNetworks() - .listDnsServices("pirpiwrqof", "lopmjnlexwhcbjpi", com.azure.core.util.Context.NONE); + .listDnsServices("dgamquhiosrsj", "ivfcdisyirnx", com.azure.core.util.Context.NONE); - Assertions.assertEquals("phuuuerctato", response.iterator().next().displayName()); - Assertions.assertEquals("ntqpbr", response.iterator().next().dnsServiceIp()); - Assertions.assertEquals("yrduczkgofxyfsr", response.iterator().next().defaultDnsZone()); - Assertions.assertEquals("crrpcjttbstvje", response.iterator().next().fqdnZones().get(0)); - Assertions.assertEquals(DnsServiceLogLevelEnum.INFO, response.iterator().next().logLevel()); - Assertions.assertEquals(7982609704368094345L, response.iterator().next().revision()); + Assertions.assertEquals("zexrxzbujrt", response.iterator().next().displayName()); + Assertions.assertEquals("qvwre", response.iterator().next().dnsServiceIp()); + Assertions.assertEquals("h", response.iterator().next().defaultDnsZone()); + Assertions.assertEquals("nzonzl", response.iterator().next().fqdnZones().get(0)); + Assertions.assertEquals(DnsServiceLogLevelEnum.FATAL, response.iterator().next().logLevel()); + Assertions.assertEquals(5299106895755673529L, response.iterator().next().revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsZonesMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsZonesMockTests.java index 3000d8eda53c..444dd87d0aa4 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsZonesMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListDnsZonesMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksListDnsZonesMockTests { @Test public void testListDnsZones() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"displayName\":\"javfqn\",\"domain\":[\"qoewdogiyetesy\"],\"dnsServerIps\":[\"dbztjhqtfbov\"],\"sourceIp\":\"nkbw\",\"dnsServices\":3587482268659031002,\"provisioningState\":\"Succeeded\",\"revision\":4288895377578645868},\"id\":\"kzyaup\",\"name\":\"accxnafbwqroohtu\",\"type\":\"vmaonurjt\"}]}"; + = "{\"value\":[{\"properties\":{\"displayName\":\"akchzyvlixqnrk\",\"domain\":[\"jibnxmysu\",\"swqrntvlwijp\",\"ttexoqqpwcyyufmh\",\"uncuw\"],\"dnsServerIps\":[\"pkcdqzhlct\",\"dunqnd\"],\"sourceIp\":\"pchrqbn\",\"dnsServices\":7384163367118885266,\"provisioningState\":\"Canceled\",\"revision\":2698431351824304661},\"id\":\"wboxjumvqqo\",\"name\":\"ihrraiouaub\",\"type\":\"jtlo\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,13 +32,13 @@ public void testListDnsZones() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.workloadNetworks().listDnsZones("oqqtl", "fhzbkr", com.azure.core.util.Context.NONE); + = manager.workloadNetworks().listDnsZones("lalniex", "srzpgepqtybbww", com.azure.core.util.Context.NONE); - Assertions.assertEquals("javfqn", response.iterator().next().displayName()); - Assertions.assertEquals("qoewdogiyetesy", response.iterator().next().domain().get(0)); - Assertions.assertEquals("dbztjhqtfbov", response.iterator().next().dnsServerIps().get(0)); - Assertions.assertEquals("nkbw", response.iterator().next().sourceIp()); - Assertions.assertEquals(3587482268659031002L, response.iterator().next().dnsServices()); - Assertions.assertEquals(4288895377578645868L, response.iterator().next().revision()); + Assertions.assertEquals("akchzyvlixqnrk", response.iterator().next().displayName()); + Assertions.assertEquals("jibnxmysu", response.iterator().next().domain().get(0)); + Assertions.assertEquals("pkcdqzhlct", response.iterator().next().dnsServerIps().get(0)); + Assertions.assertEquals("pchrqbn", response.iterator().next().sourceIp()); + Assertions.assertEquals(7384163367118885266L, response.iterator().next().dnsServices()); + Assertions.assertEquals(2698431351824304661L, response.iterator().next().revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListGatewaysMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListGatewaysMockTests.java index 08f24dfa4626..9eafcd98b25b 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListGatewaysMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListGatewaysMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksListGatewaysMockTests { @Test public void testListGateways() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Updating\",\"displayName\":\"bhgau\",\"path\":\"dixmxufrsryjq\"},\"id\":\"kfnozoeoqbvj\",\"name\":\"vefgwbmqjchntas\",\"type\":\"ay\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Building\",\"displayName\":\"poqeyhlqh\",\"path\":\"prlpy\"},\"id\":\"uciqdsme\",\"name\":\"iitdfuxt\",\"type\":\"asiibmiybnnust\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,8 +32,8 @@ public void testListGateways() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.workloadNetworks().listGateways("v", "hulrtywikdmhla", com.azure.core.util.Context.NONE); + = manager.workloadNetworks().listGateways("aoqltfaey", "inmfgvxirp", com.azure.core.util.Context.NONE); - Assertions.assertEquals("bhgau", response.iterator().next().displayName()); + Assertions.assertEquals("poqeyhlqh", response.iterator().next().displayName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListMockTests.java index fe4f0184f114..57145eeb954c 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -21,7 +21,7 @@ public final class WorkloadNetworksListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Updating\"},\"id\":\"zrazisgyk\",\"name\":\"uem\",\"type\":\"anbwzohmnrxxbso\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Deleting\"},\"id\":\"sjhoiftxfkfwegpr\",\"name\":\"ptil\",\"type\":\"ucb\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,7 +31,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.workloadNetworks().list("kwzdqybxcea", "xcptsoqfyiaseqc", com.azure.core.util.Context.NONE); + = manager.workloadNetworks().list("pifhpfeoajvgcxtx", "csheafidltugsr", com.azure.core.util.Context.NONE); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPortMirroringMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPortMirroringMockTests.java index b4dfc39e4147..4dfcbd992dab 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPortMirroringMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPortMirroringMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -23,7 +23,7 @@ public final class WorkloadNetworksListPortMirroringMockTests { @Test public void testListPortMirroring() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"displayName\":\"vfkakpold\",\"direction\":\"EGRESS\",\"source\":\"boclzhzjknyuxgv\",\"destination\":\"xpn\",\"status\":\"FAILURE\",\"provisioningState\":\"Updating\",\"revision\":1672814708325363784},\"id\":\"i\",\"name\":\"trekidswys\",\"type\":\"br\"}]}"; + = "{\"value\":[{\"properties\":{\"displayName\":\"zq\",\"direction\":\"EGRESS\",\"source\":\"hedsvqwthmkyib\",\"destination\":\"sihsgqcwdhohsd\",\"status\":\"SUCCESS\",\"provisioningState\":\"Building\",\"revision\":959554963448832293},\"id\":\"ohdxbzlmcmu\",\"name\":\"pcvhdbevwqqxeys\",\"type\":\"onqzinkfkbgbzbow\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,12 +33,12 @@ public void testListPortMirroring() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.workloadNetworks().listPortMirroring("mcyefoyzbam", "in", com.azure.core.util.Context.NONE); + = manager.workloadNetworks().listPortMirroring("zcyjtot", "vopvp", com.azure.core.util.Context.NONE); - Assertions.assertEquals("vfkakpold", response.iterator().next().displayName()); + Assertions.assertEquals("zq", response.iterator().next().displayName()); Assertions.assertEquals(PortMirroringDirectionEnum.EGRESS, response.iterator().next().direction()); - Assertions.assertEquals("boclzhzjknyuxgv", response.iterator().next().source()); - Assertions.assertEquals("xpn", response.iterator().next().destination()); - Assertions.assertEquals(1672814708325363784L, response.iterator().next().revision()); + Assertions.assertEquals("hedsvqwthmkyib", response.iterator().next().source()); + Assertions.assertEquals("sihsgqcwdhohsd", response.iterator().next().destination()); + Assertions.assertEquals(959554963448832293L, response.iterator().next().revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPublicIPsMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPublicIPsMockTests.java index fcf1a511e8ff..8cd0356f9ba5 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPublicIPsMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListPublicIPsMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksListPublicIPsMockTests { @Test public void testListPublicIPs() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"displayName\":\"fe\",\"numberOfPublicIPs\":599193553895116004,\"publicIPBlock\":\"rq\",\"provisioningState\":\"Updating\"},\"id\":\"qkratbnxwbjsid\",\"name\":\"irkfpksokdgo\",\"type\":\"ewijymrhbguz\"}]}"; + = "{\"value\":[{\"properties\":{\"displayName\":\"pcpil\",\"numberOfPublicIPs\":326883131469492313,\"publicIPBlock\":\"vechndbnwiehole\",\"provisioningState\":\"Building\"},\"id\":\"uubw\",\"name\":\"fqsfa\",\"type\":\"aqtferr\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,9 +32,9 @@ public void testListPublicIPs() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.workloadNetworks().listPublicIPs("aujvaa", "nggiycwkdtaa", com.azure.core.util.Context.NONE); + = manager.workloadNetworks().listPublicIPs("ochpprpr", "nmokayzejnhlbk", com.azure.core.util.Context.NONE); - Assertions.assertEquals("fe", response.iterator().next().displayName()); - Assertions.assertEquals(599193553895116004L, response.iterator().next().numberOfPublicIPs()); + Assertions.assertEquals("pcpil", response.iterator().next().displayName()); + Assertions.assertEquals(326883131469492313L, response.iterator().next().numberOfPublicIPs()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSegmentsMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSegmentsMockTests.java index 3573c0ed5670..8a8c223b444d 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSegmentsMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListSegmentsMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksListSegmentsMockTests { @Test public void testListSegments() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"displayName\":\"xj\",\"connectedGateway\":\"gcm\",\"subnet\":{\"dhcpRanges\":[\"hhhqxuwyv\",\"acoyvivbsizusjs\"],\"gatewayAddress\":\"bscm\"},\"portVif\":[{\"portName\":\"jiu\"},{\"portName\":\"hgm\"},{\"portName\":\"lnwyvqkxr\"}],\"status\":\"FAILURE\",\"provisioningState\":\"Failed\",\"revision\":5119795222738778166},\"id\":\"yfw\",\"name\":\"zutgqztwhghmupg\",\"type\":\"yjtcdxabbujftab\"}]}"; + = "{\"value\":[{\"properties\":{\"displayName\":\"rd\",\"connectedGateway\":\"ovw\",\"subnet\":{\"dhcpRanges\":[\"tgoe\",\"ybbabpfhvfsl\",\"vntjlrigjk\"],\"gatewayAddress\":\"yrio\"},\"portVif\":[{\"portName\":\"dsxwaab\"}],\"status\":\"SUCCESS\",\"provisioningState\":\"Building\",\"revision\":6291949212274748172},\"id\":\"mmaxrizkzobgo\",\"name\":\"xlhslnel\",\"type\":\"ieixynllxe\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,12 +32,12 @@ public void testListSegments() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.workloadNetworks().listSegments("jenkyh", "qzvs", com.azure.core.util.Context.NONE); + = manager.workloadNetworks().listSegments("l", "qryxyn", com.azure.core.util.Context.NONE); - Assertions.assertEquals("xj", response.iterator().next().displayName()); - Assertions.assertEquals("gcm", response.iterator().next().connectedGateway()); - Assertions.assertEquals("hhhqxuwyv", response.iterator().next().subnet().dhcpRanges().get(0)); - Assertions.assertEquals("bscm", response.iterator().next().subnet().gatewayAddress()); - Assertions.assertEquals(5119795222738778166L, response.iterator().next().revision()); + Assertions.assertEquals("rd", response.iterator().next().displayName()); + Assertions.assertEquals("ovw", response.iterator().next().connectedGateway()); + Assertions.assertEquals("tgoe", response.iterator().next().subnet().dhcpRanges().get(0)); + Assertions.assertEquals("yrio", response.iterator().next().subnet().gatewayAddress()); + Assertions.assertEquals(6291949212274748172L, response.iterator().next().revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVMGroupsMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVMGroupsMockTests.java index 748ff364e64c..1f48d9b0f432 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVMGroupsMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVMGroupsMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksListVMGroupsMockTests { @Test public void testListVMGroups() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"displayName\":\"fkndl\",\"members\":[\"w\",\"nvgmmbugtywa\"],\"status\":\"SUCCESS\",\"provisioningState\":\"Deleting\",\"revision\":9149431858503086708},\"id\":\"tgroesh\",\"name\":\"ygzc\",\"type\":\"yf\"}]}"; + = "{\"value\":[{\"properties\":{\"displayName\":\"bqigkx\",\"members\":[\"azgakg\",\"cyrcmjdmspo\",\"apvu\",\"rylniofrzg\"],\"status\":\"SUCCESS\",\"provisioningState\":\"Succeeded\",\"revision\":1865401311172769756},\"id\":\"vnlvxbcuiiznktwf\",\"name\":\"nsnvpd\",\"type\":\"bmikost\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -32,10 +32,10 @@ public void testListVMGroups() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.workloadNetworks().listVMGroups("kukjtasb", "wispkxk", com.azure.core.util.Context.NONE); + = manager.workloadNetworks().listVMGroups("izvcjfe", "isdju", com.azure.core.util.Context.NONE); - Assertions.assertEquals("fkndl", response.iterator().next().displayName()); - Assertions.assertEquals("w", response.iterator().next().members().get(0)); - Assertions.assertEquals(9149431858503086708L, response.iterator().next().revision()); + Assertions.assertEquals("bqigkx", response.iterator().next().displayName()); + Assertions.assertEquals("azgakg", response.iterator().next().members().get(0)); + Assertions.assertEquals(1865401311172769756L, response.iterator().next().revision()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVirtualMachinesMockTests.java b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVirtualMachinesMockTests.java index 7c0cb5cb444f..81f50f37ce38 100644 --- a/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVirtualMachinesMockTests.java +++ b/sdk/avs/azure-resourcemanager-avs/src/test/java/com/azure/resourcemanager/avs/generated/WorkloadNetworksListVirtualMachinesMockTests.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. +// Code generated by Microsoft (R) TypeSpec Code Generator. package com.azure.resourcemanager.avs.generated; @@ -22,7 +22,7 @@ public final class WorkloadNetworksListVirtualMachinesMockTests { @Test public void testListVirtualMachines() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Deleting\",\"displayName\":\"j\",\"vmType\":\"EDGE\"},\"id\":\"buscgduus\",\"name\":\"oycblevpmc\",\"type\":\"ujyxkyxlzgsj\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Deleting\",\"displayName\":\"lzqnhcvs\",\"vmType\":\"REGULAR\"},\"id\":\"zoibgsxg\",\"name\":\"xfyqonmpqoxwdo\",\"type\":\"dbxiqx\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -31,9 +31,9 @@ public void testListVirtualMachines() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response - = manager.workloadNetworks().listVirtualMachines("brxmrgch", "apx", com.azure.core.util.Context.NONE); + PagedIterable response = manager.workloadNetworks() + .listVirtualMachines("zotqyryuzcb", "qqvxmvwfgtayxons", com.azure.core.util.Context.NONE); - Assertions.assertEquals("j", response.iterator().next().displayName()); + Assertions.assertEquals("lzqnhcvs", response.iterator().next().displayName()); } } diff --git a/sdk/avs/azure-resourcemanager-avs/tsp-location.yaml b/sdk/avs/azure-resourcemanager-avs/tsp-location.yaml new file mode 100644 index 000000000000..74e0486ed7d2 --- /dev/null +++ b/sdk/avs/azure-resourcemanager-avs/tsp-location.yaml @@ -0,0 +1,4 @@ +directory: specification/vmware/Microsoft.AVS.Management +commit: cbb3de84f97bddc1ce5b5e11020926c15e9c14c8 +repo: Azure/azure-rest-api-specs +additionalDirectories: