From ada1949445845d048f4fff35b56c6edf7debe562 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 25 Aug 2022 17:56:52 +0000 Subject: [PATCH] CodeGen from PR 20349 in Azure/azure-rest-api-specs Merge 6efe88e16ff3dab8eafdaf44173064b752a091d3 into 2ed424dccf778022a6babff3b655203aa78ec0d8 --- .../CHANGELOG.md | 4 +- .../azure-resourcemanager-devcenter/README.md | 4 +- .../azure-resourcemanager-devcenter/SAMPLE.md | 200 ++++--- .../azure-resourcemanager-devcenter/pom.xml | 2 +- .../devcenter/DevCenterManager.java | 17 + .../devcenter/fluent/DevCenterClient.java | 7 + .../ProjectAllowedEnvironmentTypesClient.java | 74 +++ .../models/AllowedEnvironmentTypeInner.java | 64 ++ .../AllowedEnvironmentTypeProperties.java | 35 ++ .../AllowedEnvironmentTypeImpl.java | 49 ++ .../AttachedNetworksClientImpl.java | 12 +- .../implementation/CatalogsClientImpl.java | 6 +- .../DevBoxDefinitionsClientImpl.java | 12 +- .../implementation/DevCenterClientImpl.java | 16 +- .../implementation/DevCentersClientImpl.java | 12 +- .../EnvironmentTypesClientImpl.java | 6 +- .../implementation/GalleriesClientImpl.java | 6 +- .../ImageVersionsClientImpl.java | 6 +- .../implementation/ImagesClientImpl.java | 12 +- .../NetworkConnectionsClientImpl.java | 18 +- .../implementation/OperationsClientImpl.java | 6 +- .../implementation/PoolsClientImpl.java | 6 +- ...jectAllowedEnvironmentTypesClientImpl.java | 547 ++++++++++++++++++ .../ProjectAllowedEnvironmentTypesImpl.java | 75 +++ .../ProjectEnvironmentTypesClientImpl.java | 6 +- .../implementation/ProjectsClientImpl.java | 12 +- .../implementation/SchedulesClientImpl.java | 6 +- .../implementation/SkusClientImpl.java | 6 +- .../implementation/UsagesClientImpl.java | 6 +- .../devcenter/models/ActionType.java | 2 +- .../models/AllowedEnvironmentType.java | 53 ++ .../AllowedEnvironmentTypeListResult.java | 55 ++ .../devcenter/models/DomainJoinType.java | 2 +- .../devcenter/models/EnableStatus.java | 2 +- .../devcenter/models/HealthCheckStatus.java | 2 +- .../models/ImageValidationStatus.java | 2 +- .../devcenter/models/LicenseType.java | 2 +- .../models/ManagedServiceIdentityType.java | 2 +- .../devcenter/models/Origin.java | 5 +- .../ProjectAllowedEnvironmentTypes.java | 67 +++ .../devcenter/models/ScheduledFrequency.java | 2 +- .../devcenter/models/ScheduledType.java | 2 +- .../devcenter/models/SkuTier.java | 6 +- .../devcenter/models/UsageUnit.java | 2 +- ...AttachedNetworksCreateOrUpdateSamples.java | 2 +- .../AttachedNetworksDeleteSamples.java | 2 +- ...AttachedNetworksGetByDevCenterSamples.java | 2 +- .../AttachedNetworksGetByProjectSamples.java | 2 +- ...ttachedNetworksListByDevCenterSamples.java | 2 +- .../AttachedNetworksListByProjectSamples.java | 2 +- .../CatalogsCreateOrUpdateSamples.java | 4 +- .../generated/CatalogsDeleteSamples.java | 2 +- .../generated/CatalogsGetSamples.java | 2 +- .../CatalogsListByDevCenterSamples.java | 2 +- .../generated/CatalogsSyncSamples.java | 2 +- .../generated/CatalogsUpdateSamples.java | 2 +- ...evBoxDefinitionsCreateOrUpdateSamples.java | 2 +- .../DevBoxDefinitionsDeleteSamples.java | 2 +- .../DevBoxDefinitionsGetByProjectSamples.java | 2 +- .../DevBoxDefinitionsGetSamples.java | 2 +- ...vBoxDefinitionsListByDevCenterSamples.java | 2 +- ...DevBoxDefinitionsListByProjectSamples.java | 2 +- .../DevBoxDefinitionsUpdateSamples.java | 2 +- .../DevCentersCreateOrUpdateSamples.java | 4 +- .../generated/DevCentersDeleteSamples.java | 2 +- .../DevCentersGetByResourceGroupSamples.java | 2 +- .../DevCentersListByResourceGroupSamples.java | 2 +- .../generated/DevCentersListSamples.java | 2 +- .../generated/DevCentersUpdateSamples.java | 2 +- ...EnvironmentTypesCreateOrUpdateSamples.java | 2 +- .../EnvironmentTypesDeleteSamples.java | 2 +- .../generated/EnvironmentTypesGetSamples.java | 2 +- ...nvironmentTypesListByDevCenterSamples.java | 2 +- .../EnvironmentTypesUpdateSamples.java | 2 +- .../GalleriesCreateOrUpdateSamples.java | 2 +- .../generated/GalleriesDeleteSamples.java | 2 +- .../generated/GalleriesGetSamples.java | 2 +- .../GalleriesListByDevCenterSamples.java | 2 +- .../generated/ImageVersionsGetSamples.java | 2 +- .../ImageVersionsListByImageSamples.java | 2 +- .../devcenter/generated/ImagesGetSamples.java | 2 +- .../ImagesListByDevCenterSamples.java | 2 +- .../generated/ImagesListByGallerySamples.java | 2 +- ...tworkConnectionsCreateOrUpdateSamples.java | 2 +- .../NetworkConnectionsDeleteSamples.java | 2 +- ...kConnectionsGetByResourceGroupSamples.java | 2 +- ...orkConnectionsGetHealthDetailsSamples.java | 2 +- ...ConnectionsListByResourceGroupSamples.java | 2 +- ...rkConnectionsListHealthDetailsSamples.java | 2 +- .../NetworkConnectionsListSamples.java | 2 +- ...workConnectionsRunHealthChecksSamples.java | 2 +- .../NetworkConnectionsUpdateSamples.java | 2 +- .../OperationStatusesGetSamples.java | 2 +- .../generated/OperationsListSamples.java | 2 +- .../generated/PoolsCreateOrUpdateSamples.java | 2 +- .../generated/PoolsDeleteSamples.java | 2 +- .../devcenter/generated/PoolsGetSamples.java | 2 +- .../generated/PoolsListByProjectSamples.java | 2 +- .../generated/PoolsUpdateSamples.java | 2 +- ...jectAllowedEnvironmentTypesGetSamples.java | 24 + ...ectAllowedEnvironmentTypesListSamples.java | 23 + ...EnvironmentTypesCreateOrUpdateSamples.java | 2 +- .../ProjectEnvironmentTypesDeleteSamples.java | 2 +- .../ProjectEnvironmentTypesGetSamples.java | 2 +- .../ProjectEnvironmentTypesListSamples.java | 2 +- .../ProjectEnvironmentTypesUpdateSamples.java | 2 +- .../ProjectsCreateOrUpdateSamples.java | 2 +- .../generated/ProjectsDeleteSamples.java | 2 +- .../ProjectsGetByResourceGroupSamples.java | 2 +- .../ProjectsListByResourceGroupSamples.java | 2 +- .../generated/ProjectsListSamples.java | 2 +- .../generated/ProjectsUpdateSamples.java | 2 +- .../SchedulesCreateOrUpdateSamples.java | 2 +- .../generated/SchedulesDeleteSamples.java | 2 +- .../generated/SchedulesGetSamples.java | 2 +- .../generated/SchedulesListByPoolSamples.java | 2 +- .../generated/SchedulesUpdateSamples.java | 2 +- .../devcenter/generated/SkusListSamples.java | 2 +- .../UsagesListByLocationSamples.java | 2 +- 119 files changed, 1422 insertions(+), 213 deletions(-) create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/ProjectAllowedEnvironmentTypesClient.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/models/AllowedEnvironmentTypeInner.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/models/AllowedEnvironmentTypeProperties.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/AllowedEnvironmentTypeImpl.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectAllowedEnvironmentTypesClientImpl.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectAllowedEnvironmentTypesImpl.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/AllowedEnvironmentType.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/AllowedEnvironmentTypeListResult.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ProjectAllowedEnvironmentTypes.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectAllowedEnvironmentTypesGetSamples.java create mode 100644 sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectAllowedEnvironmentTypesListSamples.java diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/CHANGELOG.md b/sdk/devcenter/azure-resourcemanager-devcenter/CHANGELOG.md index a23bad1c59bb..d70695a2e863 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/CHANGELOG.md +++ b/sdk/devcenter/azure-resourcemanager-devcenter/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History -## 1.0.0-beta.2 (Unreleased) +## 1.0.0-beta.1 (2022-08-25) + +- Azure Resource Manager DevCenter client library for Java. This package contains Microsoft Azure SDK for DevCenter Management SDK. DevCenter Management API. Package tag package-2022-09-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Features Added diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/README.md b/sdk/devcenter/azure-resourcemanager-devcenter/README.md index 4cbdbaf562ca..3370c6293a32 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/README.md +++ b/sdk/devcenter/azure-resourcemanager-devcenter/README.md @@ -2,7 +2,7 @@ Azure Resource Manager DevCenter client library for Java. -This package contains Microsoft Azure SDK for DevCenter Management SDK. DevCenter Management API. Package tag package-2022-08-01-preview. 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 DevCenter Management SDK. DevCenter Management API. Package tag package-2022-09-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ## We'd love to hear your feedback @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-devcenter - 1.0.0-beta.1 + 1.0.0-beta.2 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/SAMPLE.md b/sdk/devcenter/azure-resourcemanager-devcenter/SAMPLE.md index 2c092eb4d6e7..6f8521dbcf78 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/SAMPLE.md +++ b/sdk/devcenter/azure-resourcemanager-devcenter/SAMPLE.md @@ -92,6 +92,11 @@ - [ListByProject](#pools_listbyproject) - [Update](#pools_update) +## ProjectAllowedEnvironmentTypes + +- [Get](#projectallowedenvironmenttypes_get) +- [List](#projectallowedenvironmenttypes_list) + ## ProjectEnvironmentTypes - [CreateOrUpdate](#projectenvironmenttypes_createorupdate) @@ -130,7 +135,7 @@ /** Samples for AttachedNetworks CreateOrUpdate. */ public final class AttachedNetworksCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_Create.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_Create.json */ /** * Sample code: AttachedNetworks_Create. @@ -157,7 +162,7 @@ import com.azure.core.util.Context; /** Samples for AttachedNetworks Delete. */ public final class AttachedNetworksDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_Delete.json */ /** * Sample code: AttachedNetworks_Delete. @@ -178,7 +183,7 @@ import com.azure.core.util.Context; /** Samples for AttachedNetworks GetByDevCenter. */ public final class AttachedNetworksGetByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_GetByDevCenter.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_GetByDevCenter.json */ /** * Sample code: AttachedNetworks_GetByDevCenter. @@ -199,7 +204,7 @@ import com.azure.core.util.Context; /** Samples for AttachedNetworks GetByProject. */ public final class AttachedNetworksGetByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_GetByProject.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_GetByProject.json */ /** * Sample code: AttachedNetworks_GetByProject. @@ -220,7 +225,7 @@ import com.azure.core.util.Context; /** Samples for AttachedNetworks ListByDevCenter. */ public final class AttachedNetworksListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_ListByDevCenter.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_ListByDevCenter.json */ /** * Sample code: AttachedNetworks_ListByDevCenter. @@ -241,7 +246,7 @@ import com.azure.core.util.Context; /** Samples for AttachedNetworks ListByProject. */ public final class AttachedNetworksListByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_ListByProject.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_ListByProject.json */ /** * Sample code: AttachedNetworks_ListByProject. @@ -262,7 +267,7 @@ import com.azure.resourcemanager.devcenter.models.GitCatalog; /** Samples for Catalogs CreateOrUpdate. */ public final class CatalogsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_CreateAdo.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_CreateAdo.json */ /** * Sample code: Catalogs_CreateOrUpdateAdo. @@ -284,7 +289,7 @@ public final class CatalogsCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_CreateGitHub.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_CreateGitHub.json */ /** * Sample code: Catalogs_CreateOrUpdateGitHub. @@ -315,7 +320,7 @@ import com.azure.core.util.Context; /** Samples for Catalogs Delete. */ public final class CatalogsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_Delete.json */ /** * Sample code: Catalogs_Delete. @@ -336,7 +341,7 @@ import com.azure.core.util.Context; /** Samples for Catalogs Get. */ public final class CatalogsGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_Get.json */ /** * Sample code: Catalogs_Get. @@ -357,7 +362,7 @@ import com.azure.core.util.Context; /** Samples for Catalogs ListByDevCenter. */ public final class CatalogsListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_List.json */ /** * Sample code: Catalogs_ListByDevCenter. @@ -378,7 +383,7 @@ import com.azure.core.util.Context; /** Samples for Catalogs Sync. */ public final class CatalogsSyncSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_Sync.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_Sync.json */ /** * Sample code: Catalogs_Sync. @@ -401,7 +406,7 @@ import com.azure.resourcemanager.devcenter.models.GitCatalog; /** Samples for Catalogs Update. */ public final class CatalogsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_Patch.json */ /** * Sample code: Catalogs_Update. @@ -425,7 +430,7 @@ import com.azure.resourcemanager.devcenter.models.Sku; /** Samples for DevBoxDefinitions CreateOrUpdate. */ public final class DevBoxDefinitionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_Create.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_Create.json */ /** * Sample code: DevBoxDefinitions_Create. @@ -457,7 +462,7 @@ import com.azure.core.util.Context; /** Samples for DevBoxDefinitions Delete. */ public final class DevBoxDefinitionsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_Delete.json */ /** * Sample code: DevBoxDefinitions_Delete. @@ -478,7 +483,7 @@ import com.azure.core.util.Context; /** Samples for DevBoxDefinitions Get. */ public final class DevBoxDefinitionsGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_Get.json */ /** * Sample code: DevBoxDefinitions_Get. @@ -499,7 +504,7 @@ import com.azure.core.util.Context; /** Samples for DevBoxDefinitions GetByProject. */ public final class DevBoxDefinitionsGetByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_GetByProject.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_GetByProject.json */ /** * Sample code: DevBoxDefinitions_GetByProject. @@ -520,7 +525,7 @@ import com.azure.core.util.Context; /** Samples for DevBoxDefinitions ListByDevCenter. */ public final class DevBoxDefinitionsListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_ListByDevCenter.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_ListByDevCenter.json */ /** * Sample code: DevBoxDefinitions_ListByDevCenter. @@ -541,7 +546,7 @@ import com.azure.core.util.Context; /** Samples for DevBoxDefinitions ListByProject. */ public final class DevBoxDefinitionsListByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_ListByProject.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_ListByProject.json */ /** * Sample code: DevBoxDefinitions_ListByProject. @@ -564,7 +569,7 @@ import com.azure.resourcemanager.devcenter.models.ImageReference; /** Samples for DevBoxDefinitions Update. */ public final class DevBoxDefinitionsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_Patch.json */ /** * Sample code: DevBoxDefinitions_Patch. @@ -597,7 +602,7 @@ import java.util.Map; /** Samples for DevCenters CreateOrUpdate. */ public final class DevCentersCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_Create.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_Create.json */ /** * Sample code: DevCenters_Create. @@ -615,7 +620,7 @@ public final class DevCentersCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_CreateWithUserIdentity.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_CreateWithUserIdentity.json */ /** * Sample code: DevCenters_CreateWithUserIdentity. @@ -660,7 +665,7 @@ import com.azure.core.util.Context; /** Samples for DevCenters Delete. */ public final class DevCentersDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_Delete.json */ /** * Sample code: DevCenters_Delete. @@ -681,7 +686,7 @@ import com.azure.core.util.Context; /** Samples for DevCenters GetByResourceGroup. */ public final class DevCentersGetByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_Get.json */ /** * Sample code: DevCenters_Get. @@ -702,7 +707,7 @@ import com.azure.core.util.Context; /** Samples for DevCenters List. */ public final class DevCentersListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_ListBySubscription.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_ListBySubscription.json */ /** * Sample code: DevCenters_ListBySubscription. @@ -723,7 +728,7 @@ import com.azure.core.util.Context; /** Samples for DevCenters ListByResourceGroup. */ public final class DevCentersListByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_ListByResourceGroup.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_ListByResourceGroup.json */ /** * Sample code: DevCenters_ListByResourceGroup. @@ -747,7 +752,7 @@ import java.util.Map; /** Samples for DevCenters Update. */ public final class DevCentersUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_Patch.json */ /** * Sample code: DevCenters_Update. @@ -782,7 +787,7 @@ import java.util.Map; /** Samples for EnvironmentTypes CreateOrUpdate. */ public final class EnvironmentTypesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_Put.json */ /** * Sample code: EnvironmentTypes_CreateOrUpdate. @@ -819,7 +824,7 @@ import com.azure.core.util.Context; /** Samples for EnvironmentTypes Delete. */ public final class EnvironmentTypesDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_Delete.json */ /** * Sample code: EnvironmentTypes_Delete. @@ -840,7 +845,7 @@ import com.azure.core.util.Context; /** Samples for EnvironmentTypes Get. */ public final class EnvironmentTypesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_Get.json */ /** * Sample code: EnvironmentTypes_Get. @@ -861,7 +866,7 @@ import com.azure.core.util.Context; /** Samples for EnvironmentTypes ListByDevCenter. */ public final class EnvironmentTypesListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_List.json */ /** * Sample code: EnvironmentTypes_ListByDevCenter. @@ -885,7 +890,7 @@ import java.util.Map; /** Samples for EnvironmentTypes Update. */ public final class EnvironmentTypesUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_Patch.json */ /** * Sample code: EnvironmentTypes_Update. @@ -920,7 +925,7 @@ public final class EnvironmentTypesUpdateSamples { /** Samples for Galleries CreateOrUpdate. */ public final class GalleriesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Galleries_Create.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Galleries_Create.json */ /** * Sample code: Galleries_CreateOrUpdate. @@ -947,7 +952,7 @@ import com.azure.core.util.Context; /** Samples for Galleries Delete. */ public final class GalleriesDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Galleries_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Galleries_Delete.json */ /** * Sample code: Galleries_Delete. @@ -968,7 +973,7 @@ import com.azure.core.util.Context; /** Samples for Galleries Get. */ public final class GalleriesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Galleries_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Galleries_Get.json */ /** * Sample code: Galleries_Get. @@ -989,7 +994,7 @@ import com.azure.core.util.Context; /** Samples for Galleries ListByDevCenter. */ public final class GalleriesListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Galleries_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Galleries_List.json */ /** * Sample code: Galleries_ListByDevCenter. @@ -1010,7 +1015,7 @@ import com.azure.core.util.Context; /** Samples for ImageVersions Get. */ public final class ImageVersionsGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ImageVersions_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ImageVersions_Get.json */ /** * Sample code: Versions_Get. @@ -1033,7 +1038,7 @@ import com.azure.core.util.Context; /** Samples for ImageVersions ListByImage. */ public final class ImageVersionsListByImageSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ImageVersions_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ImageVersions_List.json */ /** * Sample code: ImageVersions_ListByImage. @@ -1054,7 +1059,7 @@ import com.azure.core.util.Context; /** Samples for Images Get. */ public final class ImagesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Images_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Images_Get.json */ /** * Sample code: Images_Get. @@ -1075,7 +1080,7 @@ import com.azure.core.util.Context; /** Samples for Images ListByDevCenter. */ public final class ImagesListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Images_ListByDevCenter.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Images_ListByDevCenter.json */ /** * Sample code: Images_ListByDevCenter. @@ -1096,7 +1101,7 @@ import com.azure.core.util.Context; /** Samples for Images ListByGallery. */ public final class ImagesListByGallerySamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Images_ListByGallery.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Images_ListByGallery.json */ /** * Sample code: Images_ListByGallery. @@ -1117,7 +1122,7 @@ import com.azure.resourcemanager.devcenter.models.DomainJoinType; /** Samples for NetworkConnections CreateOrUpdate. */ public final class NetworkConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_Put.json */ /** * Sample code: NetworkConnections_CreateOrUpdate. @@ -1150,7 +1155,7 @@ import com.azure.core.util.Context; /** Samples for NetworkConnections Delete. */ public final class NetworkConnectionsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_Delete.json */ /** * Sample code: NetworkConnections_Delete. @@ -1171,7 +1176,7 @@ import com.azure.core.util.Context; /** Samples for NetworkConnections GetByResourceGroup. */ public final class NetworkConnectionsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_Get.json */ /** * Sample code: NetworkConnections_Get. @@ -1192,7 +1197,7 @@ import com.azure.core.util.Context; /** Samples for NetworkConnections GetHealthDetails. */ public final class NetworkConnectionsGetHealthDetailsSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_GetHealthDetails.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_GetHealthDetails.json */ /** * Sample code: NetworkConnections_GetHealthDetails. @@ -1214,7 +1219,7 @@ import com.azure.core.util.Context; /** Samples for NetworkConnections List. */ public final class NetworkConnectionsListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_ListBySubscription.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_ListBySubscription.json */ /** * Sample code: NetworkConnections_ListBySubscription. @@ -1236,7 +1241,7 @@ import com.azure.core.util.Context; /** Samples for NetworkConnections ListByResourceGroup. */ public final class NetworkConnectionsListByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_ListByResourceGroup.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_ListByResourceGroup.json */ /** * Sample code: NetworkConnections_ListByResourceGroup. @@ -1258,7 +1263,7 @@ import com.azure.core.util.Context; /** Samples for NetworkConnections ListHealthDetails. */ public final class NetworkConnectionsListHealthDetailsSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_ListHealthDetails.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_ListHealthDetails.json */ /** * Sample code: NetworkConnections_ListHealthDetails. @@ -1280,7 +1285,7 @@ import com.azure.core.util.Context; /** Samples for NetworkConnections RunHealthChecks. */ public final class NetworkConnectionsRunHealthChecksSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_RunHealthChecks.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_RunHealthChecks.json */ /** * Sample code: NetworkConnections_RunHealthChecks. @@ -1302,7 +1307,7 @@ import com.azure.resourcemanager.devcenter.models.NetworkConnection; /** Samples for NetworkConnections Update. */ public final class NetworkConnectionsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_Patch.json */ /** * Sample code: NetworkConnections_Update. @@ -1328,7 +1333,7 @@ import com.azure.core.util.Context; /** Samples for OperationStatuses Get. */ public final class OperationStatusesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/OperationStatus_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/OperationStatus_Get.json */ /** * Sample code: Get OperationStatus. @@ -1349,7 +1354,7 @@ import com.azure.core.util.Context; /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Operations_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Operations_Get.json */ /** * Sample code: Operations_Get. @@ -1371,7 +1376,7 @@ import com.azure.resourcemanager.devcenter.models.LocalAdminStatus; /** Samples for Pools CreateOrUpdate. */ public final class PoolsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_Put.json */ /** * Sample code: Pools_CreateOrUpdate. @@ -1401,7 +1406,7 @@ import com.azure.core.util.Context; /** Samples for Pools Delete. */ public final class PoolsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_Delete.json */ /** * Sample code: Pools_Delete. @@ -1422,7 +1427,7 @@ import com.azure.core.util.Context; /** Samples for Pools Get. */ public final class PoolsGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_Get.json */ /** * Sample code: Pools_Get. @@ -1443,7 +1448,7 @@ import com.azure.core.util.Context; /** Samples for Pools ListByProject. */ public final class PoolsListByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_List.json */ /** * Sample code: Pools_ListByProject. @@ -1465,7 +1470,7 @@ import com.azure.resourcemanager.devcenter.models.Pool; /** Samples for Pools Update. */ public final class PoolsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_Patch.json */ /** * Sample code: Pools_Update. @@ -1479,6 +1484,51 @@ public final class PoolsUpdateSamples { } ``` +### ProjectAllowedEnvironmentTypes_Get + +```java +import com.azure.core.util.Context; + +/** Samples for ProjectAllowedEnvironmentTypes Get. */ +public final class ProjectAllowedEnvironmentTypesGetSamples { + /* + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectAllowedEnvironmentTypes_Get.json + */ + /** + * Sample code: ProjectAllowedEnvironmentTypes_Get. + * + * @param manager Entry point to DevCenterManager. + */ + public static void projectAllowedEnvironmentTypesGet(com.azure.resourcemanager.devcenter.DevCenterManager manager) { + manager + .projectAllowedEnvironmentTypes() + .getWithResponse("rg1", "Contoso", "{environmentTypeName}", Context.NONE); + } +} +``` + +### ProjectAllowedEnvironmentTypes_List + +```java +import com.azure.core.util.Context; + +/** Samples for ProjectAllowedEnvironmentTypes List. */ +public final class ProjectAllowedEnvironmentTypesListSamples { + /* + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectAllowedEnvironmentTypes_List.json + */ + /** + * Sample code: ProjectAllowedEnvironmentTypes_List. + * + * @param manager Entry point to DevCenterManager. + */ + public static void projectAllowedEnvironmentTypesList( + com.azure.resourcemanager.devcenter.DevCenterManager manager) { + manager.projectAllowedEnvironmentTypes().list("rg1", "Contoso", null, Context.NONE); + } +} +``` + ### ProjectEnvironmentTypes_CreateOrUpdate ```java @@ -1495,7 +1545,7 @@ import java.util.Map; /** Samples for ProjectEnvironmentTypes CreateOrUpdate. */ public final class ProjectEnvironmentTypesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_Put.json */ /** * Sample code: ProjectEnvironmentTypes_CreateOrUpdate. @@ -1550,7 +1600,7 @@ import com.azure.core.util.Context; /** Samples for ProjectEnvironmentTypes Delete. */ public final class ProjectEnvironmentTypesDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_Delete.json */ /** * Sample code: ProjectEnvironmentTypes_Delete. @@ -1573,7 +1623,7 @@ import com.azure.core.util.Context; /** Samples for ProjectEnvironmentTypes Get. */ public final class ProjectEnvironmentTypesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_Get.json */ /** * Sample code: ProjectEnvironmentTypes_Get. @@ -1594,7 +1644,7 @@ import com.azure.core.util.Context; /** Samples for ProjectEnvironmentTypes List. */ public final class ProjectEnvironmentTypesListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_List.json */ /** * Sample code: ProjectEnvironmentTypes_List. @@ -1624,7 +1674,7 @@ import java.util.Map; /** Samples for ProjectEnvironmentTypes Update. */ public final class ProjectEnvironmentTypesUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_Patch.json */ /** * Sample code: ProjectEnvironmentTypes_Update. @@ -1679,7 +1729,7 @@ import java.util.Map; /** Samples for Projects CreateOrUpdate. */ public final class ProjectsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_Put.json */ /** * Sample code: Projects_CreateOrUpdate. @@ -1720,7 +1770,7 @@ import com.azure.core.util.Context; /** Samples for Projects Delete. */ public final class ProjectsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_Delete.json */ /** * Sample code: Projects_Delete. @@ -1741,7 +1791,7 @@ import com.azure.core.util.Context; /** Samples for Projects GetByResourceGroup. */ public final class ProjectsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_Get.json */ /** * Sample code: Projects_Get. @@ -1762,7 +1812,7 @@ import com.azure.core.util.Context; /** Samples for Projects List. */ public final class ProjectsListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_ListBySubscription.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_ListBySubscription.json */ /** * Sample code: Projects_ListBySubscription. @@ -1783,7 +1833,7 @@ import com.azure.core.util.Context; /** Samples for Projects ListByResourceGroup. */ public final class ProjectsListByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_ListByResourceGroup.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_ListByResourceGroup.json */ /** * Sample code: Projects_ListByResourceGroup. @@ -1807,7 +1857,7 @@ import java.util.Map; /** Samples for Projects Update. */ public final class ProjectsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_Patch.json */ /** * Sample code: Projects_Update. @@ -1843,7 +1893,7 @@ import com.azure.resourcemanager.devcenter.models.ScheduledType; /** Samples for Schedules CreateOrUpdate. */ public final class SchedulesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_CreateDailyShutdownPoolSchedule.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_CreateDailyShutdownPoolSchedule.json */ /** * Sample code: Schedules_CreateDailyShutdownPoolSchedule. @@ -1874,7 +1924,7 @@ import com.azure.core.util.Context; /** Samples for Schedules Delete. */ public final class SchedulesDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_Delete.json */ /** * Sample code: Schedules_Delete. @@ -1895,7 +1945,7 @@ import com.azure.core.util.Context; /** Samples for Schedules Get. */ public final class SchedulesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_Get.json */ /** * Sample code: Schedules_GetByPool. @@ -1916,7 +1966,7 @@ import com.azure.core.util.Context; /** Samples for Schedules ListByPool. */ public final class SchedulesListByPoolSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_ListByPool.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_ListByPool.json */ /** * Sample code: Schedules_ListByPool. @@ -1938,7 +1988,7 @@ import com.azure.resourcemanager.devcenter.models.ScheduleUpdate; /** Samples for Schedules Update. */ public final class SchedulesUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_Patch.json */ /** * Sample code: Schedules_Update. @@ -1968,7 +2018,7 @@ import com.azure.core.util.Context; /** Samples for Skus List. */ public final class SkusListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Skus_ListBySubscription.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Skus_ListBySubscription.json */ /** * Sample code: Skus_ListBySubscription. @@ -1989,7 +2039,7 @@ import com.azure.core.util.Context; /** Samples for Usages ListByLocation. */ public final class UsagesListByLocationSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Usages_ListByLocation.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Usages_ListByLocation.json */ /** * Sample code: listUsages. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/pom.xml b/sdk/devcenter/azure-resourcemanager-devcenter/pom.xml index e9e3149871f9..1cabd9dc4bd0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/pom.xml +++ b/sdk/devcenter/azure-resourcemanager-devcenter/pom.xml @@ -13,7 +13,7 @@ jar Microsoft Azure SDK for DevCenter Management - This package contains Microsoft Azure SDK for DevCenter Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. DevCenter Management API. Package tag package-2022-08-01-preview. + This package contains Microsoft Azure SDK for DevCenter Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. DevCenter Management API. Package tag package-2022-09-01-preview. https://github.com/Azure/azure-sdk-for-java diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/DevCenterManager.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/DevCenterManager.java index eca27bc46390..49c5a56c4e01 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/DevCenterManager.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/DevCenterManager.java @@ -37,6 +37,7 @@ import com.azure.resourcemanager.devcenter.implementation.OperationStatusesImpl; import com.azure.resourcemanager.devcenter.implementation.OperationsImpl; import com.azure.resourcemanager.devcenter.implementation.PoolsImpl; +import com.azure.resourcemanager.devcenter.implementation.ProjectAllowedEnvironmentTypesImpl; import com.azure.resourcemanager.devcenter.implementation.ProjectEnvironmentTypesImpl; import com.azure.resourcemanager.devcenter.implementation.ProjectsImpl; import com.azure.resourcemanager.devcenter.implementation.SchedulesImpl; @@ -54,6 +55,7 @@ import com.azure.resourcemanager.devcenter.models.OperationStatuses; import com.azure.resourcemanager.devcenter.models.Operations; import com.azure.resourcemanager.devcenter.models.Pools; +import com.azure.resourcemanager.devcenter.models.ProjectAllowedEnvironmentTypes; import com.azure.resourcemanager.devcenter.models.ProjectEnvironmentTypes; import com.azure.resourcemanager.devcenter.models.Projects; import com.azure.resourcemanager.devcenter.models.Schedules; @@ -84,6 +86,8 @@ public final class DevCenterManager { private EnvironmentTypes environmentTypes; + private ProjectAllowedEnvironmentTypes projectAllowedEnvironmentTypes; + private ProjectEnvironmentTypes projectEnvironmentTypes; private DevBoxDefinitions devBoxDefinitions; @@ -420,6 +424,19 @@ public EnvironmentTypes environmentTypes() { return environmentTypes; } + /** + * Gets the resource collection API of ProjectAllowedEnvironmentTypes. + * + * @return Resource collection API of ProjectAllowedEnvironmentTypes. + */ + public ProjectAllowedEnvironmentTypes projectAllowedEnvironmentTypes() { + if (this.projectAllowedEnvironmentTypes == null) { + this.projectAllowedEnvironmentTypes = + new ProjectAllowedEnvironmentTypesImpl(clientObject.getProjectAllowedEnvironmentTypes(), this); + } + return projectAllowedEnvironmentTypes; + } + /** * Gets the resource collection API of ProjectEnvironmentTypes. It manages ProjectEnvironmentType. * diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/DevCenterClient.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/DevCenterClient.java index f1eea14962e7..3d9a5c4b049e 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/DevCenterClient.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/DevCenterClient.java @@ -101,6 +101,13 @@ public interface DevCenterClient { */ EnvironmentTypesClient getEnvironmentTypes(); + /** + * Gets the ProjectAllowedEnvironmentTypesClient object to access its operations. + * + * @return the ProjectAllowedEnvironmentTypesClient object. + */ + ProjectAllowedEnvironmentTypesClient getProjectAllowedEnvironmentTypes(); + /** * Gets the ProjectEnvironmentTypesClient object to access its operations. * diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/ProjectAllowedEnvironmentTypesClient.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/ProjectAllowedEnvironmentTypesClient.java new file mode 100644 index 000000000000..2bac6677e8fa --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/ProjectAllowedEnvironmentTypesClient.java @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.devcenter.fluent.models.AllowedEnvironmentTypeInner; + +/** An instance of this class provides access to all the operations defined in ProjectAllowedEnvironmentTypesClient. */ +public interface ProjectAllowedEnvironmentTypesClient { + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the allowed environment type list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String projectName); + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param top The maximum number of resources to return from the operation. Example: '$top=10'. + * @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 result of the allowed environment type list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list( + String resourceGroupName, String projectName, Integer top, Context context); + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an allowed environment type. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + AllowedEnvironmentTypeInner get(String resourceGroupName, String projectName, String environmentTypeName); + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @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 an allowed environment type along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse( + String resourceGroupName, String projectName, String environmentTypeName, Context context); +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/models/AllowedEnvironmentTypeInner.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/models/AllowedEnvironmentTypeInner.java new file mode 100644 index 000000000000..88593f187445 --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/models/AllowedEnvironmentTypeInner.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.management.ProxyResource; +import com.azure.core.management.SystemData; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Represents an allowed environment type. */ +@Fluent +public final class AllowedEnvironmentTypeInner extends ProxyResource { + /* + * Properties of an allowed environment type. + */ + @JsonProperty(value = "properties") + private AllowedEnvironmentTypeProperties innerProperties; + + /* + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) + private SystemData systemData; + + /** + * Get the innerProperties property: Properties of an allowed environment type. + * + * @return the innerProperties value. + */ + private AllowedEnvironmentTypeProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + public SystemData systemData() { + return this.systemData; + } + + /** + * Get the provisioningState property: The provisioning state of the resource. + * + * @return the provisioningState value. + */ + public String 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(); + } + } +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/models/AllowedEnvironmentTypeProperties.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/models/AllowedEnvironmentTypeProperties.java new file mode 100644 index 000000000000..36476c125b53 --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/models/AllowedEnvironmentTypeProperties.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.fluent.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Properties of an allowed environment type. */ +@Immutable +public final class AllowedEnvironmentTypeProperties { + /* + * The provisioning state of the resource. + */ + @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private String provisioningState; + + /** + * Get the provisioningState property: The provisioning state of the resource. + * + * @return the provisioningState value. + */ + public String provisioningState() { + return this.provisioningState; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/AllowedEnvironmentTypeImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/AllowedEnvironmentTypeImpl.java new file mode 100644 index 000000000000..9b9f80e876b5 --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/AllowedEnvironmentTypeImpl.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.implementation; + +import com.azure.core.management.SystemData; +import com.azure.resourcemanager.devcenter.fluent.models.AllowedEnvironmentTypeInner; +import com.azure.resourcemanager.devcenter.models.AllowedEnvironmentType; + +public final class AllowedEnvironmentTypeImpl implements AllowedEnvironmentType { + private AllowedEnvironmentTypeInner innerObject; + + private final com.azure.resourcemanager.devcenter.DevCenterManager serviceManager; + + AllowedEnvironmentTypeImpl( + AllowedEnvironmentTypeInner innerObject, com.azure.resourcemanager.devcenter.DevCenterManager serviceManager) { + this.innerObject = innerObject; + this.serviceManager = serviceManager; + } + + public String id() { + return this.innerModel().id(); + } + + public String name() { + return this.innerModel().name(); + } + + public String type() { + return this.innerModel().type(); + } + + public SystemData systemData() { + return this.innerModel().systemData(); + } + + public String provisioningState() { + return this.innerModel().provisioningState(); + } + + public AllowedEnvironmentTypeInner innerModel() { + return this.innerObject; + } + + private com.azure.resourcemanager.devcenter.DevCenterManager manager() { + return this.serviceManager; + } +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/AttachedNetworksClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/AttachedNetworksClientImpl.java index 73db4590623e..413440285b9a 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/AttachedNetworksClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/AttachedNetworksClientImpl.java @@ -1533,7 +1533,8 @@ public void delete( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1569,7 +1570,8 @@ private Mono> listByProjectNextSin /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1607,7 +1609,8 @@ private Mono> listByProjectNextSin /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1643,7 +1646,8 @@ private Mono> listByDevCenterNextS /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/CatalogsClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/CatalogsClientImpl.java index 8c059b3bb2a7..ccd588932e50 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/CatalogsClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/CatalogsClientImpl.java @@ -1605,7 +1605,8 @@ public void sync(String resourceGroupName, String devCenterName, String catalogN /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1641,7 +1642,8 @@ private Mono> listByDevCenterNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevBoxDefinitionsClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevBoxDefinitionsClientImpl.java index 843b7f0a9efe..de6555e20f7b 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevBoxDefinitionsClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevBoxDefinitionsClientImpl.java @@ -1815,7 +1815,8 @@ public Response getByProjectWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1851,7 +1852,8 @@ private Mono> listByDevCenterNextSinglePage /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1889,7 +1891,8 @@ private Mono> listByDevCenterNextSinglePage /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1925,7 +1928,8 @@ private Mono> listByProjectNextSinglePageAs /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevCenterClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevCenterClientImpl.java index 12e011e59524..d78e2fa856f4 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevCenterClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevCenterClientImpl.java @@ -35,6 +35,7 @@ import com.azure.resourcemanager.devcenter.fluent.OperationStatusesClient; import com.azure.resourcemanager.devcenter.fluent.OperationsClient; import com.azure.resourcemanager.devcenter.fluent.PoolsClient; +import com.azure.resourcemanager.devcenter.fluent.ProjectAllowedEnvironmentTypesClient; import com.azure.resourcemanager.devcenter.fluent.ProjectEnvironmentTypesClient; import com.azure.resourcemanager.devcenter.fluent.ProjectsClient; import com.azure.resourcemanager.devcenter.fluent.SchedulesClient; @@ -224,6 +225,18 @@ public EnvironmentTypesClient getEnvironmentTypes() { return this.environmentTypes; } + /** The ProjectAllowedEnvironmentTypesClient object to access its operations. */ + private final ProjectAllowedEnvironmentTypesClient projectAllowedEnvironmentTypes; + + /** + * Gets the ProjectAllowedEnvironmentTypesClient object to access its operations. + * + * @return the ProjectAllowedEnvironmentTypesClient object. + */ + public ProjectAllowedEnvironmentTypesClient getProjectAllowedEnvironmentTypes() { + return this.projectAllowedEnvironmentTypes; + } + /** The ProjectEnvironmentTypesClient object to access its operations. */ private final ProjectEnvironmentTypesClient projectEnvironmentTypes; @@ -355,7 +368,7 @@ public NetworkConnectionsClient getNetworkConnections() { this.defaultPollInterval = defaultPollInterval; this.subscriptionId = subscriptionId; this.endpoint = endpoint; - this.apiVersion = "2022-08-01-preview"; + this.apiVersion = "2022-09-01-preview"; this.devCenters = new DevCentersClientImpl(this); this.projects = new ProjectsClientImpl(this); this.attachedNetworks = new AttachedNetworksClientImpl(this); @@ -364,6 +377,7 @@ public NetworkConnectionsClient getNetworkConnections() { this.imageVersions = new ImageVersionsClientImpl(this); this.catalogs = new CatalogsClientImpl(this); this.environmentTypes = new EnvironmentTypesClientImpl(this); + this.projectAllowedEnvironmentTypes = new ProjectAllowedEnvironmentTypesClientImpl(this); this.projectEnvironmentTypes = new ProjectEnvironmentTypesClientImpl(this); this.devBoxDefinitions = new DevBoxDefinitionsClientImpl(this); this.operations = new OperationsClientImpl(this); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevCentersClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevCentersClientImpl.java index 08dc7dd4dd03..e41e6cbf4548 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevCentersClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/DevCentersClientImpl.java @@ -1436,7 +1436,8 @@ public void delete(String resourceGroupName, String devCenterName, Context conte /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1473,7 +1474,8 @@ private Mono> listBySubscriptionNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1511,7 +1513,8 @@ private Mono> listBySubscriptionNextSinglePageAsyn /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1548,7 +1551,8 @@ private Mono> listByResourceGroupNextSinglePageAsy /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/EnvironmentTypesClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/EnvironmentTypesClientImpl.java index 43e69f711fe9..a4225dcb4393 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/EnvironmentTypesClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/EnvironmentTypesClientImpl.java @@ -1049,7 +1049,8 @@ public Response deleteWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1085,7 +1086,8 @@ private Mono> listByDevCenterNextSinglePageA /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/GalleriesClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/GalleriesClientImpl.java index 007a97580a1f..418fc79c16b2 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/GalleriesClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/GalleriesClientImpl.java @@ -1039,7 +1039,8 @@ public void delete(String resourceGroupName, String devCenterName, String galler /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1075,7 +1076,8 @@ private Mono> listByDevCenterNextSinglePageAsync(Str /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ImageVersionsClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ImageVersionsClientImpl.java index e6aac39ca180..66091a2c5ecc 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ImageVersionsClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ImageVersionsClientImpl.java @@ -511,7 +511,8 @@ public Response getWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -547,7 +548,8 @@ private Mono> listByImageNextSinglePageAsync(St /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ImagesClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ImagesClientImpl.java index 539814d0f1eb..80f1196187f5 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ImagesClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ImagesClientImpl.java @@ -731,7 +731,8 @@ public Response getWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -767,7 +768,8 @@ private Mono> listByDevCenterNextSinglePageAsync(Strin /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -804,7 +806,8 @@ private Mono> listByDevCenterNextSinglePageAsync(Strin /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -840,7 +843,8 @@ private Mono> listByGalleryNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/NetworkConnectionsClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/NetworkConnectionsClientImpl.java index 416f137474ce..2b9977ae67be 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/NetworkConnectionsClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/NetworkConnectionsClientImpl.java @@ -2029,7 +2029,8 @@ public Response runHealthChecksWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2066,7 +2067,8 @@ private Mono> listBySubscriptionNextSingle /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2104,7 +2106,8 @@ private Mono> listBySubscriptionNextSingle /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2141,7 +2144,8 @@ private Mono> listByResourceGroupNextSingl /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -2179,7 +2183,8 @@ private Mono> listByResourceGroupNextSingl /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -2215,7 +2220,8 @@ private Mono> listHealthDetailsNext /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/OperationsClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/OperationsClientImpl.java index 9d4e37fb5e0d..09b0887e5225 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/OperationsClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/OperationsClientImpl.java @@ -202,7 +202,8 @@ public PagedIterable list(Context context) { /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -238,7 +239,8 @@ private Mono> listNextSinglePageAsync(String nextL /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/PoolsClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/PoolsClientImpl.java index 8ddfb3bfd028..17755b1cad76 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/PoolsClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/PoolsClientImpl.java @@ -1334,7 +1334,8 @@ public void delete(String resourceGroupName, String projectName, String poolName /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1370,7 +1371,8 @@ private Mono> listByProjectNextSinglePageAsync(String n /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectAllowedEnvironmentTypesClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectAllowedEnvironmentTypesClientImpl.java new file mode 100644 index 000000000000..0c2eb7a2927f --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectAllowedEnvironmentTypesClientImpl.java @@ -0,0 +1,547 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.implementation; + +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.devcenter.fluent.ProjectAllowedEnvironmentTypesClient; +import com.azure.resourcemanager.devcenter.fluent.models.AllowedEnvironmentTypeInner; +import com.azure.resourcemanager.devcenter.models.AllowedEnvironmentTypeListResult; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in ProjectAllowedEnvironmentTypesClient. */ +public final class ProjectAllowedEnvironmentTypesClientImpl implements ProjectAllowedEnvironmentTypesClient { + /** The proxy service used to perform REST calls. */ + private final ProjectAllowedEnvironmentTypesService service; + + /** The service client containing this operation class. */ + private final DevCenterClientImpl client; + + /** + * Initializes an instance of ProjectAllowedEnvironmentTypesClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + ProjectAllowedEnvironmentTypesClientImpl(DevCenterClientImpl client) { + this.service = + RestProxy + .create( + ProjectAllowedEnvironmentTypesService.class, + client.getHttpPipeline(), + client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for DevCenterClientProjectAllowedEnvironmentTypes to be used by the proxy + * service to perform REST calls. + */ + @Host("{$host}") + @ServiceInterface(name = "DevCenterClientProje") + private interface ProjectAllowedEnvironmentTypesService { + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects" + + "/{projectName}/allowedEnvironmentTypes") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list( + @HostParam("$host") String endpoint, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("projectName") String projectName, + @QueryParam("$top") Integer top, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects" + + "/{projectName}/allowedEnvironmentTypes/{environmentTypeName}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> get( + @HostParam("$host") String endpoint, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("projectName") String projectName, + @PathParam("environmentTypeName") String environmentTypeName, + @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); + } + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param top The maximum number of resources to return from the operation. Example: '$top=10'. + * @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 result of the allowed environment type list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String resourceGroupName, String projectName, Integer top) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (projectName == null) { + return Mono.error(new IllegalArgumentException("Parameter projectName 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(), + resourceGroupName, + projectName, + top, + 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())); + } + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param top The maximum number of resources to return from the operation. Example: '$top=10'. + * @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 result of the allowed environment type list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String resourceGroupName, String projectName, Integer top, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (projectName == null) { + return Mono.error(new IllegalArgumentException("Parameter projectName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + resourceGroupName, + projectName, + top, + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), + res.getStatusCode(), + res.getHeaders(), + res.getValue().value(), + res.getValue().nextLink(), + null)); + } + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param top The maximum number of resources to return from the operation. Example: '$top=10'. + * @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 result of the allowed environment type list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync( + String resourceGroupName, String projectName, Integer top) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, projectName, top), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @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 result of the allowed environment type list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String projectName) { + final Integer top = null; + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, projectName, top), + nextLink -> listNextSinglePageAsync(nextLink)); + } + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param top The maximum number of resources to return from the operation. Example: '$top=10'. + * @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 result of the allowed environment type list operation as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync( + String resourceGroupName, String projectName, Integer top, Context context) { + return new PagedFlux<>( + () -> listSinglePageAsync(resourceGroupName, projectName, top, context), + nextLink -> listNextSinglePageAsync(nextLink, context)); + } + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @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 result of the allowed environment type list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String projectName) { + final Integer top = null; + return new PagedIterable<>(listAsync(resourceGroupName, projectName, top)); + } + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param top The maximum number of resources to return from the operation. Example: '$top=10'. + * @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 result of the allowed environment type list operation as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list( + String resourceGroupName, String projectName, Integer top, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, projectName, top, context)); + } + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @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 an allowed environment type along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync( + String resourceGroupName, String projectName, String environmentTypeName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (projectName == null) { + return Mono.error(new IllegalArgumentException("Parameter projectName is required and cannot be null.")); + } + if (environmentTypeName == null) { + return Mono + .error(new IllegalArgumentException("Parameter environmentTypeName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .get( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + resourceGroupName, + projectName, + environmentTypeName, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @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 an allowed environment type along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync( + String resourceGroupName, String projectName, String environmentTypeName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (projectName == null) { + return Mono.error(new IllegalArgumentException("Parameter projectName is required and cannot be null.")); + } + if (environmentTypeName == null) { + return Mono + .error(new IllegalArgumentException("Parameter environmentTypeName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .get( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + resourceGroupName, + projectName, + environmentTypeName, + accept, + context); + } + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @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 an allowed environment type on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getAsync( + String resourceGroupName, String projectName, String environmentTypeName) { + return getWithResponseAsync(resourceGroupName, projectName, environmentTypeName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @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 an allowed environment type. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public AllowedEnvironmentTypeInner get(String resourceGroupName, String projectName, String environmentTypeName) { + return getAsync(resourceGroupName, projectName, environmentTypeName).block(); + } + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @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 an allowed environment type along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse( + String resourceGroupName, String projectName, String environmentTypeName, Context context) { + return getWithResponseAsync(resourceGroupName, projectName, environmentTypeName, context).block(); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the allowed environment type list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono + .error( + 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)) + .>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())); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the allowed environment type list operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listNextSinglePageAsync(String nextLink, Context context) { + if (nextLink == null) { + return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); + } + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return 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)); + } +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectAllowedEnvironmentTypesImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectAllowedEnvironmentTypesImpl.java new file mode 100644 index 000000000000..b07d942e2422 --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectAllowedEnvironmentTypesImpl.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.implementation; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.devcenter.fluent.ProjectAllowedEnvironmentTypesClient; +import com.azure.resourcemanager.devcenter.fluent.models.AllowedEnvironmentTypeInner; +import com.azure.resourcemanager.devcenter.models.AllowedEnvironmentType; +import com.azure.resourcemanager.devcenter.models.ProjectAllowedEnvironmentTypes; + +public final class ProjectAllowedEnvironmentTypesImpl implements ProjectAllowedEnvironmentTypes { + private static final ClientLogger LOGGER = new ClientLogger(ProjectAllowedEnvironmentTypesImpl.class); + + private final ProjectAllowedEnvironmentTypesClient innerClient; + + private final com.azure.resourcemanager.devcenter.DevCenterManager serviceManager; + + public ProjectAllowedEnvironmentTypesImpl( + ProjectAllowedEnvironmentTypesClient innerClient, + com.azure.resourcemanager.devcenter.DevCenterManager serviceManager) { + this.innerClient = innerClient; + this.serviceManager = serviceManager; + } + + public PagedIterable list(String resourceGroupName, String projectName) { + PagedIterable inner = this.serviceClient().list(resourceGroupName, projectName); + return Utils.mapPage(inner, inner1 -> new AllowedEnvironmentTypeImpl(inner1, this.manager())); + } + + public PagedIterable list( + String resourceGroupName, String projectName, Integer top, Context context) { + PagedIterable inner = + this.serviceClient().list(resourceGroupName, projectName, top, context); + return Utils.mapPage(inner, inner1 -> new AllowedEnvironmentTypeImpl(inner1, this.manager())); + } + + public AllowedEnvironmentType get(String resourceGroupName, String projectName, String environmentTypeName) { + AllowedEnvironmentTypeInner inner = + this.serviceClient().get(resourceGroupName, projectName, environmentTypeName); + if (inner != null) { + return new AllowedEnvironmentTypeImpl(inner, this.manager()); + } else { + return null; + } + } + + public Response getWithResponse( + String resourceGroupName, String projectName, String environmentTypeName, Context context) { + Response inner = + this.serviceClient().getWithResponse(resourceGroupName, projectName, environmentTypeName, context); + if (inner != null) { + return new SimpleResponse<>( + inner.getRequest(), + inner.getStatusCode(), + inner.getHeaders(), + new AllowedEnvironmentTypeImpl(inner.getValue(), this.manager())); + } else { + return null; + } + } + + private ProjectAllowedEnvironmentTypesClient serviceClient() { + return this.innerClient; + } + + private com.azure.resourcemanager.devcenter.DevCenterManager manager() { + return this.serviceManager; + } +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectEnvironmentTypesClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectEnvironmentTypesClientImpl.java index d27a9401efa5..87cce816b855 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectEnvironmentTypesClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectEnvironmentTypesClientImpl.java @@ -1050,7 +1050,8 @@ public Response deleteWithResponse( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1086,7 +1087,8 @@ private Mono> listNextSinglePageAsync /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectsClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectsClientImpl.java index 40cff72bb809..04e9d62802aa 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectsClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/ProjectsClientImpl.java @@ -1423,7 +1423,8 @@ public void delete(String resourceGroupName, String projectName, Context context /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1460,7 +1461,8 @@ private Mono> listBySubscriptionNextSinglePageAsync( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1497,7 +1499,8 @@ private Mono> listBySubscriptionNextSinglePageAsync( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1534,7 +1537,8 @@ private Mono> listByResourceGroupNextSinglePageAsync /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/SchedulesClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/SchedulesClientImpl.java index 8d429770f197..fbd6c7a99a57 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/SchedulesClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/SchedulesClientImpl.java @@ -1770,7 +1770,8 @@ public void delete( /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -1806,7 +1807,8 @@ private Mono> listByPoolNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/SkusClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/SkusClientImpl.java index 530cc0933946..6115e703dc9b 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/SkusClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/SkusClientImpl.java @@ -249,7 +249,8 @@ public PagedIterable list(Integer top, Context context) { /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -286,7 +287,8 @@ private Mono> listBySubscriptionNextSinglePageA /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/UsagesClientImpl.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/UsagesClientImpl.java index 9fcc38b850cc..e274db0aa139 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/UsagesClientImpl.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/implementation/UsagesClientImpl.java @@ -240,7 +240,8 @@ public PagedIterable listByLocation(String location, Context context /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -275,7 +276,8 @@ private Mono> listByLocationNextSinglePageAsync(String /** * Get the next page of items. * - * @param nextLink The nextLink parameter. + * @param nextLink The URL to get the next list of items + *

