diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index cb6c6bf315d6..543fb06f4984 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -326,6 +326,7 @@ com.azure.resourcemanager:azure-resourcemanager-storagepool;1.0.0-beta.1;1.0.0-b
com.azure.resourcemanager:azure-resourcemanager-dataprotection;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-desktopvirtualization;1.0.0-beta.1;1.0.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-loadtestservice;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 928014fa07f5..55ca90d6493b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -719,6 +719,7 @@
sdk/apimanagementsdk/appconfigurationsdk/applicationinsights
+ sdk/appplatformsdk/attestationsdk/automationsdk/avs
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 000000000000..c39c2d38a9f1
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Release History
+
+## 1.0.0-beta.1 (2021-12-14)
+
+- 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-2021-09. 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 000000000000..b2dff343eb5d
--- /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-2021-09. 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 000000000000..0b0d7fca1fd3
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/SAMPLE.md
@@ -0,0 +1,1924 @@
+# Code snippets and samples
+
+
+## Apps
+
+- [CreateOrUpdate](#apps_createorupdate)
+- [Delete](#apps_delete)
+- [Get](#apps_get)
+- [GetResourceUploadUrl](#apps_getresourceuploadurl)
+- [List](#apps_list)
+- [Update](#apps_update)
+- [ValidateDomain](#apps_validatedomain)
+
+## Bindings
+
+- [CreateOrUpdate](#bindings_createorupdate)
+- [Delete](#bindings_delete)
+- [Get](#bindings_get)
+- [List](#bindings_list)
+- [Update](#bindings_update)
+
+## 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)
+
+## 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)
+
+## MonitoringSettings
+
+- [Get](#monitoringsettings_get)
+- [UpdatePatch](#monitoringsettings_updatepatch)
+- [UpdatePut](#monitoringsettings_updateput)
+
+## Operations
+
+- [List](#operations_list)
+
+## RuntimeVersions
+
+- [ListRuntimeVersions](#runtimeversions_listruntimeversions)
+
+## 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)
+### 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;
+
+/** Samples for Apps CreateOrUpdate. */
+public final class AppsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2021-09-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)
+ .withActiveDeploymentName("mydeployment1")
+ .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();
+ }
+}
+```
+
+### 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/2021-09-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/2021-09-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/2021-09-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/2021-09-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_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/2021-09-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)
+ .withActiveDeploymentName("mydeployment1")
+ .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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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;
+ }
+}
+```
+
+### 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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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);
+ }
+}
+```
+
+### 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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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.resourcemanager.appplatform.generated.models.CustomContainer;
+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.RuntimeVersion;
+import com.azure.resourcemanager.appplatform.generated.models.UserSourceInfo;
+import com.azure.resourcemanager.appplatform.generated.models.UserSourceType;
+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/2021-09-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) {
+ manager
+ .deployments()
+ .define("mydeployment")
+ .withExistingApp("myResourceGroup", "myservice", "myapp")
+ .withProperties(
+ new DeploymentResourceProperties()
+ .withSource(
+ new UserSourceInfo()
+ .withType(UserSourceType.SOURCE)
+ .withRelativePath(
+ "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc")
+ .withVersion("1.0")
+ .withArtifactSelector("sub-module-1"))
+ .withDeploymentSettings(
+ new DeploymentSettings()
+ .withResourceRequests(new ResourceRequests().withCpu("1000m").withMemory("3Gi"))
+ .withJvmOptions("-Xms1G -Xmx3G")
+ .withEnvironmentVariables(mapOf("env", "test"))
+ .withRuntimeVersion(RuntimeVersion.JAVA_8)))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2021-09-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 UserSourceInfo()
+ .withType(UserSourceType.CONTAINER)
+ .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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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.DeploymentResource;
+import com.azure.resourcemanager.appplatform.generated.models.DeploymentResourceProperties;
+import com.azure.resourcemanager.appplatform.generated.models.ImageRegistryCredential;
+import com.azure.resourcemanager.appplatform.generated.models.UserSourceInfo;
+import com.azure.resourcemanager.appplatform.generated.models.UserSourceType;
+import java.util.Arrays;
+
+/** Samples for Deployments Update. */
+public final class DeploymentsUpdateSamples {
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2021-09-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 UserSourceInfo()
+ .withType(UserSourceType.SOURCE)
+ .withRelativePath(
+ "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc")
+ .withVersion("1.0")
+ .withArtifactSelector("sub-module-1")))
+ .apply();
+ }
+
+ /*
+ * x-ms-original-file: specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2021-09-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 UserSourceInfo()
+ .withType(UserSourceType.CONTAINER)
+ .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();
+ }
+}
+```
+
+### 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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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);
+ }
+}
+```
+
+### 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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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/2021-09-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 000000000000..3a4e56b79263
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/pom.xml
@@ -0,0 +1,81 @@
+
+ 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-2021-09.
+ 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
+ false
+
+
+
+
+
+ com.azure
+ azure-core
+ 1.23.1
+
+
+ com.azure
+ azure-core-management
+ 1.4.4
+
+
+
+
+
+ org.revapi
+ revapi-maven-plugin
+ 0.11.2
+
+
+
+
+ java.method.addedToInterface
+
+
+ true
+ .*
+ com\.azure\.resourcemanager(\.[^.]+)+\.fluent(\.[^.]+)*
+
+
+
+
+
+
+
+
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 000000000000..98ee3ef1ebc6
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/AppPlatformManager.java
@@ -0,0 +1,374 @@
+// 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.AppPlatformManagementClientBuilder;
+import com.azure.resourcemanager.appplatform.generated.implementation.AppsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.BindingsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.CertificatesImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.ConfigServersImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.CustomDomainsImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.DeploymentsImpl;
+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.ServicesImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.SkusImpl;
+import com.azure.resourcemanager.appplatform.generated.implementation.StoragesImpl;
+import com.azure.resourcemanager.appplatform.generated.models.Apps;
+import com.azure.resourcemanager.appplatform.generated.models.Bindings;
+import com.azure.resourcemanager.appplatform.generated.models.Certificates;
+import com.azure.resourcemanager.appplatform.generated.models.ConfigServers;
+import com.azure.resourcemanager.appplatform.generated.models.CustomDomains;
+import com.azure.resourcemanager.appplatform.generated.models.Deployments;
+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.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 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 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 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 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/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 000000000000..22f2612b59e4
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/AppPlatformManagementClient.java
@@ -0,0 +1,131 @@
+// 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 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();
+}
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 000000000000..c307df5ed135
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/AppsClient.java
@@ -0,0 +1,353 @@
+// 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.CustomDomainValidatePayload;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getResourceUploadUrlWithResponse(
+ String resourceGroupName, String serviceName, String appName, 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.
+ */
+ @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 000000000000..d5f417239816
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/BindingsClient.java
@@ -0,0 +1,333 @@
+// 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;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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/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 000000000000..6f2c4a51d239
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/CertificatesClient.java
@@ -0,0 +1,224 @@
+// 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;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 000000000000..f8af0f7688c4
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ConfigServersClient.java
@@ -0,0 +1,246 @@
+// 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;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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/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 000000000000..4a79dac1c3af
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/CustomDomainsClient.java
@@ -0,0 +1,333 @@
+// 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;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 000000000000..1c819e0df2a5
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/DeploymentsClient.java
@@ -0,0 +1,871 @@
+// 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;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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/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 000000000000..afad955d7a82
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/MonitoringSettingsClient.java
@@ -0,0 +1,190 @@
+// 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;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 000000000000..6c6422f970ec
--- /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 000000000000..4a711c9a1dbf
--- /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.
+ */
+ @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/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 000000000000..bf7f0e18e770
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/ServicesClient.java
@@ -0,0 +1,549 @@
+// 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;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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.
+ */
+ @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 000000000000..0863f3f893bd
--- /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 000000000000..d2268084fe93
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/StoragesClient.java
@@ -0,0 +1,217 @@
+// 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;
+
+/** 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.
+ */
+ @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.
+ */
+ @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.
+ */
+ @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 completion.
+ */
+ @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 completion.
+ */
+ @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/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 000000000000..c4489370e279
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/AppResourceInner.java
@@ -0,0 +1,112 @@
+// 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.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;
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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 000000000000..fee0d09b1ed7
--- /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 000000000000..1c379a03a038
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/BindingResourceInner.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.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;
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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 000000000000..850de6b5f231
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CertificateResourceInner.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.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;
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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 000000000000..289ec1d9c0d9
--- /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 000000000000..658c76ae2139
--- /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/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 000000000000..d69f7a73f398
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/CustomDomainResourceInner.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.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;
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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 000000000000..622c8d7a623f
--- /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 000000000000..fb3652ca1aed
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/DeploymentResourceInner.java
@@ -0,0 +1,85 @@
+// 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.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;
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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/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 000000000000..5e786911b13c
--- /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 000000000000..e6948324c203
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/MonitoringSettingResourceInner.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.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;
+
+ /**
+ * 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;
+ }
+
+ /**
+ * 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 000000000000..db729cdf802d
--- /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 000000000000..20c861297ee9
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/fluent/models/OperationDetailInner.java
@@ -0,0 +1,162 @@
+// 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.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;
+
+ /*
+ * 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 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 000000000000..322d164eddb0
--- /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 000000000000..2358469fab53
--- /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/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 000000000000..59962e3abc91
--- /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 000000000000..3de134417285
--- /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/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 000000000000..1685df0f801c
--- /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 000000000000..4027f15b23bd
--- /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 000000000000..90ec1299e3be
--- /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/AppPlatformManagementClientBuilder.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/AppPlatformManagementClientBuilder.java
new file mode 100644
index 000000000000..5f6b686f47a8
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/AppPlatformManagementClientBuilder.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.annotation.ServiceClientBuilder;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpPipelineBuilder;
+import com.azure.core.http.policy.CookiePolicy;
+import com.azure.core.http.policy.RetryPolicy;
+import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.serializer.SerializerFactory;
+import com.azure.core.util.serializer.SerializerAdapter;
+import java.time.Duration;
+
+/** A builder for creating a new instance of the AppPlatformManagementClientImpl type. */
+@ServiceClientBuilder(serviceClients = {AppPlatformManagementClientImpl.class})
+public final class AppPlatformManagementClientBuilder {
+ /*
+ * Gets subscription ID which uniquely identify the Microsoft Azure
+ * subscription. The subscription ID forms part of the URI for every
+ * service call.
+ */
+ private String subscriptionId;
+
+ /**
+ * Sets Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms
+ * part of the URI for every service call.
+ *
+ * @param subscriptionId the subscriptionId value.
+ * @return the AppPlatformManagementClientBuilder.
+ */
+ public AppPlatformManagementClientBuilder subscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /*
+ * server parameter
+ */
+ private String endpoint;
+
+ /**
+ * Sets server parameter.
+ *
+ * @param endpoint the endpoint value.
+ * @return the AppPlatformManagementClientBuilder.
+ */
+ public AppPlatformManagementClientBuilder endpoint(String endpoint) {
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ /*
+ * The environment to connect to
+ */
+ private AzureEnvironment environment;
+
+ /**
+ * Sets The environment to connect to.
+ *
+ * @param environment the environment value.
+ * @return the AppPlatformManagementClientBuilder.
+ */
+ public AppPlatformManagementClientBuilder environment(AzureEnvironment environment) {
+ this.environment = environment;
+ return this;
+ }
+
+ /*
+ * The default poll interval for long-running operation
+ */
+ private Duration defaultPollInterval;
+
+ /**
+ * Sets The default poll interval for long-running operation.
+ *
+ * @param defaultPollInterval the defaultPollInterval value.
+ * @return the AppPlatformManagementClientBuilder.
+ */
+ public AppPlatformManagementClientBuilder defaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = defaultPollInterval;
+ return this;
+ }
+
+ /*
+ * The HTTP pipeline to send requests through
+ */
+ private HttpPipeline pipeline;
+
+ /**
+ * Sets The HTTP pipeline to send requests through.
+ *
+ * @param pipeline the pipeline value.
+ * @return the AppPlatformManagementClientBuilder.
+ */
+ public AppPlatformManagementClientBuilder pipeline(HttpPipeline pipeline) {
+ this.pipeline = pipeline;
+ return this;
+ }
+
+ /*
+ * The serializer to serialize an object into a string
+ */
+ private SerializerAdapter serializerAdapter;
+
+ /**
+ * Sets The serializer to serialize an object into a string.
+ *
+ * @param serializerAdapter the serializerAdapter value.
+ * @return the AppPlatformManagementClientBuilder.
+ */
+ public AppPlatformManagementClientBuilder serializerAdapter(SerializerAdapter serializerAdapter) {
+ this.serializerAdapter = serializerAdapter;
+ return this;
+ }
+
+ /**
+ * Builds an instance of AppPlatformManagementClientImpl with the provided parameters.
+ *
+ * @return an instance of AppPlatformManagementClientImpl.
+ */
+ public AppPlatformManagementClientImpl buildClient() {
+ if (endpoint == null) {
+ this.endpoint = "https://management.azure.com";
+ }
+ if (environment == null) {
+ this.environment = AzureEnvironment.AZURE;
+ }
+ if (defaultPollInterval == null) {
+ this.defaultPollInterval = Duration.ofSeconds(30);
+ }
+ if (pipeline == null) {
+ this.pipeline =
+ new HttpPipelineBuilder()
+ .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy())
+ .build();
+ }
+ if (serializerAdapter == null) {
+ this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter();
+ }
+ AppPlatformManagementClientImpl client =
+ new AppPlatformManagementClientImpl(
+ pipeline, serializerAdapter, defaultPollInterval, environment, subscriptionId, endpoint);
+ return client;
+ }
+}
diff --git a/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/AppPlatformManagementClientImpl.java b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/AppPlatformManagementClientImpl.java
new file mode 100644
index 000000000000..c8c7ae4cc6e2
--- /dev/null
+++ b/sdk/appplatform/azure-resourcemanager-appplatform-generated/src/main/java/com/azure/resourcemanager/appplatform/generated/implementation/AppPlatformManagementClientImpl.java
@@ -0,0 +1,452 @@
+// 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.ServiceClient;
+import com.azure.core.http.HttpHeaders;
+import com.azure.core.http.HttpPipeline;
+import com.azure.core.http.HttpResponse;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.AzureEnvironment;
+import com.azure.core.management.exception.ManagementError;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.management.polling.PollerFactory;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.core.util.polling.AsyncPollResponse;
+import com.azure.core.util.polling.LongRunningOperationStatus;
+import com.azure.core.util.polling.PollerFlux;
+import com.azure.core.util.serializer.SerializerAdapter;
+import com.azure.core.util.serializer.SerializerEncoding;
+import com.azure.resourcemanager.appplatform.generated.fluent.AppPlatformManagementClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.AppsClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.BindingsClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.CertificatesClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.ConfigServersClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.CustomDomainsClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.DeploymentsClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.MonitoringSettingsClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.OperationsClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.RuntimeVersionsClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.ServicesClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.SkusClient;
+import com.azure.resourcemanager.appplatform.generated.fluent.StoragesClient;
+import java.io.IOException;
+import java.lang.reflect.Type;
+import java.nio.ByteBuffer;
+import java.nio.charset.Charset;
+import java.nio.charset.StandardCharsets;
+import java.time.Duration;
+import java.util.Map;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+
+/** Initializes a new instance of the AppPlatformManagementClientImpl type. */
+@ServiceClient(builder = AppPlatformManagementClientBuilder.class)
+public final class AppPlatformManagementClientImpl implements AppPlatformManagementClient {
+ private final ClientLogger logger = new ClientLogger(AppPlatformManagementClientImpl.class);
+
+ /**
+ * Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of
+ * the URI for every service call.
+ */
+ private final String subscriptionId;
+
+ /**
+ * 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.
+ */
+ public String getSubscriptionId() {
+ return this.subscriptionId;
+ }
+
+ /** server parameter. */
+ private final String endpoint;
+
+ /**
+ * Gets server parameter.
+ *
+ * @return the endpoint value.
+ */
+ public String getEndpoint() {
+ return this.endpoint;
+ }
+
+ /** Api Version. */
+ private final String apiVersion;
+
+ /**
+ * Gets Api Version.
+ *
+ * @return the apiVersion value.
+ */
+ public String getApiVersion() {
+ return this.apiVersion;
+ }
+
+ /** The HTTP pipeline to send requests through. */
+ private final HttpPipeline httpPipeline;
+
+ /**
+ * Gets The HTTP pipeline to send requests through.
+ *
+ * @return the httpPipeline value.
+ */
+ public HttpPipeline getHttpPipeline() {
+ return this.httpPipeline;
+ }
+
+ /** The serializer to serialize an object into a string. */
+ private final SerializerAdapter serializerAdapter;
+
+ /**
+ * Gets The serializer to serialize an object into a string.
+ *
+ * @return the serializerAdapter value.
+ */
+ SerializerAdapter getSerializerAdapter() {
+ return this.serializerAdapter;
+ }
+
+ /** The default poll interval for long-running operation. */
+ private final Duration defaultPollInterval;
+
+ /**
+ * Gets The default poll interval for long-running operation.
+ *
+ * @return the defaultPollInterval value.
+ */
+ public Duration getDefaultPollInterval() {
+ return this.defaultPollInterval;
+ }
+
+ /** The ServicesClient object to access its operations. */
+ private final ServicesClient services;
+
+ /**
+ * Gets the ServicesClient object to access its operations.
+ *
+ * @return the ServicesClient object.
+ */
+ public ServicesClient getServices() {
+ return this.services;
+ }
+
+ /** The ConfigServersClient object to access its operations. */
+ private final ConfigServersClient configServers;
+
+ /**
+ * Gets the ConfigServersClient object to access its operations.
+ *
+ * @return the ConfigServersClient object.
+ */
+ public ConfigServersClient getConfigServers() {
+ return this.configServers;
+ }
+
+ /** The MonitoringSettingsClient object to access its operations. */
+ private final MonitoringSettingsClient monitoringSettings;
+
+ /**
+ * Gets the MonitoringSettingsClient object to access its operations.
+ *
+ * @return the MonitoringSettingsClient object.
+ */
+ public MonitoringSettingsClient getMonitoringSettings() {
+ return this.monitoringSettings;
+ }
+
+ /** The AppsClient object to access its operations. */
+ private final AppsClient apps;
+
+ /**
+ * Gets the AppsClient object to access its operations.
+ *
+ * @return the AppsClient object.
+ */
+ public AppsClient getApps() {
+ return this.apps;
+ }
+
+ /** The BindingsClient object to access its operations. */
+ private final BindingsClient bindings;
+
+ /**
+ * Gets the BindingsClient object to access its operations.
+ *
+ * @return the BindingsClient object.
+ */
+ public BindingsClient getBindings() {
+ return this.bindings;
+ }
+
+ /** The StoragesClient object to access its operations. */
+ private final StoragesClient storages;
+
+ /**
+ * Gets the StoragesClient object to access its operations.
+ *
+ * @return the StoragesClient object.
+ */
+ public StoragesClient getStorages() {
+ return this.storages;
+ }
+
+ /** The CertificatesClient object to access its operations. */
+ private final CertificatesClient certificates;
+
+ /**
+ * Gets the CertificatesClient object to access its operations.
+ *
+ * @return the CertificatesClient object.
+ */
+ public CertificatesClient getCertificates() {
+ return this.certificates;
+ }
+
+ /** The CustomDomainsClient object to access its operations. */
+ private final CustomDomainsClient customDomains;
+
+ /**
+ * Gets the CustomDomainsClient object to access its operations.
+ *
+ * @return the CustomDomainsClient object.
+ */
+ public CustomDomainsClient getCustomDomains() {
+ return this.customDomains;
+ }
+
+ /** The DeploymentsClient object to access its operations. */
+ private final DeploymentsClient deployments;
+
+ /**
+ * Gets the DeploymentsClient object to access its operations.
+ *
+ * @return the DeploymentsClient object.
+ */
+ public DeploymentsClient getDeployments() {
+ return this.deployments;
+ }
+
+ /** The OperationsClient object to access its operations. */
+ private final OperationsClient operations;
+
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ public OperationsClient getOperations() {
+ return this.operations;
+ }
+
+ /** The RuntimeVersionsClient object to access its operations. */
+ private final RuntimeVersionsClient runtimeVersions;
+
+ /**
+ * Gets the RuntimeVersionsClient object to access its operations.
+ *
+ * @return the RuntimeVersionsClient object.
+ */
+ public RuntimeVersionsClient getRuntimeVersions() {
+ return this.runtimeVersions;
+ }
+
+ /** The SkusClient object to access its operations. */
+ private final SkusClient skus;
+
+ /**
+ * Gets the SkusClient object to access its operations.
+ *
+ * @return the SkusClient object.
+ */
+ public SkusClient getSkus() {
+ return this.skus;
+ }
+
+ /**
+ * Initializes an instance of AppPlatformManagementClient client.
+ *
+ * @param httpPipeline The HTTP pipeline to send requests through.
+ * @param serializerAdapter The serializer to serialize an object into a string.
+ * @param defaultPollInterval The default poll interval for long-running operation.
+ * @param environment The Azure environment.
+ * @param subscriptionId Gets subscription ID which uniquely identify the Microsoft Azure subscription. The
+ * subscription ID forms part of the URI for every service call.
+ * @param endpoint server parameter.
+ */
+ AppPlatformManagementClientImpl(
+ HttpPipeline httpPipeline,
+ SerializerAdapter serializerAdapter,
+ Duration defaultPollInterval,
+ AzureEnvironment environment,
+ String subscriptionId,
+ String endpoint) {
+ this.httpPipeline = httpPipeline;
+ this.serializerAdapter = serializerAdapter;
+ this.defaultPollInterval = defaultPollInterval;
+ this.subscriptionId = subscriptionId;
+ this.endpoint = endpoint;
+ this.apiVersion = "2021-09-01-preview";
+ this.services = new ServicesClientImpl(this);
+ this.configServers = new ConfigServersClientImpl(this);
+ this.monitoringSettings = new MonitoringSettingsClientImpl(this);
+ this.apps = new AppsClientImpl(this);
+ this.bindings = new BindingsClientImpl(this);
+ this.storages = new StoragesClientImpl(this);
+ this.certificates = new CertificatesClientImpl(this);
+ this.customDomains = new CustomDomainsClientImpl(this);
+ this.deployments = new DeploymentsClientImpl(this);
+ this.operations = new OperationsClientImpl(this);
+ this.runtimeVersions = new RuntimeVersionsClientImpl(this);
+ this.skus = new SkusClientImpl(this);
+ }
+
+ /**
+ * Gets default client context.
+ *
+ * @return the default client context.
+ */
+ public Context getContext() {
+ return Context.NONE;
+ }
+
+ /**
+ * Merges default client context with provided context.
+ *
+ * @param context the context to be merged with default client context.
+ * @return the merged context.
+ */
+ public Context mergeContext(Context context) {
+ for (Map.Entry