diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 380acbed43419..9359dfe515990 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -335,6 +335,7 @@ com.azure.resourcemanager:azure-resourcemanager-automanage;1.0.0-beta.1;1.0.0-be
com.azure.resourcemanager:azure-resourcemanager-edgeorder;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-securityinsights;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-oep;1.0.0-beta.1;1.0.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-appplatform-generated;1.0.0-beta.1;1.0.0-beta.1
com.azure.tools:azure-sdk-archetype;1.0.0;1.0.0
# Unreleased dependencies: Copy the entry from above, prepend "unreleased_" and remove the current
diff --git a/pom.xml b/pom.xml
index efafdfe5c9411..c249003b95334 100644
--- a/pom.xml
+++ b/pom.xml
@@ -720,6 +720,7 @@
sdk/apimanagement
sdk/appconfiguration
sdk/applicationinsights
+ sdk/appplatform
sdk/attestation
sdk/automanage
sdk/automation
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/CHANGELOG.md b/sdk/appplatform/azure-resourcemanager-appplatform-generated/CHANGELOG.md
new file mode 100644
index 0000000000000..90ca85798c6bc
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2022-02-02)
+
+- Azure Resource Manager AppPlatform client library for Java. This package contains Microsoft Azure SDK for AppPlatform Management SDK. REST API for Azure Spring Cloud. Package tag package-preview-2022-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/README.md b/sdk/appplatform/azure-resourcemanager-appplatform-generated/README.md
new file mode 100644
index 0000000000000..807ad4ed9c03c
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/README.md
@@ -0,0 +1,102 @@
+# Azure Resource Manager AppPlatform client library for Java
+
+Azure Resource Manager AppPlatform client library for Java.
+
+This package contains Microsoft Azure SDK for AppPlatform Management SDK. REST API for Azure Spring Cloud. Package tag package-preview-2022-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+## We'd love to hear your feedback
+
+We're always working on improving our products and the way we communicate with our users. So we'd love to learn what's working and how we can do better.
+
+If you haven't already, please take a few minutes to [complete this short survey][survey] we have put together.
+
+Thank you in advance for your collaboration. We really appreciate your time!
+
+## Documentation
+
+Various documentation is available to help you get started
+
+- [API reference documentation][docs]
+
+## Getting started
+
+### Prerequisites
+
+- [Java Development Kit (JDK)][jdk] with version 8 or above
+- [Azure Subscription][azure_subscription]
+
+### Adding the package to your product
+
+[//]: # ({x-version-update-start;com.azure.resourcemanager:azure-resourcemanager-appplatform-generated;current})
+```xml
+
+ com.azure.resourcemanager
+ azure-resourcemanager-appplatform-generated
+ 1.0.0-beta.1
+
+```
+[//]: # ({x-version-update-end})
+
+### Include the recommended packages
+
+Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
+
+[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
+
+### Authentication
+
+By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
+
+- `AZURE_CLIENT_ID` for Azure client ID.
+- `AZURE_TENANT_ID` for Azure tenant ID.
+- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
+
+In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+
+With above configuration, `azure` client can be authenticated by following code:
+
+```java
+AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
+TokenCredential credential = new DefaultAzureCredentialBuilder()
+ .authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
+ .build();
+AppPlatformManager manager = AppPlatformManager
+ .authenticate(credential, profile);
+```
+
+The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+
+See [Authentication][authenticate] for more options.
+
+## Key concepts
+
+See [API design][design] for general introduction on design and key concepts on Azure Management Libraries.
+
+## Examples
+
+[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/appplatform/azure-resourcemanager-appplatform-generated/SAMPLE.md)
+
+
+## Troubleshooting
+
+## Next steps
+
+## Contributing
+
+For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
+
+1. Fork it
+1. Create your feature branch (`git checkout -b my-new-feature`)
+1. Commit your changes (`git commit -am 'Add some feature'`)
+1. Push to the branch (`git push origin my-new-feature`)
+1. Create new Pull Request
+
+
+[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
+[docs]: https://azure.github.io/azure-sdk-for-java/
+[jdk]: https://docs.microsoft.com/java/azure/jdk/
+[azure_subscription]: https://azure.microsoft.com/free/
+[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
+[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
+[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
+[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/SAMPLE.md b/sdk/appplatform/azure-resourcemanager-appplatform-generated/SAMPLE.md
new file mode 100644
index 0000000000000..8c0e16feed468
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/SAMPLE.md
@@ -0,0 +1,3507 @@
+# Code snippets and samples
+
+
+## ApiPortalCustomDomains
+
+- [CreateOrUpdate](#apiportalcustomdomains_createorupdate)
+- [Delete](#apiportalcustomdomains_delete)
+- [Get](#apiportalcustomdomains_get)
+- [List](#apiportalcustomdomains_list)
+
+## ApiPortals
+
+- [CreateOrUpdate](#apiportals_createorupdate)
+- [Delete](#apiportals_delete)
+- [Get](#apiportals_get)
+- [List](#apiportals_list)
+- [ValidateDomain](#apiportals_validatedomain)
+
+## Apps
+
+- [CreateOrUpdate](#apps_createorupdate)
+- [Delete](#apps_delete)
+- [Get](#apps_get)
+- [GetResourceUploadUrl](#apps_getresourceuploadurl)
+- [List](#apps_list)
+- [SetActiveDeployments](#apps_setactivedeployments)
+- [Update](#apps_update)
+- [ValidateDomain](#apps_validatedomain)
+
+## Bindings
+
+- [CreateOrUpdate](#bindings_createorupdate)
+- [Delete](#bindings_delete)
+- [Get](#bindings_get)
+- [List](#bindings_list)
+- [Update](#bindings_update)
+
+## BuildService
+
+- [CreateOrUpdateBuild](#buildservice_createorupdatebuild)
+- [GetBuild](#buildservice_getbuild)
+- [GetBuildResult](#buildservice_getbuildresult)
+- [GetBuildResultLog](#buildservice_getbuildresultlog)
+- [GetBuildService](#buildservice_getbuildservice)
+- [GetResourceUploadUrl](#buildservice_getresourceuploadurl)
+- [GetSupportedBuildpack](#buildservice_getsupportedbuildpack)
+- [GetSupportedStack](#buildservice_getsupportedstack)
+- [ListBuildResults](#buildservice_listbuildresults)
+- [ListBuildServices](#buildservice_listbuildservices)
+- [ListBuilds](#buildservice_listbuilds)
+- [ListSupportedBuildpacks](#buildservice_listsupportedbuildpacks)
+- [ListSupportedStacks](#buildservice_listsupportedstacks)
+
+## BuildServiceAgentPool
+
+- [Get](#buildserviceagentpool_get)
+- [List](#buildserviceagentpool_list)
+- [UpdatePut](#buildserviceagentpool_updateput)
+
+## BuildServiceBuilder
+
+- [CreateOrUpdate](#buildservicebuilder_createorupdate)
+- [Delete](#buildservicebuilder_delete)
+- [Get](#buildservicebuilder_get)
+- [List](#buildservicebuilder_list)
+
+## BuildpackBinding
+
+- [CreateOrUpdate](#buildpackbinding_createorupdate)
+- [Delete](#buildpackbinding_delete)
+- [Get](#buildpackbinding_get)
+- [List](#buildpackbinding_list)
+
+## Certificates
+
+- [CreateOrUpdate](#certificates_createorupdate)
+- [Delete](#certificates_delete)
+- [Get](#certificates_get)
+- [List](#certificates_list)
+
+## ConfigServers
+
+- [Get](#configservers_get)
+- [UpdatePatch](#configservers_updatepatch)
+- [UpdatePut](#configservers_updateput)
+- [Validate](#configservers_validate)
+
+## ConfigurationServices
+
+- [CreateOrUpdate](#configurationservices_createorupdate)
+- [Delete](#configurationservices_delete)
+- [Get](#configurationservices_get)
+- [List](#configurationservices_list)
+- [Validate](#configurationservices_validate)
+
+## CustomDomains
+
+- [CreateOrUpdate](#customdomains_createorupdate)
+- [Delete](#customdomains_delete)
+- [Get](#customdomains_get)
+- [List](#customdomains_list)
+- [Update](#customdomains_update)
+
+## Deployments
+
+- [CreateOrUpdate](#deployments_createorupdate)
+- [Delete](#deployments_delete)
+- [GenerateHeapDump](#deployments_generateheapdump)
+- [GenerateThreadDump](#deployments_generatethreaddump)
+- [Get](#deployments_get)
+- [GetLogFileUrl](#deployments_getlogfileurl)
+- [List](#deployments_list)
+- [ListForCluster](#deployments_listforcluster)
+- [Restart](#deployments_restart)
+- [Start](#deployments_start)
+- [StartJfr](#deployments_startjfr)
+- [Stop](#deployments_stop)
+- [Update](#deployments_update)
+
+## GatewayCustomDomains
+
+- [CreateOrUpdate](#gatewaycustomdomains_createorupdate)
+- [Delete](#gatewaycustomdomains_delete)
+- [Get](#gatewaycustomdomains_get)
+- [List](#gatewaycustomdomains_list)
+
+## GatewayRouteConfigs
+
+- [CreateOrUpdate](#gatewayrouteconfigs_createorupdate)
+- [Delete](#gatewayrouteconfigs_delete)
+- [Get](#gatewayrouteconfigs_get)
+- [List](#gatewayrouteconfigs_list)
+
+## Gateways
+
+- [CreateOrUpdate](#gateways_createorupdate)
+- [Delete](#gateways_delete)
+- [Get](#gateways_get)
+- [List](#gateways_list)
+- [ValidateDomain](#gateways_validatedomain)
+
+## MonitoringSettings
+
+- [Get](#monitoringsettings_get)
+- [UpdatePatch](#monitoringsettings_updatepatch)
+- [UpdatePut](#monitoringsettings_updateput)
+
+## Operations
+
+- [List](#operations_list)
+
+## RuntimeVersions
+
+- [ListRuntimeVersions](#runtimeversions_listruntimeversions)
+
+## ServiceRegistries
+
+- [CreateOrUpdate](#serviceregistries_createorupdate)
+- [Delete](#serviceregistries_delete)
+- [Get](#serviceregistries_get)
+- [List](#serviceregistries_list)
+
+## Services
+
+- [CheckNameAvailability](#services_checknameavailability)
+- [CreateOrUpdate](#services_createorupdate)
+- [Delete](#services_delete)
+- [DisableTestEndpoint](#services_disabletestendpoint)
+- [EnableTestEndpoint](#services_enabletestendpoint)
+- [GetByResourceGroup](#services_getbyresourcegroup)
+- [List](#services_list)
+- [ListByResourceGroup](#services_listbyresourcegroup)
+- [ListTestKeys](#services_listtestkeys)
+- [RegenerateTestKey](#services_regeneratetestkey)
+- [Start](#services_start)
+- [Stop](#services_stop)
+- [Update](#services_update)
+
+## Skus
+
+- [List](#skus_list)
+
+## Storages
+
+- [CreateOrUpdate](#storages_createorupdate)
+- [Delete](#storages_delete)
+- [Get](#storages_get)
+- [List](#storages_list)
+### ApiPortalCustomDomains_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortalCustomDomainProperties;
+
+/** Samples for ApiPortalCustomDomains CreateOrUpdate. */
+public final class ApiPortalCustomDomainsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortalCustomDomains_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ApiPortalCustomDomains_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalCustomDomainsCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .apiPortalCustomDomains()
+ .define("myDomainName")
+ .withExistingApiPortal("myResourceGroup", "myservice", "default")
+ .withProperties(new ApiPortalCustomDomainProperties().withThumbprint("*"))
+ .create();
+ }
+}
+```
+
+### ApiPortalCustomDomains_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ApiPortalCustomDomains Delete. */
+public final class ApiPortalCustomDomainsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortalCustomDomains_Delete.json
+ */
+ /**
+ * Sample code: ApiPortalCustomDomains_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalCustomDomainsDelete(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .apiPortalCustomDomains()
+ .delete("myResourceGroup", "myservice", "default", "myDomainName", Context.NONE);
+ }
+}
+```
+
+### ApiPortalCustomDomains_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ApiPortalCustomDomains Get. */
+public final class ApiPortalCustomDomainsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortalCustomDomains_Get.json
+ */
+ /**
+ * Sample code: ApiPortalCustomDomains_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalCustomDomainsGet(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .apiPortalCustomDomains()
+ .getWithResponse("myResourceGroup", "myservice", "default", "myDomainName", Context.NONE);
+ }
+}
+```
+
+### ApiPortalCustomDomains_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ApiPortalCustomDomains List. */
+public final class ApiPortalCustomDomainsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortalCustomDomains_List.json
+ */
+ /**
+ * Sample code: ApiPortalCustomDomains_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalCustomDomainsList(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.apiPortalCustomDomains().list("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### ApiPortals_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortalProperties;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+import java.util.Arrays;
+
+/** Samples for ApiPortals CreateOrUpdate. */
+public final class ApiPortalsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortals_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ApiPortals_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalsCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .apiPortals()
+ .define("default")
+ .withExistingSpring("myResourceGroup", "myservice")
+ .withProperties(
+ new ApiPortalProperties()
+ .withPublicProperty(true)
+ .withGatewayIds(
+ Arrays
+ .asList(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/gateways/default")))
+ .withSku(new Sku().withName("E0").withTier("Enterprise").withCapacity(2))
+ .create();
+ }
+}
+```
+
+### ApiPortals_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ApiPortals Delete. */
+public final class ApiPortalsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortals_Delete.json
+ */
+ /**
+ * Sample code: ApiPortals_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalsDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.apiPortals().delete("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### ApiPortals_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ApiPortals Get. */
+public final class ApiPortalsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortals_Get.json
+ */
+ /**
+ * Sample code: ApiPortals_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalsGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.apiPortals().getWithResponse("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### ApiPortals_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ApiPortals List. */
+public final class ApiPortalsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortals_List.json
+ */
+ /**
+ * Sample code: ApiPortals_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalsList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.apiPortals().list("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### ApiPortals_ValidateDomain
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainValidatePayload;
+
+/** Samples for ApiPortals ValidateDomain. */
+public final class ApiPortalsValidateDomainSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ApiPortals_ValidateDomain.json
+ */
+ /**
+ * Sample code: ApiPortals_ValidateDomain.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void apiPortalsValidateDomain(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .apiPortals()
+ .validateDomainWithResponse(
+ "myResourceGroup",
+ "myservice",
+ "default",
+ new CustomDomainValidatePayload().withName("mydomain.io"),
+ Context.NONE);
+ }
+}
+```
+
+### Apps_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.AppResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.AzureFileVolume;
+import com.azure.resourcemanager.appplatform.generated.models.CustomPersistentDiskResource;
+import com.azure.resourcemanager.appplatform.generated.models.LoadedCertificate;
+import com.azure.resourcemanager.appplatform.generated.models.PersistentDisk;
+import com.azure.resourcemanager.appplatform.generated.models.TemporaryDisk;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for Apps CreateOrUpdate. */
+public final class AppsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Apps_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Apps_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void appsCreateOrUpdate(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .apps()
+ .define("myapp")
+ .withExistingSpring("myResourceGroup", "myservice")
+ .withRegion("eastus")
+ .withProperties(
+ new AppResourceProperties()
+ .withPublicProperty(true)
+ .withAddonConfigs(
+ mapOf(
+ "ApplicationConfigurationService",
+ mapOf(
+ "resourceId",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/configurationServices/myacs"),
+ "ServiceRegistry",
+ mapOf(
+ "resourceId",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/serviceRegistries/myServiceRegistry")))
+ .withFqdn("myapp.mydomain.com")
+ .withHttpsOnly(false)
+ .withTemporaryDisk(new TemporaryDisk().withSizeInGB(2).withMountPath("/mytemporarydisk"))
+ .withPersistentDisk(new PersistentDisk().withSizeInGB(2).withMountPath("/mypersistentdisk"))
+ .withCustomPersistentDisks(
+ Arrays
+ .asList(
+ new CustomPersistentDiskResource()
+ .withCustomPersistentDiskProperties(
+ new AzureFileVolume()
+ .withMountPath("/mypath1/mypath2")
+ .withMountOptions(
+ Arrays.asList("uid=0", "gid=0", "dir_mode=0777", "file_mode=0777"))
+ .withShareName("myFileShare"))
+ .withStorageId("myASCStorageID")))
+ .withEnableEndToEndTls(false)
+ .withLoadedCertificates(
+ Arrays
+ .asList(
+ new LoadedCertificate()
+ .withResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycert1")
+ .withLoadTrustStore(false),
+ new LoadedCertificate()
+ .withResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycert2")
+ .withLoadTrustStore(true))))
+ .create();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### Apps_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Apps Delete. */
+public final class AppsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Apps_Delete.json
+ */
+ /**
+ * Sample code: Apps_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void appsDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.apps().delete("myResourceGroup", "myservice", "myapp", Context.NONE);
+ }
+}
+```
+
+### Apps_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Apps Get. */
+public final class AppsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Apps_Get.json
+ */
+ /**
+ * Sample code: Apps_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void appsGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.apps().getWithResponse("myResourceGroup", "myservice", "myapp", null, Context.NONE);
+ }
+}
+```
+
+### Apps_GetResourceUploadUrl
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Apps GetResourceUploadUrl. */
+public final class AppsGetResourceUploadUrlSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Apps_GetResourceUploadUrl.json
+ */
+ /**
+ * Sample code: Apps_GetResourceUploadUrl.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void appsGetResourceUploadUrl(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.apps().getResourceUploadUrlWithResponse("myResourceGroup", "myservice", "myapp", Context.NONE);
+ }
+}
+```
+
+### Apps_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Apps List. */
+public final class AppsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Apps_List.json
+ */
+ /**
+ * Sample code: Apps_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void appsList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.apps().list("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Apps_SetActiveDeployments
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.ActiveDeploymentCollection;
+import java.util.Arrays;
+
+/** Samples for Apps SetActiveDeployments. */
+public final class AppsSetActiveDeploymentsSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Apps_SetActiveDeployments.json
+ */
+ /**
+ * Sample code: Apps_SetActiveDeployments.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void appsSetActiveDeployments(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .apps()
+ .setActiveDeployments(
+ "myResourceGroup",
+ "myservice",
+ "myapp",
+ new ActiveDeploymentCollection().withActiveDeploymentNames(Arrays.asList("default")),
+ Context.NONE);
+ }
+}
+```
+
+### Apps_Update
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.AppResource;
+import com.azure.resourcemanager.appplatform.generated.models.AppResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.AzureFileVolume;
+import com.azure.resourcemanager.appplatform.generated.models.CustomPersistentDiskResource;
+import com.azure.resourcemanager.appplatform.generated.models.ManagedIdentityProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ManagedIdentityType;
+import com.azure.resourcemanager.appplatform.generated.models.PersistentDisk;
+import com.azure.resourcemanager.appplatform.generated.models.TemporaryDisk;
+import java.util.Arrays;
+
+/** Samples for Apps Update. */
+public final class AppsUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Apps_Update.json
+ */
+ /**
+ * Sample code: Apps_Update.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void appsUpdate(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ AppResource resource =
+ manager.apps().getWithResponse("myResourceGroup", "myservice", "myapp", null, Context.NONE).getValue();
+ resource
+ .update()
+ .withProperties(
+ new AppResourceProperties()
+ .withPublicProperty(true)
+ .withFqdn("myapp.mydomain.com")
+ .withHttpsOnly(false)
+ .withTemporaryDisk(new TemporaryDisk().withSizeInGB(2).withMountPath("/mytemporarydisk"))
+ .withPersistentDisk(new PersistentDisk().withSizeInGB(2).withMountPath("/mypersistentdisk"))
+ .withCustomPersistentDisks(
+ Arrays
+ .asList(
+ new CustomPersistentDiskResource()
+ .withCustomPersistentDiskProperties(
+ new AzureFileVolume()
+ .withMountPath("/mypath1/mypath2")
+ .withMountOptions(Arrays.asList())
+ .withShareName("myFileShare"))
+ .withStorageId("myASCStorageID")))
+ .withEnableEndToEndTls(false))
+ .withIdentity(new ManagedIdentityProperties().withType(ManagedIdentityType.SYSTEM_ASSIGNED))
+ .apply();
+ }
+}
+```
+
+### Apps_ValidateDomain
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainValidatePayload;
+
+/** Samples for Apps ValidateDomain. */
+public final class AppsValidateDomainSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Apps_ValidateDomain.json
+ */
+ /**
+ * Sample code: Apps_ValidateDomain.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void appsValidateDomain(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .apps()
+ .validateDomainWithResponse(
+ "myResourceGroup",
+ "myservice",
+ "myapp",
+ new CustomDomainValidatePayload().withName("mydomain.io"),
+ Context.NONE);
+ }
+}
+```
+
+### Bindings_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.BindingResourceProperties;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for Bindings CreateOrUpdate. */
+public final class BindingsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Bindings_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Bindings_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void bindingsCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .bindings()
+ .define("mybinding")
+ .withExistingApp("myResourceGroup", "myservice", "myapp")
+ .withProperties(
+ new BindingResourceProperties()
+ .withResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1")
+ .withKey("xxxx")
+ .withBindingParameters(mapOf("apiType", "SQL", "databaseName", "db1")))
+ .create();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### Bindings_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Bindings Delete. */
+public final class BindingsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Bindings_Delete.json
+ */
+ /**
+ * Sample code: Bindings_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void bindingsDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.bindings().delete("myResourceGroup", "myservice", "myapp", "mybinding", Context.NONE);
+ }
+}
+```
+
+### Bindings_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Bindings Get. */
+public final class BindingsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Bindings_Get.json
+ */
+ /**
+ * Sample code: Bindings_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void bindingsGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.bindings().getWithResponse("myResourceGroup", "myservice", "myapp", "mybinding", Context.NONE);
+ }
+}
+```
+
+### Bindings_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Bindings List. */
+public final class BindingsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Bindings_List.json
+ */
+ /**
+ * Sample code: Bindings_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void bindingsList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.bindings().list("myResourceGroup", "myservice", "myapp", Context.NONE);
+ }
+}
+```
+
+### Bindings_Update
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.BindingResource;
+import com.azure.resourcemanager.appplatform.generated.models.BindingResourceProperties;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for Bindings Update. */
+public final class BindingsUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Bindings_Update.json
+ */
+ /**
+ * Sample code: Bindings_Update.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void bindingsUpdate(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ BindingResource resource =
+ manager
+ .bindings()
+ .getWithResponse("myResourceGroup", "myservice", "myapp", "mybinding", Context.NONE)
+ .getValue();
+ resource
+ .update()
+ .withProperties(
+ new BindingResourceProperties()
+ .withKey("xxxx")
+ .withBindingParameters(mapOf("apiType", "SQL", "databaseName", "db1")))
+ .apply();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### BuildService_CreateOrUpdateBuild
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.BuildProperties;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for BuildService CreateOrUpdateBuild. */
+public final class BuildServiceCreateOrUpdateBuildSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_CreateOrUpdateBuild.json
+ */
+ /**
+ * Sample code: BuildService_CreateOrUpdateBuild.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceCreateOrUpdateBuild(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .define("mybuild")
+ .withExistingBuildService("myResourceGroup", "myservice", "default")
+ .withProperties(
+ new BuildProperties()
+ .withRelativePath(
+ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-20210601-3ed9f4a2-986b-4bbd-b833-a42dccb2f777")
+ .withBuilder(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/buildServices/default/builders/default")
+ .withAgentPool(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/buildServices/default/agentPools/default")
+ .withEnv(mapOf("environmentVariable", "test")))
+ .create();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### BuildService_GetBuild
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService GetBuild. */
+public final class BuildServiceGetBuildSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_GetBuild.json
+ */
+ /**
+ * Sample code: BuildService_GetBuild.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceGetBuild(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .getBuildWithResponse("myResourceGroup", "myservice", "default", "mybuild", Context.NONE);
+ }
+}
+```
+
+### BuildService_GetBuildResult
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService GetBuildResult. */
+public final class BuildServiceGetBuildResultSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_GetBuildResult.json
+ */
+ /**
+ * Sample code: BuildService_GetBuildResult.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceGetBuildResult(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .getBuildResultWithResponse("myResourceGroup", "myservice", "default", "mybuild", "123", Context.NONE);
+ }
+}
+```
+
+### BuildService_GetBuildResultLog
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService GetBuildResultLog. */
+public final class BuildServiceGetBuildResultLogSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_GetBuildResultLog.json
+ */
+ /**
+ * Sample code: BuildService_GetBuildResultLog.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceGetBuildResultLog(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .getBuildResultLogWithResponse("myResourceGroup", "myservice", "default", "mybuild", "123", Context.NONE);
+ }
+}
+```
+
+### BuildService_GetBuildService
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService GetBuildService. */
+public final class BuildServiceGetBuildServiceSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_GetBuildService.json
+ */
+ /**
+ * Sample code: BuildService_GetBuildService.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceGetBuildService(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.buildServices().getBuildServiceWithResponse("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### BuildService_GetResourceUploadUrl
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService GetResourceUploadUrl. */
+public final class BuildServiceGetResourceUploadUrlSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_GetResourceUploadUrl.json
+ */
+ /**
+ * Sample code: BuildService_GetResourceUploadUrl.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceGetResourceUploadUrl(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .getResourceUploadUrlWithResponse("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### BuildService_GetSupportedBuildpack
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService GetSupportedBuildpack. */
+public final class BuildServiceGetSupportedBuildpackSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_GetSupportedBuildpack.json
+ */
+ /**
+ * Sample code: BuildService_GetSupportedBuildpack.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceGetSupportedBuildpack(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .getSupportedBuildpackWithResponse(
+ "myResourceGroup", "myservice", "default", "tanzu-buildpacks-java-azure", Context.NONE);
+ }
+}
+```
+
+### BuildService_GetSupportedStack
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService GetSupportedStack. */
+public final class BuildServiceGetSupportedStackSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_GetSupportedStack.json
+ */
+ /**
+ * Sample code: BuildService_GetSupportedStack.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceGetSupportedStack(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .getSupportedStackWithResponse(
+ "myResourceGroup", "myservice", "default", "io.buildpacks.stacks.bionic-base", Context.NONE);
+ }
+}
+```
+
+### BuildService_ListBuildResults
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService ListBuildResults. */
+public final class BuildServiceListBuildResultsSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_ListBuildResults.json
+ */
+ /**
+ * Sample code: BuildService_ListBuildResults.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceListBuildResults(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.buildServices().listBuildResults("myResourceGroup", "myservice", "default", "mybuild", Context.NONE);
+ }
+}
+```
+
+### BuildService_ListBuildServices
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService ListBuildServices. */
+public final class BuildServiceListBuildServicesSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_ListBuildServices.json
+ */
+ /**
+ * Sample code: BuildService_ListBuildServices.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceListBuildServices(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.buildServices().listBuildServices("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### BuildService_ListBuilds
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService ListBuilds. */
+public final class BuildServiceListBuildsSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_ListBuilds.json
+ */
+ /**
+ * Sample code: BuildService_ListBuilds.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceListBuilds(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.buildServices().listBuilds("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### BuildService_ListSupportedBuildpacks
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService ListSupportedBuildpacks. */
+public final class BuildServiceListSupportedBuildpacksSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_ListSupportedBuildpacks.json
+ */
+ /**
+ * Sample code: BuildService_ListSupportedBuildpacks.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceListSupportedBuildpacks(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .listSupportedBuildpacksWithResponse("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### BuildService_ListSupportedStacks
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildService ListSupportedStacks. */
+public final class BuildServiceListSupportedStacksSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildService_ListSupportedStacks.json
+ */
+ /**
+ * Sample code: BuildService_ListSupportedStacks.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceListSupportedStacks(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServices()
+ .listSupportedStacksWithResponse("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### BuildServiceAgentPool_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildServiceAgentPool Get. */
+public final class BuildServiceAgentPoolGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceAgentPool_Get.json
+ */
+ /**
+ * Sample code: BuildServiceAgentPool_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceAgentPoolGet(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServiceAgentPools()
+ .getWithResponse("myResourceGroup", "myservice", "default", "default", Context.NONE);
+ }
+}
+```
+
+### BuildServiceAgentPool_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildServiceAgentPool List. */
+public final class BuildServiceAgentPoolListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceAgentPool_List.json
+ */
+ /**
+ * Sample code: BuildServiceAgentPool_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceAgentPoolList(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.buildServiceAgentPools().list("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### BuildServiceAgentPool_UpdatePut
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.BuildServiceAgentPoolResourceInner;
+import com.azure.resourcemanager.appplatform.generated.models.BuildServiceAgentPoolProperties;
+import com.azure.resourcemanager.appplatform.generated.models.BuildServiceAgentPoolSizeProperties;
+
+/** Samples for BuildServiceAgentPool UpdatePut. */
+public final class BuildServiceAgentPoolUpdatePutSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceAgentPool_UpdatePut.json
+ */
+ /**
+ * Sample code: BuildServiceAgentPool_UpdatePut.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceAgentPoolUpdatePut(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServiceAgentPools()
+ .updatePut(
+ "myResourceGroup",
+ "myservice",
+ "default",
+ "default",
+ new BuildServiceAgentPoolResourceInner()
+ .withProperties(
+ new BuildServiceAgentPoolProperties()
+ .withPoolSize(new BuildServiceAgentPoolSizeProperties().withName("S3"))),
+ Context.NONE);
+ }
+}
+```
+
+### BuildServiceBuilder_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.BuilderProperties;
+import com.azure.resourcemanager.appplatform.generated.models.BuildpackProperties;
+import com.azure.resourcemanager.appplatform.generated.models.BuildpacksGroupProperties;
+import com.azure.resourcemanager.appplatform.generated.models.StackProperties;
+import java.util.Arrays;
+
+/** Samples for BuildServiceBuilder CreateOrUpdate. */
+public final class BuildServiceBuilderCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceBuilder_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: BuildServiceBuilder_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceBuilderCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServiceBuilders()
+ .define("mybuilder")
+ .withExistingBuildService("myResourceGroup", "myservice", "default")
+ .withProperties(
+ new BuilderProperties()
+ .withStack(new StackProperties().withId("io.buildpacks.stacks.bionic").withVersion("base"))
+ .withBuildpackGroups(
+ Arrays
+ .asList(
+ new BuildpacksGroupProperties()
+ .withName("mix")
+ .withBuildpacks(
+ Arrays
+ .asList(new BuildpackProperties().withId("tanzu-buildpacks/java-azure"))))))
+ .create();
+ }
+}
+```
+
+### BuildServiceBuilder_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildServiceBuilder Delete. */
+public final class BuildServiceBuilderDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceBuilder_Delete.json
+ */
+ /**
+ * Sample code: BuildServiceBuilder_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceBuilderDelete(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.buildServiceBuilders().delete("myResourceGroup", "myservice", "default", "mybuilder", Context.NONE);
+ }
+}
+```
+
+### BuildServiceBuilder_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildServiceBuilder Get. */
+public final class BuildServiceBuilderGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceBuilder_Get.json
+ */
+ /**
+ * Sample code: BuildServiceBuilder_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceBuilderGet(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildServiceBuilders()
+ .getWithResponse("myResourceGroup", "myservice", "default", "mybuilder", Context.NONE);
+ }
+}
+```
+
+### BuildServiceBuilder_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildServiceBuilder List. */
+public final class BuildServiceBuilderListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildServiceBuilder_List.json
+ */
+ /**
+ * Sample code: BuildServiceBuilder_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildServiceBuilderList(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.buildServiceBuilders().list("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### BuildpackBinding_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.BindingType;
+import com.azure.resourcemanager.appplatform.generated.models.BuildpackBindingLaunchProperties;
+import com.azure.resourcemanager.appplatform.generated.models.BuildpackBindingProperties;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for BuildpackBinding CreateOrUpdate. */
+public final class BuildpackBindingCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildpackBinding_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: BuildpackBinding_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildpackBindingCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildpackBindings()
+ .define("myBuildpackBinding")
+ .withExistingBuilder("myResourceGroup", "myservice", "default", "default")
+ .withProperties(
+ new BuildpackBindingProperties()
+ .withBindingType(BindingType.APPLICATION_INSIGHTS)
+ .withLaunchProperties(
+ new BuildpackBindingLaunchProperties()
+ .withProperties(mapOf("abc", "def", "any-string", "any-string", "sampling-rate", "12.0"))
+ .withSecrets(
+ mapOf(
+ "connection-string",
+ "XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXX;XXXXXXXXXXXXXXXXX=XXXXXXXXXXXXXXXXXXX"))))
+ .create();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### BuildpackBinding_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildpackBinding Delete. */
+public final class BuildpackBindingDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildpackBinding_Delete.json
+ */
+ /**
+ * Sample code: BuildpackBinding_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildpackBindingDelete(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildpackBindings()
+ .delete("myResourceGroup", "myservice", "default", "default", "myBuildpackBinding", Context.NONE);
+ }
+}
+```
+
+### BuildpackBinding_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildpackBinding Get. */
+public final class BuildpackBindingGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildpackBinding_Get.json
+ */
+ /**
+ * Sample code: BuildpackBinding_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildpackBindingGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .buildpackBindings()
+ .getWithResponse("myResourceGroup", "myservice", "default", "default", "myBuildpackBinding", Context.NONE);
+ }
+}
+```
+
+### BuildpackBinding_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for BuildpackBinding List. */
+public final class BuildpackBindingListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/BuildpackBinding_List.json
+ */
+ /**
+ * Sample code: BuildpackBinding_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void buildpackBindingGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.buildpackBindings().list("myResourceGroup", "myservice", "default", "default", Context.NONE);
+ }
+}
+```
+
+### Certificates_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.KeyVaultCertificateProperties;
+
+/** Samples for Certificates CreateOrUpdate. */
+public final class CertificatesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Certificates_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Certificates_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void certificatesCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .certificates()
+ .define("mycertificate")
+ .withExistingSpring("myResourceGroup", "myservice")
+ .withProperties(
+ new KeyVaultCertificateProperties()
+ .withVaultUri("https://myvault.vault.azure.net")
+ .withKeyVaultCertName("mycert")
+ .withCertVersion("08a219d06d874795a96db47e06fbb01e"))
+ .create();
+ }
+}
+```
+
+### Certificates_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Certificates Delete. */
+public final class CertificatesDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Certificates_Delete.json
+ */
+ /**
+ * Sample code: Certificates_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void certificatesDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.certificates().delete("myResourceGroup", "myservice", "mycertificate", Context.NONE);
+ }
+}
+```
+
+### Certificates_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Certificates Get. */
+public final class CertificatesGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Certificates_Get.json
+ */
+ /**
+ * Sample code: Certificates_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void certificatesGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.certificates().getWithResponse("myResourceGroup", "myservice", "mycertificate", Context.NONE);
+ }
+}
+```
+
+### Certificates_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Certificates List. */
+public final class CertificatesListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Certificates_List.json
+ */
+ /**
+ * Sample code: Certificates_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void certificatesList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.certificates().list("myResourceGroup", "myService", Context.NONE);
+ }
+}
+```
+
+### ConfigServers_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ConfigServers Get. */
+public final class ConfigServersGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigServers_Get.json
+ */
+ /**
+ * Sample code: ConfigServers_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configServersGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.configServers().getWithResponse("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### ConfigServers_UpdatePatch
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ConfigServerResourceInner;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerGitProperty;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerSettings;
+import java.util.Arrays;
+
+/** Samples for ConfigServers UpdatePatch. */
+public final class ConfigServersUpdatePatchSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigServers_UpdatePatch.json
+ */
+ /**
+ * Sample code: ConfigServers_UpdatePatch.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configServersUpdatePatch(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .configServers()
+ .updatePatch(
+ "myResourceGroup",
+ "myservice",
+ new ConfigServerResourceInner()
+ .withProperties(
+ new ConfigServerProperties()
+ .withConfigServer(
+ new ConfigServerSettings()
+ .withGitProperty(
+ new ConfigServerGitProperty()
+ .withUri("https://github.com/fake-user/fake-repository.git")
+ .withLabel("master")
+ .withSearchPaths(Arrays.asList("/"))))),
+ Context.NONE);
+ }
+}
+```
+
+### ConfigServers_UpdatePut
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ConfigServerResourceInner;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerGitProperty;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerSettings;
+import java.util.Arrays;
+
+/** Samples for ConfigServers UpdatePut. */
+public final class ConfigServersUpdatePutSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigServers_UpdatePut.json
+ */
+ /**
+ * Sample code: ConfigServers_UpdatePut.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configServersUpdatePut(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .configServers()
+ .updatePut(
+ "myResourceGroup",
+ "myservice",
+ new ConfigServerResourceInner()
+ .withProperties(
+ new ConfigServerProperties()
+ .withConfigServer(
+ new ConfigServerSettings()
+ .withGitProperty(
+ new ConfigServerGitProperty()
+ .withUri("https://github.com/fake-user/fake-repository.git")
+ .withLabel("master")
+ .withSearchPaths(Arrays.asList("/"))))),
+ Context.NONE);
+ }
+}
+```
+
+### ConfigServers_Validate
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerGitProperty;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerSettings;
+import java.util.Arrays;
+
+/** Samples for ConfigServers Validate. */
+public final class ConfigServersValidateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigServers_Validate.json
+ */
+ /**
+ * Sample code: ConfigServers_Validate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configServersValidate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .configServers()
+ .validate(
+ "myResourceGroup",
+ "myservice",
+ new ConfigServerSettings()
+ .withGitProperty(
+ new ConfigServerGitProperty()
+ .withUri("https://github.com/fake-user/fake-repository.git")
+ .withLabel("master")
+ .withSearchPaths(Arrays.asList("/"))),
+ Context.NONE);
+ }
+}
+```
+
+### ConfigurationServices_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceGitProperty;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceGitRepository;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceSettings;
+import java.util.Arrays;
+
+/** Samples for ConfigurationServices CreateOrUpdate. */
+public final class ConfigurationServicesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigurationServices_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ConfigurationServices_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configurationServicesCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .configurationServices()
+ .define("default")
+ .withExistingSpring("myResourceGroup", "myservice")
+ .withProperties(
+ new ConfigurationServiceProperties()
+ .withSettings(
+ new ConfigurationServiceSettings()
+ .withGitProperty(
+ new ConfigurationServiceGitProperty()
+ .withRepositories(
+ Arrays
+ .asList(
+ new ConfigurationServiceGitRepository()
+ .withName("fake")
+ .withPatterns(Arrays.asList("app/dev"))
+ .withUri("https://github.com/fake-user/fake-repository")
+ .withLabel("master"))))))
+ .create();
+ }
+}
+```
+
+### ConfigurationServices_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ConfigurationServices Delete. */
+public final class ConfigurationServicesDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigurationServices_Delete.json
+ */
+ /**
+ * Sample code: ConfigurationServices_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configurationServicesDelete(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.configurationServices().delete("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### ConfigurationServices_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ConfigurationServices Get. */
+public final class ConfigurationServicesGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigurationServices_Get.json
+ */
+ /**
+ * Sample code: ConfigurationServices_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configurationServicesGet(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.configurationServices().getWithResponse("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### ConfigurationServices_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ConfigurationServices List. */
+public final class ConfigurationServicesListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigurationServices_List.json
+ */
+ /**
+ * Sample code: ConfigurationServices_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configurationServicesList(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.configurationServices().list("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### ConfigurationServices_Validate
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceGitProperty;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceGitRepository;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceSettings;
+import java.util.Arrays;
+
+/** Samples for ConfigurationServices Validate. */
+public final class ConfigurationServicesValidateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ConfigurationServices_Validate.json
+ */
+ /**
+ * Sample code: ConfigurationServices_Validate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void configurationServicesValidate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .configurationServices()
+ .validate(
+ "myResourceGroup",
+ "myservice",
+ "default",
+ new ConfigurationServiceSettings()
+ .withGitProperty(
+ new ConfigurationServiceGitProperty()
+ .withRepositories(
+ Arrays
+ .asList(
+ new ConfigurationServiceGitRepository()
+ .withName("fake")
+ .withPatterns(Arrays.asList("app/dev"))
+ .withUri("https://github.com/fake-user/fake-repository")
+ .withLabel("master")))),
+ Context.NONE);
+ }
+}
+```
+
+### CustomDomains_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainProperties;
+
+/** Samples for CustomDomains CreateOrUpdate. */
+public final class CustomDomainsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/CustomDomains_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: CustomDomains_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void customDomainsCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .customDomains()
+ .define("mydomain.com")
+ .withExistingApp("myResourceGroup", "myservice", "myapp")
+ .withProperties(
+ new CustomDomainProperties()
+ .withThumbprint("934367bf1c97033f877db0f15cb1b586957d3133")
+ .withCertName("mycert"))
+ .create();
+ }
+}
+```
+
+### CustomDomains_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for CustomDomains Delete. */
+public final class CustomDomainsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/CustomDomains_Delete.json
+ */
+ /**
+ * Sample code: CustomDomains_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void customDomainsDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.customDomains().delete("myResourceGroup", "myservice", "myapp", "mydomain.com", Context.NONE);
+ }
+}
+```
+
+### CustomDomains_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for CustomDomains Get. */
+public final class CustomDomainsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/CustomDomains_Get.json
+ */
+ /**
+ * Sample code: CustomDomains_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void customDomainsGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.customDomains().getWithResponse("myResourceGroup", "myservice", "myapp", "mydomain.com", Context.NONE);
+ }
+}
+```
+
+### CustomDomains_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for CustomDomains List. */
+public final class CustomDomainsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/CustomDomains_List.json
+ */
+ /**
+ * Sample code: CustomDomains_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void customDomainsList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.customDomains().list("myResourceGroup", "myservice", "myapp", Context.NONE);
+ }
+}
+```
+
+### CustomDomains_Update
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainProperties;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainResource;
+
+/** Samples for CustomDomains Update. */
+public final class CustomDomainsUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/CustomDomains_Update.json
+ */
+ /**
+ * Sample code: CustomDomains_Update.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void customDomainsUpdate(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ CustomDomainResource resource =
+ manager
+ .customDomains()
+ .getWithResponse("myResourceGroup", "myservice", "myapp", "mydomain.com", Context.NONE)
+ .getValue();
+ resource
+ .update()
+ .withProperties(
+ new CustomDomainProperties()
+ .withThumbprint("934367bf1c97033f877db0f15cb1b586957d3133")
+ .withCertName("mycert"))
+ .apply();
+ }
+}
+```
+
+### Deployments_CreateOrUpdate
+
+```java
+import com.azure.core.management.serializer.SerializerFactory;
+import com.azure.core.util.serializer.SerializerEncoding;
+import com.azure.resourcemanager.appplatform.generated.models.CustomContainer;
+import com.azure.resourcemanager.appplatform.generated.models.CustomContainerUserSourceInfo;
+import com.azure.resourcemanager.appplatform.generated.models.DeploymentResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.DeploymentSettings;
+import com.azure.resourcemanager.appplatform.generated.models.ImageRegistryCredential;
+import com.azure.resourcemanager.appplatform.generated.models.ResourceRequests;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+import com.azure.resourcemanager.appplatform.generated.models.SourceUploadedUserSourceInfo;
+import java.io.IOException;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for Deployments CreateOrUpdate. */
+public final class DeploymentsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Deployments_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) throws IOException {
+ manager
+ .deployments()
+ .define("mydeployment")
+ .withExistingApp("myResourceGroup", "myservice", "myapp")
+ .withProperties(
+ new DeploymentResourceProperties()
+ .withSource(
+ new SourceUploadedUserSourceInfo()
+ .withVersion("1.0")
+ .withRelativePath(
+ "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc")
+ .withArtifactSelector("sub-module-1"))
+ .withDeploymentSettings(
+ new DeploymentSettings()
+ .withResourceRequests(new ResourceRequests().withCpu("1000m").withMemory("3Gi"))
+ .withEnvironmentVariables(mapOf("env", "test"))
+ .withAddonConfigs(
+ mapOf(
+ "ApplicationConfigurationService",
+ mapOf(
+ "patterns",
+ SerializerFactory
+ .createDefaultManagementSerializerAdapter()
+ .deserialize("[\"mypattern\"]", Object.class, SerializerEncoding.JSON))))))
+ .withSku(new Sku().withName("S0").withTier("Standard").withCapacity(1))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_CreateOrUpdate_CustomContainer.json
+ */
+ /**
+ * Sample code: Deployments_CreateOrUpdate_CustomContainer.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsCreateOrUpdateCustomContainer(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .deployments()
+ .define("mydeployment")
+ .withExistingApp("myResourceGroup", "myservice", "myapp")
+ .withProperties(
+ new DeploymentResourceProperties()
+ .withSource(
+ new CustomContainerUserSourceInfo()
+ .withCustomContainer(
+ new CustomContainer()
+ .withServer("myacr.azurecr.io")
+ .withContainerImage("myContainerImage:v1")
+ .withCommand(Arrays.asList("/bin/sh"))
+ .withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
+ .withImageRegistryCredential(
+ new ImageRegistryCredential()
+ .withUsername("myUsername")
+ .withPassword("myPassword"))))
+ .withDeploymentSettings(
+ new DeploymentSettings()
+ .withResourceRequests(new ResourceRequests().withCpu("1000m").withMemory("3Gi"))
+ .withEnvironmentVariables(mapOf("env", "test"))))
+ .create();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### Deployments_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Deployments Delete. */
+public final class DeploymentsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_Delete.json
+ */
+ /**
+ * Sample code: Deployments_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.deployments().delete("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE);
+ }
+}
+```
+
+### Deployments_GenerateHeapDump
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.DiagnosticParameters;
+
+/** Samples for Deployments GenerateHeapDump. */
+public final class DeploymentsGenerateHeapDumpSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_GenerateHeapDump.json
+ */
+ /**
+ * Sample code: Deployments_GenerateHeapDump.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsGenerateHeapDump(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .deployments()
+ .generateHeapDump(
+ "myResourceGroup",
+ "myservice",
+ "myapp",
+ "mydeployment",
+ new DiagnosticParameters().withAppInstance("myappinstance").withFilePath("/byos/diagnose"),
+ Context.NONE);
+ }
+}
+```
+
+### Deployments_GenerateThreadDump
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.DiagnosticParameters;
+
+/** Samples for Deployments GenerateThreadDump. */
+public final class DeploymentsGenerateThreadDumpSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_GenerateThreadDump.json
+ */
+ /**
+ * Sample code: Deployments_GenerateHeapDump.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsGenerateHeapDump(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .deployments()
+ .generateThreadDump(
+ "myResourceGroup",
+ "myservice",
+ "myapp",
+ "mydeployment",
+ new DiagnosticParameters().withAppInstance("myappinstance").withFilePath("/byos/diagnose"),
+ Context.NONE);
+ }
+}
+```
+
+### Deployments_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Deployments Get. */
+public final class DeploymentsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_Get.json
+ */
+ /**
+ * Sample code: Deployments_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.deployments().getWithResponse("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_Get_CustomContainer.json
+ */
+ /**
+ * Sample code: Deployments_Get_CustomContainer.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsGetCustomContainer(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.deployments().getWithResponse("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE);
+ }
+}
+```
+
+### Deployments_GetLogFileUrl
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Deployments GetLogFileUrl. */
+public final class DeploymentsGetLogFileUrlSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_GetLogFileUrl.json
+ */
+ /**
+ * Sample code: Deployments_GetLogFileUrl.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsGetLogFileUrl(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .deployments()
+ .getLogFileUrlWithResponse("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE);
+ }
+}
+```
+
+### Deployments_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Deployments List. */
+public final class DeploymentsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_List.json
+ */
+ /**
+ * Sample code: Deployments_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.deployments().list("myResourceGroup", "myservice", "myapp", null, Context.NONE);
+ }
+}
+```
+
+### Deployments_ListForCluster
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Deployments ListForCluster. */
+public final class DeploymentsListForClusterSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_ListForCluster.json
+ */
+ /**
+ * Sample code: Deployments_ListForCluster.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsListForCluster(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.deployments().listForCluster("myResourceGroup", "myservice", null, Context.NONE);
+ }
+}
+```
+
+### Deployments_Restart
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Deployments Restart. */
+public final class DeploymentsRestartSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_Restart.json
+ */
+ /**
+ * Sample code: Deployments_Restart.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsRestart(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.deployments().restart("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE);
+ }
+}
+```
+
+### Deployments_Start
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Deployments Start. */
+public final class DeploymentsStartSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_Start.json
+ */
+ /**
+ * Sample code: Deployments_Start.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsStart(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.deployments().start("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE);
+ }
+}
+```
+
+### Deployments_StartJfr
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.DiagnosticParameters;
+
+/** Samples for Deployments StartJfr. */
+public final class DeploymentsStartJfrSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_StartJFR.json
+ */
+ /**
+ * Sample code: Deployments_StartJFR.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsStartJFR(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .deployments()
+ .startJfr(
+ "myResourceGroup",
+ "myservice",
+ "myapp",
+ "mydeployment",
+ new DiagnosticParameters()
+ .withAppInstance("myappinstance")
+ .withFilePath("/byos/diagnose")
+ .withDuration("60s"),
+ Context.NONE);
+ }
+}
+```
+
+### Deployments_Stop
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Deployments Stop. */
+public final class DeploymentsStopSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_Stop.json
+ */
+ /**
+ * Sample code: Deployments_Stop.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsStop(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.deployments().stop("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE);
+ }
+}
+```
+
+### Deployments_Update
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.CustomContainer;
+import com.azure.resourcemanager.appplatform.generated.models.CustomContainerUserSourceInfo;
+import com.azure.resourcemanager.appplatform.generated.models.DeploymentResource;
+import com.azure.resourcemanager.appplatform.generated.models.DeploymentResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ImageRegistryCredential;
+import com.azure.resourcemanager.appplatform.generated.models.SourceUploadedUserSourceInfo;
+import java.util.Arrays;
+
+/** Samples for Deployments Update. */
+public final class DeploymentsUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_Update.json
+ */
+ /**
+ * Sample code: Deployments_Update.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsUpdate(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ DeploymentResource resource =
+ manager
+ .deployments()
+ .getWithResponse("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE)
+ .getValue();
+ resource
+ .update()
+ .withProperties(
+ new DeploymentResourceProperties()
+ .withSource(
+ new SourceUploadedUserSourceInfo()
+ .withVersion("1.0")
+ .withRelativePath(
+ "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc")
+ .withArtifactSelector("sub-module-1")))
+ .apply();
+ }
+
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Deployments_Update_CustomContainer.json
+ */
+ /**
+ * Sample code: Deployments_Update_CustomContainer.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void deploymentsUpdateCustomContainer(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ DeploymentResource resource =
+ manager
+ .deployments()
+ .getWithResponse("myResourceGroup", "myservice", "myapp", "mydeployment", Context.NONE)
+ .getValue();
+ resource
+ .update()
+ .withProperties(
+ new DeploymentResourceProperties()
+ .withSource(
+ new CustomContainerUserSourceInfo()
+ .withCustomContainer(
+ new CustomContainer()
+ .withServer("mynewacr.azurecr.io")
+ .withContainerImage("myNewContainerImage:v1")
+ .withCommand(Arrays.asList("/bin/sh"))
+ .withArgs(Arrays.asList("-c", "while true; do echo hello; sleep 10;done"))
+ .withImageRegistryCredential(
+ new ImageRegistryCredential()
+ .withUsername("myNewUsername")
+ .withPassword("")))))
+ .apply();
+ }
+}
+```
+
+### GatewayCustomDomains_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.GatewayCustomDomainProperties;
+
+/** Samples for GatewayCustomDomains CreateOrUpdate. */
+public final class GatewayCustomDomainsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/GatewayCustomDomains_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: GatewayCustomDomains_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewayCustomDomainsCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .gatewayCustomDomains()
+ .define("myDomainName")
+ .withExistingGateway("myResourceGroup", "myservice", "default")
+ .withProperties(new GatewayCustomDomainProperties().withThumbprint("*"))
+ .create();
+ }
+}
+```
+
+### GatewayCustomDomains_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for GatewayCustomDomains Delete. */
+public final class GatewayCustomDomainsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/GatewayCustomDomains_Delete.json
+ */
+ /**
+ * Sample code: GatewayCustomDomains_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewayCustomDomainsDelete(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.gatewayCustomDomains().delete("myResourceGroup", "myservice", "default", "myDomainName", Context.NONE);
+ }
+}
+```
+
+### GatewayCustomDomains_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for GatewayCustomDomains Get. */
+public final class GatewayCustomDomainsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/GatewayCustomDomains_Get.json
+ */
+ /**
+ * Sample code: GatewayCustomDomains_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewayCustomDomainsGet(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .gatewayCustomDomains()
+ .getWithResponse("myResourceGroup", "myservice", "default", "myDomainName", Context.NONE);
+ }
+}
+```
+
+### GatewayCustomDomains_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for GatewayCustomDomains List. */
+public final class GatewayCustomDomainsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/GatewayCustomDomains_List.json
+ */
+ /**
+ * Sample code: GatewayCustomDomains_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewayCustomDomainsList(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.gatewayCustomDomains().list("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### GatewayRouteConfigs_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.GatewayApiRoute;
+import com.azure.resourcemanager.appplatform.generated.models.GatewayRouteConfigProperties;
+import java.util.Arrays;
+
+/** Samples for GatewayRouteConfigs CreateOrUpdate. */
+public final class GatewayRouteConfigsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/GatewayRouteConfigs_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: GatewayRouteConfigs_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewayRouteConfigsCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .gatewayRouteConfigs()
+ .define("myRouteConfig")
+ .withExistingGateway("myResourceGroup", "myservice", "default")
+ .withProperties(
+ new GatewayRouteConfigProperties()
+ .withAppResourceId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myApp")
+ .withRoutes(
+ Arrays
+ .asList(
+ new GatewayApiRoute()
+ .withTitle("myApp route config")
+ .withSsoEnabled(true)
+ .withPredicates(Arrays.asList("Path=/api5/customer/**"))
+ .withFilters(Arrays.asList("StripPrefix=2", "RateLimit=1,1s")))))
+ .create();
+ }
+}
+```
+
+### GatewayRouteConfigs_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for GatewayRouteConfigs Delete. */
+public final class GatewayRouteConfigsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/GatewayRouteConfigs_Delete.json
+ */
+ /**
+ * Sample code: GatewayRouteConfigs_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewayRouteConfigsDelete(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.gatewayRouteConfigs().delete("myResourceGroup", "myservice", "default", "myRouteConfig", Context.NONE);
+ }
+}
+```
+
+### GatewayRouteConfigs_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for GatewayRouteConfigs Get. */
+public final class GatewayRouteConfigsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/GatewayRouteConfigs_Get.json
+ */
+ /**
+ * Sample code: GatewayRouteConfigs_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewayRouteConfigsGet(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .gatewayRouteConfigs()
+ .getWithResponse("myResourceGroup", "myservice", "default", "myRouteConfig", Context.NONE);
+ }
+}
+```
+
+### GatewayRouteConfigs_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for GatewayRouteConfigs List. */
+public final class GatewayRouteConfigsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/GatewayRouteConfigs_List.json
+ */
+ /**
+ * Sample code: GatewayRouteConfigs_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewayRouteConfigsList(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.gatewayRouteConfigs().list("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### Gateways_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.GatewayProperties;
+import com.azure.resourcemanager.appplatform.generated.models.GatewayResourceRequests;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+
+/** Samples for Gateways CreateOrUpdate. */
+public final class GatewaysCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Gateways_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Gateways_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewaysCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .gateways()
+ .define("default")
+ .withExistingSpring("myResourceGroup", "myservice")
+ .withProperties(
+ new GatewayProperties()
+ .withPublicProperty(true)
+ .withResourceRequests(new GatewayResourceRequests().withCpu("1").withMemory("1G")))
+ .withSku(new Sku().withName("E0").withTier("Enterprise").withCapacity(2))
+ .create();
+ }
+}
+```
+
+### Gateways_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Gateways Delete. */
+public final class GatewaysDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Gateways_Delete.json
+ */
+ /**
+ * Sample code: Gateways_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewaysDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.gateways().delete("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### Gateways_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Gateways Get. */
+public final class GatewaysGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Gateways_Get.json
+ */
+ /**
+ * Sample code: Gateways_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewaysGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.gateways().getWithResponse("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### Gateways_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Gateways List. */
+public final class GatewaysListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Gateways_List.json
+ */
+ /**
+ * Sample code: Gateways_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewaysList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.gateways().list("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Gateways_ValidateDomain
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainValidatePayload;
+
+/** Samples for Gateways ValidateDomain. */
+public final class GatewaysValidateDomainSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Gateways_ValidateDomain.json
+ */
+ /**
+ * Sample code: Gateways_ValidateDomain.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void gatewaysValidateDomain(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .gateways()
+ .validateDomainWithResponse(
+ "myResourceGroup",
+ "myservice",
+ "default",
+ new CustomDomainValidatePayload().withName("mydomain.io"),
+ Context.NONE);
+ }
+}
+```
+
+### MonitoringSettings_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for MonitoringSettings Get. */
+public final class MonitoringSettingsGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/MonitoringSettings_Get.json
+ */
+ /**
+ * Sample code: MonitoringSettings_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void monitoringSettingsGet(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.monitoringSettings().getWithResponse("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### MonitoringSettings_UpdatePatch
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.MonitoringSettingResourceInner;
+import com.azure.resourcemanager.appplatform.generated.models.MonitoringSettingProperties;
+
+/** Samples for MonitoringSettings UpdatePatch. */
+public final class MonitoringSettingsUpdatePatchSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/MonitoringSettings_UpdatePatch.json
+ */
+ /**
+ * Sample code: MonitoringSettings_UpdatePatch.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void monitoringSettingsUpdatePatch(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .monitoringSettings()
+ .updatePatch(
+ "myResourceGroup",
+ "myservice",
+ new MonitoringSettingResourceInner()
+ .withProperties(
+ new MonitoringSettingProperties()
+ .withTraceEnabled(true)
+ .withAppInsightsInstrumentationKey("00000000-0000-0000-0000-000000000000")
+ .withAppInsightsSamplingRate(10.0)),
+ Context.NONE);
+ }
+}
+```
+
+### MonitoringSettings_UpdatePut
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.MonitoringSettingResourceInner;
+import com.azure.resourcemanager.appplatform.generated.models.MonitoringSettingProperties;
+
+/** Samples for MonitoringSettings UpdatePut. */
+public final class MonitoringSettingsUpdatePutSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/MonitoringSettings_UpdatePut.json
+ */
+ /**
+ * Sample code: MonitoringSettings_UpdatePut.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void monitoringSettingsUpdatePut(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .monitoringSettings()
+ .updatePut(
+ "myResourceGroup",
+ "myservice",
+ new MonitoringSettingResourceInner()
+ .withProperties(
+ new MonitoringSettingProperties()
+ .withTraceEnabled(true)
+ .withAppInsightsInstrumentationKey("00000000-0000-0000-0000-000000000000")
+ .withAppInsightsSamplingRate(10.0)),
+ Context.NONE);
+ }
+}
+```
+
+### Operations_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Operations List. */
+public final class OperationsListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Operations_List.json
+ */
+ /**
+ * Sample code: Operations_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void operationsList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.operations().list(Context.NONE);
+ }
+}
+```
+
+### RuntimeVersions_ListRuntimeVersions
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for RuntimeVersions ListRuntimeVersions. */
+public final class RuntimeVersionsListRuntimeVersionsSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/RuntimeVersions_ListRuntimeVersions.json
+ */
+ /**
+ * Sample code: RuntimeVersions_ListRuntimeVersions.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void runtimeVersionsListRuntimeVersions(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.runtimeVersions().listRuntimeVersionsWithResponse(Context.NONE);
+ }
+}
+```
+
+### ServiceRegistries_CreateOrUpdate
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ServiceRegistries CreateOrUpdate. */
+public final class ServiceRegistriesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ServiceRegistries_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: ServiceRegistries_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void serviceRegistriesCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.serviceRegistries().createOrUpdate("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### ServiceRegistries_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ServiceRegistries Delete. */
+public final class ServiceRegistriesDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ServiceRegistries_Delete.json
+ */
+ /**
+ * Sample code: ServiceRegistries_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void serviceRegistriesDelete(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.serviceRegistries().delete("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### ServiceRegistries_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ServiceRegistries Get. */
+public final class ServiceRegistriesGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ServiceRegistries_Get.json
+ */
+ /**
+ * Sample code: ServiceRegistries_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void serviceRegistriesGet(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.serviceRegistries().getWithResponse("myResourceGroup", "myservice", "default", Context.NONE);
+ }
+}
+```
+
+### ServiceRegistries_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for ServiceRegistries List. */
+public final class ServiceRegistriesListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/ServiceRegistries_List.json
+ */
+ /**
+ * Sample code: ServiceRegistries_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void serviceRegistriesList(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.serviceRegistries().list("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Services_CheckNameAvailability
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.NameAvailabilityParameters;
+
+/** Samples for Services CheckNameAvailability. */
+public final class ServicesCheckNameAvailabilitySamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_CheckNameAvailability.json
+ */
+ /**
+ * Sample code: Services_CheckNameAvailability.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesCheckNameAvailability(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .services()
+ .checkNameAvailabilityWithResponse(
+ "eastus",
+ new NameAvailabilityParameters().withType("Microsoft.AppPlatform/Spring").withName("myservice"),
+ Context.NONE);
+ }
+}
+```
+
+### Services_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.ClusterResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.NetworkProfile;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for Services CreateOrUpdate. */
+public final class ServicesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_CreateOrUpdate_VNetInjection.json
+ */
+ /**
+ * Sample code: Services_CreateOrUpdate_VNetInjection.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesCreateOrUpdateVNetInjection(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .services()
+ .define("myservice")
+ .withRegion("eastus")
+ .withExistingResourceGroup("myResourceGroup")
+ .withTags(mapOf("key1", "value1"))
+ .withProperties(
+ new ClusterResourceProperties()
+ .withNetworkProfile(
+ new NetworkProfile()
+ .withServiceRuntimeSubnetId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/serviceRuntime")
+ .withAppSubnetId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps")
+ .withServiceCidr("10.8.0.0/16,10.244.0.0/16,10.245.0.1/16")
+ .withServiceRuntimeNetworkResourceGroup("my-service-runtime-network-rg")
+ .withAppNetworkResourceGroup("my-app-network-rg")))
+ .withSku(new Sku().withName("S0").withTier("Standard"))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Services_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .services()
+ .define("myservice")
+ .withRegion("eastus")
+ .withExistingResourceGroup("myResourceGroup")
+ .withTags(mapOf("key1", "value1"))
+ .withProperties(new ClusterResourceProperties())
+ .withSku(new Sku().withName("S0").withTier("Standard"))
+ .create();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### Services_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services Delete. */
+public final class ServicesDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_Delete.json
+ */
+ /**
+ * Sample code: Services_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().delete("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Services_DisableTestEndpoint
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services DisableTestEndpoint. */
+public final class ServicesDisableTestEndpointSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_DisableTestEndpoint.json
+ */
+ /**
+ * Sample code: Services_DisableTestEndpoint.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesDisableTestEndpoint(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().disableTestEndpointWithResponse("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Services_EnableTestEndpoint
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services EnableTestEndpoint. */
+public final class ServicesEnableTestEndpointSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_EnableTestEndpoint.json
+ */
+ /**
+ * Sample code: Services_EnableTestEndpoint.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesEnableTestEndpoint(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().enableTestEndpointWithResponse("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Services_GetByResourceGroup
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services GetByResourceGroup. */
+public final class ServicesGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_Get.json
+ */
+ /**
+ * Sample code: Services_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().getByResourceGroupWithResponse("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Services_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services List. */
+public final class ServicesListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_ListBySubscription.json
+ */
+ /**
+ * Sample code: Services_ListBySubscription.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesListBySubscription(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().list(Context.NONE);
+ }
+}
+```
+
+### Services_ListByResourceGroup
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services ListByResourceGroup. */
+public final class ServicesListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_List.json
+ */
+ /**
+ * Sample code: Services_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().listByResourceGroup("myResourceGroup", Context.NONE);
+ }
+}
+```
+
+### Services_ListTestKeys
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services ListTestKeys. */
+public final class ServicesListTestKeysSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_ListTestKeys.json
+ */
+ /**
+ * Sample code: Services_ListTestKeys.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesListTestKeys(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().listTestKeysWithResponse("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Services_RegenerateTestKey
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.RegenerateTestKeyRequestPayload;
+import com.azure.resourcemanager.appplatform.generated.models.TestKeyType;
+
+/** Samples for Services RegenerateTestKey. */
+public final class ServicesRegenerateTestKeySamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_RegenerateTestKey.json
+ */
+ /**
+ * Sample code: Services_RegenerateTestKey.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesRegenerateTestKey(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .services()
+ .regenerateTestKeyWithResponse(
+ "myResourceGroup",
+ "myservice",
+ new RegenerateTestKeyRequestPayload().withKeyType(TestKeyType.PRIMARY),
+ Context.NONE);
+ }
+}
+```
+
+### Services_Start
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services Start. */
+public final class ServicesStartSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_Start.json
+ */
+ /**
+ * Sample code: Services_Start.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesStart(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().start("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Services_Stop
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Services Stop. */
+public final class ServicesStopSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_Stop.json
+ */
+ /**
+ * Sample code: Services_Stop.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesStop(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.services().stop("myResourceGroup", "myservice", Context.NONE);
+ }
+}
+```
+
+### Services_Update
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.models.ClusterResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ServiceResource;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for Services Update. */
+public final class ServicesUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Services_Update.json
+ */
+ /**
+ * Sample code: Services_Update.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void servicesUpdate(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ ServiceResource resource =
+ manager.services().getByResourceGroupWithResponse("myResourceGroup", "myservice", Context.NONE).getValue();
+ resource
+ .update()
+ .withTags(mapOf("key1", "value1"))
+ .withProperties(new ClusterResourceProperties())
+ .withSku(new Sku().withName("S0").withTier("Standard"))
+ .apply();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
+### Skus_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Skus List. */
+public final class SkusListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Skus_List.json
+ */
+ /**
+ * Sample code: Skus_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void skusList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.skus().list(Context.NONE);
+ }
+}
+```
+
+### Storages_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.appplatform.generated.models.StorageAccount;
+
+/** Samples for Storages CreateOrUpdate. */
+public final class StoragesCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Storages_CreateOrUpdate.json
+ */
+ /**
+ * Sample code: Storages_CreateOrUpdate.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void storagesCreateOrUpdate(
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager
+ .storages()
+ .define("mystorage")
+ .withExistingSpring("myResourceGroup", "myservice")
+ .withProperties(
+ new StorageAccount()
+ .withAccountName("storage-account-name")
+ .withAccountKey("account-key-of-storage-account"))
+ .create();
+ }
+}
+```
+
+### Storages_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Storages Delete. */
+public final class StoragesDeleteSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Storages_Delete.json
+ */
+ /**
+ * Sample code: Storages_Delete.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void storagesDelete(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.storages().delete("myResourceGroup", "myservice", "mystorage", Context.NONE);
+ }
+}
+```
+
+### Storages_Get
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Storages Get. */
+public final class StoragesGetSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Storages_Get.json
+ */
+ /**
+ * Sample code: Storages_Get.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void storagesGet(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.storages().getWithResponse("myResourceGroup", "myservice", "mystorage", Context.NONE);
+ }
+}
+```
+
+### Storages_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for Storages List. */
+public final class StoragesListSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2022-01-01-preview/examples/Storages_List.json
+ */
+ /**
+ * Sample code: Storages_List.
+ *
+ * @param manager Entry point to AppPlatformManager.
+ */
+ public static void storagesList(com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager) {
+ manager.storages().list("myResourceGroup", "myService", Context.NONE);
+ }
+}
+```
+
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/pom.xml b/sdk/appplatform/azure-resourcemanager-appplatform-generated/pom.xml
new file mode 100644
index 0000000000000..12461a626de4c
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/pom.xml
@@ -0,0 +1,55 @@
+
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
+
+ com.azure.resourcemanager
+ azure-resourcemanager-appplatform-generated
+ 1.0.0-beta.1
+ jar
+
+ Microsoft Azure SDK for AppPlatform Management
+ This package contains Microsoft Azure SDK for AppPlatform Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure Spring Cloud. Package tag package-preview-2022-01.
+ https://github.com/Azure/azure-sdk-for-java
+
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+
+ https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+
+ microsoft
+ Microsoft
+
+
+
+ UTF-8
+ true
+
+
+
+ com.azure
+ azure-core
+ 1.24.1
+
+
+ com.azure
+ azure-core-management
+ 1.5.1
+
+
+
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/AppPlatformManager.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/AppPlatformManager.java
new file mode 100644
index 0000000000000..b624f6f17d5f9
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/AppPlatformManager.java
@@ -0,0 +1,508 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated;
+
+import com.azure.core.credential.TokenCredential;
+import com.azure.core.http.HttpClient;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.HttpPipelinePosition;
+import com.azure.core.http.policy.AddDatePolicy;
+import com.azure.core.http.policy.HttpLogOptions;
+import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpPipelinePolicy;
+import com.azure.core.http.policy.HttpPolicyProviders;
+import com.azure.core.http.policy.RequestIdPolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.util.Configuration;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.fluent.AppPlatformManagementClient;
+import com.azure.resourcemanager.appplatform.generated.implementation.ApiPortalCustomDomainsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.ApiPortalsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.AppPlatformManagementClientBuilder;
+import com.azure.resourcemanager.appplatform.generated.implementation.AppsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.BindingsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.BuildServiceAgentPoolsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.BuildServiceBuildersImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.BuildServicesImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.BuildpackBindingsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.CertificatesImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.ConfigServersImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.ConfigurationServicesImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.CustomDomainsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.DeploymentsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.GatewayCustomDomainsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.GatewayRouteConfigsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.GatewaysImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.MonitoringSettingsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.OperationsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.RuntimeVersionsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.ServiceRegistriesImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.ServicesImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.SkusImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.StoragesImpl;
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortalCustomDomains;
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortals;
+import com.azure.resourcemanager.appplatform.generated.models.Apps;
+import com.azure.resourcemanager.appplatform.generated.models.Bindings;
+import com.azure.resourcemanager.appplatform.generated.models.BuildServiceAgentPools;
+import com.azure.resourcemanager.appplatform.generated.models.BuildServiceBuilders;
+import com.azure.resourcemanager.appplatform.generated.models.BuildServices;
+import com.azure.resourcemanager.appplatform.generated.models.BuildpackBindings;
+import com.azure.resourcemanager.appplatform.generated.models.Certificates;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServers;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServices;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomains;
+import com.azure.resourcemanager.appplatform.generated.models.Deployments;
+import com.azure.resourcemanager.appplatform.generated.models.GatewayCustomDomains;
+import com.azure.resourcemanager.appplatform.generated.models.GatewayRouteConfigs;
+import com.azure.resourcemanager.appplatform.generated.models.Gateways;
+import com.azure.resourcemanager.appplatform.generated.models.MonitoringSettings;
+import com.azure.resourcemanager.appplatform.generated.models.Operations;
+import com.azure.resourcemanager.appplatform.generated.models.RuntimeVersions;
+import com.azure.resourcemanager.appplatform.generated.models.ServiceRegistries;
+import com.azure.resourcemanager.appplatform.generated.models.Services;
+import com.azure.resourcemanager.appplatform.generated.models.Skus;
+import com.azure.resourcemanager.appplatform.generated.models.Storages;
+import java.time.Duration;
+import java.time.temporal.ChronoUnit;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Objects;
+import java.util.stream.Collectors;
+
+/** Entry point to AppPlatformManager. REST API for Azure Spring Cloud. */
+public final class AppPlatformManager {
+ private Services services;
+
+ private ConfigServers configServers;
+
+ private ConfigurationServices configurationServices;
+
+ private ServiceRegistries serviceRegistries;
+
+ private BuildServices buildServices;
+
+ private BuildpackBindings buildpackBindings;
+
+ private BuildServiceBuilders buildServiceBuilders;
+
+ private BuildServiceAgentPools buildServiceAgentPools;
+
+ private MonitoringSettings monitoringSettings;
+
+ private Apps apps;
+
+ private Bindings bindings;
+
+ private Storages storages;
+
+ private Certificates certificates;
+
+ private CustomDomains customDomains;
+
+ private Deployments deployments;
+
+ private Operations operations;
+
+ private RuntimeVersions runtimeVersions;
+
+ private Skus skus;
+
+ private Gateways gateways;
+
+ private GatewayRouteConfigs gatewayRouteConfigs;
+
+ private GatewayCustomDomains gatewayCustomDomains;
+
+ private ApiPortals apiPortals;
+
+ private ApiPortalCustomDomains apiPortalCustomDomains;
+
+ private final AppPlatformManagementClient clientObject;
+
+ private AppPlatformManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ this.clientObject =
+ new AppPlatformManagementClientBuilder()
+ .pipeline(httpPipeline)
+ .endpoint(profile.getEnvironment().getResourceManagerEndpoint())
+ .subscriptionId(profile.getSubscriptionId())
+ .defaultPollInterval(defaultPollInterval)
+ .buildClient();
+ }
+
+ /**
+ * Creates an instance of AppPlatform service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the AppPlatform service API instance.
+ */
+ public static AppPlatformManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ return configure().authenticate(credential, profile);
+ }
+
+ /**
+ * Gets a Configurable instance that can be used to create AppPlatformManager with optional configuration.
+ *
+ * @return the Configurable instance allowing configurations.
+ */
+ public static Configurable configure() {
+ return new AppPlatformManager.Configurable();
+ }
+
+ /** The Configurable allowing configurations to be set. */
+ public static final class Configurable {
+ private final ClientLogger logger = new ClientLogger(Configurable.class);
+
+ private HttpClient httpClient;
+ private HttpLogOptions httpLogOptions;
+ private final List policies = new ArrayList<>();
+ private final List scopes = new ArrayList<>();
+ private RetryPolicy retryPolicy;
+ private Duration defaultPollInterval;
+
+ private Configurable() {
+ }
+
+ /**
+ * Sets the http client.
+ *
+ * @param httpClient the HTTP client.
+ * @return the configurable object itself.
+ */
+ public Configurable withHttpClient(HttpClient httpClient) {
+ this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the logging options to the HTTP pipeline.
+ *
+ * @param httpLogOptions the HTTP log options.
+ * @return the configurable object itself.
+ */
+ public Configurable withLogOptions(HttpLogOptions httpLogOptions) {
+ this.httpLogOptions = Objects.requireNonNull(httpLogOptions, "'httpLogOptions' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Adds the pipeline policy to the HTTP pipeline.
+ *
+ * @param policy the HTTP pipeline policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withPolicy(HttpPipelinePolicy policy) {
+ this.policies.add(Objects.requireNonNull(policy, "'policy' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Adds the scope to permission sets.
+ *
+ * @param scope the scope.
+ * @return the configurable object itself.
+ */
+ public Configurable withScope(String scope) {
+ this.scopes.add(Objects.requireNonNull(scope, "'scope' cannot be null."));
+ return this;
+ }
+
+ /**
+ * Sets the retry policy to the HTTP pipeline.
+ *
+ * @param retryPolicy the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
+ this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null.");
+ return this;
+ }
+
+ /**
+ * Sets the default poll interval, used when service does not provide "Retry-After" header.
+ *
+ * @param defaultPollInterval the default poll interval.
+ * @return the configurable object itself.
+ */
+ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = Objects.requireNonNull(defaultPollInterval, "'retryPolicy' cannot be null.");
+ if (this.defaultPollInterval.isNegative()) {
+ throw logger.logExceptionAsError(new IllegalArgumentException("'httpPipeline' cannot be negative"));
+ }
+ return this;
+ }
+
+ /**
+ * Creates an instance of AppPlatform service API entry point.
+ *
+ * @param credential the credential to use.
+ * @param profile the Azure profile for client.
+ * @return the AppPlatform service API instance.
+ */
+ public AppPlatformManager authenticate(TokenCredential credential, AzureProfile profile) {
+ Objects.requireNonNull(credential, "'credential' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+
+ StringBuilder userAgentBuilder = new StringBuilder();
+ userAgentBuilder
+ .append("azsdk-java")
+ .append("-")
+ .append("com.azure.resourcemanager.appplatform.generated")
+ .append("/")
+ .append("1.0.0-beta.1");
+ if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
+ userAgentBuilder
+ .append(" (")
+ .append(Configuration.getGlobalConfiguration().get("java.version"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.name"))
+ .append("; ")
+ .append(Configuration.getGlobalConfiguration().get("os.version"))
+ .append("; auto-generated)");
+ } else {
+ userAgentBuilder.append(" (auto-generated)");
+ }
+
+ if (scopes.isEmpty()) {
+ scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
+ }
+ if (retryPolicy == null) {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
+ List policies = new ArrayList<>();
+ policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new RequestIdPolicy());
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL)
+ .collect(Collectors.toList()));
+ HttpPolicyProviders.addBeforeRetryPolicies(policies);
+ policies.add(retryPolicy);
+ policies.add(new AddDatePolicy());
+ policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies
+ .addAll(
+ this
+ .policies
+ .stream()
+ .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
+ .collect(Collectors.toList()));
+ HttpPolicyProviders.addAfterRetryPolicies(policies);
+ policies.add(new HttpLoggingPolicy(httpLogOptions));
+ HttpPipeline httpPipeline =
+ new HttpPipelineBuilder()
+ .httpClient(httpClient)
+ .policies(policies.toArray(new HttpPipelinePolicy[0]))
+ .build();
+ return new AppPlatformManager(httpPipeline, profile, defaultPollInterval);
+ }
+ }
+
+ /** @return Resource collection API of Services. */
+ public Services services() {
+ if (this.services == null) {
+ this.services = new ServicesImpl(clientObject.getServices(), this);
+ }
+ return services;
+ }
+
+ /** @return Resource collection API of ConfigServers. */
+ public ConfigServers configServers() {
+ if (this.configServers == null) {
+ this.configServers = new ConfigServersImpl(clientObject.getConfigServers(), this);
+ }
+ return configServers;
+ }
+
+ /** @return Resource collection API of ConfigurationServices. */
+ public ConfigurationServices configurationServices() {
+ if (this.configurationServices == null) {
+ this.configurationServices = new ConfigurationServicesImpl(clientObject.getConfigurationServices(), this);
+ }
+ return configurationServices;
+ }
+
+ /** @return Resource collection API of ServiceRegistries. */
+ public ServiceRegistries serviceRegistries() {
+ if (this.serviceRegistries == null) {
+ this.serviceRegistries = new ServiceRegistriesImpl(clientObject.getServiceRegistries(), this);
+ }
+ return serviceRegistries;
+ }
+
+ /** @return Resource collection API of BuildServices. */
+ public BuildServices buildServices() {
+ if (this.buildServices == null) {
+ this.buildServices = new BuildServicesImpl(clientObject.getBuildServices(), this);
+ }
+ return buildServices;
+ }
+
+ /** @return Resource collection API of BuildpackBindings. */
+ public BuildpackBindings buildpackBindings() {
+ if (this.buildpackBindings == null) {
+ this.buildpackBindings = new BuildpackBindingsImpl(clientObject.getBuildpackBindings(), this);
+ }
+ return buildpackBindings;
+ }
+
+ /** @return Resource collection API of BuildServiceBuilders. */
+ public BuildServiceBuilders buildServiceBuilders() {
+ if (this.buildServiceBuilders == null) {
+ this.buildServiceBuilders = new BuildServiceBuildersImpl(clientObject.getBuildServiceBuilders(), this);
+ }
+ return buildServiceBuilders;
+ }
+
+ /** @return Resource collection API of BuildServiceAgentPools. */
+ public BuildServiceAgentPools buildServiceAgentPools() {
+ if (this.buildServiceAgentPools == null) {
+ this.buildServiceAgentPools =
+ new BuildServiceAgentPoolsImpl(clientObject.getBuildServiceAgentPools(), this);
+ }
+ return buildServiceAgentPools;
+ }
+
+ /** @return Resource collection API of MonitoringSettings. */
+ public MonitoringSettings monitoringSettings() {
+ if (this.monitoringSettings == null) {
+ this.monitoringSettings = new MonitoringSettingsImpl(clientObject.getMonitoringSettings(), this);
+ }
+ return monitoringSettings;
+ }
+
+ /** @return Resource collection API of Apps. */
+ public Apps apps() {
+ if (this.apps == null) {
+ this.apps = new AppsImpl(clientObject.getApps(), this);
+ }
+ return apps;
+ }
+
+ /** @return Resource collection API of Bindings. */
+ public Bindings bindings() {
+ if (this.bindings == null) {
+ this.bindings = new BindingsImpl(clientObject.getBindings(), this);
+ }
+ return bindings;
+ }
+
+ /** @return Resource collection API of Storages. */
+ public Storages storages() {
+ if (this.storages == null) {
+ this.storages = new StoragesImpl(clientObject.getStorages(), this);
+ }
+ return storages;
+ }
+
+ /** @return Resource collection API of Certificates. */
+ public Certificates certificates() {
+ if (this.certificates == null) {
+ this.certificates = new CertificatesImpl(clientObject.getCertificates(), this);
+ }
+ return certificates;
+ }
+
+ /** @return Resource collection API of CustomDomains. */
+ public CustomDomains customDomains() {
+ if (this.customDomains == null) {
+ this.customDomains = new CustomDomainsImpl(clientObject.getCustomDomains(), this);
+ }
+ return customDomains;
+ }
+
+ /** @return Resource collection API of Deployments. */
+ public Deployments deployments() {
+ if (this.deployments == null) {
+ this.deployments = new DeploymentsImpl(clientObject.getDeployments(), this);
+ }
+ return deployments;
+ }
+
+ /** @return Resource collection API of Operations. */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
+ /** @return Resource collection API of RuntimeVersions. */
+ public RuntimeVersions runtimeVersions() {
+ if (this.runtimeVersions == null) {
+ this.runtimeVersions = new RuntimeVersionsImpl(clientObject.getRuntimeVersions(), this);
+ }
+ return runtimeVersions;
+ }
+
+ /** @return Resource collection API of Skus. */
+ public Skus skus() {
+ if (this.skus == null) {
+ this.skus = new SkusImpl(clientObject.getSkus(), this);
+ }
+ return skus;
+ }
+
+ /** @return Resource collection API of Gateways. */
+ public Gateways gateways() {
+ if (this.gateways == null) {
+ this.gateways = new GatewaysImpl(clientObject.getGateways(), this);
+ }
+ return gateways;
+ }
+
+ /** @return Resource collection API of GatewayRouteConfigs. */
+ public GatewayRouteConfigs gatewayRouteConfigs() {
+ if (this.gatewayRouteConfigs == null) {
+ this.gatewayRouteConfigs = new GatewayRouteConfigsImpl(clientObject.getGatewayRouteConfigs(), this);
+ }
+ return gatewayRouteConfigs;
+ }
+
+ /** @return Resource collection API of GatewayCustomDomains. */
+ public GatewayCustomDomains gatewayCustomDomains() {
+ if (this.gatewayCustomDomains == null) {
+ this.gatewayCustomDomains = new GatewayCustomDomainsImpl(clientObject.getGatewayCustomDomains(), this);
+ }
+ return gatewayCustomDomains;
+ }
+
+ /** @return Resource collection API of ApiPortals. */
+ public ApiPortals apiPortals() {
+ if (this.apiPortals == null) {
+ this.apiPortals = new ApiPortalsImpl(clientObject.getApiPortals(), this);
+ }
+ return apiPortals;
+ }
+
+ /** @return Resource collection API of ApiPortalCustomDomains. */
+ public ApiPortalCustomDomains apiPortalCustomDomains() {
+ if (this.apiPortalCustomDomains == null) {
+ this.apiPortalCustomDomains =
+ new ApiPortalCustomDomainsImpl(clientObject.getApiPortalCustomDomains(), this);
+ }
+ return apiPortalCustomDomains;
+ }
+
+ /**
+ * @return Wrapped service client AppPlatformManagementClient providing direct access to the underlying
+ * auto-generated API implementation, based on Azure REST API.
+ */
+ public AppPlatformManagementClient serviceClient() {
+ return this.clientObject;
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ApiPortalCustomDomainsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ApiPortalCustomDomainsClient.java
new file mode 100644
index 0000000000000..2b22d63f0abce
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ApiPortalCustomDomainsClient.java
@@ -0,0 +1,244 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ApiPortalCustomDomainResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ApiPortalCustomDomainsClient. */
+public interface ApiPortalCustomDomainsClient {
+ /**
+ * Get the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal custom domain.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiPortalCustomDomainResourceInner get(
+ String resourceGroupName, String serviceName, String apiPortalName, String domainName);
+
+ /**
+ * Get the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal custom domain along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String apiPortalName, String domainName, Context context);
+
+ /**
+ * Create or update the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param apiPortalCustomDomainResource The API portal custom domain for the create or update 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 custom domain of the API portal along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ApiPortalCustomDomainResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String apiPortalName,
+ String domainName,
+ ApiPortalCustomDomainResourceInner apiPortalCustomDomainResource);
+
+ /**
+ * Create or update the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param apiPortalCustomDomainResource The API portal custom domain for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return custom domain of the API portal along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ApiPortalCustomDomainResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String apiPortalName,
+ String domainName,
+ ApiPortalCustomDomainResourceInner apiPortalCustomDomainResource,
+ Context context);
+
+ /**
+ * Create or update the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param apiPortalCustomDomainResource The API portal custom domain for the create or update 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 custom domain of the API portal.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiPortalCustomDomainResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String apiPortalName,
+ String domainName,
+ ApiPortalCustomDomainResourceInner apiPortalCustomDomainResource);
+
+ /**
+ * Create or update the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param apiPortalCustomDomainResource The API portal custom domain for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return custom domain of the API portal.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiPortalCustomDomainResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String apiPortalName,
+ String domainName,
+ ApiPortalCustomDomainResourceInner apiPortalCustomDomainResource,
+ Context context);
+
+ /**
+ * Delete the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String apiPortalName, String domainName);
+
+ /**
+ * Delete the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String apiPortalName, String domainName, Context context);
+
+ /**
+ * Delete the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String apiPortalName, String domainName);
+
+ /**
+ * Delete the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String apiPortalName, String domainName, Context context);
+
+ /**
+ * Handle requests to list all API portal custom domains.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of API portal custom domain resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String apiPortalName);
+
+ /**
+ * Handle requests to list all API portal custom domains.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @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 object that includes an array of API portal custom domain resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String apiPortalName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ApiPortalsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ApiPortalsClient.java
new file mode 100644
index 0000000000000..0b5cffb17e13b
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ApiPortalsClient.java
@@ -0,0 +1,262 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ApiPortalResourceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.CustomDomainValidateResultInner;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainValidatePayload;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ApiPortalsClient. */
+public interface ApiPortalsClient {
+ /**
+ * Get the API portal and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiPortalResourceInner get(String resourceGroupName, String serviceName, String apiPortalName);
+
+ /**
+ * Get the API portal and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String apiPortalName, Context context);
+
+ /**
+ * Create the default API portal or update the existing API portal.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param apiPortalResource The API portal for the create or update 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 aPI portal resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ApiPortalResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, String apiPortalName, ApiPortalResourceInner apiPortalResource);
+
+ /**
+ * Create the default API portal or update the existing API portal.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param apiPortalResource The API portal for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return aPI portal resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ApiPortalResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String apiPortalName,
+ ApiPortalResourceInner apiPortalResource,
+ Context context);
+
+ /**
+ * Create the default API portal or update the existing API portal.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param apiPortalResource The API portal for the create or update 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 aPI portal resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiPortalResourceInner createOrUpdate(
+ String resourceGroupName, String serviceName, String apiPortalName, ApiPortalResourceInner apiPortalResource);
+
+ /**
+ * Create the default API portal or update the existing API portal.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param apiPortalResource The API portal for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return aPI portal resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ApiPortalResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String apiPortalName,
+ ApiPortalResourceInner apiPortalResource,
+ Context context);
+
+ /**
+ * Delete the default API portal.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, String apiPortalName);
+
+ /**
+ * Delete the default API portal.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String apiPortalName, Context context);
+
+ /**
+ * Delete the default API portal.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String apiPortalName);
+
+ /**
+ * Delete the default API portal.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String apiPortalName, Context context);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of API portal resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of API portal resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Check the domains are valid as well as not in use.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param validatePayload Custom domain payload to be validated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return validation result for custom domain.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CustomDomainValidateResultInner validateDomain(
+ String resourceGroupName,
+ String serviceName,
+ String apiPortalName,
+ CustomDomainValidatePayload validatePayload);
+
+ /**
+ * Check the domains are valid as well as not in use.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param validatePayload Custom domain payload to be validated.
+ * @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 validation result for custom domain along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response validateDomainWithResponse(
+ String resourceGroupName,
+ String serviceName,
+ String apiPortalName,
+ CustomDomainValidatePayload validatePayload,
+ Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/AppPlatformManagementClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/AppPlatformManagementClient.java
new file mode 100644
index 0000000000000..e8a3760e1906e
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/AppPlatformManagementClient.java
@@ -0,0 +1,208 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.http.HttpPipeline;
+import java.time.Duration;
+
+/** The interface for AppPlatformManagementClient class. */
+public interface AppPlatformManagementClient {
+ /**
+ * Gets Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms
+ * part of the URI for every service call.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ String getEndpoint();
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ String getApiVersion();
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ HttpPipeline getHttpPipeline();
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ Duration getDefaultPollInterval();
+
+ /**
+ * Gets the ServicesClient object to access its operations.
+ *
+ * @return the ServicesClient object.
+ */
+ ServicesClient getServices();
+
+ /**
+ * Gets the ConfigServersClient object to access its operations.
+ *
+ * @return the ConfigServersClient object.
+ */
+ ConfigServersClient getConfigServers();
+
+ /**
+ * Gets the ConfigurationServicesClient object to access its operations.
+ *
+ * @return the ConfigurationServicesClient object.
+ */
+ ConfigurationServicesClient getConfigurationServices();
+
+ /**
+ * Gets the ServiceRegistriesClient object to access its operations.
+ *
+ * @return the ServiceRegistriesClient object.
+ */
+ ServiceRegistriesClient getServiceRegistries();
+
+ /**
+ * Gets the BuildServicesClient object to access its operations.
+ *
+ * @return the BuildServicesClient object.
+ */
+ BuildServicesClient getBuildServices();
+
+ /**
+ * Gets the BuildpackBindingsClient object to access its operations.
+ *
+ * @return the BuildpackBindingsClient object.
+ */
+ BuildpackBindingsClient getBuildpackBindings();
+
+ /**
+ * Gets the BuildServiceBuildersClient object to access its operations.
+ *
+ * @return the BuildServiceBuildersClient object.
+ */
+ BuildServiceBuildersClient getBuildServiceBuilders();
+
+ /**
+ * Gets the BuildServiceAgentPoolsClient object to access its operations.
+ *
+ * @return the BuildServiceAgentPoolsClient object.
+ */
+ BuildServiceAgentPoolsClient getBuildServiceAgentPools();
+
+ /**
+ * Gets the MonitoringSettingsClient object to access its operations.
+ *
+ * @return the MonitoringSettingsClient object.
+ */
+ MonitoringSettingsClient getMonitoringSettings();
+
+ /**
+ * Gets the AppsClient object to access its operations.
+ *
+ * @return the AppsClient object.
+ */
+ AppsClient getApps();
+
+ /**
+ * Gets the BindingsClient object to access its operations.
+ *
+ * @return the BindingsClient object.
+ */
+ BindingsClient getBindings();
+
+ /**
+ * Gets the StoragesClient object to access its operations.
+ *
+ * @return the StoragesClient object.
+ */
+ StoragesClient getStorages();
+
+ /**
+ * Gets the CertificatesClient object to access its operations.
+ *
+ * @return the CertificatesClient object.
+ */
+ CertificatesClient getCertificates();
+
+ /**
+ * Gets the CustomDomainsClient object to access its operations.
+ *
+ * @return the CustomDomainsClient object.
+ */
+ CustomDomainsClient getCustomDomains();
+
+ /**
+ * Gets the DeploymentsClient object to access its operations.
+ *
+ * @return the DeploymentsClient object.
+ */
+ DeploymentsClient getDeployments();
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+
+ /**
+ * Gets the RuntimeVersionsClient object to access its operations.
+ *
+ * @return the RuntimeVersionsClient object.
+ */
+ RuntimeVersionsClient getRuntimeVersions();
+
+ /**
+ * Gets the SkusClient object to access its operations.
+ *
+ * @return the SkusClient object.
+ */
+ SkusClient getSkus();
+
+ /**
+ * Gets the GatewaysClient object to access its operations.
+ *
+ * @return the GatewaysClient object.
+ */
+ GatewaysClient getGateways();
+
+ /**
+ * Gets the GatewayRouteConfigsClient object to access its operations.
+ *
+ * @return the GatewayRouteConfigsClient object.
+ */
+ GatewayRouteConfigsClient getGatewayRouteConfigs();
+
+ /**
+ * Gets the GatewayCustomDomainsClient object to access its operations.
+ *
+ * @return the GatewayCustomDomainsClient object.
+ */
+ GatewayCustomDomainsClient getGatewayCustomDomains();
+
+ /**
+ * Gets the ApiPortalsClient object to access its operations.
+ *
+ * @return the ApiPortalsClient object.
+ */
+ ApiPortalsClient getApiPortals();
+
+ /**
+ * Gets the ApiPortalCustomDomainsClient object to access its operations.
+ *
+ * @return the ApiPortalCustomDomainsClient object.
+ */
+ ApiPortalCustomDomainsClient getApiPortalCustomDomains();
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/AppsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/AppsClient.java
new file mode 100644
index 0000000000000..16dc7feccb2c8
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/AppsClient.java
@@ -0,0 +1,439 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.AppResourceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.CustomDomainValidateResultInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ResourceUploadDefinitionInner;
+import com.azure.resourcemanager.appplatform.generated.models.ActiveDeploymentCollection;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainValidatePayload;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in AppsClient. */
+public interface AppsClient {
+ /**
+ * Get an App and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an App and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppResourceInner get(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * Get an App and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param syncStatus Indicates whether sync status.
+ * @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 App and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String appName, String syncStatus, Context context);
+
+ /**
+ * Create a new App or update an exiting App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param appResource Parameters for the create or update 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 app resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AppResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, String appName, AppResourceInner appResource);
+
+ /**
+ * Create a new App or update an exiting App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param appResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AppResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, String appName, AppResourceInner appResource, Context context);
+
+ /**
+ * Create a new App or update an exiting App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param appResource Parameters for the create or update 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 app resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppResourceInner createOrUpdate(
+ String resourceGroupName, String serviceName, String appName, AppResourceInner appResource);
+
+ /**
+ * Create a new App or update an exiting App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param appResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppResourceInner createOrUpdate(
+ String resourceGroupName, String serviceName, String appName, AppResourceInner appResource, Context context);
+
+ /**
+ * Operation to delete an App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * Operation to delete an App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String appName, Context context);
+
+ /**
+ * Operation to delete an App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * Operation to delete an App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String appName, Context context);
+
+ /**
+ * Operation to update an exiting App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param appResource Parameters for the update 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 app resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AppResourceInner> beginUpdate(
+ String resourceGroupName, String serviceName, String appName, AppResourceInner appResource);
+
+ /**
+ * Operation to update an exiting App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param appResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AppResourceInner> beginUpdate(
+ String resourceGroupName, String serviceName, String appName, AppResourceInner appResource, Context context);
+
+ /**
+ * Operation to update an exiting App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param appResource Parameters for the update 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 app resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppResourceInner update(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource);
+
+ /**
+ * Operation to update an exiting App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param appResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppResourceInner update(
+ String resourceGroupName, String serviceName, String appName, AppResourceInner appResource, Context context);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of App resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of App resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Get an resource upload URL for an App, which may be artifacts or source archive.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an resource upload URL for an App, which may be artifacts or source archive.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ResourceUploadDefinitionInner getResourceUploadUrl(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * Get an resource upload URL for an App, which may be artifacts or source archive.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an resource upload URL for an App, which may be artifacts or source archive along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getResourceUploadUrlWithResponse(
+ String resourceGroupName, String serviceName, String appName, Context context);
+
+ /**
+ * Set existing Deployment under the app as active.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param activeDeploymentCollection A list of Deployment name to be active.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AppResourceInner> beginSetActiveDeployments(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ ActiveDeploymentCollection activeDeploymentCollection);
+
+ /**
+ * Set existing Deployment under the app as active.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param activeDeploymentCollection A list of Deployment name to be active.
+ * @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 app resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AppResourceInner> beginSetActiveDeployments(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ ActiveDeploymentCollection activeDeploymentCollection,
+ Context context);
+
+ /**
+ * Set existing Deployment under the app as active.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param activeDeploymentCollection A list of Deployment name to be active.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return app resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppResourceInner setActiveDeployments(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ ActiveDeploymentCollection activeDeploymentCollection);
+
+ /**
+ * Set existing Deployment under the app as active.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param activeDeploymentCollection A list of Deployment name to be active.
+ * @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 app resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AppResourceInner setActiveDeployments(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ ActiveDeploymentCollection activeDeploymentCollection,
+ Context context);
+
+ /**
+ * Check the resource name is valid as well as not in use.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param validatePayload Custom domain payload to be validated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return validation result for custom domain.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CustomDomainValidateResultInner validateDomain(
+ String resourceGroupName, String serviceName, String appName, CustomDomainValidatePayload validatePayload);
+
+ /**
+ * Check the resource name is valid as well as not in use.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param validatePayload Custom domain payload to be validated.
+ * @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 validation result for custom domain along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response validateDomainWithResponse(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ CustomDomainValidatePayload validatePayload,
+ Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BindingsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BindingsClient.java
new file mode 100644
index 0000000000000..b4f58eb51e838
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BindingsClient.java
@@ -0,0 +1,334 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.BindingResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in BindingsClient. */
+public interface BindingsClient {
+ /**
+ * Get a Binding and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Binding and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BindingResourceInner get(String resourceGroupName, String serviceName, String appName, String bindingName);
+
+ /**
+ * Get a Binding and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Binding and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String appName, String bindingName, Context context);
+
+ /**
+ * Create a new Binding or update an exiting Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param bindingResource Parameters for the create or update 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 binding resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BindingResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String bindingName,
+ BindingResourceInner bindingResource);
+
+ /**
+ * Create a new Binding or update an exiting Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param bindingResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return binding resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BindingResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String bindingName,
+ BindingResourceInner bindingResource,
+ Context context);
+
+ /**
+ * Create a new Binding or update an exiting Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param bindingResource Parameters for the create or update 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 binding resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BindingResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String bindingName,
+ BindingResourceInner bindingResource);
+
+ /**
+ * Create a new Binding or update an exiting Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param bindingResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return binding resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BindingResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String bindingName,
+ BindingResourceInner bindingResource,
+ Context context);
+
+ /**
+ * Operation to delete a Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String appName, String bindingName);
+
+ /**
+ * Operation to delete a Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String appName, String bindingName, Context context);
+
+ /**
+ * Operation to delete a Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String appName, String bindingName);
+
+ /**
+ * Operation to delete a Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String appName, String bindingName, Context context);
+
+ /**
+ * Operation to update an exiting Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param bindingResource Parameters for the update 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 binding resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BindingResourceInner> beginUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String bindingName,
+ BindingResourceInner bindingResource);
+
+ /**
+ * Operation to update an exiting Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param bindingResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return binding resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BindingResourceInner> beginUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String bindingName,
+ BindingResourceInner bindingResource,
+ Context context);
+
+ /**
+ * Operation to update an exiting Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param bindingResource Parameters for the update 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 binding resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BindingResourceInner update(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String bindingName,
+ BindingResourceInner bindingResource);
+
+ /**
+ * Operation to update an exiting Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param bindingName The name of the Binding resource.
+ * @param bindingResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return binding resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BindingResourceInner update(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String bindingName,
+ BindingResourceInner bindingResource,
+ Context context);
+
+ /**
+ * Handles requests to list all resources in an App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Binding resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * Handles requests to list all resources in an App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Binding resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String appName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServiceAgentPoolsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServiceAgentPoolsClient.java
new file mode 100644
index 0000000000000..ec8cb05424293
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServiceAgentPoolsClient.java
@@ -0,0 +1,180 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.BuildServiceAgentPoolResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in BuildServiceAgentPoolsClient. */
+public interface BuildServiceAgentPoolsClient {
+ /**
+ * List build service agent pool.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of build service agent pool resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String buildServiceName);
+
+ /**
+ * List build service agent pool.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of build service agent pool resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String buildServiceName, Context context);
+
+ /**
+ * Get build service agent pool.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param agentPoolName The name of the build service agent pool resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return build service agent pool.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildServiceAgentPoolResourceInner get(
+ String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName);
+
+ /**
+ * Get build service agent pool.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param agentPoolName The name of the build service agent pool resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return build service agent pool along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, Context context);
+
+ /**
+ * Create or update build service agent pool.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param agentPoolName The name of the build service agent pool resource.
+ * @param agentPoolResource Parameters for the update operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the build service agent pool resource along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BuildServiceAgentPoolResourceInner> beginUpdatePut(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String agentPoolName,
+ BuildServiceAgentPoolResourceInner agentPoolResource);
+
+ /**
+ * Create or update build service agent pool.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param agentPoolName The name of the build service agent pool resource.
+ * @param agentPoolResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the build service agent pool resource along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BuildServiceAgentPoolResourceInner> beginUpdatePut(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String agentPoolName,
+ BuildServiceAgentPoolResourceInner agentPoolResource,
+ Context context);
+
+ /**
+ * Create or update build service agent pool.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param agentPoolName The name of the build service agent pool resource.
+ * @param agentPoolResource Parameters for the update operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the build service agent pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildServiceAgentPoolResourceInner updatePut(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String agentPoolName,
+ BuildServiceAgentPoolResourceInner agentPoolResource);
+
+ /**
+ * Create or update build service agent pool.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param agentPoolName The name of the build service agent pool resource.
+ * @param agentPoolResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the build service agent pool resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildServiceAgentPoolResourceInner updatePut(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String agentPoolName,
+ BuildServiceAgentPoolResourceInner agentPoolResource,
+ Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServiceBuildersClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServiceBuildersClient.java
new file mode 100644
index 0000000000000..1643ce7c9c985
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServiceBuildersClient.java
@@ -0,0 +1,243 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.BuilderResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in BuildServiceBuildersClient. */
+public interface BuildServiceBuildersClient {
+ /**
+ * Get a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a KPack builder.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuilderResourceInner get(String resourceGroupName, String serviceName, String buildServiceName, String builderName);
+
+ /**
+ * Get a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a KPack builder along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, String builderName, Context context);
+
+ /**
+ * Create or update a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param builderResource The target builder for the create or update 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 kPack Builder resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BuilderResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ BuilderResourceInner builderResource);
+
+ /**
+ * Create or update a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param builderResource The target builder for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return kPack Builder resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BuilderResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ BuilderResourceInner builderResource,
+ Context context);
+
+ /**
+ * Create or update a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param builderResource The target builder for the create or update 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 kPack Builder resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuilderResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ BuilderResourceInner builderResource);
+
+ /**
+ * Create or update a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param builderResource The target builder for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return kPack Builder resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuilderResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ BuilderResourceInner builderResource,
+ Context context);
+
+ /**
+ * Delete a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String buildServiceName, String builderName);
+
+ /**
+ * Delete a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String buildServiceName, String builderName, Context context);
+
+ /**
+ * Delete a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String buildServiceName, String builderName);
+
+ /**
+ * Delete a KPack builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(
+ String resourceGroupName, String serviceName, String buildServiceName, String builderName, Context context);
+
+ /**
+ * List KPack builders result.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Builder resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, String buildServiceName);
+
+ /**
+ * List KPack builders result.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Builder resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String buildServiceName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServicesClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServicesClient.java
new file mode 100644
index 0000000000000..a4ce96036868b
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildServicesClient.java
@@ -0,0 +1,489 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.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.appplatform.generated.fluent.models.BuildInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.BuildResultInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.BuildResultLogInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.BuildServiceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ResourceUploadDefinitionInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.SupportedBuildpackResourceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.SupportedBuildpacksCollectionInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.SupportedStackResourceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.SupportedStacksCollectionInner;
+
+/** An instance of this class provides access to all the operations defined in BuildServicesClient. */
+public interface BuildServicesClient {
+ /**
+ * List build services resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Build service resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBuildServices(String resourceGroupName, String serviceName);
+
+ /**
+ * List build services resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Build service resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBuildServices(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Get a build service resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a build service resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildServiceInner getBuildService(String resourceGroupName, String serviceName, String buildServiceName);
+
+ /**
+ * Get a build service resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a build service resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getBuildServiceWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, Context context);
+
+ /**
+ * List KPack builds.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Build resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBuilds(String resourceGroupName, String serviceName, String buildServiceName);
+
+ /**
+ * List KPack builds.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Build resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBuilds(
+ String resourceGroupName, String serviceName, String buildServiceName, Context context);
+
+ /**
+ * Get a KPack build.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a KPack build.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildInner getBuild(String resourceGroupName, String serviceName, String buildServiceName, String buildName);
+
+ /**
+ * Get a KPack build.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a KPack build along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getBuildWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, String buildName, Context context);
+
+ /**
+ * Create or update a KPack build.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @param build Parameters for the create or update 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 build resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildInner createOrUpdateBuild(
+ String resourceGroupName, String serviceName, String buildServiceName, String buildName, BuildInner build);
+
+ /**
+ * Create or update a KPack build.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @param build Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return build resource payload along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response createOrUpdateBuildWithResponse(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String buildName,
+ BuildInner build,
+ Context context);
+
+ /**
+ * List KPack build results.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Build result resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBuildResults(
+ String resourceGroupName, String serviceName, String buildServiceName, String buildName);
+
+ /**
+ * List KPack build results.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Build result resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listBuildResults(
+ String resourceGroupName, String serviceName, String buildServiceName, String buildName, Context context);
+
+ /**
+ * Get a KPack build result.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @param buildResultName The name of the build result resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a KPack build result.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildResultInner getBuildResult(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String buildName,
+ String buildResultName);
+
+ /**
+ * Get a KPack build result.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @param buildResultName The name of the build result resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a KPack build result along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getBuildResultWithResponse(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String buildName,
+ String buildResultName,
+ Context context);
+
+ /**
+ * Get a KPack build result log download URL.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @param buildResultName The name of the build result resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a KPack build result log download URL.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildResultLogInner getBuildResultLog(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String buildName,
+ String buildResultName);
+
+ /**
+ * Get a KPack build result log download URL.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildName The name of the build resource.
+ * @param buildResultName The name of the build result resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a KPack build result log download URL along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getBuildResultLogWithResponse(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String buildName,
+ String buildResultName,
+ Context context);
+
+ /**
+ * Get an resource upload URL for build service, which may be artifacts or source archive.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an resource upload URL for build service, which may be artifacts or source archive.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ResourceUploadDefinitionInner getResourceUploadUrl(
+ String resourceGroupName, String serviceName, String buildServiceName);
+
+ /**
+ * Get an resource upload URL for build service, which may be artifacts or source archive.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return an resource upload URL for build service, which may be artifacts or source archive along with {@link
+ * Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getResourceUploadUrlWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, Context context);
+
+ /**
+ * Get all supported buildpacks.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all supported buildpacks.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SupportedBuildpacksCollectionInner listSupportedBuildpacks(
+ String resourceGroupName, String serviceName, String buildServiceName);
+
+ /**
+ * Get all supported buildpacks.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all supported buildpacks along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listSupportedBuildpacksWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, Context context);
+
+ /**
+ * Get the supported buildpack resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildpackName The name of the buildpack resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the supported buildpack resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SupportedBuildpackResourceInner getSupportedBuildpack(
+ String resourceGroupName, String serviceName, String buildServiceName, String buildpackName);
+
+ /**
+ * Get the supported buildpack resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param buildpackName The name of the buildpack resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the supported buildpack resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getSupportedBuildpackWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, String buildpackName, Context context);
+
+ /**
+ * Get all supported stacks.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all supported stacks.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SupportedStacksCollectionInner listSupportedStacks(
+ String resourceGroupName, String serviceName, String buildServiceName);
+
+ /**
+ * Get all supported stacks.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all supported stacks along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listSupportedStacksWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, Context context);
+
+ /**
+ * Get the supported stack resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param stackName The name of the stack resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the supported stack resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SupportedStackResourceInner getSupportedStack(
+ String resourceGroupName, String serviceName, String buildServiceName, String stackName);
+
+ /**
+ * Get the supported stack resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param stackName The name of the stack resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the supported stack resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getSupportedStackWithResponse(
+ String resourceGroupName, String serviceName, String buildServiceName, String stackName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildpackBindingsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildpackBindingsClient.java
new file mode 100644
index 0000000000000..4fe95d07818b7
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BuildpackBindingsClient.java
@@ -0,0 +1,289 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.BuildpackBindingResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in BuildpackBindingsClient. */
+public interface BuildpackBindingsClient {
+ /**
+ * Get a buildpack binding by name.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a buildpack binding by name.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildpackBindingResourceInner get(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName);
+
+ /**
+ * Get a buildpack binding by name.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a buildpack binding by name along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName,
+ Context context);
+
+ /**
+ * Create or update a buildpack binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @param buildpackBinding The target buildpack binding for the create or update 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 buildpack Binding Resource object along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BuildpackBindingResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName,
+ BuildpackBindingResourceInner buildpackBinding);
+
+ /**
+ * Create or update a buildpack binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @param buildpackBinding The target buildpack binding for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return buildpack Binding Resource object along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, BuildpackBindingResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName,
+ BuildpackBindingResourceInner buildpackBinding,
+ Context context);
+
+ /**
+ * Create or update a buildpack binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @param buildpackBinding The target buildpack binding for the create or update 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 buildpack Binding Resource object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildpackBindingResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName,
+ BuildpackBindingResourceInner buildpackBinding);
+
+ /**
+ * Create or update a buildpack binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @param buildpackBinding The target buildpack binding for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return buildpack Binding Resource object.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ BuildpackBindingResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName,
+ BuildpackBindingResourceInner buildpackBinding,
+ Context context);
+
+ /**
+ * Operation to delete a Buildpack Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName);
+
+ /**
+ * Operation to delete a Buildpack Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName,
+ Context context);
+
+ /**
+ * Operation to delete a Buildpack Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName);
+
+ /**
+ * Operation to delete a Buildpack Binding.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param buildpackBindingName The name of the Buildpack Binding Name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(
+ String resourceGroupName,
+ String serviceName,
+ String buildServiceName,
+ String builderName,
+ String buildpackBindingName,
+ Context context);
+
+ /**
+ * Handles requests to list all buildpack bindings in a builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of BuildpackBinding resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String buildServiceName, String builderName);
+
+ /**
+ * Handles requests to list all buildpack bindings in a builder.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param buildServiceName The name of the build service resource.
+ * @param builderName The name of the builder resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of BuildpackBinding resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String buildServiceName, String builderName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/CertificatesClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/CertificatesClient.java
new file mode 100644
index 0000000000000..5e82a441acf49
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/CertificatesClient.java
@@ -0,0 +1,225 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.CertificateResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in CertificatesClient. */
+public interface CertificatesClient {
+ /**
+ * Get the certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the certificate resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CertificateResourceInner get(String resourceGroupName, String serviceName, String certificateName);
+
+ /**
+ * Get the certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the certificate resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String certificateName, Context context);
+
+ /**
+ * Create or update certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @param certificateResource Parameters for the create or update 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 certificate resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CertificateResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String certificateName,
+ CertificateResourceInner certificateResource);
+
+ /**
+ * Create or update certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @param certificateResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CertificateResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String certificateName,
+ CertificateResourceInner certificateResource,
+ Context context);
+
+ /**
+ * Create or update certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @param certificateResource Parameters for the create or update 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 certificate resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CertificateResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String certificateName,
+ CertificateResourceInner certificateResource);
+
+ /**
+ * Create or update certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @param certificateResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return certificate resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CertificateResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String certificateName,
+ CertificateResourceInner certificateResource,
+ Context context);
+
+ /**
+ * Delete the certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String certificateName);
+
+ /**
+ * Delete the certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String certificateName, Context context);
+
+ /**
+ * Delete the certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String certificateName);
+
+ /**
+ * Delete the certificate resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param certificateName The name of the certificate resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String certificateName, Context context);
+
+ /**
+ * List all the certificates of one user.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection compose of certificate resources list and a possible link for next page.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName);
+
+ /**
+ * List all the certificates of one user.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection compose of certificate resources list and a possible link for next page.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ConfigServersClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ConfigServersClient.java
new file mode 100644
index 0000000000000..92d8d3a9ede67
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ConfigServersClient.java
@@ -0,0 +1,249 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ConfigServerResourceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ConfigServerSettingsValidateResultInner;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerSettings;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ConfigServersClient. */
+public interface ConfigServersClient {
+ /**
+ * Get the config server and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the config server and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigServerResourceInner get(String resourceGroupName, String serviceName);
+
+ /**
+ * Get the config server and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the config server and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Update the config server.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerResource Parameters for the update 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 config Server resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigServerResourceInner> beginUpdatePut(
+ String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource);
+
+ /**
+ * Update the config server.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return config Server resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigServerResourceInner> beginUpdatePut(
+ String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource, Context context);
+
+ /**
+ * Update the config server.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerResource Parameters for the update 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 config Server resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigServerResourceInner updatePut(
+ String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource);
+
+ /**
+ * Update the config server.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return config Server resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigServerResourceInner updatePut(
+ String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource, Context context);
+
+ /**
+ * Update the config server.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerResource Parameters for the update 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 config Server resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigServerResourceInner> beginUpdatePatch(
+ String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource);
+
+ /**
+ * Update the config server.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return config Server resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigServerResourceInner> beginUpdatePatch(
+ String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource, Context context);
+
+ /**
+ * Update the config server.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerResource Parameters for the update 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 config Server resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigServerResourceInner updatePatch(
+ String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource);
+
+ /**
+ * Update the config server.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return config Server resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigServerResourceInner updatePatch(
+ String resourceGroupName, String serviceName, ConfigServerResourceInner configServerResource, Context context);
+
+ /**
+ * Check if the config server settings are valid.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerSettings Config server settings to be validated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return validation result for config server settings along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigServerSettingsValidateResultInner>
+ beginValidate(String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings);
+
+ /**
+ * Check if the config server settings are valid.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerSettings Config server settings to be validated.
+ * @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 validation result for config server settings along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigServerSettingsValidateResultInner>
+ beginValidate(
+ String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings, Context context);
+
+ /**
+ * Check if the config server settings are valid.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerSettings Config server settings to be validated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return validation result for config server settings.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigServerSettingsValidateResultInner validate(
+ String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings);
+
+ /**
+ * Check if the config server settings are valid.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configServerSettings Config server settings to be validated.
+ * @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 validation result for config server settings.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigServerSettingsValidateResultInner validate(
+ String resourceGroupName, String serviceName, ConfigServerSettings configServerSettings, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ConfigurationServicesClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ConfigurationServicesClient.java
new file mode 100644
index 0000000000000..c9c93e57009a0
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ConfigurationServicesClient.java
@@ -0,0 +1,323 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ConfigurationServiceResourceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ConfigurationServiceSettingsValidateResultInner;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceSettings;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ConfigurationServicesClient. */
+public interface ConfigurationServicesClient {
+ /**
+ * Get the Application Configuration Service and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Application Configuration Service and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigurationServiceResourceInner get(
+ String resourceGroupName, String serviceName, String configurationServiceName);
+
+ /**
+ * Get the Application Configuration Service and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Application Configuration Service and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String configurationServiceName, Context context);
+
+ /**
+ * Create the default Application Configuration Service or update the existing Application Configuration Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param configurationServiceResource Parameters for the update 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 application Configuration Service resource along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigurationServiceResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String configurationServiceName,
+ ConfigurationServiceResourceInner configurationServiceResource);
+
+ /**
+ * Create the default Application Configuration Service or update the existing Application Configuration Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param configurationServiceResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return application Configuration Service resource along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ConfigurationServiceResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String configurationServiceName,
+ ConfigurationServiceResourceInner configurationServiceResource,
+ Context context);
+
+ /**
+ * Create the default Application Configuration Service or update the existing Application Configuration Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param configurationServiceResource Parameters for the update 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 application Configuration Service resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigurationServiceResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String configurationServiceName,
+ ConfigurationServiceResourceInner configurationServiceResource);
+
+ /**
+ * Create the default Application Configuration Service or update the existing Application Configuration Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param configurationServiceResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return application Configuration Service resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigurationServiceResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String configurationServiceName,
+ ConfigurationServiceResourceInner configurationServiceResource,
+ Context context);
+
+ /**
+ * Disable the default Application Configuration Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String configurationServiceName);
+
+ /**
+ * Disable the default Application Configuration Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String configurationServiceName, Context context);
+
+ /**
+ * Disable the default Application Configuration Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String configurationServiceName);
+
+ /**
+ * Disable the default Application Configuration Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String configurationServiceName, Context context);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of configuration service resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of configuration service resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Check if the Application Configuration Service settings are valid.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param settings Application Configuration Service settings to be validated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return validation result for configuration service settings along with {@link Response} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller<
+ PollResult,
+ ConfigurationServiceSettingsValidateResultInner>
+ beginValidate(
+ String resourceGroupName,
+ String serviceName,
+ String configurationServiceName,
+ ConfigurationServiceSettings settings);
+
+ /**
+ * Check if the Application Configuration Service settings are valid.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param settings Application Configuration Service settings to be validated.
+ * @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 validation result for configuration service settings along with {@link Response} on successful completion
+ * of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller<
+ PollResult,
+ ConfigurationServiceSettingsValidateResultInner>
+ beginValidate(
+ String resourceGroupName,
+ String serviceName,
+ String configurationServiceName,
+ ConfigurationServiceSettings settings,
+ Context context);
+
+ /**
+ * Check if the Application Configuration Service settings are valid.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param settings Application Configuration Service settings to be validated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return validation result for configuration service settings.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigurationServiceSettingsValidateResultInner validate(
+ String resourceGroupName,
+ String serviceName,
+ String configurationServiceName,
+ ConfigurationServiceSettings settings);
+
+ /**
+ * Check if the Application Configuration Service settings are valid.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param configurationServiceName The name of Application Configuration Service.
+ * @param settings Application Configuration Service settings to be validated.
+ * @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 validation result for configuration service settings.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ConfigurationServiceSettingsValidateResultInner validate(
+ String resourceGroupName,
+ String serviceName,
+ String configurationServiceName,
+ ConfigurationServiceSettings settings,
+ Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/CustomDomainsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/CustomDomainsClient.java
new file mode 100644
index 0000000000000..80008233614e0
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/CustomDomainsClient.java
@@ -0,0 +1,334 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.CustomDomainResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in CustomDomainsClient. */
+public interface CustomDomainsClient {
+ /**
+ * Get the custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the custom domain of one lifecycle application.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CustomDomainResourceInner get(String resourceGroupName, String serviceName, String appName, String domainName);
+
+ /**
+ * Get the custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the custom domain of one lifecycle application along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String appName, String domainName, Context context);
+
+ /**
+ * Create or update custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param domainResource Parameters for the create or update 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 custom domain resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CustomDomainResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String domainName,
+ CustomDomainResourceInner domainResource);
+
+ /**
+ * Create or update custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param domainResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return custom domain resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CustomDomainResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String domainName,
+ CustomDomainResourceInner domainResource,
+ Context context);
+
+ /**
+ * Create or update custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param domainResource Parameters for the create or update 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 custom domain resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CustomDomainResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String domainName,
+ CustomDomainResourceInner domainResource);
+
+ /**
+ * Create or update custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param domainResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return custom domain resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CustomDomainResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String domainName,
+ CustomDomainResourceInner domainResource,
+ Context context);
+
+ /**
+ * Delete the custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String appName, String domainName);
+
+ /**
+ * Delete the custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String appName, String domainName, Context context);
+
+ /**
+ * Delete the custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String appName, String domainName);
+
+ /**
+ * Delete the custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String appName, String domainName, Context context);
+
+ /**
+ * Update custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param domainResource Parameters for the create or update 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 custom domain resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CustomDomainResourceInner> beginUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String domainName,
+ CustomDomainResourceInner domainResource);
+
+ /**
+ * Update custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param domainResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return custom domain resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CustomDomainResourceInner> beginUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String domainName,
+ CustomDomainResourceInner domainResource,
+ Context context);
+
+ /**
+ * Update custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param domainResource Parameters for the create or update 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 custom domain resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CustomDomainResourceInner update(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String domainName,
+ CustomDomainResourceInner domainResource);
+
+ /**
+ * Update custom domain of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param domainName The name of the custom domain resource.
+ * @param domainResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return custom domain resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CustomDomainResourceInner update(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String domainName,
+ CustomDomainResourceInner domainResource,
+ Context context);
+
+ /**
+ * List the custom domains of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection compose of a custom domain resources list and a possible link for next page.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * List the custom domains of one lifecycle application.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection compose of a custom domain resources list and a possible link for next page.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String appName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/DeploymentsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/DeploymentsClient.java
new file mode 100644
index 0000000000000..16071ab5ad203
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/DeploymentsClient.java
@@ -0,0 +1,872 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.DeploymentResourceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.LogFileUrlResponseInner;
+import com.azure.resourcemanager.appplatform.generated.models.DiagnosticParameters;
+import java.util.List;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in DeploymentsClient. */
+public interface DeploymentsClient {
+ /**
+ * Get a Deployment and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Deployment and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeploymentResourceInner get(String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Get a Deployment and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Deployment and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Create a new Deployment or update an exiting Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param deploymentResource Parameters for the create or update 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 deployment resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DeploymentResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DeploymentResourceInner deploymentResource);
+
+ /**
+ * Create a new Deployment or update an exiting Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param deploymentResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return deployment resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DeploymentResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DeploymentResourceInner deploymentResource,
+ Context context);
+
+ /**
+ * Create a new Deployment or update an exiting Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param deploymentResource Parameters for the create or update 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 deployment resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeploymentResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DeploymentResourceInner deploymentResource);
+
+ /**
+ * Create a new Deployment or update an exiting Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param deploymentResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return deployment resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeploymentResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DeploymentResourceInner deploymentResource,
+ Context context);
+
+ /**
+ * Operation to delete a Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Operation to delete a Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Operation to delete a Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Operation to delete a Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Operation to update an exiting Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param deploymentResource Parameters for the update 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 deployment resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DeploymentResourceInner> beginUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DeploymentResourceInner deploymentResource);
+
+ /**
+ * Operation to update an exiting Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param deploymentResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return deployment resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DeploymentResourceInner> beginUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DeploymentResourceInner deploymentResource,
+ Context context);
+
+ /**
+ * Operation to update an exiting Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param deploymentResource Parameters for the update 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 deployment resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeploymentResourceInner update(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DeploymentResourceInner deploymentResource);
+
+ /**
+ * Operation to update an exiting Deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param deploymentResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return deployment resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeploymentResourceInner update(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DeploymentResourceInner deploymentResource,
+ Context context);
+
+ /**
+ * Handles requests to list all resources in an App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of App resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * Handles requests to list all resources in an App.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param version Version of the deployments to be listed.
+ * @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 object that includes an array of App resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String appName, List version, Context context);
+
+ /**
+ * List deployments for a certain service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of App resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listForCluster(String resourceGroupName, String serviceName);
+
+ /**
+ * List deployments for a certain service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param version Version of the deployments to be listed.
+ * @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 object that includes an array of App resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listForCluster(
+ String resourceGroupName, String serviceName, List version, Context context);
+
+ /**
+ * Start the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStart(
+ String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Start the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStart(
+ String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Start the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void start(String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Start the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void start(String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Stop the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStop(
+ String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Stop the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStop(
+ String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Stop the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void stop(String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Stop the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void stop(String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Restart the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRestart(
+ String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Restart the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginRestart(
+ String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Restart the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void restart(String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Restart the deployment.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void restart(String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Get deployment log file URL.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return deployment log file URL.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ LogFileUrlResponseInner getLogFileUrl(
+ String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * Get deployment log file URL.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return deployment log file URL along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getLogFileUrlWithResponse(
+ String resourceGroupName, String serviceName, String appName, String deploymentName, Context context);
+
+ /**
+ * Generate Heap Dump.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginGenerateHeapDump(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters);
+
+ /**
+ * Generate Heap Dump.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginGenerateHeapDump(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters,
+ Context context);
+
+ /**
+ * Generate Heap Dump.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void generateHeapDump(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters);
+
+ /**
+ * Generate Heap Dump.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void generateHeapDump(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters,
+ Context context);
+
+ /**
+ * Generate Thread Dump.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginGenerateThreadDump(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters);
+
+ /**
+ * Generate Thread Dump.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginGenerateThreadDump(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters,
+ Context context);
+
+ /**
+ * Generate Thread Dump.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void generateThreadDump(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters);
+
+ /**
+ * Generate Thread Dump.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void generateThreadDump(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters,
+ Context context);
+
+ /**
+ * Start JFR.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStartJfr(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters);
+
+ /**
+ * Start JFR.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStartJfr(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters,
+ Context context);
+
+ /**
+ * Start JFR.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void startJfr(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters);
+
+ /**
+ * Start JFR.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param appName The name of the App resource.
+ * @param deploymentName The name of the Deployment resource.
+ * @param diagnosticParameters Parameters for the diagnostic operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void startJfr(
+ String resourceGroupName,
+ String serviceName,
+ String appName,
+ String deploymentName,
+ DiagnosticParameters diagnosticParameters,
+ Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewayCustomDomainsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewayCustomDomainsClient.java
new file mode 100644
index 0000000000000..f052952d80cb0
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewayCustomDomainsClient.java
@@ -0,0 +1,248 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.GatewayCustomDomainResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in GatewayCustomDomainsClient. */
+public interface GatewayCustomDomainsClient {
+ /**
+ * Get the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Spring Cloud Gateway custom domain.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayCustomDomainResourceInner get(
+ String resourceGroupName, String serviceName, String gatewayName, String domainName);
+
+ /**
+ * Get the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Spring Cloud Gateway custom domain along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String gatewayName, String domainName, Context context);
+
+ /**
+ * Create or update the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @param gatewayCustomDomainResource The gateway custom domain resource for the create or update 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 custom domain of the Spring Cloud Gateway along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GatewayCustomDomainResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ String domainName,
+ GatewayCustomDomainResourceInner gatewayCustomDomainResource);
+
+ /**
+ * Create or update the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @param gatewayCustomDomainResource The gateway custom domain resource for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return custom domain of the Spring Cloud Gateway along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GatewayCustomDomainResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ String domainName,
+ GatewayCustomDomainResourceInner gatewayCustomDomainResource,
+ Context context);
+
+ /**
+ * Create or update the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @param gatewayCustomDomainResource The gateway custom domain resource for the create or update 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 custom domain of the Spring Cloud Gateway.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayCustomDomainResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ String domainName,
+ GatewayCustomDomainResourceInner gatewayCustomDomainResource);
+
+ /**
+ * Create or update the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @param gatewayCustomDomainResource The gateway custom domain resource for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return custom domain of the Spring Cloud Gateway.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayCustomDomainResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ String domainName,
+ GatewayCustomDomainResourceInner gatewayCustomDomainResource,
+ Context context);
+
+ /**
+ * Delete the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String gatewayName, String domainName);
+
+ /**
+ * Delete the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String gatewayName, String domainName, Context context);
+
+ /**
+ * Delete the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String gatewayName, String domainName);
+
+ /**
+ * Delete the Spring Cloud Gateway custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param domainName The name of the Spring Cloud Gateway custom domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String gatewayName, String domainName, Context context);
+
+ /**
+ * Handle requests to list all Spring Cloud Gateway custom domains.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Spring Cloud Gateway custom domain resources and a possible link for
+ * next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String gatewayName);
+
+ /**
+ * Handle requests to list all Spring Cloud Gateway custom domains.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @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 object that includes an array of Spring Cloud Gateway custom domain resources and a possible link for
+ * next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String gatewayName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewayRouteConfigsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewayRouteConfigsClient.java
new file mode 100644
index 0000000000000..193efede99d74
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewayRouteConfigsClient.java
@@ -0,0 +1,249 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.GatewayRouteConfigResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in GatewayRouteConfigsClient. */
+public interface GatewayRouteConfigsClient {
+ /**
+ * Get the Spring Cloud Gateway route configs.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Spring Cloud Gateway route configs.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayRouteConfigResourceInner get(
+ String resourceGroupName, String serviceName, String gatewayName, String routeConfigName);
+
+ /**
+ * Get the Spring Cloud Gateway route configs.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Spring Cloud Gateway route configs along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String gatewayName, String routeConfigName, Context context);
+
+ /**
+ * Create the default Spring Cloud Gateway route configs or update the existing Spring Cloud Gateway route configs.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @param gatewayRouteConfigResource The Spring Cloud Gateway route config for the create or update 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 spring Cloud Gateway route config resource along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GatewayRouteConfigResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ String routeConfigName,
+ GatewayRouteConfigResourceInner gatewayRouteConfigResource);
+
+ /**
+ * Create the default Spring Cloud Gateway route configs or update the existing Spring Cloud Gateway route configs.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @param gatewayRouteConfigResource The Spring Cloud Gateway route config for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return spring Cloud Gateway route config resource along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GatewayRouteConfigResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ String routeConfigName,
+ GatewayRouteConfigResourceInner gatewayRouteConfigResource,
+ Context context);
+
+ /**
+ * Create the default Spring Cloud Gateway route configs or update the existing Spring Cloud Gateway route configs.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @param gatewayRouteConfigResource The Spring Cloud Gateway route config for the create or update 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 spring Cloud Gateway route config resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayRouteConfigResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ String routeConfigName,
+ GatewayRouteConfigResourceInner gatewayRouteConfigResource);
+
+ /**
+ * Create the default Spring Cloud Gateway route configs or update the existing Spring Cloud Gateway route configs.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @param gatewayRouteConfigResource The Spring Cloud Gateway route config for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return spring Cloud Gateway route config resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayRouteConfigResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ String routeConfigName,
+ GatewayRouteConfigResourceInner gatewayRouteConfigResource,
+ Context context);
+
+ /**
+ * Delete the Spring Cloud Gateway route config.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String gatewayName, String routeConfigName);
+
+ /**
+ * Delete the Spring Cloud Gateway route config.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String gatewayName, String routeConfigName, Context context);
+
+ /**
+ * Delete the Spring Cloud Gateway route config.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String gatewayName, String routeConfigName);
+
+ /**
+ * Delete the Spring Cloud Gateway route config.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param routeConfigName The name of the Spring Cloud Gateway route config.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(
+ String resourceGroupName, String serviceName, String gatewayName, String routeConfigName, Context context);
+
+ /**
+ * Handle requests to list all Spring Cloud Gateway route configs.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Spring Cloud Gateway route config resources and a possible link for next
+ * set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String gatewayName);
+
+ /**
+ * Handle requests to list all Spring Cloud Gateway route configs.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @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 object that includes an array of Spring Cloud Gateway route config resources and a possible link for next
+ * set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(
+ String resourceGroupName, String serviceName, String gatewayName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewaysClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewaysClient.java
new file mode 100644
index 0000000000000..473f4ae90774c
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/GatewaysClient.java
@@ -0,0 +1,259 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.CustomDomainValidateResultInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.GatewayResourceInner;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainValidatePayload;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in GatewaysClient. */
+public interface GatewaysClient {
+ /**
+ * Get the Spring Cloud Gateway and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Spring Cloud Gateway and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayResourceInner get(String resourceGroupName, String serviceName, String gatewayName);
+
+ /**
+ * Get the Spring Cloud Gateway and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Spring Cloud Gateway and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String gatewayName, Context context);
+
+ /**
+ * Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param gatewayResource The gateway for the create or update 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 spring Cloud Gateway resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GatewayResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, String gatewayName, GatewayResourceInner gatewayResource);
+
+ /**
+ * Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param gatewayResource The gateway for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return spring Cloud Gateway resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, GatewayResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ GatewayResourceInner gatewayResource,
+ Context context);
+
+ /**
+ * Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param gatewayResource The gateway for the create or update 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 spring Cloud Gateway resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayResourceInner createOrUpdate(
+ String resourceGroupName, String serviceName, String gatewayName, GatewayResourceInner gatewayResource);
+
+ /**
+ * Create the default Spring Cloud Gateway or update the existing Spring Cloud Gateway.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param gatewayResource The gateway for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return spring Cloud Gateway resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GatewayResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ GatewayResourceInner gatewayResource,
+ Context context);
+
+ /**
+ * Disable the default Spring Cloud Gateway.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, String gatewayName);
+
+ /**
+ * Disable the default Spring Cloud Gateway.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String gatewayName, Context context);
+
+ /**
+ * Disable the default Spring Cloud Gateway.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String gatewayName);
+
+ /**
+ * Disable the default Spring Cloud Gateway.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String gatewayName, Context context);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of gateway resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of gateway resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Check the domains are valid as well as not in use.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param validatePayload Custom domain payload to be validated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return validation result for custom domain.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CustomDomainValidateResultInner validateDomain(
+ String resourceGroupName, String serviceName, String gatewayName, CustomDomainValidatePayload validatePayload);
+
+ /**
+ * Check the domains are valid as well as not in use.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param gatewayName The name of Spring Cloud Gateway.
+ * @param validatePayload Custom domain payload to be validated.
+ * @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 validation result for custom domain along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response validateDomainWithResponse(
+ String resourceGroupName,
+ String serviceName,
+ String gatewayName,
+ CustomDomainValidatePayload validatePayload,
+ Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/MonitoringSettingsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/MonitoringSettingsClient.java
new file mode 100644
index 0000000000000..db8604e11a849
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/MonitoringSettingsClient.java
@@ -0,0 +1,191 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.MonitoringSettingResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in MonitoringSettingsClient. */
+public interface MonitoringSettingsClient {
+ /**
+ * Get the Monitoring Setting and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Monitoring Setting and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitoringSettingResourceInner get(String resourceGroupName, String serviceName);
+
+ /**
+ * Get the Monitoring Setting and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Monitoring Setting and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Update the Monitoring Setting.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param monitoringSettingResource Parameters for the update 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 monitoring Setting resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, MonitoringSettingResourceInner> beginUpdatePut(
+ String resourceGroupName, String serviceName, MonitoringSettingResourceInner monitoringSettingResource);
+
+ /**
+ * Update the Monitoring Setting.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param monitoringSettingResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return monitoring Setting resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, MonitoringSettingResourceInner> beginUpdatePut(
+ String resourceGroupName,
+ String serviceName,
+ MonitoringSettingResourceInner monitoringSettingResource,
+ Context context);
+
+ /**
+ * Update the Monitoring Setting.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param monitoringSettingResource Parameters for the update 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 monitoring Setting resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitoringSettingResourceInner updatePut(
+ String resourceGroupName, String serviceName, MonitoringSettingResourceInner monitoringSettingResource);
+
+ /**
+ * Update the Monitoring Setting.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param monitoringSettingResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return monitoring Setting resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitoringSettingResourceInner updatePut(
+ String resourceGroupName,
+ String serviceName,
+ MonitoringSettingResourceInner monitoringSettingResource,
+ Context context);
+
+ /**
+ * Update the Monitoring Setting.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param monitoringSettingResource Parameters for the update 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 monitoring Setting resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, MonitoringSettingResourceInner> beginUpdatePatch(
+ String resourceGroupName, String serviceName, MonitoringSettingResourceInner monitoringSettingResource);
+
+ /**
+ * Update the Monitoring Setting.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param monitoringSettingResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return monitoring Setting resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, MonitoringSettingResourceInner> beginUpdatePatch(
+ String resourceGroupName,
+ String serviceName,
+ MonitoringSettingResourceInner monitoringSettingResource,
+ Context context);
+
+ /**
+ * Update the Monitoring Setting.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param monitoringSettingResource Parameters for the update 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 monitoring Setting resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitoringSettingResourceInner updatePatch(
+ String resourceGroupName, String serviceName, MonitoringSettingResourceInner monitoringSettingResource);
+
+ /**
+ * Update the Monitoring Setting.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param monitoringSettingResource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return monitoring Setting resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ MonitoringSettingResourceInner updatePatch(
+ String resourceGroupName,
+ String serviceName,
+ MonitoringSettingResourceInner monitoringSettingResource,
+ Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/OperationsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/OperationsClient.java
new file mode 100644
index 0000000000000..6c6422f970ece
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/OperationsClient.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.OperationDetailInner;
+
+/** An instance of this class provides access to all the operations defined in OperationsClient. */
+public interface OperationsClient {
+ /**
+ * Lists all of the available REST API operations of the Microsoft.AppPlatform provider.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return available operations of the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all of the available REST API operations of the Microsoft.AppPlatform provider.
+ *
+ * @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 available operations of the service.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/RuntimeVersionsClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/RuntimeVersionsClient.java
new file mode 100644
index 0000000000000..4cdfa1ea1136a
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/RuntimeVersionsClient.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.AvailableRuntimeVersionsInner;
+
+/** An instance of this class provides access to all the operations defined in RuntimeVersionsClient. */
+public interface RuntimeVersionsClient {
+ /**
+ * Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AvailableRuntimeVersionsInner listRuntimeVersions();
+
+ /**
+ * Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response body along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listRuntimeVersionsWithResponse(Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ServiceRegistriesClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ServiceRegistriesClient.java
new file mode 100644
index 0000000000000..c23605de29bfa
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ServiceRegistriesClient.java
@@ -0,0 +1,207 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ServiceRegistryResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ServiceRegistriesClient. */
+public interface ServiceRegistriesClient {
+ /**
+ * Get the Service Registry and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Service Registry and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ServiceRegistryResourceInner get(String resourceGroupName, String serviceName, String serviceRegistryName);
+
+ /**
+ * Get the Service Registry and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Service Registry and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String serviceRegistryName, Context context);
+
+ /**
+ * Create the default Service Registry or update the existing Service Registry.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return service Registry resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ServiceRegistryResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, String serviceRegistryName);
+
+ /**
+ * Create the default Service Registry or update the existing Service Registry.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @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 service Registry resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ServiceRegistryResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, String serviceRegistryName, Context context);
+
+ /**
+ * Create the default Service Registry or update the existing Service Registry.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return service Registry resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ServiceRegistryResourceInner createOrUpdate(
+ String resourceGroupName, String serviceName, String serviceRegistryName);
+
+ /**
+ * Create the default Service Registry or update the existing Service Registry.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @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 service Registry resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ServiceRegistryResourceInner createOrUpdate(
+ String resourceGroupName, String serviceName, String serviceRegistryName, Context context);
+
+ /**
+ * Disable the default Service Registry.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String serviceRegistryName);
+
+ /**
+ * Disable the default Service Registry.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String serviceRegistryName, Context context);
+
+ /**
+ * Disable the default Service Registry.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String serviceRegistryName);
+
+ /**
+ * Disable the default Service Registry.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param serviceRegistryName The name of Service Registry.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String serviceRegistryName, Context context);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Service Registry resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName);
+
+ /**
+ * Handles requests to list all resources in a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Service Registry resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ServicesClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ServicesClient.java
new file mode 100644
index 0000000000000..795434b8106fc
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ServicesClient.java
@@ -0,0 +1,550 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.NameAvailabilityInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ServiceResourceInner;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.TestKeysInner;
+import com.azure.resourcemanager.appplatform.generated.models.NameAvailabilityParameters;
+import com.azure.resourcemanager.appplatform.generated.models.RegenerateTestKeyRequestPayload;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ServicesClient. */
+public interface ServicesClient {
+ /**
+ * Get a Service and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Service and its properties.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ServiceResourceInner getByResourceGroup(String resourceGroupName, String serviceName);
+
+ /**
+ * Get a Service and its properties.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a Service and its properties along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Create a new Service or update an exiting Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param resource Parameters for the create or update 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 service resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ServiceResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, ServiceResourceInner resource);
+
+ /**
+ * Create a new Service or update an exiting Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param resource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return service resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ServiceResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, ServiceResourceInner resource, Context context);
+
+ /**
+ * Create a new Service or update an exiting Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param resource Parameters for the create or update 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 service resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ServiceResourceInner createOrUpdate(String resourceGroupName, String serviceName, ServiceResourceInner resource);
+
+ /**
+ * Create a new Service or update an exiting Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param resource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return service resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ServiceResourceInner createOrUpdate(
+ String resourceGroupName, String serviceName, ServiceResourceInner resource, Context context);
+
+ /**
+ * Operation to delete a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName);
+
+ /**
+ * Operation to delete a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Operation to delete a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName);
+
+ /**
+ * Operation to delete a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Operation to update an exiting Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param resource Parameters for the update 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 service resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ServiceResourceInner> beginUpdate(
+ String resourceGroupName, String serviceName, ServiceResourceInner resource);
+
+ /**
+ * Operation to update an exiting Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param resource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return service resource along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ServiceResourceInner> beginUpdate(
+ String resourceGroupName, String serviceName, ServiceResourceInner resource, Context context);
+
+ /**
+ * Operation to update an exiting Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param resource Parameters for the update 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 service resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ServiceResourceInner update(String resourceGroupName, String serviceName, ServiceResourceInner resource);
+
+ /**
+ * Operation to update an exiting Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param resource Parameters for the update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return service resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ServiceResourceInner update(
+ String resourceGroupName, String serviceName, ServiceResourceInner resource, Context context);
+
+ /**
+ * List test keys for a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return test keys payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestKeysInner listTestKeys(String resourceGroupName, String serviceName);
+
+ /**
+ * List test keys for a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return test keys payload along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response listTestKeysWithResponse(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Regenerate a test key for a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param regenerateTestKeyRequest Parameters for the operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return test keys payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestKeysInner regenerateTestKey(
+ String resourceGroupName, String serviceName, RegenerateTestKeyRequestPayload regenerateTestKeyRequest);
+
+ /**
+ * Regenerate a test key for a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param regenerateTestKeyRequest Parameters for the operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return test keys payload along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response regenerateTestKeyWithResponse(
+ String resourceGroupName,
+ String serviceName,
+ RegenerateTestKeyRequestPayload regenerateTestKeyRequest,
+ Context context);
+
+ /**
+ * Disable test endpoint functionality for a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void disableTestEndpoint(String resourceGroupName, String serviceName);
+
+ /**
+ * Disable test endpoint functionality for a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response disableTestEndpointWithResponse(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Enable test endpoint functionality for a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return test keys payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ TestKeysInner enableTestEndpoint(String resourceGroupName, String serviceName);
+
+ /**
+ * Enable test endpoint functionality for a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return test keys payload along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response enableTestEndpointWithResponse(
+ String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Stop a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStop(String resourceGroupName, String serviceName);
+
+ /**
+ * Stop a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStop(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Stop a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void stop(String resourceGroupName, String serviceName);
+
+ /**
+ * Stop a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void stop(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Start a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStart(String resourceGroupName, String serviceName);
+
+ /**
+ * Start a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginStart(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Start a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void start(String resourceGroupName, String serviceName);
+
+ /**
+ * Start a Service.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void start(String resourceGroupName, String serviceName, Context context);
+
+ /**
+ * Checks that the resource name is valid and is not already in use.
+ *
+ * @param location the region.
+ * @param availabilityParameters Parameters supplied to the operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return name availability result payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ NameAvailabilityInner checkNameAvailability(String location, NameAvailabilityParameters availabilityParameters);
+
+ /**
+ * Checks that the resource name is valid and is not already in use.
+ *
+ * @param location the region.
+ * @param availabilityParameters Parameters supplied to the operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return name availability result payload along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response checkNameAvailabilityWithResponse(
+ String location, NameAvailabilityParameters availabilityParameters, Context context);
+
+ /**
+ * Handles requests to list all resources in a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Service resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Handles requests to list all resources in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Service resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Handles requests to list all resources in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Service resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Handles requests to list all resources in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @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 object that includes an array of Service resources and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/SkusClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/SkusClient.java
new file mode 100644
index 0000000000000..0863f3f893bd0
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/SkusClient.java
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ResourceSkuInner;
+
+/** An instance of this class provides access to all the operations defined in SkusClient. */
+public interface SkusClient {
+ /**
+ * Lists all of the available skus of the Microsoft.AppPlatform provider.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return object that includes an array of Azure Spring Cloud SKU and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Lists all of the available skus of the Microsoft.AppPlatform provider.
+ *
+ * @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 object that includes an array of Azure Spring Cloud SKU and a possible link for next set.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/StoragesClient.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/StoragesClient.java
new file mode 100644
index 0000000000000..61d40d03ce534
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/StoragesClient.java
@@ -0,0 +1,218 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.StorageResourceInner;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in StoragesClient. */
+public interface StoragesClient {
+ /**
+ * Get the storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the storage resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ StorageResourceInner get(String resourceGroupName, String serviceName, String storageName);
+
+ /**
+ * Get the storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the storage resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(
+ String resourceGroupName, String serviceName, String storageName, Context context);
+
+ /**
+ * Create or update storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @param storageResource Parameters for the create or update 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 storage resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, StorageResourceInner> beginCreateOrUpdate(
+ String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource);
+
+ /**
+ * Create or update storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @param storageResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return storage resource payload along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, StorageResourceInner> beginCreateOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String storageName,
+ StorageResourceInner storageResource,
+ Context context);
+
+ /**
+ * Create or update storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @param storageResource Parameters for the create or update 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 storage resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ StorageResourceInner createOrUpdate(
+ String resourceGroupName, String serviceName, String storageName, StorageResourceInner storageResource);
+
+ /**
+ * Create or update storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @param storageResource Parameters for the create or update operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return storage resource payload.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ StorageResourceInner createOrUpdate(
+ String resourceGroupName,
+ String serviceName,
+ String storageName,
+ StorageResourceInner storageResource,
+ Context context);
+
+ /**
+ * Delete the storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String serviceName, String storageName);
+
+ /**
+ * Delete the storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String serviceName, String storageName, Context context);
+
+ /**
+ * Delete the storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String storageName);
+
+ /**
+ * Delete the storage resource.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param storageName The name of the storage resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String serviceName, String storageName, Context context);
+
+ /**
+ * List all the storages of one Azure Spring Cloud instance.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection compose of storage resources list and a possible link for next page.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName);
+
+ /**
+ * List all the storages of one Azure Spring Cloud instance.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return collection compose of storage resources list and a possible link for next page.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String serviceName, Context context);
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ApiPortalCustomDomainResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ApiPortalCustomDomainResourceInner.java
new file mode 100644
index 0000000000000..8f4b034957719
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ApiPortalCustomDomainResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortalCustomDomainProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Custom domain of the API portal. */
+@Fluent
+public final class ApiPortalCustomDomainResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ApiPortalCustomDomainResourceInner.class);
+
+ /*
+ * The properties of custom domain for API portal
+ */
+ @JsonProperty(value = "properties")
+ private ApiPortalCustomDomainProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: The properties of custom domain for API portal.
+ *
+ * @return the properties value.
+ */
+ public ApiPortalCustomDomainProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The properties of custom domain for API portal.
+ *
+ * @param properties the properties value to set.
+ * @return the ApiPortalCustomDomainResourceInner object itself.
+ */
+ public ApiPortalCustomDomainResourceInner withProperties(ApiPortalCustomDomainProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ApiPortalResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ApiPortalResourceInner.java
new file mode 100644
index 0000000000000..1ccccdd92290d
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ApiPortalResourceInner.java
@@ -0,0 +1,101 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortalProperties;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** API portal resource. */
+@Fluent
+public final class ApiPortalResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ApiPortalResourceInner.class);
+
+ /*
+ * API portal properties payload
+ */
+ @JsonProperty(value = "properties")
+ private ApiPortalProperties properties;
+
+ /*
+ * Sku of the API portal resource
+ */
+ @JsonProperty(value = "sku")
+ private Sku sku;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: API portal properties payload.
+ *
+ * @return the properties value.
+ */
+ public ApiPortalProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: API portal properties payload.
+ *
+ * @param properties the properties value to set.
+ * @return the ApiPortalResourceInner object itself.
+ */
+ public ApiPortalResourceInner withProperties(ApiPortalProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the sku property: Sku of the API portal resource.
+ *
+ * @return the sku value.
+ */
+ public Sku sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: Sku of the API portal resource.
+ *
+ * @param sku the sku value to set.
+ * @return the ApiPortalResourceInner object itself.
+ */
+ public ApiPortalResourceInner withSku(Sku sku) {
+ this.sku = sku;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (sku() != null) {
+ sku().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/AppResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/AppResourceInner.java
new file mode 100644
index 0000000000000..4f93ed761ff02
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/AppResourceInner.java
@@ -0,0 +1,128 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.AppResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ManagedIdentityProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** App resource payload. */
+@Fluent
+public final class AppResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(AppResourceInner.class);
+
+ /*
+ * Properties of the App resource
+ */
+ @JsonProperty(value = "properties")
+ private AppResourceProperties properties;
+
+ /*
+ * The Managed Identity type of the app resource
+ */
+ @JsonProperty(value = "identity")
+ private ManagedIdentityProperties identity;
+
+ /*
+ * The GEO location of the application, always the same with its parent
+ * resource
+ */
+ @JsonProperty(value = "location")
+ private String location;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the App resource.
+ *
+ * @return the properties value.
+ */
+ public AppResourceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the App resource.
+ *
+ * @param properties the properties value to set.
+ * @return the AppResourceInner object itself.
+ */
+ public AppResourceInner withProperties(AppResourceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the identity property: The Managed Identity type of the app resource.
+ *
+ * @return the identity value.
+ */
+ public ManagedIdentityProperties identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The Managed Identity type of the app resource.
+ *
+ * @param identity the identity value to set.
+ * @return the AppResourceInner object itself.
+ */
+ public AppResourceInner withIdentity(ManagedIdentityProperties identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the location property: The GEO location of the application, always the same with its parent resource.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The GEO location of the application, always the same with its parent resource.
+ *
+ * @param location the location value to set.
+ * @return the AppResourceInner object itself.
+ */
+ public AppResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (identity() != null) {
+ identity().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/AvailableRuntimeVersionsInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/AvailableRuntimeVersionsInner.java
new file mode 100644
index 0000000000000..fee0d09b1ed7f
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/AvailableRuntimeVersionsInner.java
@@ -0,0 +1,44 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.SupportedRuntimeVersion;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** The AvailableRuntimeVersions model. */
+@Immutable
+public final class AvailableRuntimeVersionsInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(AvailableRuntimeVersionsInner.class);
+
+ /*
+ * A list of all supported runtime versions.
+ */
+ @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY)
+ private List value;
+
+ /**
+ * Get the value property: A list of all supported runtime versions.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (value() != null) {
+ value().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BindingResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BindingResourceInner.java
new file mode 100644
index 0000000000000..3257e1f089db6
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BindingResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.BindingResourceProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Binding resource payload. */
+@Fluent
+public final class BindingResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BindingResourceInner.class);
+
+ /*
+ * Properties of the Binding resource
+ */
+ @JsonProperty(value = "properties")
+ private BindingResourceProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the Binding resource.
+ *
+ * @return the properties value.
+ */
+ public BindingResourceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the Binding resource.
+ *
+ * @param properties the properties value to set.
+ * @return the BindingResourceInner object itself.
+ */
+ public BindingResourceInner withProperties(BindingResourceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildInner.java
new file mode 100644
index 0000000000000..4d8f9c2e80cce
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.BuildProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Build resource payload. */
+@Fluent
+public final class BuildInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BuildInner.class);
+
+ /*
+ * Properties of the build resource
+ */
+ @JsonProperty(value = "properties")
+ private BuildProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the build resource.
+ *
+ * @return the properties value.
+ */
+ public BuildProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the build resource.
+ *
+ * @param properties the properties value to set.
+ * @return the BuildInner object itself.
+ */
+ public BuildInner withProperties(BuildProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildResultInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildResultInner.java
new file mode 100644
index 0000000000000..72466a3f9b393
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildResultInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.BuildResultProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Build result resource payload. */
+@Fluent
+public final class BuildResultInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BuildResultInner.class);
+
+ /*
+ * Properties of the build result resource
+ */
+ @JsonProperty(value = "properties")
+ private BuildResultProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the build result resource.
+ *
+ * @return the properties value.
+ */
+ public BuildResultProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the build result resource.
+ *
+ * @param properties the properties value to set.
+ * @return the BuildResultInner object itself.
+ */
+ public BuildResultInner withProperties(BuildResultProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildResultLogInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildResultLogInner.java
new file mode 100644
index 0000000000000..c96be971f1126
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildResultLogInner.java
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Build result log resource properties payload. */
+@Fluent
+public final class BuildResultLogInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BuildResultLogInner.class);
+
+ /*
+ * The public download URL of this build result log
+ */
+ @JsonProperty(value = "blobUrl")
+ private String blobUrl;
+
+ /**
+ * Get the blobUrl property: The public download URL of this build result log.
+ *
+ * @return the blobUrl value.
+ */
+ public String blobUrl() {
+ return this.blobUrl;
+ }
+
+ /**
+ * Set the blobUrl property: The public download URL of this build result log.
+ *
+ * @param blobUrl the blobUrl value to set.
+ * @return the BuildResultLogInner object itself.
+ */
+ public BuildResultLogInner withBlobUrl(String blobUrl) {
+ this.blobUrl = blobUrl;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildServiceAgentPoolResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildServiceAgentPoolResourceInner.java
new file mode 100644
index 0000000000000..6e320232ff4d5
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildServiceAgentPoolResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.BuildServiceAgentPoolProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** The build service agent pool resource. */
+@Fluent
+public final class BuildServiceAgentPoolResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BuildServiceAgentPoolResourceInner.class);
+
+ /*
+ * build service agent pool properties
+ */
+ @JsonProperty(value = "properties")
+ private BuildServiceAgentPoolProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: build service agent pool properties.
+ *
+ * @return the properties value.
+ */
+ public BuildServiceAgentPoolProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: build service agent pool properties.
+ *
+ * @param properties the properties value to set.
+ * @return the BuildServiceAgentPoolResourceInner object itself.
+ */
+ public BuildServiceAgentPoolResourceInner withProperties(BuildServiceAgentPoolProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildServiceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildServiceInner.java
new file mode 100644
index 0000000000000..0a645df9b2f7a
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildServiceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.BuildServiceProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Build service resource payload. */
+@Fluent
+public final class BuildServiceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BuildServiceInner.class);
+
+ /*
+ * Properties of the build resource
+ */
+ @JsonProperty(value = "properties")
+ private BuildServiceProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the build resource.
+ *
+ * @return the properties value.
+ */
+ public BuildServiceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the build resource.
+ *
+ * @param properties the properties value to set.
+ * @return the BuildServiceInner object itself.
+ */
+ public BuildServiceInner withProperties(BuildServiceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuilderResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuilderResourceInner.java
new file mode 100644
index 0000000000000..920ebe5060e27
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuilderResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.BuilderProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** KPack Builder resource. */
+@Fluent
+public final class BuilderResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BuilderResourceInner.class);
+
+ /*
+ * Property of the Builder resource.
+ */
+ @JsonProperty(value = "properties")
+ private BuilderProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Property of the Builder resource.
+ *
+ * @return the properties value.
+ */
+ public BuilderProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Property of the Builder resource.
+ *
+ * @param properties the properties value to set.
+ * @return the BuilderResourceInner object itself.
+ */
+ public BuilderResourceInner withProperties(BuilderProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildpackBindingResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildpackBindingResourceInner.java
new file mode 100644
index 0000000000000..09330d3d57527
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BuildpackBindingResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.BuildpackBindingProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Buildpack Binding Resource object. */
+@Fluent
+public final class BuildpackBindingResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(BuildpackBindingResourceInner.class);
+
+ /*
+ * Properties of a buildpack binding
+ */
+ @JsonProperty(value = "properties")
+ private BuildpackBindingProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of a buildpack binding.
+ *
+ * @return the properties value.
+ */
+ public BuildpackBindingProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of a buildpack binding.
+ *
+ * @param properties the properties value to set.
+ * @return the BuildpackBindingResourceInner object itself.
+ */
+ public BuildpackBindingResourceInner withProperties(BuildpackBindingProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CertificateResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CertificateResourceInner.java
new file mode 100644
index 0000000000000..75b84432fa119
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CertificateResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.CertificateProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Certificate resource payload. */
+@Fluent
+public final class CertificateResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(CertificateResourceInner.class);
+
+ /*
+ * Properties of the certificate resource payload.
+ */
+ @JsonProperty(value = "properties")
+ private CertificateProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the certificate resource payload.
+ *
+ * @return the properties value.
+ */
+ public CertificateProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the certificate resource payload.
+ *
+ * @param properties the properties value to set.
+ * @return the CertificateResourceInner object itself.
+ */
+ public CertificateResourceInner withProperties(CertificateProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigServerResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigServerResourceInner.java
new file mode 100644
index 0000000000000..289ec1d9c0d9e
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigServerResourceInner.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.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Config Server resource. */
+@Fluent
+public final class ConfigServerResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ConfigServerResourceInner.class);
+
+ /*
+ * Properties of the Config Server resource
+ */
+ @JsonProperty(value = "properties")
+ private ConfigServerProperties properties;
+
+ /**
+ * Get the properties property: Properties of the Config Server resource.
+ *
+ * @return the properties value.
+ */
+ public ConfigServerProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the Config Server resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ConfigServerResourceInner object itself.
+ */
+ public ConfigServerResourceInner withProperties(ConfigServerProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigServerSettingsValidateResultInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigServerSettingsValidateResultInner.java
new file mode 100644
index 0000000000000..658c76ae21397
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigServerSettingsValidateResultInner.java
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServerSettingsErrorRecord;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Validation result for config server settings. */
+@Fluent
+public final class ConfigServerSettingsValidateResultInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ConfigServerSettingsValidateResultInner.class);
+
+ /*
+ * Indicate if the config server settings are valid
+ */
+ @JsonProperty(value = "isValid")
+ private Boolean isValid;
+
+ /*
+ * The detail validation results
+ */
+ @JsonProperty(value = "details")
+ private List details;
+
+ /**
+ * Get the isValid property: Indicate if the config server settings are valid.
+ *
+ * @return the isValid value.
+ */
+ public Boolean isValid() {
+ return this.isValid;
+ }
+
+ /**
+ * Set the isValid property: Indicate if the config server settings are valid.
+ *
+ * @param isValid the isValid value to set.
+ * @return the ConfigServerSettingsValidateResultInner object itself.
+ */
+ public ConfigServerSettingsValidateResultInner withIsValid(Boolean isValid) {
+ this.isValid = isValid;
+ return this;
+ }
+
+ /**
+ * Get the details property: The detail validation results.
+ *
+ * @return the details value.
+ */
+ public List details() {
+ return this.details;
+ }
+
+ /**
+ * Set the details property: The detail validation results.
+ *
+ * @param details the details value to set.
+ * @return the ConfigServerSettingsValidateResultInner object itself.
+ */
+ public ConfigServerSettingsValidateResultInner withDetails(List details) {
+ this.details = details;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (details() != null) {
+ details().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigurationServiceResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigurationServiceResourceInner.java
new file mode 100644
index 0000000000000..d9b0a6329f13a
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigurationServiceResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Application Configuration Service resource. */
+@Fluent
+public final class ConfigurationServiceResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ConfigurationServiceResourceInner.class);
+
+ /*
+ * Application Configuration Service properties payload
+ */
+ @JsonProperty(value = "properties")
+ private ConfigurationServiceProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Application Configuration Service properties payload.
+ *
+ * @return the properties value.
+ */
+ public ConfigurationServiceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Application Configuration Service properties payload.
+ *
+ * @param properties the properties value to set.
+ * @return the ConfigurationServiceResourceInner object itself.
+ */
+ public ConfigurationServiceResourceInner withProperties(ConfigurationServiceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigurationServiceSettingsValidateResultInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigurationServiceSettingsValidateResultInner.java
new file mode 100644
index 0000000000000..dae2a3904fdd0
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ConfigurationServiceSettingsValidateResultInner.java
@@ -0,0 +1,56 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigurationServiceGitPropertyValidateResult;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Validation result for configuration service settings. */
+@Fluent
+public final class ConfigurationServiceSettingsValidateResultInner {
+ @JsonIgnore
+ private final ClientLogger logger = new ClientLogger(ConfigurationServiceSettingsValidateResultInner.class);
+
+ /*
+ * Validation result for configuration service settings
+ */
+ @JsonProperty(value = "gitPropertyValidationResult")
+ private ConfigurationServiceGitPropertyValidateResult gitPropertyValidationResult;
+
+ /**
+ * Get the gitPropertyValidationResult property: Validation result for configuration service settings.
+ *
+ * @return the gitPropertyValidationResult value.
+ */
+ public ConfigurationServiceGitPropertyValidateResult gitPropertyValidationResult() {
+ return this.gitPropertyValidationResult;
+ }
+
+ /**
+ * Set the gitPropertyValidationResult property: Validation result for configuration service settings.
+ *
+ * @param gitPropertyValidationResult the gitPropertyValidationResult value to set.
+ * @return the ConfigurationServiceSettingsValidateResultInner object itself.
+ */
+ public ConfigurationServiceSettingsValidateResultInner withGitPropertyValidationResult(
+ ConfigurationServiceGitPropertyValidateResult gitPropertyValidationResult) {
+ this.gitPropertyValidationResult = gitPropertyValidationResult;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (gitPropertyValidationResult() != null) {
+ gitPropertyValidationResult().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CustomDomainResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CustomDomainResourceInner.java
new file mode 100644
index 0000000000000..d779461c1d53c
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CustomDomainResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomainProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Custom domain resource payload. */
+@Fluent
+public final class CustomDomainResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(CustomDomainResourceInner.class);
+
+ /*
+ * Properties of the custom domain resource.
+ */
+ @JsonProperty(value = "properties")
+ private CustomDomainProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the custom domain resource.
+ *
+ * @return the properties value.
+ */
+ public CustomDomainProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the custom domain resource.
+ *
+ * @param properties the properties value to set.
+ * @return the CustomDomainResourceInner object itself.
+ */
+ public CustomDomainResourceInner withProperties(CustomDomainProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CustomDomainValidateResultInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CustomDomainValidateResultInner.java
new file mode 100644
index 0000000000000..622c8d7a623f0
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CustomDomainValidateResultInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Validation result for custom domain. */
+@Fluent
+public final class CustomDomainValidateResultInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(CustomDomainValidateResultInner.class);
+
+ /*
+ * Indicates if domain name is valid.
+ */
+ @JsonProperty(value = "isValid")
+ private Boolean isValid;
+
+ /*
+ * Message of why domain name is invalid.
+ */
+ @JsonProperty(value = "message")
+ private String message;
+
+ /**
+ * Get the isValid property: Indicates if domain name is valid.
+ *
+ * @return the isValid value.
+ */
+ public Boolean isValid() {
+ return this.isValid;
+ }
+
+ /**
+ * Set the isValid property: Indicates if domain name is valid.
+ *
+ * @param isValid the isValid value to set.
+ * @return the CustomDomainValidateResultInner object itself.
+ */
+ public CustomDomainValidateResultInner withIsValid(Boolean isValid) {
+ this.isValid = isValid;
+ return this;
+ }
+
+ /**
+ * Get the message property: Message of why domain name is invalid.
+ *
+ * @return the message value.
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Set the message property: Message of why domain name is invalid.
+ *
+ * @param message the message value to set.
+ * @return the CustomDomainValidateResultInner object itself.
+ */
+ public CustomDomainValidateResultInner withMessage(String message) {
+ this.message = message;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/DeploymentResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/DeploymentResourceInner.java
new file mode 100644
index 0000000000000..23414b1ac8e98
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/DeploymentResourceInner.java
@@ -0,0 +1,101 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.DeploymentResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Deployment resource payload. */
+@Fluent
+public final class DeploymentResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(DeploymentResourceInner.class);
+
+ /*
+ * Properties of the Deployment resource
+ */
+ @JsonProperty(value = "properties")
+ private DeploymentResourceProperties properties;
+
+ /*
+ * Sku of the Deployment resource
+ */
+ @JsonProperty(value = "sku")
+ private Sku sku;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the Deployment resource.
+ *
+ * @return the properties value.
+ */
+ public DeploymentResourceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the Deployment resource.
+ *
+ * @param properties the properties value to set.
+ * @return the DeploymentResourceInner object itself.
+ */
+ public DeploymentResourceInner withProperties(DeploymentResourceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the sku property: Sku of the Deployment resource.
+ *
+ * @return the sku value.
+ */
+ public Sku sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: Sku of the Deployment resource.
+ *
+ * @param sku the sku value to set.
+ * @return the DeploymentResourceInner object itself.
+ */
+ public DeploymentResourceInner withSku(Sku sku) {
+ this.sku = sku;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (sku() != null) {
+ sku().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayCustomDomainResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayCustomDomainResourceInner.java
new file mode 100644
index 0000000000000..31f6a5a4932f9
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayCustomDomainResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.GatewayCustomDomainProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Custom domain of the Spring Cloud Gateway. */
+@Fluent
+public final class GatewayCustomDomainResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(GatewayCustomDomainResourceInner.class);
+
+ /*
+ * The properties of custom domain for Spring Cloud Gateway
+ */
+ @JsonProperty(value = "properties")
+ private GatewayCustomDomainProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: The properties of custom domain for Spring Cloud Gateway.
+ *
+ * @return the properties value.
+ */
+ public GatewayCustomDomainProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The properties of custom domain for Spring Cloud Gateway.
+ *
+ * @param properties the properties value to set.
+ * @return the GatewayCustomDomainResourceInner object itself.
+ */
+ public GatewayCustomDomainResourceInner withProperties(GatewayCustomDomainProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayResourceInner.java
new file mode 100644
index 0000000000000..d1cf0584fe0c6
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayResourceInner.java
@@ -0,0 +1,101 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.GatewayProperties;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Spring Cloud Gateway resource. */
+@Fluent
+public final class GatewayResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(GatewayResourceInner.class);
+
+ /*
+ * Spring Cloud Gateway properties payload
+ */
+ @JsonProperty(value = "properties")
+ private GatewayProperties properties;
+
+ /*
+ * Sku of the Spring Cloud Gateway resource
+ */
+ @JsonProperty(value = "sku")
+ private Sku sku;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Spring Cloud Gateway properties payload.
+ *
+ * @return the properties value.
+ */
+ public GatewayProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Spring Cloud Gateway properties payload.
+ *
+ * @param properties the properties value to set.
+ * @return the GatewayResourceInner object itself.
+ */
+ public GatewayResourceInner withProperties(GatewayProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the sku property: Sku of the Spring Cloud Gateway resource.
+ *
+ * @return the sku value.
+ */
+ public Sku sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: Sku of the Spring Cloud Gateway resource.
+ *
+ * @param sku the sku value to set.
+ * @return the GatewayResourceInner object itself.
+ */
+ public GatewayResourceInner withSku(Sku sku) {
+ this.sku = sku;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (sku() != null) {
+ sku().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayRouteConfigResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayRouteConfigResourceInner.java
new file mode 100644
index 0000000000000..eb694e53ee512
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/GatewayRouteConfigResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.GatewayRouteConfigProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Spring Cloud Gateway route config resource. */
+@Fluent
+public final class GatewayRouteConfigResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(GatewayRouteConfigResourceInner.class);
+
+ /*
+ * API route config of the Spring Cloud Gateway
+ */
+ @JsonProperty(value = "properties")
+ private GatewayRouteConfigProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: API route config of the Spring Cloud Gateway.
+ *
+ * @return the properties value.
+ */
+ public GatewayRouteConfigProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: API route config of the Spring Cloud Gateway.
+ *
+ * @param properties the properties value to set.
+ * @return the GatewayRouteConfigResourceInner object itself.
+ */
+ public GatewayRouteConfigResourceInner withProperties(GatewayRouteConfigProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/LogFileUrlResponseInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/LogFileUrlResponseInner.java
new file mode 100644
index 0000000000000..5e786911b13c2
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/LogFileUrlResponseInner.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.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Log file URL payload. */
+@Fluent
+public final class LogFileUrlResponseInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(LogFileUrlResponseInner.class);
+
+ /*
+ * URL of the log file
+ */
+ @JsonProperty(value = "url", required = true)
+ private String url;
+
+ /**
+ * Get the url property: URL of the log file.
+ *
+ * @return the url value.
+ */
+ public String url() {
+ return this.url;
+ }
+
+ /**
+ * Set the url property: URL of the log file.
+ *
+ * @param url the url value to set.
+ * @return the LogFileUrlResponseInner object itself.
+ */
+ public LogFileUrlResponseInner withUrl(String url) {
+ this.url = url;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (url() == null) {
+ throw logger
+ .logExceptionAsError(
+ new IllegalArgumentException("Missing required property url in model LogFileUrlResponseInner"));
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/MonitoringSettingResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/MonitoringSettingResourceInner.java
new file mode 100644
index 0000000000000..a3bae9153c33f
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/MonitoringSettingResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.MonitoringSettingProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Monitoring Setting resource. */
+@Fluent
+public final class MonitoringSettingResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(MonitoringSettingResourceInner.class);
+
+ /*
+ * Properties of the Monitoring Setting resource
+ */
+ @JsonProperty(value = "properties")
+ private MonitoringSettingProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the Monitoring Setting resource.
+ *
+ * @return the properties value.
+ */
+ public MonitoringSettingProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the Monitoring Setting resource.
+ *
+ * @param properties the properties value to set.
+ * @return the MonitoringSettingResourceInner object itself.
+ */
+ public MonitoringSettingResourceInner withProperties(MonitoringSettingProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/NameAvailabilityInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/NameAvailabilityInner.java
new file mode 100644
index 0000000000000..db729cdf802df
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/NameAvailabilityInner.java
@@ -0,0 +1,102 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Name availability result payload. */
+@Fluent
+public final class NameAvailabilityInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(NameAvailabilityInner.class);
+
+ /*
+ * Indicates whether the name is available
+ */
+ @JsonProperty(value = "nameAvailable")
+ private Boolean nameAvailable;
+
+ /*
+ * Reason why the name is not available
+ */
+ @JsonProperty(value = "reason")
+ private String reason;
+
+ /*
+ * Message why the name is not available
+ */
+ @JsonProperty(value = "message")
+ private String message;
+
+ /**
+ * Get the nameAvailable property: Indicates whether the name is available.
+ *
+ * @return the nameAvailable value.
+ */
+ public Boolean nameAvailable() {
+ return this.nameAvailable;
+ }
+
+ /**
+ * Set the nameAvailable property: Indicates whether the name is available.
+ *
+ * @param nameAvailable the nameAvailable value to set.
+ * @return the NameAvailabilityInner object itself.
+ */
+ public NameAvailabilityInner withNameAvailable(Boolean nameAvailable) {
+ this.nameAvailable = nameAvailable;
+ return this;
+ }
+
+ /**
+ * Get the reason property: Reason why the name is not available.
+ *
+ * @return the reason value.
+ */
+ public String reason() {
+ return this.reason;
+ }
+
+ /**
+ * Set the reason property: Reason why the name is not available.
+ *
+ * @param reason the reason value to set.
+ * @return the NameAvailabilityInner object itself.
+ */
+ public NameAvailabilityInner withReason(String reason) {
+ this.reason = reason;
+ return this;
+ }
+
+ /**
+ * Get the message property: Message why the name is not available.
+ *
+ * @return the message value.
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Set the message property: Message why the name is not available.
+ *
+ * @param message the message value to set.
+ * @return the NameAvailabilityInner object itself.
+ */
+ public NameAvailabilityInner withMessage(String message) {
+ this.message = message;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/OperationDetailInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/OperationDetailInner.java
new file mode 100644
index 0000000000000..978879fb30731
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/OperationDetailInner.java
@@ -0,0 +1,180 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ActionType;
+import com.azure.resourcemanager.appplatform.generated.models.OperationDisplay;
+import com.azure.resourcemanager.appplatform.generated.models.OperationProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Operation detail payload. */
+@Fluent
+public final class OperationDetailInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(OperationDetailInner.class);
+
+ /*
+ * Name of the operation
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Indicates whether the operation is a data action
+ */
+ @JsonProperty(value = "isDataAction")
+ private Boolean isDataAction;
+
+ /*
+ * Display of the operation
+ */
+ @JsonProperty(value = "display")
+ private OperationDisplay display;
+
+ /*
+ * Enum. Indicates the action type. "Internal" refers to actions that are
+ * for internal only APIs.
+ */
+ @JsonProperty(value = "actionType", access = JsonProperty.Access.WRITE_ONLY)
+ private ActionType actionType;
+
+ /*
+ * Origin of the operation
+ */
+ @JsonProperty(value = "origin")
+ private String origin;
+
+ /*
+ * Properties of the operation
+ */
+ @JsonProperty(value = "properties")
+ private OperationProperties properties;
+
+ /**
+ * Get the name property: Name of the operation.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Name of the operation.
+ *
+ * @param name the name value to set.
+ * @return the OperationDetailInner object itself.
+ */
+ public OperationDetailInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the isDataAction property: Indicates whether the operation is a data action.
+ *
+ * @return the isDataAction value.
+ */
+ public Boolean isDataAction() {
+ return this.isDataAction;
+ }
+
+ /**
+ * Set the isDataAction property: Indicates whether the operation is a data action.
+ *
+ * @param isDataAction the isDataAction value to set.
+ * @return the OperationDetailInner object itself.
+ */
+ public OperationDetailInner withIsDataAction(Boolean isDataAction) {
+ this.isDataAction = isDataAction;
+ return this;
+ }
+
+ /**
+ * Get the display property: Display of the operation.
+ *
+ * @return the display value.
+ */
+ public OperationDisplay display() {
+ return this.display;
+ }
+
+ /**
+ * Set the display property: Display of the operation.
+ *
+ * @param display the display value to set.
+ * @return the OperationDetailInner object itself.
+ */
+ public OperationDetailInner withDisplay(OperationDisplay display) {
+ this.display = display;
+ return this;
+ }
+
+ /**
+ * Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal
+ * only APIs.
+ *
+ * @return the actionType value.
+ */
+ public ActionType actionType() {
+ return this.actionType;
+ }
+
+ /**
+ * Get the origin property: Origin of the operation.
+ *
+ * @return the origin value.
+ */
+ public String origin() {
+ return this.origin;
+ }
+
+ /**
+ * Set the origin property: Origin of the operation.
+ *
+ * @param origin the origin value to set.
+ * @return the OperationDetailInner object itself.
+ */
+ public OperationDetailInner withOrigin(String origin) {
+ this.origin = origin;
+ return this;
+ }
+
+ /**
+ * Get the properties property: Properties of the operation.
+ *
+ * @return the properties value.
+ */
+ public OperationProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the operation.
+ *
+ * @param properties the properties value to set.
+ * @return the OperationDetailInner object itself.
+ */
+ public OperationDetailInner withProperties(OperationProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (display() != null) {
+ display().validate();
+ }
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ResourceSkuInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ResourceSkuInner.java
new file mode 100644
index 0000000000000..322d164eddb04
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ResourceSkuInner.java
@@ -0,0 +1,225 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ResourceSkuLocationInfo;
+import com.azure.resourcemanager.appplatform.generated.models.ResourceSkuRestrictions;
+import com.azure.resourcemanager.appplatform.generated.models.SkuCapacity;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Describes an available Azure Spring Cloud SKU. */
+@Fluent
+public final class ResourceSkuInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ResourceSkuInner.class);
+
+ /*
+ * Gets the type of resource the SKU applies to.
+ */
+ @JsonProperty(value = "resourceType")
+ private String resourceType;
+
+ /*
+ * Gets the name of SKU.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /*
+ * Gets the tier of SKU.
+ */
+ @JsonProperty(value = "tier")
+ private String tier;
+
+ /*
+ * Gets the capacity of SKU.
+ */
+ @JsonProperty(value = "capacity")
+ private SkuCapacity capacity;
+
+ /*
+ * Gets the set of locations that the SKU is available.
+ */
+ @JsonProperty(value = "locations")
+ private List locations;
+
+ /*
+ * Gets a list of locations and availability zones in those locations where
+ * the SKU is available.
+ */
+ @JsonProperty(value = "locationInfo")
+ private List locationInfo;
+
+ /*
+ * Gets the restrictions because of which SKU cannot be used. This is
+ * empty if there are no restrictions.
+ */
+ @JsonProperty(value = "restrictions")
+ private List restrictions;
+
+ /**
+ * Get the resourceType property: Gets the type of resource the SKU applies to.
+ *
+ * @return the resourceType value.
+ */
+ public String resourceType() {
+ return this.resourceType;
+ }
+
+ /**
+ * Set the resourceType property: Gets the type of resource the SKU applies to.
+ *
+ * @param resourceType the resourceType value to set.
+ * @return the ResourceSkuInner object itself.
+ */
+ public ResourceSkuInner withResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ return this;
+ }
+
+ /**
+ * Get the name property: Gets the name of SKU.
+ *
+ * @return the name value.
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name property: Gets the name of SKU.
+ *
+ * @param name the name value to set.
+ * @return the ResourceSkuInner object itself.
+ */
+ public ResourceSkuInner withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the tier property: Gets the tier of SKU.
+ *
+ * @return the tier value.
+ */
+ public String tier() {
+ return this.tier;
+ }
+
+ /**
+ * Set the tier property: Gets the tier of SKU.
+ *
+ * @param tier the tier value to set.
+ * @return the ResourceSkuInner object itself.
+ */
+ public ResourceSkuInner withTier(String tier) {
+ this.tier = tier;
+ return this;
+ }
+
+ /**
+ * Get the capacity property: Gets the capacity of SKU.
+ *
+ * @return the capacity value.
+ */
+ public SkuCapacity capacity() {
+ return this.capacity;
+ }
+
+ /**
+ * Set the capacity property: Gets the capacity of SKU.
+ *
+ * @param capacity the capacity value to set.
+ * @return the ResourceSkuInner object itself.
+ */
+ public ResourceSkuInner withCapacity(SkuCapacity capacity) {
+ this.capacity = capacity;
+ return this;
+ }
+
+ /**
+ * Get the locations property: Gets the set of locations that the SKU is available.
+ *
+ * @return the locations value.
+ */
+ public List locations() {
+ return this.locations;
+ }
+
+ /**
+ * Set the locations property: Gets the set of locations that the SKU is available.
+ *
+ * @param locations the locations value to set.
+ * @return the ResourceSkuInner object itself.
+ */
+ public ResourceSkuInner withLocations(List locations) {
+ this.locations = locations;
+ return this;
+ }
+
+ /**
+ * Get the locationInfo property: Gets a list of locations and availability zones in those locations where the SKU
+ * is available.
+ *
+ * @return the locationInfo value.
+ */
+ public List locationInfo() {
+ return this.locationInfo;
+ }
+
+ /**
+ * Set the locationInfo property: Gets a list of locations and availability zones in those locations where the SKU
+ * is available.
+ *
+ * @param locationInfo the locationInfo value to set.
+ * @return the ResourceSkuInner object itself.
+ */
+ public ResourceSkuInner withLocationInfo(List locationInfo) {
+ this.locationInfo = locationInfo;
+ return this;
+ }
+
+ /**
+ * Get the restrictions property: Gets the restrictions because of which SKU cannot be used. This is empty if there
+ * are no restrictions.
+ *
+ * @return the restrictions value.
+ */
+ public List restrictions() {
+ return this.restrictions;
+ }
+
+ /**
+ * Set the restrictions property: Gets the restrictions because of which SKU cannot be used. This is empty if there
+ * are no restrictions.
+ *
+ * @param restrictions the restrictions value to set.
+ * @return the ResourceSkuInner object itself.
+ */
+ public ResourceSkuInner withRestrictions(List restrictions) {
+ this.restrictions = restrictions;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (capacity() != null) {
+ capacity().validate();
+ }
+ if (locationInfo() != null) {
+ locationInfo().forEach(e -> e.validate());
+ }
+ if (restrictions() != null) {
+ restrictions().forEach(e -> e.validate());
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ResourceUploadDefinitionInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ResourceUploadDefinitionInner.java
new file mode 100644
index 0000000000000..2358469fab536
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ResourceUploadDefinitionInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Resource upload definition payload. */
+@Fluent
+public final class ResourceUploadDefinitionInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ResourceUploadDefinitionInner.class);
+
+ /*
+ * Source relative path
+ */
+ @JsonProperty(value = "relativePath")
+ private String relativePath;
+
+ /*
+ * Upload URL
+ */
+ @JsonProperty(value = "uploadUrl")
+ private String uploadUrl;
+
+ /**
+ * Get the relativePath property: Source relative path.
+ *
+ * @return the relativePath value.
+ */
+ public String relativePath() {
+ return this.relativePath;
+ }
+
+ /**
+ * Set the relativePath property: Source relative path.
+ *
+ * @param relativePath the relativePath value to set.
+ * @return the ResourceUploadDefinitionInner object itself.
+ */
+ public ResourceUploadDefinitionInner withRelativePath(String relativePath) {
+ this.relativePath = relativePath;
+ return this;
+ }
+
+ /**
+ * Get the uploadUrl property: Upload URL.
+ *
+ * @return the uploadUrl value.
+ */
+ public String uploadUrl() {
+ return this.uploadUrl;
+ }
+
+ /**
+ * Set the uploadUrl property: Upload URL.
+ *
+ * @param uploadUrl the uploadUrl value to set.
+ * @return the ResourceUploadDefinitionInner object itself.
+ */
+ public ResourceUploadDefinitionInner withUploadUrl(String uploadUrl) {
+ this.uploadUrl = uploadUrl;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ServiceRegistryResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ServiceRegistryResourceInner.java
new file mode 100644
index 0000000000000..4d2773d9a9641
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ServiceRegistryResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ServiceRegistryProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Service Registry resource. */
+@Fluent
+public final class ServiceRegistryResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ServiceRegistryResourceInner.class);
+
+ /*
+ * Service Registry properties payload
+ */
+ @JsonProperty(value = "properties")
+ private ServiceRegistryProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Service Registry properties payload.
+ *
+ * @return the properties value.
+ */
+ public ServiceRegistryProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Service Registry properties payload.
+ *
+ * @param properties the properties value to set.
+ * @return the ServiceRegistryResourceInner object itself.
+ */
+ public ServiceRegistryResourceInner withProperties(ServiceRegistryProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ServiceResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ServiceResourceInner.java
new file mode 100644
index 0000000000000..59962e3abc915
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/ServiceResourceInner.java
@@ -0,0 +1,100 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.ClusterResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.Sku;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** Service resource. */
+@Fluent
+public final class ServiceResourceInner extends Resource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(ServiceResourceInner.class);
+
+ /*
+ * Properties of the Service resource
+ */
+ @JsonProperty(value = "properties")
+ private ClusterResourceProperties properties;
+
+ /*
+ * Sku of the Service resource
+ */
+ @JsonProperty(value = "sku")
+ private Sku sku;
+
+ /**
+ * Get the properties property: Properties of the Service resource.
+ *
+ * @return the properties value.
+ */
+ public ClusterResourceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the Service resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ServiceResourceInner object itself.
+ */
+ public ServiceResourceInner withProperties(ClusterResourceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the sku property: Sku of the Service resource.
+ *
+ * @return the sku value.
+ */
+ public Sku sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: Sku of the Service resource.
+ *
+ * @param sku the sku value to set.
+ * @return the ServiceResourceInner object itself.
+ */
+ public ServiceResourceInner withSku(Sku sku) {
+ this.sku = sku;
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ServiceResourceInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public ServiceResourceInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ if (sku() != null) {
+ sku().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/StorageResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/StorageResourceInner.java
new file mode 100644
index 0000000000000..3de1344172854
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/StorageResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.StorageProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Storage resource payload. */
+@Fluent
+public final class StorageResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(StorageResourceInner.class);
+
+ /*
+ * Properties of the storage resource payload.
+ */
+ @JsonProperty(value = "properties")
+ private StorageProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Properties of the storage resource payload.
+ *
+ * @return the properties value.
+ */
+ public StorageProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Properties of the storage resource payload.
+ *
+ * @param properties the properties value to set.
+ * @return the StorageResourceInner object itself.
+ */
+ public StorageResourceInner withProperties(StorageProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedBuildpackResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedBuildpackResourceInner.java
new file mode 100644
index 0000000000000..618d9e09cecbb
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedBuildpackResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.SupportedBuildpackResourceProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Supported buildpack resource payload. */
+@Fluent
+public final class SupportedBuildpackResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SupportedBuildpackResourceInner.class);
+
+ /*
+ * Supported buildpack resource properties
+ */
+ @JsonProperty(value = "properties")
+ private SupportedBuildpackResourceProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Supported buildpack resource properties.
+ *
+ * @return the properties value.
+ */
+ public SupportedBuildpackResourceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Supported buildpack resource properties.
+ *
+ * @param properties the properties value to set.
+ * @return the SupportedBuildpackResourceInner object itself.
+ */
+ public SupportedBuildpackResourceInner withProperties(SupportedBuildpackResourceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedBuildpacksCollectionInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedBuildpacksCollectionInner.java
new file mode 100644
index 0000000000000..535b27ceb687e
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedBuildpacksCollectionInner.java
@@ -0,0 +1,83 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Object that includes an array of supported buildpacks resources and a possible link for next set. */
+@Fluent
+public final class SupportedBuildpacksCollectionInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SupportedBuildpacksCollectionInner.class);
+
+ /*
+ * Collection of supported buildpacks resources
+ */
+ @JsonProperty(value = "value")
+ private List value;
+
+ /*
+ * URL client should use to fetch the next page (per server side paging).
+ * It's null for now, added for future use.
+ */
+ @JsonProperty(value = "nextLink")
+ private String nextLink;
+
+ /**
+ * Get the value property: Collection of supported buildpacks resources.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Collection of supported buildpacks resources.
+ *
+ * @param value the value value to set.
+ * @return the SupportedBuildpacksCollectionInner object itself.
+ */
+ public SupportedBuildpacksCollectionInner withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Get the nextLink property: URL client should use to fetch the next page (per server side paging). It's null for
+ * now, added for future use.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Set the nextLink property: URL client should use to fetch the next page (per server side paging). It's null for
+ * now, added for future use.
+ *
+ * @param nextLink the nextLink value to set.
+ * @return the SupportedBuildpacksCollectionInner object itself.
+ */
+ public SupportedBuildpacksCollectionInner withNextLink(String nextLink) {
+ this.nextLink = nextLink;
+ return this;
+ }
+
+ /**
+ * 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/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedStackResourceInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedStackResourceInner.java
new file mode 100644
index 0000000000000..6f9efef55e4df
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedStackResourceInner.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.appplatform.generated.models.SupportedStackResourceProperties;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Supported stack resource payload. */
+@Fluent
+public final class SupportedStackResourceInner extends ProxyResource {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SupportedStackResourceInner.class);
+
+ /*
+ * Supported stack resource properties
+ */
+ @JsonProperty(value = "properties")
+ private SupportedStackResourceProperties properties;
+
+ /*
+ * Metadata pertaining to creation and last modification of the resource.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the properties property: Supported stack resource properties.
+ *
+ * @return the properties value.
+ */
+ public SupportedStackResourceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: Supported stack resource properties.
+ *
+ * @param properties the properties value to set.
+ * @return the SupportedStackResourceInner object itself.
+ */
+ public SupportedStackResourceInner withProperties(SupportedStackResourceProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Metadata pertaining to creation and last modification of the resource.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedStacksCollectionInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedStacksCollectionInner.java
new file mode 100644
index 0000000000000..6c7c3800902ed
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/SupportedStacksCollectionInner.java
@@ -0,0 +1,83 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Object that includes an array of supported stacks resources and a possible link for next set. */
+@Fluent
+public final class SupportedStacksCollectionInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(SupportedStacksCollectionInner.class);
+
+ /*
+ * Collection of supported stacks resources
+ */
+ @JsonProperty(value = "value")
+ private List value;
+
+ /*
+ * URL client should use to fetch the next page (per server side paging).
+ * It's null for now, added for future use.
+ */
+ @JsonProperty(value = "nextLink")
+ private String nextLink;
+
+ /**
+ * Get the value property: Collection of supported stacks resources.
+ *
+ * @return the value value.
+ */
+ public List value() {
+ return this.value;
+ }
+
+ /**
+ * Set the value property: Collection of supported stacks resources.
+ *
+ * @param value the value value to set.
+ * @return the SupportedStacksCollectionInner object itself.
+ */
+ public SupportedStacksCollectionInner withValue(List value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Get the nextLink property: URL client should use to fetch the next page (per server side paging). It's null for
+ * now, added for future use.
+ *
+ * @return the nextLink value.
+ */
+ public String nextLink() {
+ return this.nextLink;
+ }
+
+ /**
+ * Set the nextLink property: URL client should use to fetch the next page (per server side paging). It's null for
+ * now, added for future use.
+ *
+ * @param nextLink the nextLink value to set.
+ * @return the SupportedStacksCollectionInner object itself.
+ */
+ public SupportedStacksCollectionInner withNextLink(String nextLink) {
+ this.nextLink = nextLink;
+ return this;
+ }
+
+ /**
+ * 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/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/TestKeysInner.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/TestKeysInner.java
new file mode 100644
index 0000000000000..1685df0f801ce
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/TestKeysInner.java
@@ -0,0 +1,154 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.logging.ClientLogger;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** Test keys payload. */
+@Fluent
+public final class TestKeysInner {
+ @JsonIgnore private final ClientLogger logger = new ClientLogger(TestKeysInner.class);
+
+ /*
+ * Primary key
+ */
+ @JsonProperty(value = "primaryKey")
+ private String primaryKey;
+
+ /*
+ * Secondary key
+ */
+ @JsonProperty(value = "secondaryKey")
+ private String secondaryKey;
+
+ /*
+ * Primary test endpoint
+ */
+ @JsonProperty(value = "primaryTestEndpoint")
+ private String primaryTestEndpoint;
+
+ /*
+ * Secondary test endpoint
+ */
+ @JsonProperty(value = "secondaryTestEndpoint")
+ private String secondaryTestEndpoint;
+
+ /*
+ * Indicates whether the test endpoint feature enabled or not
+ */
+ @JsonProperty(value = "enabled")
+ private Boolean enabled;
+
+ /**
+ * Get the primaryKey property: Primary key.
+ *
+ * @return the primaryKey value.
+ */
+ public String primaryKey() {
+ return this.primaryKey;
+ }
+
+ /**
+ * Set the primaryKey property: Primary key.
+ *
+ * @param primaryKey the primaryKey value to set.
+ * @return the TestKeysInner object itself.
+ */
+ public TestKeysInner withPrimaryKey(String primaryKey) {
+ this.primaryKey = primaryKey;
+ return this;
+ }
+
+ /**
+ * Get the secondaryKey property: Secondary key.
+ *
+ * @return the secondaryKey value.
+ */
+ public String secondaryKey() {
+ return this.secondaryKey;
+ }
+
+ /**
+ * Set the secondaryKey property: Secondary key.
+ *
+ * @param secondaryKey the secondaryKey value to set.
+ * @return the TestKeysInner object itself.
+ */
+ public TestKeysInner withSecondaryKey(String secondaryKey) {
+ this.secondaryKey = secondaryKey;
+ return this;
+ }
+
+ /**
+ * Get the primaryTestEndpoint property: Primary test endpoint.
+ *
+ * @return the primaryTestEndpoint value.
+ */
+ public String primaryTestEndpoint() {
+ return this.primaryTestEndpoint;
+ }
+
+ /**
+ * Set the primaryTestEndpoint property: Primary test endpoint.
+ *
+ * @param primaryTestEndpoint the primaryTestEndpoint value to set.
+ * @return the TestKeysInner object itself.
+ */
+ public TestKeysInner withPrimaryTestEndpoint(String primaryTestEndpoint) {
+ this.primaryTestEndpoint = primaryTestEndpoint;
+ return this;
+ }
+
+ /**
+ * Get the secondaryTestEndpoint property: Secondary test endpoint.
+ *
+ * @return the secondaryTestEndpoint value.
+ */
+ public String secondaryTestEndpoint() {
+ return this.secondaryTestEndpoint;
+ }
+
+ /**
+ * Set the secondaryTestEndpoint property: Secondary test endpoint.
+ *
+ * @param secondaryTestEndpoint the secondaryTestEndpoint value to set.
+ * @return the TestKeysInner object itself.
+ */
+ public TestKeysInner withSecondaryTestEndpoint(String secondaryTestEndpoint) {
+ this.secondaryTestEndpoint = secondaryTestEndpoint;
+ return this;
+ }
+
+ /**
+ * Get the enabled property: Indicates whether the test endpoint feature enabled or not.
+ *
+ * @return the enabled value.
+ */
+ public Boolean enabled() {
+ return this.enabled;
+ }
+
+ /**
+ * Set the enabled property: Indicates whether the test endpoint feature enabled or not.
+ *
+ * @param enabled the enabled value to set.
+ * @return the TestKeysInner object itself.
+ */
+ public TestKeysInner withEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/package-info.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/package-info.java
new file mode 100644
index 0000000000000..4027f15b23bdb
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/package-info.java
@@ -0,0 +1,6 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/** Package containing the inner data models for AppPlatformManagementClient. REST API for Azure Spring Cloud. */
+package com.azure.resourcemanager.appplatform.generated.fluent.models;
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/package-info.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/package-info.java
new file mode 100644
index 0000000000000..90ec1299e3be8
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/package-info.java
@@ -0,0 +1,6 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+/** Package containing the service clients for AppPlatformManagementClient. REST API for Azure Spring Cloud. */
+package com.azure.resourcemanager.appplatform.generated.fluent;
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/ApiPortalCustomDomainResourceImpl.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/ApiPortalCustomDomainResourceImpl.java
new file mode 100644
index 0000000000000..71d6c07227fe3
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/ApiPortalCustomDomainResourceImpl.java
@@ -0,0 +1,149 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.implementation;
+
+import com.azure.core.management.SystemData;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ApiPortalCustomDomainResourceInner;
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortalCustomDomainProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortalCustomDomainResource;
+
+public final class ApiPortalCustomDomainResourceImpl
+ implements ApiPortalCustomDomainResource,
+ ApiPortalCustomDomainResource.Definition,
+ ApiPortalCustomDomainResource.Update {
+ private ApiPortalCustomDomainResourceInner innerObject;
+
+ private final com.azure.resourcemanager.appplatform.generated.AppPlatformManager serviceManager;
+
+ public String id() {
+ return this.innerModel().id();
+ }
+
+ public String name() {
+ return this.innerModel().name();
+ }
+
+ public String type() {
+ return this.innerModel().type();
+ }
+
+ public ApiPortalCustomDomainProperties properties() {
+ return this.innerModel().properties();
+ }
+
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
+ public ApiPortalCustomDomainResourceInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.appplatform.generated.AppPlatformManager manager() {
+ return this.serviceManager;
+ }
+
+ private String resourceGroupName;
+
+ private String serviceName;
+
+ private String apiPortalName;
+
+ private String domainName;
+
+ public ApiPortalCustomDomainResourceImpl withExistingApiPortal(
+ String resourceGroupName, String serviceName, String apiPortalName) {
+ this.resourceGroupName = resourceGroupName;
+ this.serviceName = serviceName;
+ this.apiPortalName = apiPortalName;
+ return this;
+ }
+
+ public ApiPortalCustomDomainResource create() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApiPortalCustomDomains()
+ .createOrUpdate(
+ resourceGroupName, serviceName, apiPortalName, domainName, this.innerModel(), Context.NONE);
+ return this;
+ }
+
+ public ApiPortalCustomDomainResource create(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApiPortalCustomDomains()
+ .createOrUpdate(resourceGroupName, serviceName, apiPortalName, domainName, this.innerModel(), context);
+ return this;
+ }
+
+ ApiPortalCustomDomainResourceImpl(
+ String name, com.azure.resourcemanager.appplatform.generated.AppPlatformManager serviceManager) {
+ this.innerObject = new ApiPortalCustomDomainResourceInner();
+ this.serviceManager = serviceManager;
+ this.domainName = name;
+ }
+
+ public ApiPortalCustomDomainResourceImpl update() {
+ return this;
+ }
+
+ public ApiPortalCustomDomainResource apply() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApiPortalCustomDomains()
+ .createOrUpdate(
+ resourceGroupName, serviceName, apiPortalName, domainName, this.innerModel(), Context.NONE);
+ return this;
+ }
+
+ public ApiPortalCustomDomainResource apply(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApiPortalCustomDomains()
+ .createOrUpdate(resourceGroupName, serviceName, apiPortalName, domainName, this.innerModel(), context);
+ return this;
+ }
+
+ ApiPortalCustomDomainResourceImpl(
+ ApiPortalCustomDomainResourceInner innerObject,
+ com.azure.resourcemanager.appplatform.generated.AppPlatformManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ this.resourceGroupName = Utils.getValueFromIdByName(innerObject.id(), "resourceGroups");
+ this.serviceName = Utils.getValueFromIdByName(innerObject.id(), "Spring");
+ this.apiPortalName = Utils.getValueFromIdByName(innerObject.id(), "apiPortals");
+ this.domainName = Utils.getValueFromIdByName(innerObject.id(), "domains");
+ }
+
+ public ApiPortalCustomDomainResource refresh() {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApiPortalCustomDomains()
+ .getWithResponse(resourceGroupName, serviceName, apiPortalName, domainName, Context.NONE)
+ .getValue();
+ return this;
+ }
+
+ public ApiPortalCustomDomainResource refresh(Context context) {
+ this.innerObject =
+ serviceManager
+ .serviceClient()
+ .getApiPortalCustomDomains()
+ .getWithResponse(resourceGroupName, serviceName, apiPortalName, domainName, context)
+ .getValue();
+ return this;
+ }
+
+ public ApiPortalCustomDomainResourceImpl withProperties(ApiPortalCustomDomainProperties properties) {
+ this.innerModel().withProperties(properties);
+ return this;
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/ApiPortalCustomDomainsClientImpl.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/ApiPortalCustomDomainsClientImpl.java
new file mode 100644
index 0000000000000..635082996fded
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/ApiPortalCustomDomainsClientImpl.java
@@ -0,0 +1,1276 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.appplatform.generated.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.Delete;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.Get;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Headers;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Put;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.PagedFlux;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.PagedResponse;
+import com.azure.core.http.rest.PagedResponseBase;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.appplatform.generated.fluent.ApiPortalCustomDomainsClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.models.ApiPortalCustomDomainResourceInner;
+import com.azure.resourcemanager.appplatform.generated.models.ApiPortalCustomDomainResourceCollection;
+import java.nio.ByteBuffer;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** An instance of this class provides access to all the operations defined in ApiPortalCustomDomainsClient. */
+public final class ApiPortalCustomDomainsClientImpl implements ApiPortalCustomDomainsClient {
+ private final ClientLogger logger = new ClientLogger(ApiPortalCustomDomainsClientImpl.class);
+
+ /** The proxy service used to perform REST calls. */
+ private final ApiPortalCustomDomainsService service;
+
+ /** The service client containing this operation class. */
+ private final AppPlatformManagementClientImpl client;
+
+ /**
+ * Initializes an instance of ApiPortalCustomDomainsClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ ApiPortalCustomDomainsClientImpl(AppPlatformManagementClientImpl client) {
+ this.service =
+ RestProxy
+ .create(ApiPortalCustomDomainsService.class, client.getHttpPipeline(), client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for AppPlatformManagementClientApiPortalCustomDomains to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{$host}")
+ @ServiceInterface(name = "AppPlatformManagemen")
+ private interface ApiPortalCustomDomainsService {
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring"
+ + "/{serviceName}/apiPortals/{apiPortalName}/domains/{domainName}")
+ @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("serviceName") String serviceName,
+ @PathParam("apiPortalName") String apiPortalName,
+ @PathParam("domainName") String domainName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Put(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring"
+ + "/{serviceName}/apiPortals/{apiPortalName}/domains/{domainName}")
+ @ExpectedResponses({200, 201})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> createOrUpdate(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("serviceName") String serviceName,
+ @PathParam("apiPortalName") String apiPortalName,
+ @PathParam("domainName") String domainName,
+ @BodyParam("application/json") ApiPortalCustomDomainResourceInner apiPortalCustomDomainResource,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Delete(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring"
+ + "/{serviceName}/apiPortals/{apiPortalName}/domains/{domainName}")
+ @ExpectedResponses({200, 202, 204})
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono>> delete(
+ @HostParam("$host") String endpoint,
+ @QueryParam("api-version") String apiVersion,
+ @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("serviceName") String serviceName,
+ @PathParam("apiPortalName") String apiPortalName,
+ @PathParam("domainName") String domainName,
+ @HeaderParam("Accept") String accept,
+ Context context);
+
+ @Headers({"Content-Type: application/json"})
+ @Get(
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring"
+ + "/{serviceName}/apiPortals/{apiPortalName}/domains")
+ @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("serviceName") String serviceName,
+ @PathParam("apiPortalName") String apiPortalName,
+ @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);
+ }
+
+ /**
+ * Get the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal custom domain along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String resourceGroupName, String serviceName, String apiPortalName, String domainName) {
+ 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 (serviceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null."));
+ }
+ if (apiPortalName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter apiPortalName is required and cannot be null."));
+ }
+ if (domainName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter domainName 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,
+ serviceName,
+ apiPortalName,
+ domainName,
+ accept,
+ context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Get the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal custom domain along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> getWithResponseAsync(
+ String resourceGroupName, String serviceName, String apiPortalName, String domainName, 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 (serviceName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter serviceName is required and cannot be null."));
+ }
+ if (apiPortalName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter apiPortalName is required and cannot be null."));
+ }
+ if (domainName == null) {
+ return Mono.error(new IllegalArgumentException("Parameter domainName 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,
+ serviceName,
+ apiPortalName,
+ domainName,
+ accept,
+ context);
+ }
+
+ /**
+ * Get the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal custom domain on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono getAsync(
+ String resourceGroupName, String serviceName, String apiPortalName, String domainName) {
+ return getWithResponseAsync(resourceGroupName, serviceName, apiPortalName, domainName)
+ .flatMap(
+ (Response res) -> {
+ if (res.getValue() != null) {
+ return Mono.just(res.getValue());
+ } else {
+ return Mono.empty();
+ }
+ });
+ }
+
+ /**
+ * Get the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal custom domain.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ApiPortalCustomDomainResourceInner get(
+ String resourceGroupName, String serviceName, String apiPortalName, String domainName) {
+ return getAsync(resourceGroupName, serviceName, apiPortalName, domainName).block();
+ }
+
+ /**
+ * Get the API portal custom domain.
+ *
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value
+ * from the Azure Resource Manager API or the portal.
+ * @param serviceName The name of the Service resource.
+ * @param apiPortalName The name of API portal.
+ * @param domainName The name of the API portal custom domain.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the API portal custom domain along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response