The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ActionType.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ActionType.java index 35d556fa28c8..36b4c2dac19a 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ActionType.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ActionType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ActionType. */ +/** 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. */ public static final ActionType INTERNAL = fromString("Internal"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/AllowedEnvironmentType.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/AllowedEnvironmentType.java new file mode 100644 index 000000000000..ca10a7a3b633 --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/AllowedEnvironmentType.java @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.models; + +import com.azure.core.management.SystemData; +import com.azure.resourcemanager.devcenter.fluent.models.AllowedEnvironmentTypeInner; + +/** An immutable client-side representation of AllowedEnvironmentType. */ +public interface AllowedEnvironmentType { + /** + * Gets the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + String id(); + + /** + * Gets the name property: The name of the resource. + * + * @return the name value. + */ + String name(); + + /** + * Gets the type property: The type of the resource. + * + * @return the type value. + */ + 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. + * + * @return the provisioningState value. + */ + String provisioningState(); + + /** + * Gets the inner com.azure.resourcemanager.devcenter.fluent.models.AllowedEnvironmentTypeInner object. + * + * @return the inner object. + */ + AllowedEnvironmentTypeInner innerModel(); +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/AllowedEnvironmentTypeListResult.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/AllowedEnvironmentTypeListResult.java new file mode 100644 index 000000000000..8591d67239f2 --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/AllowedEnvironmentTypeListResult.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.models; + +import com.azure.core.annotation.Immutable; +import com.azure.resourcemanager.devcenter.fluent.models.AllowedEnvironmentTypeInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Result of the allowed environment type list operation. */ +@Immutable +public final class AllowedEnvironmentTypeListResult { + /* + * Current page of results. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private List value; + + /* + * URL to get the next set of results if there are any. + */ + @JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY) + private String nextLink; + + /** + * Get the value property: Current page of results. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Get the nextLink property: URL to get the next set of results if there are any. + * + * @return the nextLink value. + */ + public String nextLink() { + return this.nextLink; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/DomainJoinType.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/DomainJoinType.java index 1370dcb2eef9..46b9eb23ea1c 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/DomainJoinType.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/DomainJoinType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for DomainJoinType. */ +/** Active Directory join type. */ public final class DomainJoinType extends ExpandableStringEnum { /** Static value HybridAzureADJoin for DomainJoinType. */ public static final DomainJoinType HYBRID_AZURE_ADJOIN = fromString("HybridAzureADJoin"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/EnableStatus.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/EnableStatus.java index 81a33c3e24ed..5cd40cbfefea 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/EnableStatus.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/EnableStatus.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for EnableStatus. */ +/** Enable or disable status. Indicates whether the property applied to is either enabled or disabled. */ public final class EnableStatus extends ExpandableStringEnum { /** Static value Enabled for EnableStatus. */ public static final EnableStatus ENABLED = fromString("Enabled"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/HealthCheckStatus.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/HealthCheckStatus.java index 8bec3ce5b44f..c40ec0404134 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/HealthCheckStatus.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/HealthCheckStatus.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for HealthCheckStatus. */ +/** Health check status values. */ public final class HealthCheckStatus extends ExpandableStringEnum { /** Static value Pending for HealthCheckStatus. */ public static final HealthCheckStatus PENDING = fromString("Pending"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ImageValidationStatus.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ImageValidationStatus.java index 69ffdeb8907a..4999a13c1b5a 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ImageValidationStatus.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ImageValidationStatus.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ImageValidationStatus. */ +/** Image validation status. */ public final class ImageValidationStatus extends ExpandableStringEnum { /** Static value Unknown for ImageValidationStatus. */ public static final ImageValidationStatus UNKNOWN = fromString("Unknown"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/LicenseType.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/LicenseType.java index ddb9255d03b5..9c55aad96368 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/LicenseType.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/LicenseType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for LicenseType. */ +/** License Types. */ public final class LicenseType extends ExpandableStringEnum { /** Static value Windows_Client for LicenseType. */ public static final LicenseType WINDOWS_CLIENT = fromString("Windows_Client"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ManagedServiceIdentityType.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ManagedServiceIdentityType.java index 76b995c2d469..c609a5354455 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ManagedServiceIdentityType.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ManagedServiceIdentityType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ManagedServiceIdentityType. */ +/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ public final class ManagedServiceIdentityType extends ExpandableStringEnum { /** Static value None for ManagedServiceIdentityType. */ public static final ManagedServiceIdentityType NONE = fromString("None"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/Origin.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/Origin.java index af7ec93c151a..920555085b39 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/Origin.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/Origin.java @@ -8,7 +8,10 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for Origin. */ +/** + * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value + * is "user,system". + */ public final class Origin extends ExpandableStringEnum { /** Static value user for Origin. */ public static final Origin USER = fromString("user"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ProjectAllowedEnvironmentTypes.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ProjectAllowedEnvironmentTypes.java new file mode 100644 index 000000000000..8c1066263050 --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ProjectAllowedEnvironmentTypes.java @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.models; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; + +/** Resource collection API of ProjectAllowedEnvironmentTypes. */ +public interface ProjectAllowedEnvironmentTypes { + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the allowed environment type list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable list(String resourceGroupName, String projectName); + + /** + * Lists allowed environment types for a project. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param top The maximum number of resources to return from the operation. Example: '$top=10'. + * @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 result of the allowed environment type list operation as paginated response with {@link PagedIterable}. + */ + PagedIterable list( + String resourceGroupName, String projectName, Integer top, Context context); + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an allowed environment type. + */ + AllowedEnvironmentType get(String resourceGroupName, String projectName, String environmentTypeName); + + /** + * Gets an allowed environment type. + * + * @param resourceGroupName Name of the resource group within the Azure subscription. + * @param projectName The name of the project. + * @param environmentTypeName The name of the environment type. + * @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 an allowed environment type along with {@link Response}. + */ + Response getWithResponse( + String resourceGroupName, String projectName, String environmentTypeName, Context context); +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ScheduledFrequency.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ScheduledFrequency.java index 75df9fee21d1..364d70b2e15a 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ScheduledFrequency.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ScheduledFrequency.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ScheduledFrequency. */ +/** The frequency of task execution. */ public final class ScheduledFrequency extends ExpandableStringEnum { /** Static value Daily for ScheduledFrequency. */ public static final ScheduledFrequency DAILY = fromString("Daily"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ScheduledType.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ScheduledType.java index 6d2d8a7e045e..863803de4168 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ScheduledType.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/ScheduledType.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for ScheduledType. */ +/** The supported types for a scheduled task. */ public final class ScheduledType extends ExpandableStringEnum { /** Static value StopDevBox for ScheduledType. */ public static final ScheduledType STOP_DEV_BOX = fromString("StopDevBox"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/SkuTier.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/SkuTier.java index ff39172b7532..d8b06ff2360b 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/SkuTier.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/SkuTier.java @@ -7,7 +7,10 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; -/** Defines values for SkuTier. */ +/** + * This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not + * required on a PUT. + */ public enum SkuTier { /** Enum value Free. */ FREE("Free"), @@ -48,6 +51,7 @@ public static SkuTier fromString(String value) { return null; } + /** {@inheritDoc} */ @JsonValue @Override public String toString() { diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/UsageUnit.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/UsageUnit.java index 1a8ffbd378e9..df58e5b95bf1 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/UsageUnit.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/models/UsageUnit.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import java.util.Collection; -/** Defines values for UsageUnit. */ +/** The unit details. */ public final class UsageUnit extends ExpandableStringEnum { /** Static value Count for UsageUnit. */ public static final UsageUnit COUNT = fromString("Count"); diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksCreateOrUpdateSamples.java index e225843f209a..88484b77d693 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksCreateOrUpdateSamples.java @@ -7,7 +7,7 @@ /** Samples for AttachedNetworks CreateOrUpdate. */ public final class AttachedNetworksCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_Create.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_Create.json */ /** * Sample code: AttachedNetworks_Create. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksDeleteSamples.java index 63e5af2be984..230ffe64a65f 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for AttachedNetworks Delete. */ public final class AttachedNetworksDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_Delete.json */ /** * Sample code: AttachedNetworks_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksGetByDevCenterSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksGetByDevCenterSamples.java index ea616a380f45..e781f3262d6c 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksGetByDevCenterSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksGetByDevCenterSamples.java @@ -9,7 +9,7 @@ /** Samples for AttachedNetworks GetByDevCenter. */ public final class AttachedNetworksGetByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_GetByDevCenter.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_GetByDevCenter.json */ /** * Sample code: AttachedNetworks_GetByDevCenter. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksGetByProjectSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksGetByProjectSamples.java index a87b2108867b..cfd4b97dff09 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksGetByProjectSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksGetByProjectSamples.java @@ -9,7 +9,7 @@ /** Samples for AttachedNetworks GetByProject. */ public final class AttachedNetworksGetByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_GetByProject.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_GetByProject.json */ /** * Sample code: AttachedNetworks_GetByProject. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksListByDevCenterSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksListByDevCenterSamples.java index 7df66ce39d9c..fc08c64ec5ca 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksListByDevCenterSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksListByDevCenterSamples.java @@ -9,7 +9,7 @@ /** Samples for AttachedNetworks ListByDevCenter. */ public final class AttachedNetworksListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_ListByDevCenter.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_ListByDevCenter.json */ /** * Sample code: AttachedNetworks_ListByDevCenter. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksListByProjectSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksListByProjectSamples.java index 72bdc2311b76..78b885751168 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksListByProjectSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/AttachedNetworksListByProjectSamples.java @@ -9,7 +9,7 @@ /** Samples for AttachedNetworks ListByProject. */ public final class AttachedNetworksListByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/AttachedNetworks_ListByProject.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/AttachedNetworks_ListByProject.json */ /** * Sample code: AttachedNetworks_ListByProject. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsCreateOrUpdateSamples.java index 5b0efb9eafe9..21c6577f5ec0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsCreateOrUpdateSamples.java @@ -9,7 +9,7 @@ /** Samples for Catalogs CreateOrUpdate. */ public final class CatalogsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_CreateAdo.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_CreateAdo.json */ /** * Sample code: Catalogs_CreateOrUpdateAdo. @@ -31,7 +31,7 @@ public static void catalogsCreateOrUpdateAdo(com.azure.resourcemanager.devcenter } /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_CreateGitHub.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_CreateGitHub.json */ /** * Sample code: Catalogs_CreateOrUpdateGitHub. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsDeleteSamples.java index 26fb484bd7cb..198ce94c1ece 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Catalogs Delete. */ public final class CatalogsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_Delete.json */ /** * Sample code: Catalogs_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsGetSamples.java index cfd2547f9ac2..1526fd47e0b0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Catalogs Get. */ public final class CatalogsGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_Get.json */ /** * Sample code: Catalogs_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsListByDevCenterSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsListByDevCenterSamples.java index f250689cf4b6..698f8e68b3c0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsListByDevCenterSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsListByDevCenterSamples.java @@ -9,7 +9,7 @@ /** Samples for Catalogs ListByDevCenter. */ public final class CatalogsListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_List.json */ /** * Sample code: Catalogs_ListByDevCenter. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsSyncSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsSyncSamples.java index 66e025add153..b7a9467676ea 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsSyncSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsSyncSamples.java @@ -9,7 +9,7 @@ /** Samples for Catalogs Sync. */ public final class CatalogsSyncSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_Sync.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_Sync.json */ /** * Sample code: Catalogs_Sync. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsUpdateSamples.java index 87315bb329fa..b0c62da8f8f8 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/CatalogsUpdateSamples.java @@ -11,7 +11,7 @@ /** Samples for Catalogs Update. */ public final class CatalogsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Catalogs_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Catalogs_Patch.json */ /** * Sample code: Catalogs_Update. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsCreateOrUpdateSamples.java index 225222610273..c78e179b3fc0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsCreateOrUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for DevBoxDefinitions CreateOrUpdate. */ public final class DevBoxDefinitionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_Create.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_Create.json */ /** * Sample code: DevBoxDefinitions_Create. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsDeleteSamples.java index 70afd8e141e5..ac18125a07c3 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for DevBoxDefinitions Delete. */ public final class DevBoxDefinitionsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_Delete.json */ /** * Sample code: DevBoxDefinitions_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsGetByProjectSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsGetByProjectSamples.java index 1b7730a5ba7f..cacaba2d1108 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsGetByProjectSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsGetByProjectSamples.java @@ -9,7 +9,7 @@ /** Samples for DevBoxDefinitions GetByProject. */ public final class DevBoxDefinitionsGetByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_GetByProject.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_GetByProject.json */ /** * Sample code: DevBoxDefinitions_GetByProject. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsGetSamples.java index 06bdc5dcbb09..590336d8fbe4 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for DevBoxDefinitions Get. */ public final class DevBoxDefinitionsGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_Get.json */ /** * Sample code: DevBoxDefinitions_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsListByDevCenterSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsListByDevCenterSamples.java index 09d6cc2037fe..5d6efc6907cb 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsListByDevCenterSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsListByDevCenterSamples.java @@ -9,7 +9,7 @@ /** Samples for DevBoxDefinitions ListByDevCenter. */ public final class DevBoxDefinitionsListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_ListByDevCenter.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_ListByDevCenter.json */ /** * Sample code: DevBoxDefinitions_ListByDevCenter. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsListByProjectSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsListByProjectSamples.java index fdfd7cd2bc73..a6b5239009b9 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsListByProjectSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsListByProjectSamples.java @@ -9,7 +9,7 @@ /** Samples for DevBoxDefinitions ListByProject. */ public final class DevBoxDefinitionsListByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_ListByProject.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_ListByProject.json */ /** * Sample code: DevBoxDefinitions_ListByProject. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsUpdateSamples.java index d9cac65033e7..2ce7e2a224d1 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevBoxDefinitionsUpdateSamples.java @@ -11,7 +11,7 @@ /** Samples for DevBoxDefinitions Update. */ public final class DevBoxDefinitionsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevBoxDefinitions_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevBoxDefinitions_Patch.json */ /** * Sample code: DevBoxDefinitions_Patch. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersCreateOrUpdateSamples.java index 326c78e9001e..c4ea7d7e3591 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersCreateOrUpdateSamples.java @@ -13,7 +13,7 @@ /** Samples for DevCenters CreateOrUpdate. */ public final class DevCentersCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_Create.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_Create.json */ /** * Sample code: DevCenters_Create. @@ -31,7 +31,7 @@ public static void devCentersCreate(com.azure.resourcemanager.devcenter.DevCente } /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_CreateWithUserIdentity.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_CreateWithUserIdentity.json */ /** * Sample code: DevCenters_CreateWithUserIdentity. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersDeleteSamples.java index c02840e0197c..51bfea046833 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for DevCenters Delete. */ public final class DevCentersDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_Delete.json */ /** * Sample code: DevCenters_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersGetByResourceGroupSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersGetByResourceGroupSamples.java index a548f7dd586a..ebe9408bcafd 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersGetByResourceGroupSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for DevCenters GetByResourceGroup. */ public final class DevCentersGetByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_Get.json */ /** * Sample code: DevCenters_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersListByResourceGroupSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersListByResourceGroupSamples.java index 9730ee9b4ccc..5e9cb040bf75 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersListByResourceGroupSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersListByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for DevCenters ListByResourceGroup. */ public final class DevCentersListByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_ListByResourceGroup.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_ListByResourceGroup.json */ /** * Sample code: DevCenters_ListByResourceGroup. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersListSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersListSamples.java index 0b9b25c94450..ead2ec8be9d5 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersListSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersListSamples.java @@ -9,7 +9,7 @@ /** Samples for DevCenters List. */ public final class DevCentersListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_ListBySubscription.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_ListBySubscription.json */ /** * Sample code: DevCenters_ListBySubscription. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersUpdateSamples.java index 2b13c3cc5fb5..0a22887677a3 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/DevCentersUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for DevCenters Update. */ public final class DevCentersUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/DevCenters_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/DevCenters_Patch.json */ /** * Sample code: DevCenters_Update. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesCreateOrUpdateSamples.java index 99ed1bc8ca63..eaaf5d0372d7 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesCreateOrUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for EnvironmentTypes CreateOrUpdate. */ public final class EnvironmentTypesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_Put.json */ /** * Sample code: EnvironmentTypes_CreateOrUpdate. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesDeleteSamples.java index 9d5bec632f76..20ed1b1db9e0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for EnvironmentTypes Delete. */ public final class EnvironmentTypesDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_Delete.json */ /** * Sample code: EnvironmentTypes_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesGetSamples.java index a7fb5b3c182a..73a1f1b5415e 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for EnvironmentTypes Get. */ public final class EnvironmentTypesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_Get.json */ /** * Sample code: EnvironmentTypes_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesListByDevCenterSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesListByDevCenterSamples.java index c33a7d1976a2..96bf240247ac 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesListByDevCenterSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesListByDevCenterSamples.java @@ -9,7 +9,7 @@ /** Samples for EnvironmentTypes ListByDevCenter. */ public final class EnvironmentTypesListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_List.json */ /** * Sample code: EnvironmentTypes_ListByDevCenter. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesUpdateSamples.java index bfdf045d7dbc..8232d4e263d4 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/EnvironmentTypesUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for EnvironmentTypes Update. */ public final class EnvironmentTypesUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/EnvironmentTypes_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/EnvironmentTypes_Patch.json */ /** * Sample code: EnvironmentTypes_Update. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesCreateOrUpdateSamples.java index a5e03505d981..d18e6d5748a7 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesCreateOrUpdateSamples.java @@ -7,7 +7,7 @@ /** Samples for Galleries CreateOrUpdate. */ public final class GalleriesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Galleries_Create.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Galleries_Create.json */ /** * Sample code: Galleries_CreateOrUpdate. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesDeleteSamples.java index aff1e9d32b51..7b7981009bc0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Galleries Delete. */ public final class GalleriesDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Galleries_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Galleries_Delete.json */ /** * Sample code: Galleries_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesGetSamples.java index 35607a9ccd3c..0c6056dbc6c0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Galleries Get. */ public final class GalleriesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Galleries_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Galleries_Get.json */ /** * Sample code: Galleries_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesListByDevCenterSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesListByDevCenterSamples.java index 7d4a2430b6e7..10a3c5bc2782 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesListByDevCenterSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/GalleriesListByDevCenterSamples.java @@ -9,7 +9,7 @@ /** Samples for Galleries ListByDevCenter. */ public final class GalleriesListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Galleries_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Galleries_List.json */ /** * Sample code: Galleries_ListByDevCenter. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImageVersionsGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImageVersionsGetSamples.java index 6ee5706e2193..53499a41cd3b 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImageVersionsGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImageVersionsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for ImageVersions Get. */ public final class ImageVersionsGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ImageVersions_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ImageVersions_Get.json */ /** * Sample code: Versions_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImageVersionsListByImageSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImageVersionsListByImageSamples.java index 5e9885178da0..93042a9d46ff 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImageVersionsListByImageSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImageVersionsListByImageSamples.java @@ -9,7 +9,7 @@ /** Samples for ImageVersions ListByImage. */ public final class ImageVersionsListByImageSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ImageVersions_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ImageVersions_List.json */ /** * Sample code: ImageVersions_ListByImage. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesGetSamples.java index 03311349d567..d9adccd1c1b2 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Images Get. */ public final class ImagesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Images_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Images_Get.json */ /** * Sample code: Images_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesListByDevCenterSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesListByDevCenterSamples.java index cbd69f7fc31c..491da50f9011 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesListByDevCenterSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesListByDevCenterSamples.java @@ -9,7 +9,7 @@ /** Samples for Images ListByDevCenter. */ public final class ImagesListByDevCenterSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Images_ListByDevCenter.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Images_ListByDevCenter.json */ /** * Sample code: Images_ListByDevCenter. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesListByGallerySamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesListByGallerySamples.java index 79075feef30f..16f838cd8128 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesListByGallerySamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ImagesListByGallerySamples.java @@ -9,7 +9,7 @@ /** Samples for Images ListByGallery. */ public final class ImagesListByGallerySamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Images_ListByGallery.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Images_ListByGallery.json */ /** * Sample code: Images_ListByGallery. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsCreateOrUpdateSamples.java index 53fdf8520079..bcb4d6ff60e4 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsCreateOrUpdateSamples.java @@ -9,7 +9,7 @@ /** Samples for NetworkConnections CreateOrUpdate. */ public final class NetworkConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_Put.json */ /** * Sample code: NetworkConnections_CreateOrUpdate. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsDeleteSamples.java index d21c2fd3fb2d..4905075acd14 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for NetworkConnections Delete. */ public final class NetworkConnectionsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_Delete.json */ /** * Sample code: NetworkConnections_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsGetByResourceGroupSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsGetByResourceGroupSamples.java index 83c7929e88e0..93ac962daed9 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsGetByResourceGroupSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for NetworkConnections GetByResourceGroup. */ public final class NetworkConnectionsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_Get.json */ /** * Sample code: NetworkConnections_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsGetHealthDetailsSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsGetHealthDetailsSamples.java index 569ac1530523..1b64071fd3dc 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsGetHealthDetailsSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsGetHealthDetailsSamples.java @@ -9,7 +9,7 @@ /** Samples for NetworkConnections GetHealthDetails. */ public final class NetworkConnectionsGetHealthDetailsSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_GetHealthDetails.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_GetHealthDetails.json */ /** * Sample code: NetworkConnections_GetHealthDetails. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListByResourceGroupSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListByResourceGroupSamples.java index 86a8efabaa8e..12b46f841156 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListByResourceGroupSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for NetworkConnections ListByResourceGroup. */ public final class NetworkConnectionsListByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_ListByResourceGroup.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_ListByResourceGroup.json */ /** * Sample code: NetworkConnections_ListByResourceGroup. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListHealthDetailsSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListHealthDetailsSamples.java index 18685757f566..4407a73aea1e 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListHealthDetailsSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListHealthDetailsSamples.java @@ -9,7 +9,7 @@ /** Samples for NetworkConnections ListHealthDetails. */ public final class NetworkConnectionsListHealthDetailsSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_ListHealthDetails.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_ListHealthDetails.json */ /** * Sample code: NetworkConnections_ListHealthDetails. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListSamples.java index 06b0dd84ca99..ad463c2f2dfc 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsListSamples.java @@ -9,7 +9,7 @@ /** Samples for NetworkConnections List. */ public final class NetworkConnectionsListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_ListBySubscription.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_ListBySubscription.json */ /** * Sample code: NetworkConnections_ListBySubscription. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsRunHealthChecksSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsRunHealthChecksSamples.java index 1e43fc8e3587..b12c8dc364c0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsRunHealthChecksSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsRunHealthChecksSamples.java @@ -9,7 +9,7 @@ /** Samples for NetworkConnections RunHealthChecks. */ public final class NetworkConnectionsRunHealthChecksSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_RunHealthChecks.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_RunHealthChecks.json */ /** * Sample code: NetworkConnections_RunHealthChecks. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsUpdateSamples.java index 727563873476..cff6919ac595 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/NetworkConnectionsUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for NetworkConnections Update. */ public final class NetworkConnectionsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/NetworkConnections_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/NetworkConnections_Patch.json */ /** * Sample code: NetworkConnections_Update. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/OperationStatusesGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/OperationStatusesGetSamples.java index 477748bb4055..290a9db9665e 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/OperationStatusesGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/OperationStatusesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for OperationStatuses Get. */ public final class OperationStatusesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/OperationStatus_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/OperationStatus_Get.json */ /** * Sample code: Get OperationStatus. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/OperationsListSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/OperationsListSamples.java index d52ffad9d07a..e1ed4bf9c0a6 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/OperationsListSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/OperationsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Operations_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Operations_Get.json */ /** * Sample code: Operations_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsCreateOrUpdateSamples.java index 2a95be96b22a..0363c934a5f1 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsCreateOrUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Pools CreateOrUpdate. */ public final class PoolsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_Put.json */ /** * Sample code: Pools_CreateOrUpdate. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsDeleteSamples.java index 01c77e24df7e..0f8cf033617d 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Pools Delete. */ public final class PoolsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_Delete.json */ /** * Sample code: Pools_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsGetSamples.java index 725a37751921..a949a3f8bab1 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Pools Get. */ public final class PoolsGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_Get.json */ /** * Sample code: Pools_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsListByProjectSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsListByProjectSamples.java index c9f109bb8c08..112db8ee3e12 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsListByProjectSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsListByProjectSamples.java @@ -9,7 +9,7 @@ /** Samples for Pools ListByProject. */ public final class PoolsListByProjectSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_List.json */ /** * Sample code: Pools_ListByProject. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsUpdateSamples.java index a26bd6b5f3e8..d6caa9250fd0 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/PoolsUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Pools Update. */ public final class PoolsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Pools_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Pools_Patch.json */ /** * Sample code: Pools_Update. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectAllowedEnvironmentTypesGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectAllowedEnvironmentTypesGetSamples.java new file mode 100644 index 000000000000..ca699a44042f --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectAllowedEnvironmentTypesGetSamples.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.generated; + +import com.azure.core.util.Context; + +/** Samples for ProjectAllowedEnvironmentTypes Get. */ +public final class ProjectAllowedEnvironmentTypesGetSamples { + /* + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectAllowedEnvironmentTypes_Get.json + */ + /** + * Sample code: ProjectAllowedEnvironmentTypes_Get. + * + * @param manager Entry point to DevCenterManager. + */ + public static void projectAllowedEnvironmentTypesGet(com.azure.resourcemanager.devcenter.DevCenterManager manager) { + manager + .projectAllowedEnvironmentTypes() + .getWithResponse("rg1", "Contoso", "{environmentTypeName}", Context.NONE); + } +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectAllowedEnvironmentTypesListSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectAllowedEnvironmentTypesListSamples.java new file mode 100644 index 000000000000..ed50a982f609 --- /dev/null +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectAllowedEnvironmentTypesListSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.devcenter.generated; + +import com.azure.core.util.Context; + +/** Samples for ProjectAllowedEnvironmentTypes List. */ +public final class ProjectAllowedEnvironmentTypesListSamples { + /* + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectAllowedEnvironmentTypes_List.json + */ + /** + * Sample code: ProjectAllowedEnvironmentTypes_List. + * + * @param manager Entry point to DevCenterManager. + */ + public static void projectAllowedEnvironmentTypesList( + com.azure.resourcemanager.devcenter.DevCenterManager manager) { + manager.projectAllowedEnvironmentTypes().list("rg1", "Contoso", null, Context.NONE); + } +} diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesCreateOrUpdateSamples.java index e79e3e3d56d5..4cc3ee8f911c 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesCreateOrUpdateSamples.java @@ -17,7 +17,7 @@ /** Samples for ProjectEnvironmentTypes CreateOrUpdate. */ public final class ProjectEnvironmentTypesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_Put.json */ /** * Sample code: ProjectEnvironmentTypes_CreateOrUpdate. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesDeleteSamples.java index 483a9d2b1443..4885ee4f93bc 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for ProjectEnvironmentTypes Delete. */ public final class ProjectEnvironmentTypesDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_Delete.json */ /** * Sample code: ProjectEnvironmentTypes_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesGetSamples.java index 525df5854201..7abdea50567e 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for ProjectEnvironmentTypes Get. */ public final class ProjectEnvironmentTypesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_Get.json */ /** * Sample code: ProjectEnvironmentTypes_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesListSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesListSamples.java index c3fb004e2af4..4431ad822598 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesListSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesListSamples.java @@ -9,7 +9,7 @@ /** Samples for ProjectEnvironmentTypes List. */ public final class ProjectEnvironmentTypesListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_List.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_List.json */ /** * Sample code: ProjectEnvironmentTypes_List. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesUpdateSamples.java index ff2c0c2a78fd..cc2b009255f9 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectEnvironmentTypesUpdateSamples.java @@ -18,7 +18,7 @@ /** Samples for ProjectEnvironmentTypes Update. */ public final class ProjectEnvironmentTypesUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/ProjectEnvironmentTypes_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/ProjectEnvironmentTypes_Patch.json */ /** * Sample code: ProjectEnvironmentTypes_Update. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsCreateOrUpdateSamples.java index e04d8c558363..37ed0f5113f3 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsCreateOrUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Projects CreateOrUpdate. */ public final class ProjectsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_Put.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_Put.json */ /** * Sample code: Projects_CreateOrUpdate. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsDeleteSamples.java index 23118fdb71fe..ed9c3a9bf887 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Projects Delete. */ public final class ProjectsDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_Delete.json */ /** * Sample code: Projects_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsGetByResourceGroupSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsGetByResourceGroupSamples.java index 8e27ee416e5b..eab275daeb9f 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsGetByResourceGroupSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for Projects GetByResourceGroup. */ public final class ProjectsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_Get.json */ /** * Sample code: Projects_Get. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsListByResourceGroupSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsListByResourceGroupSamples.java index 779d9afe6909..12ba3da2e733 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsListByResourceGroupSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for Projects ListByResourceGroup. */ public final class ProjectsListByResourceGroupSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_ListByResourceGroup.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_ListByResourceGroup.json */ /** * Sample code: Projects_ListByResourceGroup. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsListSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsListSamples.java index 3a79e4a755a2..787a67c566d7 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsListSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Projects List. */ public final class ProjectsListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_ListBySubscription.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_ListBySubscription.json */ /** * Sample code: Projects_ListBySubscription. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsUpdateSamples.java index 0ab0b1c4261d..169cf0a5fdd8 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/ProjectsUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for Projects Update. */ public final class ProjectsUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Projects_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Projects_Patch.json */ /** * Sample code: Projects_Update. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesCreateOrUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesCreateOrUpdateSamples.java index a54b84a0686b..5c108c66b87a 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesCreateOrUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesCreateOrUpdateSamples.java @@ -11,7 +11,7 @@ /** Samples for Schedules CreateOrUpdate. */ public final class SchedulesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_CreateDailyShutdownPoolSchedule.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_CreateDailyShutdownPoolSchedule.json */ /** * Sample code: Schedules_CreateDailyShutdownPoolSchedule. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesDeleteSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesDeleteSamples.java index bc9796b3dfa1..f3f8aaf2357b 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesDeleteSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Schedules Delete. */ public final class SchedulesDeleteSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_Delete.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_Delete.json */ /** * Sample code: Schedules_Delete. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesGetSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesGetSamples.java index 0259bf690fb0..9c35a347a1d7 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesGetSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Schedules Get. */ public final class SchedulesGetSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_Get.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_Get.json */ /** * Sample code: Schedules_GetByPool. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesListByPoolSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesListByPoolSamples.java index 823b8cb6b37a..ec2e6c80d642 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesListByPoolSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesListByPoolSamples.java @@ -9,7 +9,7 @@ /** Samples for Schedules ListByPool. */ public final class SchedulesListByPoolSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_ListByPool.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_ListByPool.json */ /** * Sample code: Schedules_ListByPool. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesUpdateSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesUpdateSamples.java index 74b90f6a6269..01c2e42c8f8e 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesUpdateSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SchedulesUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Schedules Update. */ public final class SchedulesUpdateSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Schedules_Patch.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Schedules_Patch.json */ /** * Sample code: Schedules_Update. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SkusListSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SkusListSamples.java index 22458da6de5b..dacf5d1a9a22 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SkusListSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/SkusListSamples.java @@ -9,7 +9,7 @@ /** Samples for Skus List. */ public final class SkusListSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Skus_ListBySubscription.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Skus_ListBySubscription.json */ /** * Sample code: Skus_ListBySubscription. diff --git a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/UsagesListByLocationSamples.java b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/UsagesListByLocationSamples.java index 1f299c9aa612..3b2f1cbaa8ef 100644 --- a/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/UsagesListByLocationSamples.java +++ b/sdk/devcenter/azure-resourcemanager-devcenter/src/samples/java/com/azure/resourcemanager/devcenter/generated/UsagesListByLocationSamples.java @@ -9,7 +9,7 @@ /** Samples for Usages ListByLocation. */ public final class UsagesListByLocationSamples { /* - * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/Usages_ListByLocation.json + * x-ms-original-file: specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/Usages_ListByLocation.json */ /** * Sample code: listUsages.