diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/pom.xml b/sdk/appplatform/mgmt-v2020_11_01_preview/pom.xml
new file mode 100644
index 000000000000..e594b209c1de
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/pom.xml
@@ -0,0 +1,135 @@
+
+
+ 4.0.0
+ com.microsoft.azure.appplatform.v2020_11_01_preview
+
+ com.microsoft.azure
+ azure-arm-parent
+ 1.3.2
+ ../../parents/azure-arm-parent/pom.xml
+
+ azure-mgmt-appplatform
+ 1.0.0-beta
+ jar
+ Microsoft Azure SDK for AppPlatform Management
+ This package contains Microsoft AppPlatform Management SDK.
+ https://github.com/Azure/azure-sdk-for-java
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+ UTF-8
+
+
+
+
+ microsoft
+ Microsoft
+
+
+
+
+ com.microsoft.azure
+ azure-client-runtime
+
+
+ com.microsoft.azure
+ azure-arm-client-runtime
+
+
+ junit
+ junit
+ test
+
+
+ com.microsoft.azure
+ azure-client-authentication
+ test
+
+
+ com.microsoft.azure
+ azure-mgmt-resources
+ test
+
+
+ com.microsoft.azure
+ azure-arm-client-runtime
+ test-jar
+ test
+
+ 1.6.5
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+
+ true
+ true
+
+
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.1
+
+ 1.7
+ 1.7
+
+
+ com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
+
+
+ true
+ true
+
+ true
+ true
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.8
+
+ *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search
+
+
+ /**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+ ]]>
+
+
+
+
+
+
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResource.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResource.java
new file mode 100644
index 000000000000..529366e47af5
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResource.java
@@ -0,0 +1,185 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppResourceInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Creatable;
+import com.microsoft.azure.arm.model.Updatable;
+import com.microsoft.azure.arm.model.Appliable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+
+/**
+ * Type representing AppResource.
+ */
+public interface AppResource extends HasInner, Indexable, Updatable, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the identity value.
+ */
+ ManagedIdentityProperties identity();
+
+ /**
+ * @return the location value.
+ */
+ String location();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ AppResourceProperties properties();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The entirety of the AppResource definition.
+ */
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithResourceGroupName, DefinitionStages.WithServiceName, DefinitionStages.WithCreate {
+ }
+
+ /**
+ * Grouping of AppResource definition stages.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of a AppResource definition.
+ */
+ interface Blank extends WithResourceGroupName {
+ }
+
+ /**
+ * The stage of the appresource definition allowing to specify ResourceGroupName.
+ */
+ interface WithResourceGroupName {
+ /**
+ * Specifies resourceGroupName.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal
+ * @return the next definition stage
+ */
+ WithServiceName withResourceGroupName(String resourceGroupName);
+ }
+
+ /**
+ * The stage of the appresource definition allowing to specify ServiceName.
+ */
+ interface WithServiceName {
+ /**
+ * Specifies serviceName.
+ * @param serviceName The name of the Service resource
+ * @return the next definition stage
+ */
+ WithCreate withServiceName(String serviceName);
+ }
+
+ /**
+ * The stage of the appresource definition allowing to specify Identity.
+ */
+ interface WithIdentity {
+ /**
+ * Specifies identity.
+ * @param identity The Managed Identity type of the app resource
+ * @return the next definition stage
+ */
+ WithCreate withIdentity(ManagedIdentityProperties identity);
+ }
+
+ /**
+ * The stage of the appresource definition allowing to specify Location.
+ */
+ interface WithLocation {
+ /**
+ * Specifies location.
+ * @param location The GEO location of the application, always the same with its parent resource
+ * @return the next definition stage
+ */
+ WithCreate withLocation(String location);
+ }
+
+ /**
+ * The stage of the appresource definition allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the App resource
+ * @return the next definition stage
+ */
+ WithCreate withProperties(AppResourceProperties properties);
+ }
+
+ /**
+ * The stage of the definition which contains all the minimum required inputs for
+ * the resource to be created (via {@link WithCreate#create()}), but also allows
+ * for any other optional settings to be specified.
+ */
+ interface WithCreate extends Creatable, DefinitionStages.WithIdentity, DefinitionStages.WithLocation, DefinitionStages.WithProperties {
+ }
+ }
+ /**
+ * The template for a AppResource update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithIdentity, UpdateStages.WithLocation, UpdateStages.WithProperties {
+ }
+
+ /**
+ * Grouping of AppResource update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the appresource update allowing to specify Identity.
+ */
+ interface WithIdentity {
+ /**
+ * Specifies identity.
+ * @param identity The Managed Identity type of the app resource
+ * @return the next update stage
+ */
+ Update withIdentity(ManagedIdentityProperties identity);
+ }
+
+ /**
+ * The stage of the appresource update allowing to specify Location.
+ */
+ interface WithLocation {
+ /**
+ * Specifies location.
+ * @param location The GEO location of the application, always the same with its parent resource
+ * @return the next update stage
+ */
+ Update withLocation(String location);
+ }
+
+ /**
+ * The stage of the appresource update allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the App resource
+ * @return the next update stage
+ */
+ Update withProperties(AppResourceProperties properties);
+ }
+
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResourceProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResourceProperties.java
new file mode 100644
index 000000000000..0fa0357b99de
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResourceProperties.java
@@ -0,0 +1,220 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import org.joda.time.DateTime;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * App resource properties payload.
+ */
+public class AppResourceProperties {
+ /**
+ * Indicates whether the App exposes public endpoint.
+ */
+ @JsonProperty(value = "public")
+ private Boolean publicProperty;
+
+ /**
+ * URL of the App.
+ */
+ @JsonProperty(value = "url", access = JsonProperty.Access.WRITE_ONLY)
+ private String url;
+
+ /**
+ * Provisioning state of the App. Possible values include: 'Succeeded',
+ * 'Failed', 'Creating', 'Updating'.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private AppResourceProvisioningState provisioningState;
+
+ /**
+ * Name of the active deployment of the App.
+ */
+ @JsonProperty(value = "activeDeploymentName")
+ private String activeDeploymentName;
+
+ /**
+ * Fully qualified dns Name.
+ */
+ @JsonProperty(value = "fqdn")
+ private String fqdn;
+
+ /**
+ * Indicate if only https is allowed.
+ */
+ @JsonProperty(value = "httpsOnly")
+ private Boolean httpsOnly;
+
+ /**
+ * Date time when the resource is created.
+ */
+ @JsonProperty(value = "createdTime", access = JsonProperty.Access.WRITE_ONLY)
+ private DateTime createdTime;
+
+ /**
+ * Temporary disk settings.
+ */
+ @JsonProperty(value = "temporaryDisk")
+ private TemporaryDisk temporaryDisk;
+
+ /**
+ * Persistent disk settings.
+ */
+ @JsonProperty(value = "persistentDisk")
+ private PersistentDisk persistentDisk;
+
+ /**
+ * Get indicates whether the App exposes public endpoint.
+ *
+ * @return the publicProperty value
+ */
+ public Boolean publicProperty() {
+ return this.publicProperty;
+ }
+
+ /**
+ * Set indicates whether the App exposes public endpoint.
+ *
+ * @param publicProperty the publicProperty value to set
+ * @return the AppResourceProperties object itself.
+ */
+ public AppResourceProperties withPublicProperty(Boolean publicProperty) {
+ this.publicProperty = publicProperty;
+ return this;
+ }
+
+ /**
+ * Get uRL of the App.
+ *
+ * @return the url value
+ */
+ public String url() {
+ return this.url;
+ }
+
+ /**
+ * Get provisioning state of the App. Possible values include: 'Succeeded', 'Failed', 'Creating', 'Updating'.
+ *
+ * @return the provisioningState value
+ */
+ public AppResourceProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get name of the active deployment of the App.
+ *
+ * @return the activeDeploymentName value
+ */
+ public String activeDeploymentName() {
+ return this.activeDeploymentName;
+ }
+
+ /**
+ * Set name of the active deployment of the App.
+ *
+ * @param activeDeploymentName the activeDeploymentName value to set
+ * @return the AppResourceProperties object itself.
+ */
+ public AppResourceProperties withActiveDeploymentName(String activeDeploymentName) {
+ this.activeDeploymentName = activeDeploymentName;
+ return this;
+ }
+
+ /**
+ * Get fully qualified dns Name.
+ *
+ * @return the fqdn value
+ */
+ public String fqdn() {
+ return this.fqdn;
+ }
+
+ /**
+ * Set fully qualified dns Name.
+ *
+ * @param fqdn the fqdn value to set
+ * @return the AppResourceProperties object itself.
+ */
+ public AppResourceProperties withFqdn(String fqdn) {
+ this.fqdn = fqdn;
+ return this;
+ }
+
+ /**
+ * Get indicate if only https is allowed.
+ *
+ * @return the httpsOnly value
+ */
+ public Boolean httpsOnly() {
+ return this.httpsOnly;
+ }
+
+ /**
+ * Set indicate if only https is allowed.
+ *
+ * @param httpsOnly the httpsOnly value to set
+ * @return the AppResourceProperties object itself.
+ */
+ public AppResourceProperties withHttpsOnly(Boolean httpsOnly) {
+ this.httpsOnly = httpsOnly;
+ return this;
+ }
+
+ /**
+ * Get date time when the resource is created.
+ *
+ * @return the createdTime value
+ */
+ public DateTime createdTime() {
+ return this.createdTime;
+ }
+
+ /**
+ * Get temporary disk settings.
+ *
+ * @return the temporaryDisk value
+ */
+ public TemporaryDisk temporaryDisk() {
+ return this.temporaryDisk;
+ }
+
+ /**
+ * Set temporary disk settings.
+ *
+ * @param temporaryDisk the temporaryDisk value to set
+ * @return the AppResourceProperties object itself.
+ */
+ public AppResourceProperties withTemporaryDisk(TemporaryDisk temporaryDisk) {
+ this.temporaryDisk = temporaryDisk;
+ return this;
+ }
+
+ /**
+ * Get persistent disk settings.
+ *
+ * @return the persistentDisk value
+ */
+ public PersistentDisk persistentDisk() {
+ return this.persistentDisk;
+ }
+
+ /**
+ * Set persistent disk settings.
+ *
+ * @param persistentDisk the persistentDisk value to set
+ * @return the AppResourceProperties object itself.
+ */
+ public AppResourceProperties withPersistentDisk(PersistentDisk persistentDisk) {
+ this.persistentDisk = persistentDisk;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResourceProvisioningState.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResourceProvisioningState.java
new file mode 100644
index 000000000000..d60121e7a065
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AppResourceProvisioningState.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for AppResourceProvisioningState.
+ */
+public final class AppResourceProvisioningState extends ExpandableStringEnum {
+ /** Static value Succeeded for AppResourceProvisioningState. */
+ public static final AppResourceProvisioningState SUCCEEDED = fromString("Succeeded");
+
+ /** Static value Failed for AppResourceProvisioningState. */
+ public static final AppResourceProvisioningState FAILED = fromString("Failed");
+
+ /** Static value Creating for AppResourceProvisioningState. */
+ public static final AppResourceProvisioningState CREATING = fromString("Creating");
+
+ /** Static value Updating for AppResourceProvisioningState. */
+ public static final AppResourceProvisioningState UPDATING = fromString("Updating");
+
+ /**
+ * Creates or finds a AppResourceProvisioningState from its string representation.
+ * @param name a name to look for
+ * @return the corresponding AppResourceProvisioningState
+ */
+ @JsonCreator
+ public static AppResourceProvisioningState fromString(String name) {
+ return fromString(name, AppResourceProvisioningState.class);
+ }
+
+ /**
+ * @return known AppResourceProvisioningState values
+ */
+ public static Collection values() {
+ return values(AppResourceProvisioningState.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ApplicationInsightsAgentVersions.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ApplicationInsightsAgentVersions.java
new file mode 100644
index 000000000000..03df353204ab
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ApplicationInsightsAgentVersions.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Application Insights agent versions properties payload.
+ */
+public class ApplicationInsightsAgentVersions {
+ /**
+ * Indicates the version of application insight java agent.
+ */
+ @JsonProperty(value = "java", access = JsonProperty.Access.WRITE_ONLY)
+ private String java;
+
+ /**
+ * Get indicates the version of application insight java agent.
+ *
+ * @return the java value
+ */
+ public String java() {
+ return this.java;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Apps.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Apps.java
new file mode 100644
index 000000000000..14de3ef706d3
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Apps.java
@@ -0,0 +1,76 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.collection.SupportsCreating;
+import rx.Completable;
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Apps.
+ */
+public interface Apps extends SupportsCreating, HasInner {
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable getAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Completable deleteAsync(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable listAsync(final String resourceGroupName, final String serviceName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable getResourceUploadUrlAsync(String resourceGroupName, String serviceName, String appName);
+
+ /**
+ * 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 name Name to be validated
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable validateDomainAsync(String resourceGroupName, String serviceName, String appName, String name);
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AvailableRuntimeVersions.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AvailableRuntimeVersions.java
new file mode 100644
index 000000000000..452d77bb7499
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/AvailableRuntimeVersions.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AvailableRuntimeVersionsInner;
+import java.util.List;
+
+/**
+ * Type representing AvailableRuntimeVersions.
+ */
+public interface AvailableRuntimeVersions extends HasInner, HasManager {
+ /**
+ * @return the value value.
+ */
+ List value();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/BindingResource.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/BindingResource.java
new file mode 100644
index 000000000000..5125582816a5
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/BindingResource.java
@@ -0,0 +1,119 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.BindingResourceInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.model.Updatable;
+import com.microsoft.azure.arm.model.Appliable;
+import com.microsoft.azure.arm.model.Creatable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import java.util.Map;
+
+/**
+ * Type representing BindingResource.
+ */
+public interface BindingResource extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ BindingResourceProperties properties();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The entirety of the BindingResource definition.
+ */
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithApp, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
+ }
+
+ /**
+ * Grouping of BindingResource definition stages.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of a BindingResource definition.
+ */
+ interface Blank extends WithApp {
+ }
+
+ /**
+ * The stage of the bindingresource definition allowing to specify App.
+ */
+ interface WithApp {
+ /**
+ * Specifies resourceGroupName, serviceName, appName.
+ * @param resourceGroupName The name of the resource group that contains the 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
+ * @return the next definition stage
+ */
+ WithProperties withExistingApp(String resourceGroupName, String serviceName, String appName);
+ }
+
+ /**
+ * The stage of the bindingresource definition allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the Binding resource
+ * @return the next definition stage
+ */
+ WithCreate withProperties(BindingResourceProperties properties);
+ }
+
+ /**
+ * The stage of the definition which contains all the minimum required inputs for
+ * the resource to be created (via {@link WithCreate#create()}), but also allows
+ * for any other optional settings to be specified.
+ */
+ interface WithCreate extends Creatable {
+ }
+ }
+ /**
+ * The template for a BindingResource update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithProperties {
+ }
+
+ /**
+ * Grouping of BindingResource update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the bindingresource update allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the Binding resource
+ * @return the next update stage
+ */
+ Update withProperties(BindingResourceProperties properties);
+ }
+
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/BindingResourceProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/BindingResourceProperties.java
new file mode 100644
index 000000000000..6e257e818369
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/BindingResourceProperties.java
@@ -0,0 +1,172 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Map;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Binding resource properties payload.
+ */
+public class BindingResourceProperties {
+ /**
+ * The name of the bound resource.
+ */
+ @JsonProperty(value = "resourceName", access = JsonProperty.Access.WRITE_ONLY)
+ private String resourceName;
+
+ /**
+ * The standard Azure resource type of the bound resource.
+ */
+ @JsonProperty(value = "resourceType", access = JsonProperty.Access.WRITE_ONLY)
+ private String resourceType;
+
+ /**
+ * The Azure resource id of the bound resource.
+ */
+ @JsonProperty(value = "resourceId")
+ private String resourceId;
+
+ /**
+ * The key of the bound resource.
+ */
+ @JsonProperty(value = "key")
+ private String key;
+
+ /**
+ * Binding parameters of the Binding resource.
+ */
+ @JsonProperty(value = "bindingParameters")
+ private Map bindingParameters;
+
+ /**
+ * The generated Spring Boot property file for this binding. The secret
+ * will be deducted.
+ */
+ @JsonProperty(value = "generatedProperties", access = JsonProperty.Access.WRITE_ONLY)
+ private String generatedProperties;
+
+ /**
+ * Creation time of the Binding resource.
+ */
+ @JsonProperty(value = "createdAt", access = JsonProperty.Access.WRITE_ONLY)
+ private String createdAt;
+
+ /**
+ * Update time of the Binding resource.
+ */
+ @JsonProperty(value = "updatedAt", access = JsonProperty.Access.WRITE_ONLY)
+ private String updatedAt;
+
+ /**
+ * Get the name of the bound resource.
+ *
+ * @return the resourceName value
+ */
+ public String resourceName() {
+ return this.resourceName;
+ }
+
+ /**
+ * Get the standard Azure resource type of the bound resource.
+ *
+ * @return the resourceType value
+ */
+ public String resourceType() {
+ return this.resourceType;
+ }
+
+ /**
+ * Get the Azure resource id of the bound resource.
+ *
+ * @return the resourceId value
+ */
+ public String resourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * Set the Azure resource id of the bound resource.
+ *
+ * @param resourceId the resourceId value to set
+ * @return the BindingResourceProperties object itself.
+ */
+ public BindingResourceProperties withResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ return this;
+ }
+
+ /**
+ * Get the key of the bound resource.
+ *
+ * @return the key value
+ */
+ public String key() {
+ return this.key;
+ }
+
+ /**
+ * Set the key of the bound resource.
+ *
+ * @param key the key value to set
+ * @return the BindingResourceProperties object itself.
+ */
+ public BindingResourceProperties withKey(String key) {
+ this.key = key;
+ return this;
+ }
+
+ /**
+ * Get binding parameters of the Binding resource.
+ *
+ * @return the bindingParameters value
+ */
+ public Map bindingParameters() {
+ return this.bindingParameters;
+ }
+
+ /**
+ * Set binding parameters of the Binding resource.
+ *
+ * @param bindingParameters the bindingParameters value to set
+ * @return the BindingResourceProperties object itself.
+ */
+ public BindingResourceProperties withBindingParameters(Map bindingParameters) {
+ this.bindingParameters = bindingParameters;
+ return this;
+ }
+
+ /**
+ * Get the generated Spring Boot property file for this binding. The secret will be deducted.
+ *
+ * @return the generatedProperties value
+ */
+ public String generatedProperties() {
+ return this.generatedProperties;
+ }
+
+ /**
+ * Get creation time of the Binding resource.
+ *
+ * @return the createdAt value
+ */
+ public String createdAt() {
+ return this.createdAt;
+ }
+
+ /**
+ * Get update time of the Binding resource.
+ *
+ * @return the updatedAt value
+ */
+ public String updatedAt() {
+ return this.updatedAt;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Bindings.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Bindings.java
new file mode 100644
index 000000000000..2c7c5acd4405
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Bindings.java
@@ -0,0 +1,56 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.collection.SupportsCreating;
+import rx.Completable;
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.BindingsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Bindings.
+ */
+public interface Bindings extends SupportsCreating, HasInner {
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable getAsync(String resourceGroupName, String serviceName, String appName, String bindingName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable listAsync(final String resourceGroupName, final String serviceName, final String appName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Completable deleteAsync(String resourceGroupName, String serviceName, String appName, String bindingName);
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CertificateProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CertificateProperties.java
new file mode 100644
index 000000000000..8b1ef83c39e1
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CertificateProperties.java
@@ -0,0 +1,201 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Certificate resource payload.
+ */
+public class CertificateProperties {
+ /**
+ * The thumbprint of certificate.
+ */
+ @JsonProperty(value = "thumbprint", access = JsonProperty.Access.WRITE_ONLY)
+ private String thumbprint;
+
+ /**
+ * The vault uri of user key vault.
+ */
+ @JsonProperty(value = "vaultUri", required = true)
+ private String vaultUri;
+
+ /**
+ * The certificate name of key vault.
+ */
+ @JsonProperty(value = "keyVaultCertName", required = true)
+ private String keyVaultCertName;
+
+ /**
+ * The certificate version of key vault.
+ */
+ @JsonProperty(value = "certVersion")
+ private String certVersion;
+
+ /**
+ * The issuer of certificate.
+ */
+ @JsonProperty(value = "issuer", access = JsonProperty.Access.WRITE_ONLY)
+ private String issuer;
+
+ /**
+ * The issue date of certificate.
+ */
+ @JsonProperty(value = "issuedDate", access = JsonProperty.Access.WRITE_ONLY)
+ private String issuedDate;
+
+ /**
+ * The expiration date of certificate.
+ */
+ @JsonProperty(value = "expirationDate", access = JsonProperty.Access.WRITE_ONLY)
+ private String expirationDate;
+
+ /**
+ * The activate date of certificate.
+ */
+ @JsonProperty(value = "activateDate", access = JsonProperty.Access.WRITE_ONLY)
+ private String activateDate;
+
+ /**
+ * The subject name of certificate.
+ */
+ @JsonProperty(value = "subjectName", access = JsonProperty.Access.WRITE_ONLY)
+ private String subjectName;
+
+ /**
+ * The domain list of certificate.
+ */
+ @JsonProperty(value = "dnsNames", access = JsonProperty.Access.WRITE_ONLY)
+ private List dnsNames;
+
+ /**
+ * Get the thumbprint of certificate.
+ *
+ * @return the thumbprint value
+ */
+ public String thumbprint() {
+ return this.thumbprint;
+ }
+
+ /**
+ * Get the vault uri of user key vault.
+ *
+ * @return the vaultUri value
+ */
+ public String vaultUri() {
+ return this.vaultUri;
+ }
+
+ /**
+ * Set the vault uri of user key vault.
+ *
+ * @param vaultUri the vaultUri value to set
+ * @return the CertificateProperties object itself.
+ */
+ public CertificateProperties withVaultUri(String vaultUri) {
+ this.vaultUri = vaultUri;
+ return this;
+ }
+
+ /**
+ * Get the certificate name of key vault.
+ *
+ * @return the keyVaultCertName value
+ */
+ public String keyVaultCertName() {
+ return this.keyVaultCertName;
+ }
+
+ /**
+ * Set the certificate name of key vault.
+ *
+ * @param keyVaultCertName the keyVaultCertName value to set
+ * @return the CertificateProperties object itself.
+ */
+ public CertificateProperties withKeyVaultCertName(String keyVaultCertName) {
+ this.keyVaultCertName = keyVaultCertName;
+ return this;
+ }
+
+ /**
+ * Get the certificate version of key vault.
+ *
+ * @return the certVersion value
+ */
+ public String certVersion() {
+ return this.certVersion;
+ }
+
+ /**
+ * Set the certificate version of key vault.
+ *
+ * @param certVersion the certVersion value to set
+ * @return the CertificateProperties object itself.
+ */
+ public CertificateProperties withCertVersion(String certVersion) {
+ this.certVersion = certVersion;
+ return this;
+ }
+
+ /**
+ * Get the issuer of certificate.
+ *
+ * @return the issuer value
+ */
+ public String issuer() {
+ return this.issuer;
+ }
+
+ /**
+ * Get the issue date of certificate.
+ *
+ * @return the issuedDate value
+ */
+ public String issuedDate() {
+ return this.issuedDate;
+ }
+
+ /**
+ * Get the expiration date of certificate.
+ *
+ * @return the expirationDate value
+ */
+ public String expirationDate() {
+ return this.expirationDate;
+ }
+
+ /**
+ * Get the activate date of certificate.
+ *
+ * @return the activateDate value
+ */
+ public String activateDate() {
+ return this.activateDate;
+ }
+
+ /**
+ * Get the subject name of certificate.
+ *
+ * @return the subjectName value
+ */
+ public String subjectName() {
+ return this.subjectName;
+ }
+
+ /**
+ * Get the domain list of certificate.
+ *
+ * @return the dnsNames value
+ */
+ public List dnsNames() {
+ return this.dnsNames;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CertificateResource.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CertificateResource.java
new file mode 100644
index 000000000000..230cb8faa350
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CertificateResource.java
@@ -0,0 +1,128 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.CertificateResourceInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Creatable;
+import com.microsoft.azure.arm.model.Updatable;
+import com.microsoft.azure.arm.model.Appliable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import java.util.List;
+
+/**
+ * Type representing CertificateResource.
+ */
+public interface CertificateResource extends HasInner, Indexable, Updatable, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ CertificateProperties properties();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The entirety of the CertificateResource definition.
+ */
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithResourceGroupName, DefinitionStages.WithServiceName, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
+ }
+
+ /**
+ * Grouping of CertificateResource definition stages.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of a CertificateResource definition.
+ */
+ interface Blank extends WithResourceGroupName {
+ }
+
+ /**
+ * The stage of the certificateresource definition allowing to specify ResourceGroupName.
+ */
+ interface WithResourceGroupName {
+ /**
+ * Specifies resourceGroupName.
+ * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal
+ * @return the next definition stage
+ */
+ WithServiceName withResourceGroupName(String resourceGroupName);
+ }
+
+ /**
+ * The stage of the certificateresource definition allowing to specify ServiceName.
+ */
+ interface WithServiceName {
+ /**
+ * Specifies serviceName.
+ * @param serviceName The name of the Service resource
+ * @return the next definition stage
+ */
+ WithProperties withServiceName(String serviceName);
+ }
+
+ /**
+ * The stage of the certificateresource definition allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the certificate resource payload
+ * @return the next definition stage
+ */
+ WithCreate withProperties(CertificateProperties properties);
+ }
+
+ /**
+ * The stage of the definition which contains all the minimum required inputs for
+ * the resource to be created (via {@link WithCreate#create()}), but also allows
+ * for any other optional settings to be specified.
+ */
+ interface WithCreate extends Creatable {
+ }
+ }
+ /**
+ * The template for a CertificateResource update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithProperties {
+ }
+
+ /**
+ * Grouping of CertificateResource update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the certificateresource update allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the certificate resource payload
+ * @return the next update stage
+ */
+ Update withProperties(CertificateProperties properties);
+ }
+
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Certificates.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Certificates.java
new file mode 100644
index 000000000000..c142a6aa0b43
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Certificates.java
@@ -0,0 +1,53 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.collection.SupportsCreating;
+import rx.Completable;
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.CertificatesInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Certificates.
+ */
+public interface Certificates extends SupportsCreating, HasInner {
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable getAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Completable deleteAsync(String resourceGroupName, String serviceName, String certificateName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable listAsync(final String resourceGroupName, final String serviceName);
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ClusterResourceProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ClusterResourceProperties.java
new file mode 100644
index 000000000000..023c1a0e9308
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ClusterResourceProperties.java
@@ -0,0 +1,90 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Service properties payload.
+ */
+public class ClusterResourceProperties {
+ /**
+ * Provisioning state of the Service. Possible values include: 'Creating',
+ * 'Updating', 'Deleting', 'Deleted', 'Succeeded', 'Failed', 'Moving',
+ * 'Moved', 'MoveFailed'.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ProvisioningState provisioningState;
+
+ /**
+ * Network profile of the Service.
+ */
+ @JsonProperty(value = "networkProfile")
+ private NetworkProfile networkProfile;
+
+ /**
+ * Version of the Service.
+ */
+ @JsonProperty(value = "version", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer version;
+
+ /**
+ * ServiceInstanceEntity GUID which uniquely identifies a created resource.
+ */
+ @JsonProperty(value = "serviceId", access = JsonProperty.Access.WRITE_ONLY)
+ private String serviceId;
+
+ /**
+ * Get provisioning state of the Service. Possible values include: 'Creating', 'Updating', 'Deleting', 'Deleted', 'Succeeded', 'Failed', 'Moving', 'Moved', 'MoveFailed'.
+ *
+ * @return the provisioningState value
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get network profile of the Service.
+ *
+ * @return the networkProfile value
+ */
+ public NetworkProfile networkProfile() {
+ return this.networkProfile;
+ }
+
+ /**
+ * Set network profile of the Service.
+ *
+ * @param networkProfile the networkProfile value to set
+ * @return the ClusterResourceProperties object itself.
+ */
+ public ClusterResourceProperties withNetworkProfile(NetworkProfile networkProfile) {
+ this.networkProfile = networkProfile;
+ return this;
+ }
+
+ /**
+ * Get version of the Service.
+ *
+ * @return the version value
+ */
+ public Integer version() {
+ return this.version;
+ }
+
+ /**
+ * Get serviceInstanceEntity GUID which uniquely identifies a created resource.
+ *
+ * @return the serviceId value
+ */
+ public String serviceId() {
+ return this.serviceId;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerGitProperty.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerGitProperty.java
new file mode 100644
index 000000000000..4f566e7c94b5
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerGitProperty.java
@@ -0,0 +1,278 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Property of git.
+ */
+public class ConfigServerGitProperty {
+ /**
+ * Repositories of git.
+ */
+ @JsonProperty(value = "repositories")
+ private List repositories;
+
+ /**
+ * URI of the repository.
+ */
+ @JsonProperty(value = "uri", required = true)
+ private String uri;
+
+ /**
+ * Label of the repository.
+ */
+ @JsonProperty(value = "label")
+ private String label;
+
+ /**
+ * Searching path of the repository.
+ */
+ @JsonProperty(value = "searchPaths")
+ private List searchPaths;
+
+ /**
+ * Username of git repository basic auth.
+ */
+ @JsonProperty(value = "username")
+ private String username;
+
+ /**
+ * Password of git repository basic auth.
+ */
+ @JsonProperty(value = "password")
+ private String password;
+
+ /**
+ * Public sshKey of git repository.
+ */
+ @JsonProperty(value = "hostKey")
+ private String hostKey;
+
+ /**
+ * SshKey algorithm of git repository.
+ */
+ @JsonProperty(value = "hostKeyAlgorithm")
+ private String hostKeyAlgorithm;
+
+ /**
+ * Private sshKey algorithm of git repository.
+ */
+ @JsonProperty(value = "privateKey")
+ private String privateKey;
+
+ /**
+ * Strict host key checking or not.
+ */
+ @JsonProperty(value = "strictHostKeyChecking")
+ private Boolean strictHostKeyChecking;
+
+ /**
+ * Get repositories of git.
+ *
+ * @return the repositories value
+ */
+ public List repositories() {
+ return this.repositories;
+ }
+
+ /**
+ * Set repositories of git.
+ *
+ * @param repositories the repositories value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withRepositories(List repositories) {
+ this.repositories = repositories;
+ return this;
+ }
+
+ /**
+ * Get uRI of the repository.
+ *
+ * @return the uri value
+ */
+ public String uri() {
+ return this.uri;
+ }
+
+ /**
+ * Set uRI of the repository.
+ *
+ * @param uri the uri value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withUri(String uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ /**
+ * Get label of the repository.
+ *
+ * @return the label value
+ */
+ public String label() {
+ return this.label;
+ }
+
+ /**
+ * Set label of the repository.
+ *
+ * @param label the label value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withLabel(String label) {
+ this.label = label;
+ return this;
+ }
+
+ /**
+ * Get searching path of the repository.
+ *
+ * @return the searchPaths value
+ */
+ public List searchPaths() {
+ return this.searchPaths;
+ }
+
+ /**
+ * Set searching path of the repository.
+ *
+ * @param searchPaths the searchPaths value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withSearchPaths(List searchPaths) {
+ this.searchPaths = searchPaths;
+ return this;
+ }
+
+ /**
+ * Get username of git repository basic auth.
+ *
+ * @return the username value
+ */
+ public String username() {
+ return this.username;
+ }
+
+ /**
+ * Set username of git repository basic auth.
+ *
+ * @param username the username value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withUsername(String username) {
+ this.username = username;
+ return this;
+ }
+
+ /**
+ * Get password of git repository basic auth.
+ *
+ * @return the password value
+ */
+ public String password() {
+ return this.password;
+ }
+
+ /**
+ * Set password of git repository basic auth.
+ *
+ * @param password the password value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withPassword(String password) {
+ this.password = password;
+ return this;
+ }
+
+ /**
+ * Get public sshKey of git repository.
+ *
+ * @return the hostKey value
+ */
+ public String hostKey() {
+ return this.hostKey;
+ }
+
+ /**
+ * Set public sshKey of git repository.
+ *
+ * @param hostKey the hostKey value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withHostKey(String hostKey) {
+ this.hostKey = hostKey;
+ return this;
+ }
+
+ /**
+ * Get sshKey algorithm of git repository.
+ *
+ * @return the hostKeyAlgorithm value
+ */
+ public String hostKeyAlgorithm() {
+ return this.hostKeyAlgorithm;
+ }
+
+ /**
+ * Set sshKey algorithm of git repository.
+ *
+ * @param hostKeyAlgorithm the hostKeyAlgorithm value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withHostKeyAlgorithm(String hostKeyAlgorithm) {
+ this.hostKeyAlgorithm = hostKeyAlgorithm;
+ return this;
+ }
+
+ /**
+ * Get private sshKey algorithm of git repository.
+ *
+ * @return the privateKey value
+ */
+ public String privateKey() {
+ return this.privateKey;
+ }
+
+ /**
+ * Set private sshKey algorithm of git repository.
+ *
+ * @param privateKey the privateKey value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withPrivateKey(String privateKey) {
+ this.privateKey = privateKey;
+ return this;
+ }
+
+ /**
+ * Get strict host key checking or not.
+ *
+ * @return the strictHostKeyChecking value
+ */
+ public Boolean strictHostKeyChecking() {
+ return this.strictHostKeyChecking;
+ }
+
+ /**
+ * Set strict host key checking or not.
+ *
+ * @param strictHostKeyChecking the strictHostKeyChecking value to set
+ * @return the ConfigServerGitProperty object itself.
+ */
+ public ConfigServerGitProperty withStrictHostKeyChecking(Boolean strictHostKeyChecking) {
+ this.strictHostKeyChecking = strictHostKeyChecking;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerProperties.java
new file mode 100644
index 000000000000..4f65086f5571
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerProperties.java
@@ -0,0 +1,85 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Config server git properties payload.
+ */
+public class ConfigServerProperties {
+ /**
+ * State of the config server. Possible values include: 'NotAvailable',
+ * 'Deleted', 'Failed', 'Succeeded', 'Updating'.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ConfigServerState provisioningState;
+
+ /**
+ * Error when apply config server settings.
+ */
+ @JsonProperty(value = "error")
+ private Error error;
+
+ /**
+ * Settings of config server.
+ */
+ @JsonProperty(value = "configServer")
+ private ConfigServerSettings configServer;
+
+ /**
+ * Get state of the config server. Possible values include: 'NotAvailable', 'Deleted', 'Failed', 'Succeeded', 'Updating'.
+ *
+ * @return the provisioningState value
+ */
+ public ConfigServerState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get error when apply config server settings.
+ *
+ * @return the error value
+ */
+ public Error error() {
+ return this.error;
+ }
+
+ /**
+ * Set error when apply config server settings.
+ *
+ * @param error the error value to set
+ * @return the ConfigServerProperties object itself.
+ */
+ public ConfigServerProperties withError(Error error) {
+ this.error = error;
+ return this;
+ }
+
+ /**
+ * Get settings of config server.
+ *
+ * @return the configServer value
+ */
+ public ConfigServerSettings configServer() {
+ return this.configServer;
+ }
+
+ /**
+ * Set settings of config server.
+ *
+ * @param configServer the configServer value to set
+ * @return the ConfigServerProperties object itself.
+ */
+ public ConfigServerProperties withConfigServer(ConfigServerSettings configServer) {
+ this.configServer = configServer;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerResource.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerResource.java
new file mode 100644
index 000000000000..696a688457d8
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerResource.java
@@ -0,0 +1,40 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.ConfigServerResourceInner;
+
+/**
+ * Type representing ConfigServerResource.
+ */
+public interface ConfigServerResource extends HasInner, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ ConfigServerProperties properties();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettings.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettings.java
new file mode 100644
index 000000000000..9b7013b8f2a4
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettings.java
@@ -0,0 +1,43 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The settings of config server.
+ */
+public class ConfigServerSettings {
+ /**
+ * Property of git environment.
+ */
+ @JsonProperty(value = "gitProperty")
+ private ConfigServerGitProperty gitProperty;
+
+ /**
+ * Get property of git environment.
+ *
+ * @return the gitProperty value
+ */
+ public ConfigServerGitProperty gitProperty() {
+ return this.gitProperty;
+ }
+
+ /**
+ * Set property of git environment.
+ *
+ * @param gitProperty the gitProperty value to set
+ * @return the ConfigServerSettings object itself.
+ */
+ public ConfigServerSettings withGitProperty(ConfigServerGitProperty gitProperty) {
+ this.gitProperty = gitProperty;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettingsErrorRecord.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettingsErrorRecord.java
new file mode 100644
index 000000000000..a3729b7f5fc3
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettingsErrorRecord.java
@@ -0,0 +1,96 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Error record of the config server settings.
+ */
+public class ConfigServerSettingsErrorRecord {
+ /**
+ * The name of the config server settings error record.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /**
+ * The uri of the config server settings error record.
+ */
+ @JsonProperty(value = "uri")
+ private String uri;
+
+ /**
+ * The detail error messages of the record.
+ */
+ @JsonProperty(value = "messages")
+ private List messages;
+
+ /**
+ * Get the name of the config server settings error record.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set the name of the config server settings error record.
+ *
+ * @param name the name value to set
+ * @return the ConfigServerSettingsErrorRecord object itself.
+ */
+ public ConfigServerSettingsErrorRecord withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get the uri of the config server settings error record.
+ *
+ * @return the uri value
+ */
+ public String uri() {
+ return this.uri;
+ }
+
+ /**
+ * Set the uri of the config server settings error record.
+ *
+ * @param uri the uri value to set
+ * @return the ConfigServerSettingsErrorRecord object itself.
+ */
+ public ConfigServerSettingsErrorRecord withUri(String uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ /**
+ * Get the detail error messages of the record.
+ *
+ * @return the messages value
+ */
+ public List messages() {
+ return this.messages;
+ }
+
+ /**
+ * Set the detail error messages of the record.
+ *
+ * @param messages the messages value to set
+ * @return the ConfigServerSettingsErrorRecord object itself.
+ */
+ public ConfigServerSettingsErrorRecord withMessages(List messages) {
+ this.messages = messages;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettingsValidateResult.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettingsValidateResult.java
new file mode 100644
index 000000000000..1989aeecf086
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerSettingsValidateResult.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.ConfigServerSettingsValidateResultInner;
+import java.util.List;
+
+/**
+ * Type representing ConfigServerSettingsValidateResult.
+ */
+public interface ConfigServerSettingsValidateResult extends HasInner, HasManager {
+ /**
+ * @return the details value.
+ */
+ List details();
+
+ /**
+ * @return the isValid value.
+ */
+ Boolean isValid();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerState.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerState.java
new file mode 100644
index 000000000000..d91aa5b59c12
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServerState.java
@@ -0,0 +1,50 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ConfigServerState.
+ */
+public final class ConfigServerState extends ExpandableStringEnum {
+ /** Static value NotAvailable for ConfigServerState. */
+ public static final ConfigServerState NOT_AVAILABLE = fromString("NotAvailable");
+
+ /** Static value Deleted for ConfigServerState. */
+ public static final ConfigServerState DELETED = fromString("Deleted");
+
+ /** Static value Failed for ConfigServerState. */
+ public static final ConfigServerState FAILED = fromString("Failed");
+
+ /** Static value Succeeded for ConfigServerState. */
+ public static final ConfigServerState SUCCEEDED = fromString("Succeeded");
+
+ /** Static value Updating for ConfigServerState. */
+ public static final ConfigServerState UPDATING = fromString("Updating");
+
+ /**
+ * Creates or finds a ConfigServerState from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ConfigServerState
+ */
+ @JsonCreator
+ public static ConfigServerState fromString(String name) {
+ return fromString(name, ConfigServerState.class);
+ }
+
+ /**
+ * @return known ConfigServerState values
+ */
+ public static Collection values() {
+ return values(ConfigServerState.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServers.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServers.java
new file mode 100644
index 000000000000..2ab2f51cfd38
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ConfigServers.java
@@ -0,0 +1,59 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.ConfigServersInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing ConfigServers.
+ */
+public interface ConfigServers extends HasInner {
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable getAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable updatePutAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable updatePatchAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable validateAsync(String resourceGroupName, String serviceName);
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainProperties.java
new file mode 100644
index 000000000000..790452838f05
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainProperties.java
@@ -0,0 +1,84 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Custom domain of app resource payload.
+ */
+public class CustomDomainProperties {
+ /**
+ * The thumbprint of bound certificate.
+ */
+ @JsonProperty(value = "thumbprint")
+ private String thumbprint;
+
+ /**
+ * The app name of domain.
+ */
+ @JsonProperty(value = "appName", access = JsonProperty.Access.WRITE_ONLY)
+ private String appName;
+
+ /**
+ * The bound certificate name of domain.
+ */
+ @JsonProperty(value = "certName")
+ private String certName;
+
+ /**
+ * Get the thumbprint of bound certificate.
+ *
+ * @return the thumbprint value
+ */
+ public String thumbprint() {
+ return this.thumbprint;
+ }
+
+ /**
+ * Set the thumbprint of bound certificate.
+ *
+ * @param thumbprint the thumbprint value to set
+ * @return the CustomDomainProperties object itself.
+ */
+ public CustomDomainProperties withThumbprint(String thumbprint) {
+ this.thumbprint = thumbprint;
+ return this;
+ }
+
+ /**
+ * Get the app name of domain.
+ *
+ * @return the appName value
+ */
+ public String appName() {
+ return this.appName;
+ }
+
+ /**
+ * Get the bound certificate name of domain.
+ *
+ * @return the certName value
+ */
+ public String certName() {
+ return this.certName;
+ }
+
+ /**
+ * Set the bound certificate name of domain.
+ *
+ * @param certName the certName value to set
+ * @return the CustomDomainProperties object itself.
+ */
+ public CustomDomainProperties withCertName(String certName) {
+ this.certName = certName;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainResource.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainResource.java
new file mode 100644
index 000000000000..ed7cb2132bb9
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainResource.java
@@ -0,0 +1,118 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.CustomDomainResourceInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.model.Updatable;
+import com.microsoft.azure.arm.model.Appliable;
+import com.microsoft.azure.arm.model.Creatable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+
+/**
+ * Type representing CustomDomainResource.
+ */
+public interface CustomDomainResource extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ CustomDomainProperties properties();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The entirety of the CustomDomainResource definition.
+ */
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithApp, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
+ }
+
+ /**
+ * Grouping of CustomDomainResource definition stages.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of a CustomDomainResource definition.
+ */
+ interface Blank extends WithApp {
+ }
+
+ /**
+ * The stage of the customdomainresource definition allowing to specify App.
+ */
+ interface WithApp {
+ /**
+ * Specifies resourceGroupName, serviceName, appName.
+ * @param resourceGroupName The name of the resource group that contains the 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
+ * @return the next definition stage
+ */
+ WithProperties withExistingApp(String resourceGroupName, String serviceName, String appName);
+ }
+
+ /**
+ * The stage of the customdomainresource definition allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the custom domain resource
+ * @return the next definition stage
+ */
+ WithCreate withProperties(CustomDomainProperties properties);
+ }
+
+ /**
+ * The stage of the definition which contains all the minimum required inputs for
+ * the resource to be created (via {@link WithCreate#create()}), but also allows
+ * for any other optional settings to be specified.
+ */
+ interface WithCreate extends Creatable {
+ }
+ }
+ /**
+ * The template for a CustomDomainResource update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithProperties {
+ }
+
+ /**
+ * Grouping of CustomDomainResource update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the customdomainresource update allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the custom domain resource
+ * @return the next update stage
+ */
+ Update withProperties(CustomDomainProperties properties);
+ }
+
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainValidatePayload.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainValidatePayload.java
new file mode 100644
index 000000000000..23982f13181a
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainValidatePayload.java
@@ -0,0 +1,43 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Custom domain validate payload.
+ */
+public class CustomDomainValidatePayload {
+ /**
+ * Name to be validated.
+ */
+ @JsonProperty(value = "name", required = true)
+ private String name;
+
+ /**
+ * Get name to be validated.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set name to be validated.
+ *
+ * @param name the name value to set
+ * @return the CustomDomainValidatePayload object itself.
+ */
+ public CustomDomainValidatePayload withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainValidateResult.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainValidateResult.java
new file mode 100644
index 000000000000..53c839a0c4e0
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomainValidateResult.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.CustomDomainValidateResultInner;
+
+/**
+ * Type representing CustomDomainValidateResult.
+ */
+public interface CustomDomainValidateResult extends HasInner, HasManager {
+ /**
+ * @return the isValid value.
+ */
+ Boolean isValid();
+
+ /**
+ * @return the message value.
+ */
+ String message();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomains.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomains.java
new file mode 100644
index 000000000000..ed8397e482c1
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/CustomDomains.java
@@ -0,0 +1,56 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.collection.SupportsCreating;
+import rx.Completable;
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.CustomDomainsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing CustomDomains.
+ */
+public interface CustomDomains extends SupportsCreating, HasInner {
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable getAsync(String resourceGroupName, String serviceName, String appName, String domainName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable listAsync(final String resourceGroupName, final String serviceName, final String appName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Completable deleteAsync(String resourceGroupName, String serviceName, String appName, String domainName);
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentInstance.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentInstance.java
new file mode 100644
index 000000000000..e53fabe9bc72
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentInstance.java
@@ -0,0 +1,92 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Deployment instance payload.
+ */
+public class DeploymentInstance {
+ /**
+ * Name of the deployment instance.
+ */
+ @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
+ private String name;
+
+ /**
+ * Status of the deployment instance.
+ */
+ @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
+ private String status;
+
+ /**
+ * Failed reason of the deployment instance.
+ */
+ @JsonProperty(value = "reason", access = JsonProperty.Access.WRITE_ONLY)
+ private String reason;
+
+ /**
+ * Discovery status of the deployment instance.
+ */
+ @JsonProperty(value = "discoveryStatus", access = JsonProperty.Access.WRITE_ONLY)
+ private String discoveryStatus;
+
+ /**
+ * Start time of the deployment instance.
+ */
+ @JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY)
+ private String startTime;
+
+ /**
+ * Get name of the deployment instance.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get status of the deployment instance.
+ *
+ * @return the status value
+ */
+ public String status() {
+ return this.status;
+ }
+
+ /**
+ * Get failed reason of the deployment instance.
+ *
+ * @return the reason value
+ */
+ public String reason() {
+ return this.reason;
+ }
+
+ /**
+ * Get discovery status of the deployment instance.
+ *
+ * @return the discoveryStatus value
+ */
+ public String discoveryStatus() {
+ return this.discoveryStatus;
+ }
+
+ /**
+ * Get start time of the deployment instance.
+ *
+ * @return the startTime value
+ */
+ public String startTime() {
+ return this.startTime;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResource.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResource.java
new file mode 100644
index 000000000000..af837947d304
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResource.java
@@ -0,0 +1,148 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.DeploymentResourceInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.model.Updatable;
+import com.microsoft.azure.arm.model.Appliable;
+import com.microsoft.azure.arm.model.Creatable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.SkuInner;
+
+/**
+ * Type representing DeploymentResource.
+ */
+public interface DeploymentResource extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ DeploymentResourceProperties properties();
+
+ /**
+ * @return the sku value.
+ */
+ SkuInner sku();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The entirety of the DeploymentResource definition.
+ */
+ interface Definition extends DefinitionStages.Blank, DefinitionStages.WithApp, DefinitionStages.WithCreate {
+ }
+
+ /**
+ * Grouping of DeploymentResource definition stages.
+ */
+ interface DefinitionStages {
+ /**
+ * The first stage of a DeploymentResource definition.
+ */
+ interface Blank extends WithApp {
+ }
+
+ /**
+ * The stage of the deploymentresource definition allowing to specify App.
+ */
+ interface WithApp {
+ /**
+ * Specifies resourceGroupName, serviceName, appName.
+ * @param resourceGroupName The name of the resource group that contains the 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
+ * @return the next definition stage
+ */
+ WithCreate withExistingApp(String resourceGroupName, String serviceName, String appName);
+ }
+
+ /**
+ * The stage of the deploymentresource definition allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the Deployment resource
+ * @return the next definition stage
+ */
+ WithCreate withProperties(DeploymentResourceProperties properties);
+ }
+
+ /**
+ * The stage of the deploymentresource definition allowing to specify Sku.
+ */
+ interface WithSku {
+ /**
+ * Specifies sku.
+ * @param sku Sku of the Deployment resource
+ * @return the next definition stage
+ */
+ WithCreate withSku(SkuInner sku);
+ }
+
+ /**
+ * The stage of the definition which contains all the minimum required inputs for
+ * the resource to be created (via {@link WithCreate#create()}), but also allows
+ * for any other optional settings to be specified.
+ */
+ interface WithCreate extends Creatable, DefinitionStages.WithProperties, DefinitionStages.WithSku {
+ }
+ }
+ /**
+ * The template for a DeploymentResource update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithProperties, UpdateStages.WithSku {
+ }
+
+ /**
+ * Grouping of DeploymentResource update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the deploymentresource update allowing to specify Properties.
+ */
+ interface WithProperties {
+ /**
+ * Specifies properties.
+ * @param properties Properties of the Deployment resource
+ * @return the next update stage
+ */
+ Update withProperties(DeploymentResourceProperties properties);
+ }
+
+ /**
+ * The stage of the deploymentresource update allowing to specify Sku.
+ */
+ interface WithSku {
+ /**
+ * Specifies sku.
+ * @param sku Sku of the Deployment resource
+ * @return the next update stage
+ */
+ Update withSku(SkuInner sku);
+ }
+
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceProperties.java
new file mode 100644
index 000000000000..47a669c5d18b
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceProperties.java
@@ -0,0 +1,163 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import org.joda.time.DateTime;
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Deployment resource properties payload.
+ */
+public class DeploymentResourceProperties {
+ /**
+ * Uploaded source information of the deployment.
+ */
+ @JsonProperty(value = "source")
+ private UserSourceInfo source;
+
+ /**
+ * App name of the deployment.
+ */
+ @JsonProperty(value = "appName", access = JsonProperty.Access.WRITE_ONLY)
+ private String appName;
+
+ /**
+ * Deployment settings of the Deployment.
+ */
+ @JsonProperty(value = "deploymentSettings")
+ private DeploymentSettings deploymentSettings;
+
+ /**
+ * Provisioning state of the Deployment. Possible values include:
+ * 'Creating', 'Updating', 'Succeeded', 'Failed'.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private DeploymentResourceProvisioningState provisioningState;
+
+ /**
+ * Status of the Deployment. Possible values include: 'Unknown', 'Stopped',
+ * 'Running', 'Failed', 'Allocating', 'Upgrading', 'Compiling'.
+ */
+ @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
+ private DeploymentResourceStatus status;
+
+ /**
+ * Indicates whether the Deployment is active.
+ */
+ @JsonProperty(value = "active", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean active;
+
+ /**
+ * Date time when the resource is created.
+ */
+ @JsonProperty(value = "createdTime", access = JsonProperty.Access.WRITE_ONLY)
+ private DateTime createdTime;
+
+ /**
+ * Collection of instances belong to the Deployment.
+ */
+ @JsonProperty(value = "instances", access = JsonProperty.Access.WRITE_ONLY)
+ private List instances;
+
+ /**
+ * Get uploaded source information of the deployment.
+ *
+ * @return the source value
+ */
+ public UserSourceInfo source() {
+ return this.source;
+ }
+
+ /**
+ * Set uploaded source information of the deployment.
+ *
+ * @param source the source value to set
+ * @return the DeploymentResourceProperties object itself.
+ */
+ public DeploymentResourceProperties withSource(UserSourceInfo source) {
+ this.source = source;
+ return this;
+ }
+
+ /**
+ * Get app name of the deployment.
+ *
+ * @return the appName value
+ */
+ public String appName() {
+ return this.appName;
+ }
+
+ /**
+ * Get deployment settings of the Deployment.
+ *
+ * @return the deploymentSettings value
+ */
+ public DeploymentSettings deploymentSettings() {
+ return this.deploymentSettings;
+ }
+
+ /**
+ * Set deployment settings of the Deployment.
+ *
+ * @param deploymentSettings the deploymentSettings value to set
+ * @return the DeploymentResourceProperties object itself.
+ */
+ public DeploymentResourceProperties withDeploymentSettings(DeploymentSettings deploymentSettings) {
+ this.deploymentSettings = deploymentSettings;
+ return this;
+ }
+
+ /**
+ * Get provisioning state of the Deployment. Possible values include: 'Creating', 'Updating', 'Succeeded', 'Failed'.
+ *
+ * @return the provisioningState value
+ */
+ public DeploymentResourceProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get status of the Deployment. Possible values include: 'Unknown', 'Stopped', 'Running', 'Failed', 'Allocating', 'Upgrading', 'Compiling'.
+ *
+ * @return the status value
+ */
+ public DeploymentResourceStatus status() {
+ return this.status;
+ }
+
+ /**
+ * Get indicates whether the Deployment is active.
+ *
+ * @return the active value
+ */
+ public Boolean active() {
+ return this.active;
+ }
+
+ /**
+ * Get date time when the resource is created.
+ *
+ * @return the createdTime value
+ */
+ public DateTime createdTime() {
+ return this.createdTime;
+ }
+
+ /**
+ * Get collection of instances belong to the Deployment.
+ *
+ * @return the instances value
+ */
+ public List instances() {
+ return this.instances;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceProvisioningState.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceProvisioningState.java
new file mode 100644
index 000000000000..8de18915221d
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceProvisioningState.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for DeploymentResourceProvisioningState.
+ */
+public final class DeploymentResourceProvisioningState extends ExpandableStringEnum {
+ /** Static value Creating for DeploymentResourceProvisioningState. */
+ public static final DeploymentResourceProvisioningState CREATING = fromString("Creating");
+
+ /** Static value Updating for DeploymentResourceProvisioningState. */
+ public static final DeploymentResourceProvisioningState UPDATING = fromString("Updating");
+
+ /** Static value Succeeded for DeploymentResourceProvisioningState. */
+ public static final DeploymentResourceProvisioningState SUCCEEDED = fromString("Succeeded");
+
+ /** Static value Failed for DeploymentResourceProvisioningState. */
+ public static final DeploymentResourceProvisioningState FAILED = fromString("Failed");
+
+ /**
+ * Creates or finds a DeploymentResourceProvisioningState from its string representation.
+ * @param name a name to look for
+ * @return the corresponding DeploymentResourceProvisioningState
+ */
+ @JsonCreator
+ public static DeploymentResourceProvisioningState fromString(String name) {
+ return fromString(name, DeploymentResourceProvisioningState.class);
+ }
+
+ /**
+ * @return known DeploymentResourceProvisioningState values
+ */
+ public static Collection values() {
+ return values(DeploymentResourceProvisioningState.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceStatus.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceStatus.java
new file mode 100644
index 000000000000..8fd6ac8d55ff
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentResourceStatus.java
@@ -0,0 +1,56 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for DeploymentResourceStatus.
+ */
+public final class DeploymentResourceStatus extends ExpandableStringEnum {
+ /** Static value Unknown for DeploymentResourceStatus. */
+ public static final DeploymentResourceStatus UNKNOWN = fromString("Unknown");
+
+ /** Static value Stopped for DeploymentResourceStatus. */
+ public static final DeploymentResourceStatus STOPPED = fromString("Stopped");
+
+ /** Static value Running for DeploymentResourceStatus. */
+ public static final DeploymentResourceStatus RUNNING = fromString("Running");
+
+ /** Static value Failed for DeploymentResourceStatus. */
+ public static final DeploymentResourceStatus FAILED = fromString("Failed");
+
+ /** Static value Allocating for DeploymentResourceStatus. */
+ public static final DeploymentResourceStatus ALLOCATING = fromString("Allocating");
+
+ /** Static value Upgrading for DeploymentResourceStatus. */
+ public static final DeploymentResourceStatus UPGRADING = fromString("Upgrading");
+
+ /** Static value Compiling for DeploymentResourceStatus. */
+ public static final DeploymentResourceStatus COMPILING = fromString("Compiling");
+
+ /**
+ * Creates or finds a DeploymentResourceStatus from its string representation.
+ * @param name a name to look for
+ * @return the corresponding DeploymentResourceStatus
+ */
+ @JsonCreator
+ public static DeploymentResourceStatus fromString(String name) {
+ return fromString(name, DeploymentResourceStatus.class);
+ }
+
+ /**
+ * @return known DeploymentResourceStatus values
+ */
+ public static Collection values() {
+ return values(DeploymentResourceStatus.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentSettings.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentSettings.java
new file mode 100644
index 000000000000..badbaaeb3850
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/DeploymentSettings.java
@@ -0,0 +1,177 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Map;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Deployment settings payload.
+ */
+public class DeploymentSettings {
+ /**
+ * Required CPU, basic tier should be 1, standard tier should be in range
+ * (1, 4).
+ */
+ @JsonProperty(value = "cpu")
+ private Integer cpu;
+
+ /**
+ * Required Memory size in GB, basic tier should be in range (1, 2),
+ * standard tier should be in range (1, 8).
+ */
+ @JsonProperty(value = "memoryInGB")
+ private Integer memoryInGB;
+
+ /**
+ * JVM parameter.
+ */
+ @JsonProperty(value = "jvmOptions")
+ private String jvmOptions;
+
+ /**
+ * The path to the .NET executable relative to zip root.
+ */
+ @JsonProperty(value = "netCoreMainEntryPath")
+ private String netCoreMainEntryPath;
+
+ /**
+ * Collection of environment variables.
+ */
+ @JsonProperty(value = "environmentVariables")
+ private Map environmentVariables;
+
+ /**
+ * Runtime version. Possible values include: 'Java_8', 'Java_11',
+ * 'NetCore_31'.
+ */
+ @JsonProperty(value = "runtimeVersion")
+ private RuntimeVersion runtimeVersion;
+
+ /**
+ * Get required CPU, basic tier should be 1, standard tier should be in range (1, 4).
+ *
+ * @return the cpu value
+ */
+ public Integer cpu() {
+ return this.cpu;
+ }
+
+ /**
+ * Set required CPU, basic tier should be 1, standard tier should be in range (1, 4).
+ *
+ * @param cpu the cpu value to set
+ * @return the DeploymentSettings object itself.
+ */
+ public DeploymentSettings withCpu(Integer cpu) {
+ this.cpu = cpu;
+ return this;
+ }
+
+ /**
+ * Get required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8).
+ *
+ * @return the memoryInGB value
+ */
+ public Integer memoryInGB() {
+ return this.memoryInGB;
+ }
+
+ /**
+ * Set required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8).
+ *
+ * @param memoryInGB the memoryInGB value to set
+ * @return the DeploymentSettings object itself.
+ */
+ public DeploymentSettings withMemoryInGB(Integer memoryInGB) {
+ this.memoryInGB = memoryInGB;
+ return this;
+ }
+
+ /**
+ * Get jVM parameter.
+ *
+ * @return the jvmOptions value
+ */
+ public String jvmOptions() {
+ return this.jvmOptions;
+ }
+
+ /**
+ * Set jVM parameter.
+ *
+ * @param jvmOptions the jvmOptions value to set
+ * @return the DeploymentSettings object itself.
+ */
+ public DeploymentSettings withJvmOptions(String jvmOptions) {
+ this.jvmOptions = jvmOptions;
+ return this;
+ }
+
+ /**
+ * Get the path to the .NET executable relative to zip root.
+ *
+ * @return the netCoreMainEntryPath value
+ */
+ public String netCoreMainEntryPath() {
+ return this.netCoreMainEntryPath;
+ }
+
+ /**
+ * Set the path to the .NET executable relative to zip root.
+ *
+ * @param netCoreMainEntryPath the netCoreMainEntryPath value to set
+ * @return the DeploymentSettings object itself.
+ */
+ public DeploymentSettings withNetCoreMainEntryPath(String netCoreMainEntryPath) {
+ this.netCoreMainEntryPath = netCoreMainEntryPath;
+ return this;
+ }
+
+ /**
+ * Get collection of environment variables.
+ *
+ * @return the environmentVariables value
+ */
+ public Map environmentVariables() {
+ return this.environmentVariables;
+ }
+
+ /**
+ * Set collection of environment variables.
+ *
+ * @param environmentVariables the environmentVariables value to set
+ * @return the DeploymentSettings object itself.
+ */
+ public DeploymentSettings withEnvironmentVariables(Map environmentVariables) {
+ this.environmentVariables = environmentVariables;
+ return this;
+ }
+
+ /**
+ * Get runtime version. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
+ *
+ * @return the runtimeVersion value
+ */
+ public RuntimeVersion runtimeVersion() {
+ return this.runtimeVersion;
+ }
+
+ /**
+ * Set runtime version. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
+ *
+ * @param runtimeVersion the runtimeVersion value to set
+ * @return the DeploymentSettings object itself.
+ */
+ public DeploymentSettings withRuntimeVersion(RuntimeVersion runtimeVersion) {
+ this.runtimeVersion = runtimeVersion;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Deployments.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Deployments.java
new file mode 100644
index 000000000000..56c57d8576ab
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Deployments.java
@@ -0,0 +1,114 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.collection.SupportsCreating;
+import rx.Completable;
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.DeploymentsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Deployments.
+ */
+public interface Deployments extends SupportsCreating, HasInner {
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable listForClusterAsync(final String resourceGroupName, final String serviceName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Completable startAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Completable stopAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Completable restartAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getLogFileUrlAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable listAsync(final String resourceGroupName, final String serviceName, final String appName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Completable deleteAsync(String resourceGroupName, String serviceName, String appName, String deploymentName);
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Error.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Error.java
new file mode 100644
index 000000000000..812fd3458d12
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Error.java
@@ -0,0 +1,69 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The error code compose of code and message.
+ */
+public class Error {
+ /**
+ * The code of error.
+ */
+ @JsonProperty(value = "code")
+ private String code;
+
+ /**
+ * The message of error.
+ */
+ @JsonProperty(value = "message")
+ private String message;
+
+ /**
+ * Get the code of error.
+ *
+ * @return the code value
+ */
+ public String code() {
+ return this.code;
+ }
+
+ /**
+ * Set the code of error.
+ *
+ * @param code the code value to set
+ * @return the Error object itself.
+ */
+ public Error withCode(String code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * Get the message of error.
+ *
+ * @return the message value
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Set the message of error.
+ *
+ * @param message the message value to set
+ * @return the Error object itself.
+ */
+ public Error withMessage(String message) {
+ this.message = message;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/GitPatternRepository.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/GitPatternRepository.java
new file mode 100644
index 000000000000..cdcfcbd09bfd
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/GitPatternRepository.java
@@ -0,0 +1,304 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Git repository property payload.
+ */
+public class GitPatternRepository {
+ /**
+ * Name of the repository.
+ */
+ @JsonProperty(value = "name", required = true)
+ private String name;
+
+ /**
+ * Collection of pattern of the repository.
+ */
+ @JsonProperty(value = "pattern")
+ private List pattern;
+
+ /**
+ * URI of the repository.
+ */
+ @JsonProperty(value = "uri", required = true)
+ private String uri;
+
+ /**
+ * Label of the repository.
+ */
+ @JsonProperty(value = "label")
+ private String label;
+
+ /**
+ * Searching path of the repository.
+ */
+ @JsonProperty(value = "searchPaths")
+ private List searchPaths;
+
+ /**
+ * Username of git repository basic auth.
+ */
+ @JsonProperty(value = "username")
+ private String username;
+
+ /**
+ * Password of git repository basic auth.
+ */
+ @JsonProperty(value = "password")
+ private String password;
+
+ /**
+ * Public sshKey of git repository.
+ */
+ @JsonProperty(value = "hostKey")
+ private String hostKey;
+
+ /**
+ * SshKey algorithm of git repository.
+ */
+ @JsonProperty(value = "hostKeyAlgorithm")
+ private String hostKeyAlgorithm;
+
+ /**
+ * Private sshKey algorithm of git repository.
+ */
+ @JsonProperty(value = "privateKey")
+ private String privateKey;
+
+ /**
+ * Strict host key checking or not.
+ */
+ @JsonProperty(value = "strictHostKeyChecking")
+ private Boolean strictHostKeyChecking;
+
+ /**
+ * Get name of the repository.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set name of the repository.
+ *
+ * @param name the name value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get collection of pattern of the repository.
+ *
+ * @return the pattern value
+ */
+ public List pattern() {
+ return this.pattern;
+ }
+
+ /**
+ * Set collection of pattern of the repository.
+ *
+ * @param pattern the pattern value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withPattern(List pattern) {
+ this.pattern = pattern;
+ return this;
+ }
+
+ /**
+ * Get uRI of the repository.
+ *
+ * @return the uri value
+ */
+ public String uri() {
+ return this.uri;
+ }
+
+ /**
+ * Set uRI of the repository.
+ *
+ * @param uri the uri value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withUri(String uri) {
+ this.uri = uri;
+ return this;
+ }
+
+ /**
+ * Get label of the repository.
+ *
+ * @return the label value
+ */
+ public String label() {
+ return this.label;
+ }
+
+ /**
+ * Set label of the repository.
+ *
+ * @param label the label value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withLabel(String label) {
+ this.label = label;
+ return this;
+ }
+
+ /**
+ * Get searching path of the repository.
+ *
+ * @return the searchPaths value
+ */
+ public List searchPaths() {
+ return this.searchPaths;
+ }
+
+ /**
+ * Set searching path of the repository.
+ *
+ * @param searchPaths the searchPaths value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withSearchPaths(List searchPaths) {
+ this.searchPaths = searchPaths;
+ return this;
+ }
+
+ /**
+ * Get username of git repository basic auth.
+ *
+ * @return the username value
+ */
+ public String username() {
+ return this.username;
+ }
+
+ /**
+ * Set username of git repository basic auth.
+ *
+ * @param username the username value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withUsername(String username) {
+ this.username = username;
+ return this;
+ }
+
+ /**
+ * Get password of git repository basic auth.
+ *
+ * @return the password value
+ */
+ public String password() {
+ return this.password;
+ }
+
+ /**
+ * Set password of git repository basic auth.
+ *
+ * @param password the password value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withPassword(String password) {
+ this.password = password;
+ return this;
+ }
+
+ /**
+ * Get public sshKey of git repository.
+ *
+ * @return the hostKey value
+ */
+ public String hostKey() {
+ return this.hostKey;
+ }
+
+ /**
+ * Set public sshKey of git repository.
+ *
+ * @param hostKey the hostKey value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withHostKey(String hostKey) {
+ this.hostKey = hostKey;
+ return this;
+ }
+
+ /**
+ * Get sshKey algorithm of git repository.
+ *
+ * @return the hostKeyAlgorithm value
+ */
+ public String hostKeyAlgorithm() {
+ return this.hostKeyAlgorithm;
+ }
+
+ /**
+ * Set sshKey algorithm of git repository.
+ *
+ * @param hostKeyAlgorithm the hostKeyAlgorithm value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withHostKeyAlgorithm(String hostKeyAlgorithm) {
+ this.hostKeyAlgorithm = hostKeyAlgorithm;
+ return this;
+ }
+
+ /**
+ * Get private sshKey algorithm of git repository.
+ *
+ * @return the privateKey value
+ */
+ public String privateKey() {
+ return this.privateKey;
+ }
+
+ /**
+ * Set private sshKey algorithm of git repository.
+ *
+ * @param privateKey the privateKey value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withPrivateKey(String privateKey) {
+ this.privateKey = privateKey;
+ return this;
+ }
+
+ /**
+ * Get strict host key checking or not.
+ *
+ * @return the strictHostKeyChecking value
+ */
+ public Boolean strictHostKeyChecking() {
+ return this.strictHostKeyChecking;
+ }
+
+ /**
+ * Set strict host key checking or not.
+ *
+ * @param strictHostKeyChecking the strictHostKeyChecking value to set
+ * @return the GitPatternRepository object itself.
+ */
+ public GitPatternRepository withStrictHostKeyChecking(Boolean strictHostKeyChecking) {
+ this.strictHostKeyChecking = strictHostKeyChecking;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/LogFileUrlResponse.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/LogFileUrlResponse.java
new file mode 100644
index 000000000000..e515e654e949
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/LogFileUrlResponse.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.LogFileUrlResponseInner;
+
+/**
+ * Type representing LogFileUrlResponse.
+ */
+public interface LogFileUrlResponse extends HasInner, HasManager {
+ /**
+ * @return the url value.
+ */
+ String url();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/LogSpecification.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/LogSpecification.java
new file mode 100644
index 000000000000..1b42d90facfe
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/LogSpecification.java
@@ -0,0 +1,95 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Specifications of the Log for Azure Monitoring.
+ */
+public class LogSpecification {
+ /**
+ * Name of the log.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /**
+ * Localized friendly display name of the log.
+ */
+ @JsonProperty(value = "displayName")
+ private String displayName;
+
+ /**
+ * Blob duration of the log.
+ */
+ @JsonProperty(value = "blobDuration")
+ private String blobDuration;
+
+ /**
+ * Get name of the log.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set name of the log.
+ *
+ * @param name the name value to set
+ * @return the LogSpecification object itself.
+ */
+ public LogSpecification withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get localized friendly display name of the log.
+ *
+ * @return the displayName value
+ */
+ public String displayName() {
+ return this.displayName;
+ }
+
+ /**
+ * Set localized friendly display name of the log.
+ *
+ * @param displayName the displayName value to set
+ * @return the LogSpecification object itself.
+ */
+ public LogSpecification withDisplayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ /**
+ * Get blob duration of the log.
+ *
+ * @return the blobDuration value
+ */
+ public String blobDuration() {
+ return this.blobDuration;
+ }
+
+ /**
+ * Set blob duration of the log.
+ *
+ * @param blobDuration the blobDuration value to set
+ * @return the LogSpecification object itself.
+ */
+ public LogSpecification withBlobDuration(String blobDuration) {
+ this.blobDuration = blobDuration;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ManagedIdentityProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ManagedIdentityProperties.java
new file mode 100644
index 000000000000..794de47406a4
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ManagedIdentityProperties.java
@@ -0,0 +1,96 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Managed identity properties retrieved from ARM request headers.
+ */
+public class ManagedIdentityProperties {
+ /**
+ * Type of the managed identity. Possible values include: 'None',
+ * 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'.
+ */
+ @JsonProperty(value = "type")
+ private ManagedIdentityType type;
+
+ /**
+ * Principal Id.
+ */
+ @JsonProperty(value = "principalId")
+ private String principalId;
+
+ /**
+ * Tenant Id.
+ */
+ @JsonProperty(value = "tenantId")
+ private String tenantId;
+
+ /**
+ * Get type of the managed identity. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'.
+ *
+ * @return the type value
+ */
+ public ManagedIdentityType type() {
+ return this.type;
+ }
+
+ /**
+ * Set type of the managed identity. Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'.
+ *
+ * @param type the type value to set
+ * @return the ManagedIdentityProperties object itself.
+ */
+ public ManagedIdentityProperties withType(ManagedIdentityType type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get principal Id.
+ *
+ * @return the principalId value
+ */
+ public String principalId() {
+ return this.principalId;
+ }
+
+ /**
+ * Set principal Id.
+ *
+ * @param principalId the principalId value to set
+ * @return the ManagedIdentityProperties object itself.
+ */
+ public ManagedIdentityProperties withPrincipalId(String principalId) {
+ this.principalId = principalId;
+ return this;
+ }
+
+ /**
+ * Get tenant Id.
+ *
+ * @return the tenantId value
+ */
+ public String tenantId() {
+ return this.tenantId;
+ }
+
+ /**
+ * Set tenant Id.
+ *
+ * @param tenantId the tenantId value to set
+ * @return the ManagedIdentityProperties object itself.
+ */
+ public ManagedIdentityProperties withTenantId(String tenantId) {
+ this.tenantId = tenantId;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ManagedIdentityType.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ManagedIdentityType.java
new file mode 100644
index 000000000000..03293a40ac14
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ManagedIdentityType.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ManagedIdentityType.
+ */
+public final class ManagedIdentityType extends ExpandableStringEnum {
+ /** Static value None for ManagedIdentityType. */
+ public static final ManagedIdentityType NONE = fromString("None");
+
+ /** Static value SystemAssigned for ManagedIdentityType. */
+ public static final ManagedIdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned");
+
+ /** Static value UserAssigned for ManagedIdentityType. */
+ public static final ManagedIdentityType USER_ASSIGNED = fromString("UserAssigned");
+
+ /** Static value SystemAssigned,UserAssigned for ManagedIdentityType. */
+ public static final ManagedIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED = fromString("SystemAssigned,UserAssigned");
+
+ /**
+ * Creates or finds a ManagedIdentityType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ManagedIdentityType
+ */
+ @JsonCreator
+ public static ManagedIdentityType fromString(String name) {
+ return fromString(name, ManagedIdentityType.class);
+ }
+
+ /**
+ * @return known ManagedIdentityType values
+ */
+ public static Collection values() {
+ return values(ManagedIdentityType.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MetricDimension.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MetricDimension.java
new file mode 100644
index 000000000000..f178528a2ace
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MetricDimension.java
@@ -0,0 +1,69 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Specifications of the Dimension of metrics.
+ */
+public class MetricDimension {
+ /**
+ * Name of the dimension.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /**
+ * Localized friendly display name of the dimension.
+ */
+ @JsonProperty(value = "displayName")
+ private String displayName;
+
+ /**
+ * Get name of the dimension.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set name of the dimension.
+ *
+ * @param name the name value to set
+ * @return the MetricDimension object itself.
+ */
+ public MetricDimension withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get localized friendly display name of the dimension.
+ *
+ * @return the displayName value
+ */
+ public String displayName() {
+ return this.displayName;
+ }
+
+ /**
+ * Set localized friendly display name of the dimension.
+ *
+ * @param displayName the displayName value to set
+ * @return the MetricDimension object itself.
+ */
+ public MetricDimension withDisplayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MetricSpecification.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MetricSpecification.java
new file mode 100644
index 000000000000..82660f9c05ca
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MetricSpecification.java
@@ -0,0 +1,281 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Specifications of the Metrics for Azure Monitoring.
+ */
+public class MetricSpecification {
+ /**
+ * Name of the metric.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /**
+ * Localized friendly display name of the metric.
+ */
+ @JsonProperty(value = "displayName")
+ private String displayName;
+
+ /**
+ * Localized friendly description of the metric.
+ */
+ @JsonProperty(value = "displayDescription")
+ private String displayDescription;
+
+ /**
+ * Unit that makes sense for the metric.
+ */
+ @JsonProperty(value = "unit")
+ private String unit;
+
+ /**
+ * Name of the metric category that the metric belongs to. A metric can
+ * only belong to a single category.
+ */
+ @JsonProperty(value = "category")
+ private String category;
+
+ /**
+ * Only provide one value for this field. Valid values: Average, Minimum,
+ * Maximum, Total, Count.
+ */
+ @JsonProperty(value = "aggregationType")
+ private String aggregationType;
+
+ /**
+ * Supported aggregation types.
+ */
+ @JsonProperty(value = "supportedAggregationTypes")
+ private List supportedAggregationTypes;
+
+ /**
+ * Supported time grain types.
+ */
+ @JsonProperty(value = "supportedTimeGrainTypes")
+ private List supportedTimeGrainTypes;
+
+ /**
+ * Optional. If set to true, then zero will be returned for time duration
+ * where no metric is emitted/published.
+ */
+ @JsonProperty(value = "fillGapWithZero")
+ private Boolean fillGapWithZero;
+
+ /**
+ * Dimensions of the metric.
+ */
+ @JsonProperty(value = "dimensions")
+ private List dimensions;
+
+ /**
+ * Get name of the metric.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set name of the metric.
+ *
+ * @param name the name value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get localized friendly display name of the metric.
+ *
+ * @return the displayName value
+ */
+ public String displayName() {
+ return this.displayName;
+ }
+
+ /**
+ * Set localized friendly display name of the metric.
+ *
+ * @param displayName the displayName value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withDisplayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ /**
+ * Get localized friendly description of the metric.
+ *
+ * @return the displayDescription value
+ */
+ public String displayDescription() {
+ return this.displayDescription;
+ }
+
+ /**
+ * Set localized friendly description of the metric.
+ *
+ * @param displayDescription the displayDescription value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withDisplayDescription(String displayDescription) {
+ this.displayDescription = displayDescription;
+ return this;
+ }
+
+ /**
+ * Get unit that makes sense for the metric.
+ *
+ * @return the unit value
+ */
+ public String unit() {
+ return this.unit;
+ }
+
+ /**
+ * Set unit that makes sense for the metric.
+ *
+ * @param unit the unit value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withUnit(String unit) {
+ this.unit = unit;
+ return this;
+ }
+
+ /**
+ * Get name of the metric category that the metric belongs to. A metric can only belong to a single category.
+ *
+ * @return the category value
+ */
+ public String category() {
+ return this.category;
+ }
+
+ /**
+ * Set name of the metric category that the metric belongs to. A metric can only belong to a single category.
+ *
+ * @param category the category value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withCategory(String category) {
+ this.category = category;
+ return this;
+ }
+
+ /**
+ * Get only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
+ *
+ * @return the aggregationType value
+ */
+ public String aggregationType() {
+ return this.aggregationType;
+ }
+
+ /**
+ * Set only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
+ *
+ * @param aggregationType the aggregationType value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withAggregationType(String aggregationType) {
+ this.aggregationType = aggregationType;
+ return this;
+ }
+
+ /**
+ * Get supported aggregation types.
+ *
+ * @return the supportedAggregationTypes value
+ */
+ public List supportedAggregationTypes() {
+ return this.supportedAggregationTypes;
+ }
+
+ /**
+ * Set supported aggregation types.
+ *
+ * @param supportedAggregationTypes the supportedAggregationTypes value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withSupportedAggregationTypes(List supportedAggregationTypes) {
+ this.supportedAggregationTypes = supportedAggregationTypes;
+ return this;
+ }
+
+ /**
+ * Get supported time grain types.
+ *
+ * @return the supportedTimeGrainTypes value
+ */
+ public List supportedTimeGrainTypes() {
+ return this.supportedTimeGrainTypes;
+ }
+
+ /**
+ * Set supported time grain types.
+ *
+ * @param supportedTimeGrainTypes the supportedTimeGrainTypes value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withSupportedTimeGrainTypes(List supportedTimeGrainTypes) {
+ this.supportedTimeGrainTypes = supportedTimeGrainTypes;
+ return this;
+ }
+
+ /**
+ * Get optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
+ *
+ * @return the fillGapWithZero value
+ */
+ public Boolean fillGapWithZero() {
+ return this.fillGapWithZero;
+ }
+
+ /**
+ * Set optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
+ *
+ * @param fillGapWithZero the fillGapWithZero value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero) {
+ this.fillGapWithZero = fillGapWithZero;
+ return this;
+ }
+
+ /**
+ * Get dimensions of the metric.
+ *
+ * @return the dimensions value
+ */
+ public List dimensions() {
+ return this.dimensions;
+ }
+
+ /**
+ * Set dimensions of the metric.
+ *
+ * @param dimensions the dimensions value to set
+ * @return the MetricSpecification object itself.
+ */
+ public MetricSpecification withDimensions(List dimensions) {
+ this.dimensions = dimensions;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingProperties.java
new file mode 100644
index 000000000000..0462d0390b0f
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingProperties.java
@@ -0,0 +1,168 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Monitoring Setting properties payload.
+ */
+public class MonitoringSettingProperties {
+ /**
+ * State of the Monitoring Setting. Possible values include:
+ * 'NotAvailable', 'Failed', 'Succeeded', 'Updating'.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private MonitoringSettingState provisioningState;
+
+ /**
+ * Error when apply Monitoring Setting changes.
+ */
+ @JsonProperty(value = "error")
+ private Error error;
+
+ /**
+ * Indicates whether enable the trace functionality, which will be
+ * deprecated since api version 2020-11-01-preview. Please leverage
+ * appInsightsInstrumentationKey to indicate if monitoringSettings enabled
+ * or not.
+ */
+ @JsonProperty(value = "traceEnabled")
+ private Boolean traceEnabled;
+
+ /**
+ * Target application insight instrumentation key, null or whitespace
+ * include empty will disable monitoringSettings.
+ */
+ @JsonProperty(value = "appInsightsInstrumentationKey")
+ private String appInsightsInstrumentationKey;
+
+ /**
+ * Indicates the sampling rate of application insight agent, should be in
+ * range [0.0, 100.0].
+ */
+ @JsonProperty(value = "appInsightsSamplingRate")
+ private Double appInsightsSamplingRate;
+
+ /**
+ * Indicates the versions of application insight agent.
+ */
+ @JsonProperty(value = "appInsightsAgentVersions")
+ private ApplicationInsightsAgentVersions appInsightsAgentVersions;
+
+ /**
+ * Get state of the Monitoring Setting. Possible values include: 'NotAvailable', 'Failed', 'Succeeded', 'Updating'.
+ *
+ * @return the provisioningState value
+ */
+ public MonitoringSettingState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get error when apply Monitoring Setting changes.
+ *
+ * @return the error value
+ */
+ public Error error() {
+ return this.error;
+ }
+
+ /**
+ * Set error when apply Monitoring Setting changes.
+ *
+ * @param error the error value to set
+ * @return the MonitoringSettingProperties object itself.
+ */
+ public MonitoringSettingProperties withError(Error error) {
+ this.error = error;
+ return this;
+ }
+
+ /**
+ * Get indicates whether enable the trace functionality, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey to indicate if monitoringSettings enabled or not.
+ *
+ * @return the traceEnabled value
+ */
+ public Boolean traceEnabled() {
+ return this.traceEnabled;
+ }
+
+ /**
+ * Set indicates whether enable the trace functionality, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey to indicate if monitoringSettings enabled or not.
+ *
+ * @param traceEnabled the traceEnabled value to set
+ * @return the MonitoringSettingProperties object itself.
+ */
+ public MonitoringSettingProperties withTraceEnabled(Boolean traceEnabled) {
+ this.traceEnabled = traceEnabled;
+ return this;
+ }
+
+ /**
+ * Get target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings.
+ *
+ * @return the appInsightsInstrumentationKey value
+ */
+ public String appInsightsInstrumentationKey() {
+ return this.appInsightsInstrumentationKey;
+ }
+
+ /**
+ * Set target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings.
+ *
+ * @param appInsightsInstrumentationKey the appInsightsInstrumentationKey value to set
+ * @return the MonitoringSettingProperties object itself.
+ */
+ public MonitoringSettingProperties withAppInsightsInstrumentationKey(String appInsightsInstrumentationKey) {
+ this.appInsightsInstrumentationKey = appInsightsInstrumentationKey;
+ return this;
+ }
+
+ /**
+ * Get indicates the sampling rate of application insight agent, should be in range [0.0, 100.0].
+ *
+ * @return the appInsightsSamplingRate value
+ */
+ public Double appInsightsSamplingRate() {
+ return this.appInsightsSamplingRate;
+ }
+
+ /**
+ * Set indicates the sampling rate of application insight agent, should be in range [0.0, 100.0].
+ *
+ * @param appInsightsSamplingRate the appInsightsSamplingRate value to set
+ * @return the MonitoringSettingProperties object itself.
+ */
+ public MonitoringSettingProperties withAppInsightsSamplingRate(Double appInsightsSamplingRate) {
+ this.appInsightsSamplingRate = appInsightsSamplingRate;
+ return this;
+ }
+
+ /**
+ * Get indicates the versions of application insight agent.
+ *
+ * @return the appInsightsAgentVersions value
+ */
+ public ApplicationInsightsAgentVersions appInsightsAgentVersions() {
+ return this.appInsightsAgentVersions;
+ }
+
+ /**
+ * Set indicates the versions of application insight agent.
+ *
+ * @param appInsightsAgentVersions the appInsightsAgentVersions value to set
+ * @return the MonitoringSettingProperties object itself.
+ */
+ public MonitoringSettingProperties withAppInsightsAgentVersions(ApplicationInsightsAgentVersions appInsightsAgentVersions) {
+ this.appInsightsAgentVersions = appInsightsAgentVersions;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingResource.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingResource.java
new file mode 100644
index 000000000000..925fc8a05267
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingResource.java
@@ -0,0 +1,40 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.MonitoringSettingResourceInner;
+
+/**
+ * Type representing MonitoringSettingResource.
+ */
+public interface MonitoringSettingResource extends HasInner, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ MonitoringSettingProperties properties();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingState.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingState.java
new file mode 100644
index 000000000000..b5c2e8b576f9
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettingState.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for MonitoringSettingState.
+ */
+public final class MonitoringSettingState extends ExpandableStringEnum {
+ /** Static value NotAvailable for MonitoringSettingState. */
+ public static final MonitoringSettingState NOT_AVAILABLE = fromString("NotAvailable");
+
+ /** Static value Failed for MonitoringSettingState. */
+ public static final MonitoringSettingState FAILED = fromString("Failed");
+
+ /** Static value Succeeded for MonitoringSettingState. */
+ public static final MonitoringSettingState SUCCEEDED = fromString("Succeeded");
+
+ /** Static value Updating for MonitoringSettingState. */
+ public static final MonitoringSettingState UPDATING = fromString("Updating");
+
+ /**
+ * Creates or finds a MonitoringSettingState from its string representation.
+ * @param name a name to look for
+ * @return the corresponding MonitoringSettingState
+ */
+ @JsonCreator
+ public static MonitoringSettingState fromString(String name) {
+ return fromString(name, MonitoringSettingState.class);
+ }
+
+ /**
+ * @return known MonitoringSettingState values
+ */
+ public static Collection values() {
+ return values(MonitoringSettingState.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettings.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettings.java
new file mode 100644
index 000000000000..b32231f5c82e
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/MonitoringSettings.java
@@ -0,0 +1,49 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.MonitoringSettingsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing MonitoringSettings.
+ */
+public interface MonitoringSettings extends HasInner {
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable getAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable updatePutAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * 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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable updatePatchAsync(String resourceGroupName, String serviceName);
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NameAvailability.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NameAvailability.java
new file mode 100644
index 000000000000..29c4a903d6db
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NameAvailability.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.NameAvailabilityInner;
+
+/**
+ * Type representing NameAvailability.
+ */
+public interface NameAvailability extends HasInner, HasManager {
+ /**
+ * @return the message value.
+ */
+ String message();
+
+ /**
+ * @return the nameAvailable value.
+ */
+ Boolean nameAvailable();
+
+ /**
+ * @return the reason value.
+ */
+ String reason();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NameAvailabilityParameters.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NameAvailabilityParameters.java
new file mode 100644
index 000000000000..ecf1db860e1c
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NameAvailabilityParameters.java
@@ -0,0 +1,69 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Name availability parameters payload.
+ */
+public class NameAvailabilityParameters {
+ /**
+ * Type of the resource to check name availability.
+ */
+ @JsonProperty(value = "type", required = true)
+ private String type;
+
+ /**
+ * Name to be checked.
+ */
+ @JsonProperty(value = "name", required = true)
+ private String name;
+
+ /**
+ * Get type of the resource to check name availability.
+ *
+ * @return the type value
+ */
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Set type of the resource to check name availability.
+ *
+ * @param type the type value to set
+ * @return the NameAvailabilityParameters object itself.
+ */
+ public NameAvailabilityParameters withType(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get name to be checked.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set name to be checked.
+ *
+ * @param name the name value to set
+ * @return the NameAvailabilityParameters object itself.
+ */
+ public NameAvailabilityParameters withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NetworkProfile.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NetworkProfile.java
new file mode 100644
index 000000000000..0a2c8813db31
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NetworkProfile.java
@@ -0,0 +1,182 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Service network profile payload.
+ */
+public class NetworkProfile {
+ /**
+ * Fully qualified resource Id of the subnet to host Azure Spring Cloud
+ * Service Runtime.
+ */
+ @JsonProperty(value = "serviceRuntimeSubnetId")
+ private String serviceRuntimeSubnetId;
+
+ /**
+ * Fully qualified resource Id of the subnet to host Azure Spring Cloud
+ * Apps.
+ */
+ @JsonProperty(value = "appSubnetId")
+ private String appSubnetId;
+
+ /**
+ * Azure Spring Cloud service reserved CIDR.
+ */
+ @JsonProperty(value = "serviceCidr")
+ private String serviceCidr;
+
+ /**
+ * Name of the resource group containing network resources of Azure Spring
+ * Cloud Service Runtime.
+ */
+ @JsonProperty(value = "serviceRuntimeNetworkResourceGroup")
+ private String serviceRuntimeNetworkResourceGroup;
+
+ /**
+ * Name of the resource group containing network resources of Azure Spring
+ * Cloud Apps.
+ */
+ @JsonProperty(value = "appNetworkResourceGroup")
+ private String appNetworkResourceGroup;
+
+ /**
+ * Desired outbound IP resources for Azure Spring Cloud instance.
+ */
+ @JsonProperty(value = "outboundIPs", access = JsonProperty.Access.WRITE_ONLY)
+ private NetworkProfileOutboundIPs outboundIPs;
+
+ /**
+ * Required inbound or outbound traffics for Azure Spring Cloud instance.
+ */
+ @JsonProperty(value = "requiredTraffics", access = JsonProperty.Access.WRITE_ONLY)
+ private List requiredTraffics;
+
+ /**
+ * Get fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime.
+ *
+ * @return the serviceRuntimeSubnetId value
+ */
+ public String serviceRuntimeSubnetId() {
+ return this.serviceRuntimeSubnetId;
+ }
+
+ /**
+ * Set fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime.
+ *
+ * @param serviceRuntimeSubnetId the serviceRuntimeSubnetId value to set
+ * @return the NetworkProfile object itself.
+ */
+ public NetworkProfile withServiceRuntimeSubnetId(String serviceRuntimeSubnetId) {
+ this.serviceRuntimeSubnetId = serviceRuntimeSubnetId;
+ return this;
+ }
+
+ /**
+ * Get fully qualified resource Id of the subnet to host Azure Spring Cloud Apps.
+ *
+ * @return the appSubnetId value
+ */
+ public String appSubnetId() {
+ return this.appSubnetId;
+ }
+
+ /**
+ * Set fully qualified resource Id of the subnet to host Azure Spring Cloud Apps.
+ *
+ * @param appSubnetId the appSubnetId value to set
+ * @return the NetworkProfile object itself.
+ */
+ public NetworkProfile withAppSubnetId(String appSubnetId) {
+ this.appSubnetId = appSubnetId;
+ return this;
+ }
+
+ /**
+ * Get azure Spring Cloud service reserved CIDR.
+ *
+ * @return the serviceCidr value
+ */
+ public String serviceCidr() {
+ return this.serviceCidr;
+ }
+
+ /**
+ * Set azure Spring Cloud service reserved CIDR.
+ *
+ * @param serviceCidr the serviceCidr value to set
+ * @return the NetworkProfile object itself.
+ */
+ public NetworkProfile withServiceCidr(String serviceCidr) {
+ this.serviceCidr = serviceCidr;
+ return this;
+ }
+
+ /**
+ * Get name of the resource group containing network resources of Azure Spring Cloud Service Runtime.
+ *
+ * @return the serviceRuntimeNetworkResourceGroup value
+ */
+ public String serviceRuntimeNetworkResourceGroup() {
+ return this.serviceRuntimeNetworkResourceGroup;
+ }
+
+ /**
+ * Set name of the resource group containing network resources of Azure Spring Cloud Service Runtime.
+ *
+ * @param serviceRuntimeNetworkResourceGroup the serviceRuntimeNetworkResourceGroup value to set
+ * @return the NetworkProfile object itself.
+ */
+ public NetworkProfile withServiceRuntimeNetworkResourceGroup(String serviceRuntimeNetworkResourceGroup) {
+ this.serviceRuntimeNetworkResourceGroup = serviceRuntimeNetworkResourceGroup;
+ return this;
+ }
+
+ /**
+ * Get name of the resource group containing network resources of Azure Spring Cloud Apps.
+ *
+ * @return the appNetworkResourceGroup value
+ */
+ public String appNetworkResourceGroup() {
+ return this.appNetworkResourceGroup;
+ }
+
+ /**
+ * Set name of the resource group containing network resources of Azure Spring Cloud Apps.
+ *
+ * @param appNetworkResourceGroup the appNetworkResourceGroup value to set
+ * @return the NetworkProfile object itself.
+ */
+ public NetworkProfile withAppNetworkResourceGroup(String appNetworkResourceGroup) {
+ this.appNetworkResourceGroup = appNetworkResourceGroup;
+ return this;
+ }
+
+ /**
+ * Get desired outbound IP resources for Azure Spring Cloud instance.
+ *
+ * @return the outboundIPs value
+ */
+ public NetworkProfileOutboundIPs outboundIPs() {
+ return this.outboundIPs;
+ }
+
+ /**
+ * Get required inbound or outbound traffics for Azure Spring Cloud instance.
+ *
+ * @return the requiredTraffics value
+ */
+ public List requiredTraffics() {
+ return this.requiredTraffics;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NetworkProfileOutboundIPs.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NetworkProfileOutboundIPs.java
new file mode 100644
index 000000000000..df7e3f644fb6
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/NetworkProfileOutboundIPs.java
@@ -0,0 +1,33 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Desired outbound IP resources for Azure Spring Cloud instance.
+ */
+public class NetworkProfileOutboundIPs {
+ /**
+ * A list of public IP addresses.
+ */
+ @JsonProperty(value = "publicIPs", access = JsonProperty.Access.WRITE_ONLY)
+ private List publicIPs;
+
+ /**
+ * Get a list of public IP addresses.
+ *
+ * @return the publicIPs value
+ */
+ public List publicIPs() {
+ return this.publicIPs;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationDetail.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationDetail.java
new file mode 100644
index 000000000000..22c1c3a8f297
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationDetail.java
@@ -0,0 +1,45 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.OperationDetailInner;
+
+/**
+ * Type representing OperationDetail.
+ */
+public interface OperationDetail extends HasInner, HasManager {
+ /**
+ * @return the display value.
+ */
+ OperationDisplay display();
+
+ /**
+ * @return the isDataAction value.
+ */
+ Boolean isDataAction();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the origin value.
+ */
+ String origin();
+
+ /**
+ * @return the properties value.
+ */
+ OperationProperties properties();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationDisplay.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationDisplay.java
new file mode 100644
index 000000000000..0268675e54eb
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationDisplay.java
@@ -0,0 +1,121 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Operation display payload.
+ */
+public class OperationDisplay {
+ /**
+ * Resource provider of the operation.
+ */
+ @JsonProperty(value = "provider")
+ private String provider;
+
+ /**
+ * Resource of the operation.
+ */
+ @JsonProperty(value = "resource")
+ private String resource;
+
+ /**
+ * Localized friendly name for the operation.
+ */
+ @JsonProperty(value = "operation")
+ private String operation;
+
+ /**
+ * Localized friendly description for the operation.
+ */
+ @JsonProperty(value = "description")
+ private String description;
+
+ /**
+ * Get resource provider of the operation.
+ *
+ * @return the provider value
+ */
+ public String provider() {
+ return this.provider;
+ }
+
+ /**
+ * Set resource provider of the operation.
+ *
+ * @param provider the provider value to set
+ * @return the OperationDisplay object itself.
+ */
+ public OperationDisplay withProvider(String provider) {
+ this.provider = provider;
+ return this;
+ }
+
+ /**
+ * Get resource of the operation.
+ *
+ * @return the resource value
+ */
+ public String resource() {
+ return this.resource;
+ }
+
+ /**
+ * Set resource of the operation.
+ *
+ * @param resource the resource value to set
+ * @return the OperationDisplay object itself.
+ */
+ public OperationDisplay withResource(String resource) {
+ this.resource = resource;
+ return this;
+ }
+
+ /**
+ * Get localized friendly name for the operation.
+ *
+ * @return the operation value
+ */
+ public String operation() {
+ return this.operation;
+ }
+
+ /**
+ * Set localized friendly name for the operation.
+ *
+ * @param operation the operation value to set
+ * @return the OperationDisplay object itself.
+ */
+ public OperationDisplay withOperation(String operation) {
+ this.operation = operation;
+ return this;
+ }
+
+ /**
+ * Get localized friendly description for the operation.
+ *
+ * @return the description value
+ */
+ public String description() {
+ return this.description;
+ }
+
+ /**
+ * Set localized friendly description for the operation.
+ *
+ * @param description the description value to set
+ * @return the OperationDisplay object itself.
+ */
+ public OperationDisplay withDescription(String description) {
+ this.description = description;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationProperties.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationProperties.java
new file mode 100644
index 000000000000..04a70891334b
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/OperationProperties.java
@@ -0,0 +1,43 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Extra Operation properties.
+ */
+public class OperationProperties {
+ /**
+ * Service specifications of the operation.
+ */
+ @JsonProperty(value = "serviceSpecification")
+ private ServiceSpecification serviceSpecification;
+
+ /**
+ * Get service specifications of the operation.
+ *
+ * @return the serviceSpecification value
+ */
+ public ServiceSpecification serviceSpecification() {
+ return this.serviceSpecification;
+ }
+
+ /**
+ * Set service specifications of the operation.
+ *
+ * @param serviceSpecification the serviceSpecification value to set
+ * @return the OperationProperties object itself.
+ */
+ public OperationProperties withServiceSpecification(ServiceSpecification serviceSpecification) {
+ this.serviceSpecification = serviceSpecification;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Operations.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Operations.java
new file mode 100644
index 000000000000..aae7b6b78199
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Operations.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.OperationsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Operations.
+ */
+public interface Operations extends HasInner {
+ /**
+ * Lists all of the available REST API operations of the Microsoft.AppPlatform provider.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listAsync();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/PersistentDisk.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/PersistentDisk.java
new file mode 100644
index 000000000000..5860addf6410
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/PersistentDisk.java
@@ -0,0 +1,84 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Persistent disk payload.
+ */
+public class PersistentDisk {
+ /**
+ * Size of the persistent disk in GB.
+ */
+ @JsonProperty(value = "sizeInGB")
+ private Integer sizeInGB;
+
+ /**
+ * Size of the used persistent disk in GB.
+ */
+ @JsonProperty(value = "usedInGB", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer usedInGB;
+
+ /**
+ * Mount path of the persistent disk.
+ */
+ @JsonProperty(value = "mountPath")
+ private String mountPath;
+
+ /**
+ * Get size of the persistent disk in GB.
+ *
+ * @return the sizeInGB value
+ */
+ public Integer sizeInGB() {
+ return this.sizeInGB;
+ }
+
+ /**
+ * Set size of the persistent disk in GB.
+ *
+ * @param sizeInGB the sizeInGB value to set
+ * @return the PersistentDisk object itself.
+ */
+ public PersistentDisk withSizeInGB(Integer sizeInGB) {
+ this.sizeInGB = sizeInGB;
+ return this;
+ }
+
+ /**
+ * Get size of the used persistent disk in GB.
+ *
+ * @return the usedInGB value
+ */
+ public Integer usedInGB() {
+ return this.usedInGB;
+ }
+
+ /**
+ * Get mount path of the persistent disk.
+ *
+ * @return the mountPath value
+ */
+ public String mountPath() {
+ return this.mountPath;
+ }
+
+ /**
+ * Set mount path of the persistent disk.
+ *
+ * @param mountPath the mountPath value to set
+ * @return the PersistentDisk object itself.
+ */
+ public PersistentDisk withMountPath(String mountPath) {
+ this.mountPath = mountPath;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ProvisioningState.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ProvisioningState.java
new file mode 100644
index 000000000000..020926321aed
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ProvisioningState.java
@@ -0,0 +1,62 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ProvisioningState.
+ */
+public final class ProvisioningState extends ExpandableStringEnum {
+ /** Static value Creating for ProvisioningState. */
+ public static final ProvisioningState CREATING = fromString("Creating");
+
+ /** Static value Updating for ProvisioningState. */
+ public static final ProvisioningState UPDATING = fromString("Updating");
+
+ /** Static value Deleting for ProvisioningState. */
+ public static final ProvisioningState DELETING = fromString("Deleting");
+
+ /** Static value Deleted for ProvisioningState. */
+ public static final ProvisioningState DELETED = fromString("Deleted");
+
+ /** Static value Succeeded for ProvisioningState. */
+ public static final ProvisioningState SUCCEEDED = fromString("Succeeded");
+
+ /** Static value Failed for ProvisioningState. */
+ public static final ProvisioningState FAILED = fromString("Failed");
+
+ /** Static value Moving for ProvisioningState. */
+ public static final ProvisioningState MOVING = fromString("Moving");
+
+ /** Static value Moved for ProvisioningState. */
+ public static final ProvisioningState MOVED = fromString("Moved");
+
+ /** Static value MoveFailed for ProvisioningState. */
+ public static final ProvisioningState MOVE_FAILED = fromString("MoveFailed");
+
+ /**
+ * Creates or finds a ProvisioningState from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ProvisioningState
+ */
+ @JsonCreator
+ public static ProvisioningState fromString(String name) {
+ return fromString(name, ProvisioningState.class);
+ }
+
+ /**
+ * @return known ProvisioningState values
+ */
+ public static Collection values() {
+ return values(ProvisioningState.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RegenerateTestKeyRequestPayload.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RegenerateTestKeyRequestPayload.java
new file mode 100644
index 000000000000..82a8117698f9
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RegenerateTestKeyRequestPayload.java
@@ -0,0 +1,43 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Regenerate test key request payload.
+ */
+public class RegenerateTestKeyRequestPayload {
+ /**
+ * Type of the test key. Possible values include: 'Primary', 'Secondary'.
+ */
+ @JsonProperty(value = "keyType", required = true)
+ private TestKeyType keyType;
+
+ /**
+ * Get type of the test key. Possible values include: 'Primary', 'Secondary'.
+ *
+ * @return the keyType value
+ */
+ public TestKeyType keyType() {
+ return this.keyType;
+ }
+
+ /**
+ * Set type of the test key. Possible values include: 'Primary', 'Secondary'.
+ *
+ * @param keyType the keyType value to set
+ * @return the RegenerateTestKeyRequestPayload object itself.
+ */
+ public RegenerateTestKeyRequestPayload withKeyType(TestKeyType keyType) {
+ this.keyType = keyType;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RequiredTraffic.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RequiredTraffic.java
new file mode 100644
index 000000000000..7c4e0468bece
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RequiredTraffic.java
@@ -0,0 +1,94 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Required inbound or outbound traffic for Azure Spring Cloud instance.
+ */
+public class RequiredTraffic {
+ /**
+ * The protocol of required traffic.
+ */
+ @JsonProperty(value = "protocol", access = JsonProperty.Access.WRITE_ONLY)
+ private String protocol;
+
+ /**
+ * The port of required traffic.
+ */
+ @JsonProperty(value = "port", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer port;
+
+ /**
+ * The ip list of required traffic.
+ */
+ @JsonProperty(value = "ips", access = JsonProperty.Access.WRITE_ONLY)
+ private List ips;
+
+ /**
+ * The FQDN list of required traffic.
+ */
+ @JsonProperty(value = "fqdns", access = JsonProperty.Access.WRITE_ONLY)
+ private List fqdns;
+
+ /**
+ * The direction of required traffic. Possible values include: 'Inbound',
+ * 'Outbound'.
+ */
+ @JsonProperty(value = "direction", access = JsonProperty.Access.WRITE_ONLY)
+ private TrafficDirection direction;
+
+ /**
+ * Get the protocol of required traffic.
+ *
+ * @return the protocol value
+ */
+ public String protocol() {
+ return this.protocol;
+ }
+
+ /**
+ * Get the port of required traffic.
+ *
+ * @return the port value
+ */
+ public Integer port() {
+ return this.port;
+ }
+
+ /**
+ * Get the ip list of required traffic.
+ *
+ * @return the ips value
+ */
+ public List ips() {
+ return this.ips;
+ }
+
+ /**
+ * Get the FQDN list of required traffic.
+ *
+ * @return the fqdns value
+ */
+ public List fqdns() {
+ return this.fqdns;
+ }
+
+ /**
+ * Get the direction of required traffic. Possible values include: 'Inbound', 'Outbound'.
+ *
+ * @return the direction value
+ */
+ public TrafficDirection direction() {
+ return this.direction;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSku.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSku.java
new file mode 100644
index 000000000000..684b6161ec95
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSku.java
@@ -0,0 +1,56 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.ResourceSkuInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import java.util.List;
+
+/**
+ * Type representing ResourceSku.
+ */
+public interface ResourceSku extends HasInner, HasManager {
+ /**
+ * @return the capacity value.
+ */
+ SkuCapacity capacity();
+
+ /**
+ * @return the locationInfo value.
+ */
+ List locationInfo();
+
+ /**
+ * @return the locations value.
+ */
+ List locations();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the resourceType value.
+ */
+ String resourceType();
+
+ /**
+ * @return the restrictions value.
+ */
+ List restrictions();
+
+ /**
+ * @return the tier value.
+ */
+ String tier();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuCapabilities.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuCapabilities.java
new file mode 100644
index 000000000000..b88eff9df1a3
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuCapabilities.java
@@ -0,0 +1,69 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The ResourceSkuCapabilities model.
+ */
+public class ResourceSkuCapabilities {
+ /**
+ * Gets an invariant to describe the feature.
+ */
+ @JsonProperty(value = "name")
+ private String name;
+
+ /**
+ * Gets an invariant if the feature is measured by quantity.
+ */
+ @JsonProperty(value = "value")
+ private String value;
+
+ /**
+ * Get gets an invariant to describe the feature.
+ *
+ * @return the name value
+ */
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Set gets an invariant to describe the feature.
+ *
+ * @param name the name value to set
+ * @return the ResourceSkuCapabilities object itself.
+ */
+ public ResourceSkuCapabilities withName(String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get gets an invariant if the feature is measured by quantity.
+ *
+ * @return the value value
+ */
+ public String value() {
+ return this.value;
+ }
+
+ /**
+ * Set gets an invariant if the feature is measured by quantity.
+ *
+ * @param value the value value to set
+ * @return the ResourceSkuCapabilities object itself.
+ */
+ public ResourceSkuCapabilities withValue(String value) {
+ this.value = value;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuLocationInfo.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuLocationInfo.java
new file mode 100644
index 000000000000..d51a811fad1c
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuLocationInfo.java
@@ -0,0 +1,96 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Locations and availability zones where the SKU is available.
+ */
+public class ResourceSkuLocationInfo {
+ /**
+ * Gets location of the SKU.
+ */
+ @JsonProperty(value = "location")
+ private String location;
+
+ /**
+ * Gets list of availability zones where the SKU is supported.
+ */
+ @JsonProperty(value = "zones")
+ private List zones;
+
+ /**
+ * Gets details of capabilities available to a SKU in specific zones.
+ */
+ @JsonProperty(value = "zoneDetails")
+ private List zoneDetails;
+
+ /**
+ * Get gets location of the SKU.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set gets location of the SKU.
+ *
+ * @param location the location value to set
+ * @return the ResourceSkuLocationInfo object itself.
+ */
+ public ResourceSkuLocationInfo withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get gets list of availability zones where the SKU is supported.
+ *
+ * @return the zones value
+ */
+ public List zones() {
+ return this.zones;
+ }
+
+ /**
+ * Set gets list of availability zones where the SKU is supported.
+ *
+ * @param zones the zones value to set
+ * @return the ResourceSkuLocationInfo object itself.
+ */
+ public ResourceSkuLocationInfo withZones(List zones) {
+ this.zones = zones;
+ return this;
+ }
+
+ /**
+ * Get gets details of capabilities available to a SKU in specific zones.
+ *
+ * @return the zoneDetails value
+ */
+ public List zoneDetails() {
+ return this.zoneDetails;
+ }
+
+ /**
+ * Set gets details of capabilities available to a SKU in specific zones.
+ *
+ * @param zoneDetails the zoneDetails value to set
+ * @return the ResourceSkuLocationInfo object itself.
+ */
+ public ResourceSkuLocationInfo withZoneDetails(List zoneDetails) {
+ this.zoneDetails = zoneDetails;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionInfo.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionInfo.java
new file mode 100644
index 000000000000..95e34b5b843d
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionInfo.java
@@ -0,0 +1,70 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Information about the restriction where the SKU cannot be used.
+ */
+public class ResourceSkuRestrictionInfo {
+ /**
+ * Gets locations where the SKU is restricted.
+ */
+ @JsonProperty(value = "locations")
+ private List locations;
+
+ /**
+ * Gets list of availability zones where the SKU is restricted.
+ */
+ @JsonProperty(value = "zones")
+ private List zones;
+
+ /**
+ * Get gets locations where the SKU is restricted.
+ *
+ * @return the locations value
+ */
+ public List locations() {
+ return this.locations;
+ }
+
+ /**
+ * Set gets locations where the SKU is restricted.
+ *
+ * @param locations the locations value to set
+ * @return the ResourceSkuRestrictionInfo object itself.
+ */
+ public ResourceSkuRestrictionInfo withLocations(List locations) {
+ this.locations = locations;
+ return this;
+ }
+
+ /**
+ * Get gets list of availability zones where the SKU is restricted.
+ *
+ * @return the zones value
+ */
+ public List zones() {
+ return this.zones;
+ }
+
+ /**
+ * Set gets list of availability zones where the SKU is restricted.
+ *
+ * @param zones the zones value to set
+ * @return the ResourceSkuRestrictionInfo object itself.
+ */
+ public ResourceSkuRestrictionInfo withZones(List zones) {
+ this.zones = zones;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictions.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictions.java
new file mode 100644
index 000000000000..b197fb4b369a
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictions.java
@@ -0,0 +1,127 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Restrictions where the SKU cannot be used.
+ */
+public class ResourceSkuRestrictions {
+ /**
+ * Gets the type of restrictions. Possible values include: 'Location',
+ * 'Zone'.
+ */
+ @JsonProperty(value = "type")
+ private ResourceSkuRestrictionsType type;
+
+ /**
+ * Gets the value of restrictions. If the restriction type is set to
+ * location. This would be different locations where the SKU is restricted.
+ */
+ @JsonProperty(value = "values")
+ private List values;
+
+ /**
+ * Gets the information about the restriction where the SKU cannot be used.
+ */
+ @JsonProperty(value = "restrictionInfo")
+ private ResourceSkuRestrictionInfo restrictionInfo;
+
+ /**
+ * Gets the reason for restriction. Possible values include: 'QuotaId',
+ * 'NotAvailableForSubscription'.
+ */
+ @JsonProperty(value = "reasonCode")
+ private ResourceSkuRestrictionsReasonCode reasonCode;
+
+ /**
+ * Get gets the type of restrictions. Possible values include: 'Location', 'Zone'.
+ *
+ * @return the type value
+ */
+ public ResourceSkuRestrictionsType type() {
+ return this.type;
+ }
+
+ /**
+ * Set gets the type of restrictions. Possible values include: 'Location', 'Zone'.
+ *
+ * @param type the type value to set
+ * @return the ResourceSkuRestrictions object itself.
+ */
+ public ResourceSkuRestrictions withType(ResourceSkuRestrictionsType type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get gets the value of restrictions. If the restriction type is set to
+ location. This would be different locations where the SKU is restricted.
+ *
+ * @return the values value
+ */
+ public List values() {
+ return this.values;
+ }
+
+ /**
+ * Set gets the value of restrictions. If the restriction type is set to
+ location. This would be different locations where the SKU is restricted.
+ *
+ * @param values the values value to set
+ * @return the ResourceSkuRestrictions object itself.
+ */
+ public ResourceSkuRestrictions withValues(List values) {
+ this.values = values;
+ return this;
+ }
+
+ /**
+ * Get gets the information about the restriction where the SKU cannot be used.
+ *
+ * @return the restrictionInfo value
+ */
+ public ResourceSkuRestrictionInfo restrictionInfo() {
+ return this.restrictionInfo;
+ }
+
+ /**
+ * Set gets the information about the restriction where the SKU cannot be used.
+ *
+ * @param restrictionInfo the restrictionInfo value to set
+ * @return the ResourceSkuRestrictions object itself.
+ */
+ public ResourceSkuRestrictions withRestrictionInfo(ResourceSkuRestrictionInfo restrictionInfo) {
+ this.restrictionInfo = restrictionInfo;
+ return this;
+ }
+
+ /**
+ * Get gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'.
+ *
+ * @return the reasonCode value
+ */
+ public ResourceSkuRestrictionsReasonCode reasonCode() {
+ return this.reasonCode;
+ }
+
+ /**
+ * Set gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'.
+ *
+ * @param reasonCode the reasonCode value to set
+ * @return the ResourceSkuRestrictions object itself.
+ */
+ public ResourceSkuRestrictions withReasonCode(ResourceSkuRestrictionsReasonCode reasonCode) {
+ this.reasonCode = reasonCode;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionsReasonCode.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionsReasonCode.java
new file mode 100644
index 000000000000..1471905b9a66
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionsReasonCode.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ResourceSkuRestrictionsReasonCode.
+ */
+public final class ResourceSkuRestrictionsReasonCode extends ExpandableStringEnum {
+ /** Static value QuotaId for ResourceSkuRestrictionsReasonCode. */
+ public static final ResourceSkuRestrictionsReasonCode QUOTA_ID = fromString("QuotaId");
+
+ /** Static value NotAvailableForSubscription for ResourceSkuRestrictionsReasonCode. */
+ public static final ResourceSkuRestrictionsReasonCode NOT_AVAILABLE_FOR_SUBSCRIPTION = fromString("NotAvailableForSubscription");
+
+ /**
+ * Creates or finds a ResourceSkuRestrictionsReasonCode from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ResourceSkuRestrictionsReasonCode
+ */
+ @JsonCreator
+ public static ResourceSkuRestrictionsReasonCode fromString(String name) {
+ return fromString(name, ResourceSkuRestrictionsReasonCode.class);
+ }
+
+ /**
+ * @return known ResourceSkuRestrictionsReasonCode values
+ */
+ public static Collection values() {
+ return values(ResourceSkuRestrictionsReasonCode.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionsType.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionsType.java
new file mode 100644
index 000000000000..0701905e78be
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuRestrictionsType.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ResourceSkuRestrictionsType.
+ */
+public final class ResourceSkuRestrictionsType extends ExpandableStringEnum {
+ /** Static value Location for ResourceSkuRestrictionsType. */
+ public static final ResourceSkuRestrictionsType LOCATION = fromString("Location");
+
+ /** Static value Zone for ResourceSkuRestrictionsType. */
+ public static final ResourceSkuRestrictionsType ZONE = fromString("Zone");
+
+ /**
+ * Creates or finds a ResourceSkuRestrictionsType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ResourceSkuRestrictionsType
+ */
+ @JsonCreator
+ public static ResourceSkuRestrictionsType fromString(String name) {
+ return fromString(name, ResourceSkuRestrictionsType.class);
+ }
+
+ /**
+ * @return known ResourceSkuRestrictionsType values
+ */
+ public static Collection values() {
+ return values(ResourceSkuRestrictionsType.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuZoneDetails.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuZoneDetails.java
new file mode 100644
index 000000000000..826c6449f0e0
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceSkuZoneDetails.java
@@ -0,0 +1,76 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Details of capabilities available to a SKU in specific zones.
+ */
+public class ResourceSkuZoneDetails {
+ /**
+ * Gets the set of zones that the SKU is available in with the
+ * specified capabilities.
+ */
+ @JsonProperty(value = "name")
+ private List name;
+
+ /**
+ * Gets a list of capabilities that are available for the SKU in the
+ * specified list of zones.
+ */
+ @JsonProperty(value = "capabilities")
+ private List capabilities;
+
+ /**
+ * Get gets the set of zones that the SKU is available in with the
+ specified capabilities.
+ *
+ * @return the name value
+ */
+ public List name() {
+ return this.name;
+ }
+
+ /**
+ * Set gets the set of zones that the SKU is available in with the
+ specified capabilities.
+ *
+ * @param name the name value to set
+ * @return the ResourceSkuZoneDetails object itself.
+ */
+ public ResourceSkuZoneDetails withName(List name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Get gets a list of capabilities that are available for the SKU in the
+ specified list of zones.
+ *
+ * @return the capabilities value
+ */
+ public List capabilities() {
+ return this.capabilities;
+ }
+
+ /**
+ * Set gets a list of capabilities that are available for the SKU in the
+ specified list of zones.
+ *
+ * @param capabilities the capabilities value to set
+ * @return the ResourceSkuZoneDetails object itself.
+ */
+ public ResourceSkuZoneDetails withCapabilities(List capabilities) {
+ this.capabilities = capabilities;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceUploadDefinition.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceUploadDefinition.java
new file mode 100644
index 000000000000..1fc4d465cc8d
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ResourceUploadDefinition.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.ResourceUploadDefinitionInner;
+
+/**
+ * Type representing ResourceUploadDefinition.
+ */
+public interface ResourceUploadDefinition extends HasInner, HasManager {
+ /**
+ * @return the relativePath value.
+ */
+ String relativePath();
+
+ /**
+ * @return the uploadUrl value.
+ */
+ String uploadUrl();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RuntimeVersion.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RuntimeVersion.java
new file mode 100644
index 000000000000..416042f70ffe
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RuntimeVersion.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for RuntimeVersion.
+ */
+public final class RuntimeVersion extends ExpandableStringEnum {
+ /** Static value Java_8 for RuntimeVersion. */
+ public static final RuntimeVersion JAVA_8 = fromString("Java_8");
+
+ /** Static value Java_11 for RuntimeVersion. */
+ public static final RuntimeVersion JAVA_11 = fromString("Java_11");
+
+ /** Static value NetCore_31 for RuntimeVersion. */
+ public static final RuntimeVersion NET_CORE_31 = fromString("NetCore_31");
+
+ /**
+ * Creates or finds a RuntimeVersion from its string representation.
+ * @param name a name to look for
+ * @return the corresponding RuntimeVersion
+ */
+ @JsonCreator
+ public static RuntimeVersion fromString(String name) {
+ return fromString(name, RuntimeVersion.class);
+ }
+
+ /**
+ * @return known RuntimeVersion values
+ */
+ public static Collection values() {
+ return values(RuntimeVersion.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RuntimeVersions.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RuntimeVersions.java
new file mode 100644
index 000000000000..81f3088f4169
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/RuntimeVersions.java
@@ -0,0 +1,27 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.RuntimeVersionsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing RuntimeVersions.
+ */
+public interface RuntimeVersions extends HasInner {
+ /**
+ * Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listRuntimeVersionsAsync();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ServiceResource.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ServiceResource.java
new file mode 100644
index 000000000000..4ee5299a8f9a
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ServiceResource.java
@@ -0,0 +1,57 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.ServiceResourceInner;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.SkuInner;
+import java.util.Map;
+
+/**
+ * Type representing ServiceResource.
+ */
+public interface ServiceResource extends HasInner, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the location value.
+ */
+ String location();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the properties value.
+ */
+ ClusterResourceProperties properties();
+
+ /**
+ * @return the sku value.
+ */
+ SkuInner sku();
+
+ /**
+ * @return the tags value.
+ */
+ Map tags();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ServiceSpecification.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ServiceSpecification.java
new file mode 100644
index 000000000000..cdc0d3e903df
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/ServiceSpecification.java
@@ -0,0 +1,70 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Service specification payload.
+ */
+public class ServiceSpecification {
+ /**
+ * Specifications of the Log for Azure Monitoring.
+ */
+ @JsonProperty(value = "logSpecifications")
+ private List logSpecifications;
+
+ /**
+ * Specifications of the Metrics for Azure Monitoring.
+ */
+ @JsonProperty(value = "metricSpecifications")
+ private List metricSpecifications;
+
+ /**
+ * Get specifications of the Log for Azure Monitoring.
+ *
+ * @return the logSpecifications value
+ */
+ public List logSpecifications() {
+ return this.logSpecifications;
+ }
+
+ /**
+ * Set specifications of the Log for Azure Monitoring.
+ *
+ * @param logSpecifications the logSpecifications value to set
+ * @return the ServiceSpecification object itself.
+ */
+ public ServiceSpecification withLogSpecifications(List logSpecifications) {
+ this.logSpecifications = logSpecifications;
+ return this;
+ }
+
+ /**
+ * Get specifications of the Metrics for Azure Monitoring.
+ *
+ * @return the metricSpecifications value
+ */
+ public List metricSpecifications() {
+ return this.metricSpecifications;
+ }
+
+ /**
+ * Set specifications of the Metrics for Azure Monitoring.
+ *
+ * @param metricSpecifications the metricSpecifications value to set
+ * @return the ServiceSpecification object itself.
+ */
+ public ServiceSpecification withMetricSpecifications(List metricSpecifications) {
+ this.metricSpecifications = metricSpecifications;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Services.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Services.java
new file mode 100644
index 000000000000..60534f033dbe
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Services.java
@@ -0,0 +1,129 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import rx.Completable;
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.ServiceResourceInner;
+
+/**
+ * Type representing Services.
+ */
+public interface Services {
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable getByResourceGroupAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable createOrUpdateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Completable deleteAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable updateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource);
+
+ /**
+ * 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 keyType Type of the test key. Possible values include: 'Primary', 'Secondary'
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable regenerateTestKeyAsync(String resourceGroupName, String serviceName, TestKeyType keyType);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Completable disableTestEndpointAsync(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.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable enableTestEndpointAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * Handles requests to list all resources in a subscription.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listAsync();
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable listByResourceGroupAsync(final String resourceGroupName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable listTestKeysAsync(String resourceGroupName, String serviceName);
+
+ /**
+ * 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
+ * @return the observable for the request
+ */
+ Observable checkNameAvailabilityAsync(String location, NameAvailabilityParameters availabilityParameters);
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SkuCapacity.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SkuCapacity.java
new file mode 100644
index 000000000000..ccc8de1d9622
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SkuCapacity.java
@@ -0,0 +1,122 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The SKU capacity.
+ */
+public class SkuCapacity {
+ /**
+ * Gets or sets the minimum.
+ */
+ @JsonProperty(value = "minimum", required = true)
+ private int minimum;
+
+ /**
+ * Gets or sets the maximum.
+ */
+ @JsonProperty(value = "maximum")
+ private Integer maximum;
+
+ /**
+ * Gets or sets the default.
+ */
+ @JsonProperty(value = "default")
+ private Integer defaultProperty;
+
+ /**
+ * Gets or sets the type of the scale. Possible values include: 'None',
+ * 'Manual', 'Automatic'.
+ */
+ @JsonProperty(value = "scaleType")
+ private SkuScaleType scaleType;
+
+ /**
+ * Get gets or sets the minimum.
+ *
+ * @return the minimum value
+ */
+ public int minimum() {
+ return this.minimum;
+ }
+
+ /**
+ * Set gets or sets the minimum.
+ *
+ * @param minimum the minimum value to set
+ * @return the SkuCapacity object itself.
+ */
+ public SkuCapacity withMinimum(int minimum) {
+ this.minimum = minimum;
+ return this;
+ }
+
+ /**
+ * Get gets or sets the maximum.
+ *
+ * @return the maximum value
+ */
+ public Integer maximum() {
+ return this.maximum;
+ }
+
+ /**
+ * Set gets or sets the maximum.
+ *
+ * @param maximum the maximum value to set
+ * @return the SkuCapacity object itself.
+ */
+ public SkuCapacity withMaximum(Integer maximum) {
+ this.maximum = maximum;
+ return this;
+ }
+
+ /**
+ * Get gets or sets the default.
+ *
+ * @return the defaultProperty value
+ */
+ public Integer defaultProperty() {
+ return this.defaultProperty;
+ }
+
+ /**
+ * Set gets or sets the default.
+ *
+ * @param defaultProperty the defaultProperty value to set
+ * @return the SkuCapacity object itself.
+ */
+ public SkuCapacity withDefaultProperty(Integer defaultProperty) {
+ this.defaultProperty = defaultProperty;
+ return this;
+ }
+
+ /**
+ * Get gets or sets the type of the scale. Possible values include: 'None', 'Manual', 'Automatic'.
+ *
+ * @return the scaleType value
+ */
+ public SkuScaleType scaleType() {
+ return this.scaleType;
+ }
+
+ /**
+ * Set gets or sets the type of the scale. Possible values include: 'None', 'Manual', 'Automatic'.
+ *
+ * @param scaleType the scaleType value to set
+ * @return the SkuCapacity object itself.
+ */
+ public SkuCapacity withScaleType(SkuScaleType scaleType) {
+ this.scaleType = scaleType;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SkuScaleType.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SkuScaleType.java
new file mode 100644
index 000000000000..f73df99b6e1a
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SkuScaleType.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for SkuScaleType.
+ */
+public final class SkuScaleType extends ExpandableStringEnum {
+ /** Static value None for SkuScaleType. */
+ public static final SkuScaleType NONE = fromString("None");
+
+ /** Static value Manual for SkuScaleType. */
+ public static final SkuScaleType MANUAL = fromString("Manual");
+
+ /** Static value Automatic for SkuScaleType. */
+ public static final SkuScaleType AUTOMATIC = fromString("Automatic");
+
+ /**
+ * Creates or finds a SkuScaleType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding SkuScaleType
+ */
+ @JsonCreator
+ public static SkuScaleType fromString(String name) {
+ return fromString(name, SkuScaleType.class);
+ }
+
+ /**
+ * @return known SkuScaleType values
+ */
+ public static Collection values() {
+ return values(SkuScaleType.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Skus.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Skus.java
new file mode 100644
index 000000000000..876d1f178a9d
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/Skus.java
@@ -0,0 +1,19 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.collection.SupportsListing;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.SkusInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Skus.
+ */
+public interface Skus extends SupportsListing, HasInner {
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimePlatform.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimePlatform.java
new file mode 100644
index 000000000000..cca474c99e79
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimePlatform.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for SupportedRuntimePlatform.
+ */
+public final class SupportedRuntimePlatform extends ExpandableStringEnum {
+ /** Static value Java for SupportedRuntimePlatform. */
+ public static final SupportedRuntimePlatform JAVA = fromString("Java");
+
+ /** Static value .NET Core for SupportedRuntimePlatform. */
+ public static final SupportedRuntimePlatform NET_CORE = fromString(".NET Core");
+
+ /**
+ * Creates or finds a SupportedRuntimePlatform from its string representation.
+ * @param name a name to look for
+ * @return the corresponding SupportedRuntimePlatform
+ */
+ @JsonCreator
+ public static SupportedRuntimePlatform fromString(String name) {
+ return fromString(name, SupportedRuntimePlatform.class);
+ }
+
+ /**
+ * @return known SupportedRuntimePlatform values
+ */
+ public static Collection values() {
+ return values(SupportedRuntimePlatform.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimeValue.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimeValue.java
new file mode 100644
index 000000000000..824f47e26d6e
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimeValue.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for SupportedRuntimeValue.
+ */
+public final class SupportedRuntimeValue extends ExpandableStringEnum {
+ /** Static value Java_8 for SupportedRuntimeValue. */
+ public static final SupportedRuntimeValue JAVA_8 = fromString("Java_8");
+
+ /** Static value Java_11 for SupportedRuntimeValue. */
+ public static final SupportedRuntimeValue JAVA_11 = fromString("Java_11");
+
+ /** Static value NetCore_31 for SupportedRuntimeValue. */
+ public static final SupportedRuntimeValue NET_CORE_31 = fromString("NetCore_31");
+
+ /**
+ * Creates or finds a SupportedRuntimeValue from its string representation.
+ * @param name a name to look for
+ * @return the corresponding SupportedRuntimeValue
+ */
+ @JsonCreator
+ public static SupportedRuntimeValue fromString(String name) {
+ return fromString(name, SupportedRuntimeValue.class);
+ }
+
+ /**
+ * @return known SupportedRuntimeValue values
+ */
+ public static Collection values() {
+ return values(SupportedRuntimeValue.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimeVersion.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimeVersion.java
new file mode 100644
index 000000000000..fdbdbc08ff68
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/SupportedRuntimeVersion.java
@@ -0,0 +1,97 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Supported deployment runtime version descriptor.
+ */
+public class SupportedRuntimeVersion {
+ /**
+ * The raw value which could be passed to deployment CRUD operations.
+ * Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
+ */
+ @JsonProperty(value = "value")
+ private SupportedRuntimeValue value;
+
+ /**
+ * The platform of this runtime version (possible values: "Java" or
+ * ".NET"). Possible values include: 'Java', '.NET Core'.
+ */
+ @JsonProperty(value = "platform")
+ private SupportedRuntimePlatform platform;
+
+ /**
+ * The detailed version (major.minor) of the platform.
+ */
+ @JsonProperty(value = "version")
+ private String version;
+
+ /**
+ * Get the raw value which could be passed to deployment CRUD operations. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
+ *
+ * @return the value value
+ */
+ public SupportedRuntimeValue value() {
+ return this.value;
+ }
+
+ /**
+ * Set the raw value which could be passed to deployment CRUD operations. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
+ *
+ * @param value the value value to set
+ * @return the SupportedRuntimeVersion object itself.
+ */
+ public SupportedRuntimeVersion withValue(SupportedRuntimeValue value) {
+ this.value = value;
+ return this;
+ }
+
+ /**
+ * Get the platform of this runtime version (possible values: "Java" or ".NET"). Possible values include: 'Java', '.NET Core'.
+ *
+ * @return the platform value
+ */
+ public SupportedRuntimePlatform platform() {
+ return this.platform;
+ }
+
+ /**
+ * Set the platform of this runtime version (possible values: "Java" or ".NET"). Possible values include: 'Java', '.NET Core'.
+ *
+ * @param platform the platform value to set
+ * @return the SupportedRuntimeVersion object itself.
+ */
+ public SupportedRuntimeVersion withPlatform(SupportedRuntimePlatform platform) {
+ this.platform = platform;
+ return this;
+ }
+
+ /**
+ * Get the detailed version (major.minor) of the platform.
+ *
+ * @return the version value
+ */
+ public String version() {
+ return this.version;
+ }
+
+ /**
+ * Set the detailed version (major.minor) of the platform.
+ *
+ * @param version the version value to set
+ * @return the SupportedRuntimeVersion object itself.
+ */
+ public SupportedRuntimeVersion withVersion(String version) {
+ this.version = version;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TemporaryDisk.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TemporaryDisk.java
new file mode 100644
index 000000000000..c4dd796b19a5
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TemporaryDisk.java
@@ -0,0 +1,69 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Temporary disk payload.
+ */
+public class TemporaryDisk {
+ /**
+ * Size of the temporary disk in GB.
+ */
+ @JsonProperty(value = "sizeInGB")
+ private Integer sizeInGB;
+
+ /**
+ * Mount path of the temporary disk.
+ */
+ @JsonProperty(value = "mountPath")
+ private String mountPath;
+
+ /**
+ * Get size of the temporary disk in GB.
+ *
+ * @return the sizeInGB value
+ */
+ public Integer sizeInGB() {
+ return this.sizeInGB;
+ }
+
+ /**
+ * Set size of the temporary disk in GB.
+ *
+ * @param sizeInGB the sizeInGB value to set
+ * @return the TemporaryDisk object itself.
+ */
+ public TemporaryDisk withSizeInGB(Integer sizeInGB) {
+ this.sizeInGB = sizeInGB;
+ return this;
+ }
+
+ /**
+ * Get mount path of the temporary disk.
+ *
+ * @return the mountPath value
+ */
+ public String mountPath() {
+ return this.mountPath;
+ }
+
+ /**
+ * Set mount path of the temporary disk.
+ *
+ * @param mountPath the mountPath value to set
+ * @return the TemporaryDisk object itself.
+ */
+ public TemporaryDisk withMountPath(String mountPath) {
+ this.mountPath = mountPath;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TestKeyType.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TestKeyType.java
new file mode 100644
index 000000000000..19b11b8c97e2
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TestKeyType.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for TestKeyType.
+ */
+public final class TestKeyType extends ExpandableStringEnum {
+ /** Static value Primary for TestKeyType. */
+ public static final TestKeyType PRIMARY = fromString("Primary");
+
+ /** Static value Secondary for TestKeyType. */
+ public static final TestKeyType SECONDARY = fromString("Secondary");
+
+ /**
+ * Creates or finds a TestKeyType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding TestKeyType
+ */
+ @JsonCreator
+ public static TestKeyType fromString(String name) {
+ return fromString(name, TestKeyType.class);
+ }
+
+ /**
+ * @return known TestKeyType values
+ */
+ public static Collection values() {
+ return values(TestKeyType.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TestKeys.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TestKeys.java
new file mode 100644
index 000000000000..907274e24be6
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TestKeys.java
@@ -0,0 +1,45 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.AppPlatformManager;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation.TestKeysInner;
+
+/**
+ * Type representing TestKeys.
+ */
+public interface TestKeys extends HasInner, HasManager {
+ /**
+ * @return the enabled value.
+ */
+ Boolean enabled();
+
+ /**
+ * @return the primaryKey value.
+ */
+ String primaryKey();
+
+ /**
+ * @return the primaryTestEndpoint value.
+ */
+ String primaryTestEndpoint();
+
+ /**
+ * @return the secondaryKey value.
+ */
+ String secondaryKey();
+
+ /**
+ * @return the secondaryTestEndpoint value.
+ */
+ String secondaryTestEndpoint();
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TrafficDirection.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TrafficDirection.java
new file mode 100644
index 000000000000..6d47a903e363
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/TrafficDirection.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for TrafficDirection.
+ */
+public final class TrafficDirection extends ExpandableStringEnum {
+ /** Static value Inbound for TrafficDirection. */
+ public static final TrafficDirection INBOUND = fromString("Inbound");
+
+ /** Static value Outbound for TrafficDirection. */
+ public static final TrafficDirection OUTBOUND = fromString("Outbound");
+
+ /**
+ * Creates or finds a TrafficDirection from its string representation.
+ * @param name a name to look for
+ * @return the corresponding TrafficDirection
+ */
+ @JsonCreator
+ public static TrafficDirection fromString(String name) {
+ return fromString(name, TrafficDirection.class);
+ }
+
+ /**
+ * @return known TrafficDirection values
+ */
+ public static Collection values() {
+ return values(TrafficDirection.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/UserSourceInfo.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/UserSourceInfo.java
new file mode 100644
index 000000000000..864b125d4d4b
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/UserSourceInfo.java
@@ -0,0 +1,126 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Source information for a deployment.
+ */
+public class UserSourceInfo {
+ /**
+ * Type of the source uploaded. Possible values include: 'Jar',
+ * 'NetCoreZip', 'Source'.
+ */
+ @JsonProperty(value = "type")
+ private UserSourceType type;
+
+ /**
+ * Relative path of the storage which stores the source.
+ */
+ @JsonProperty(value = "relativePath")
+ private String relativePath;
+
+ /**
+ * Version of the source.
+ */
+ @JsonProperty(value = "version")
+ private String version;
+
+ /**
+ * Selector for the artifact to be used for the deployment for multi-module
+ * projects. This should be
+ * the relative path to the target module/project.
+ */
+ @JsonProperty(value = "artifactSelector")
+ private String artifactSelector;
+
+ /**
+ * Get type of the source uploaded. Possible values include: 'Jar', 'NetCoreZip', 'Source'.
+ *
+ * @return the type value
+ */
+ public UserSourceType type() {
+ return this.type;
+ }
+
+ /**
+ * Set type of the source uploaded. Possible values include: 'Jar', 'NetCoreZip', 'Source'.
+ *
+ * @param type the type value to set
+ * @return the UserSourceInfo object itself.
+ */
+ public UserSourceInfo withType(UserSourceType type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get relative path of the storage which stores the source.
+ *
+ * @return the relativePath value
+ */
+ public String relativePath() {
+ return this.relativePath;
+ }
+
+ /**
+ * Set relative path of the storage which stores the source.
+ *
+ * @param relativePath the relativePath value to set
+ * @return the UserSourceInfo object itself.
+ */
+ public UserSourceInfo withRelativePath(String relativePath) {
+ this.relativePath = relativePath;
+ return this;
+ }
+
+ /**
+ * Get version of the source.
+ *
+ * @return the version value
+ */
+ public String version() {
+ return this.version;
+ }
+
+ /**
+ * Set version of the source.
+ *
+ * @param version the version value to set
+ * @return the UserSourceInfo object itself.
+ */
+ public UserSourceInfo withVersion(String version) {
+ this.version = version;
+ return this;
+ }
+
+ /**
+ * Get selector for the artifact to be used for the deployment for multi-module projects. This should be
+ the relative path to the target module/project.
+ *
+ * @return the artifactSelector value
+ */
+ public String artifactSelector() {
+ return this.artifactSelector;
+ }
+
+ /**
+ * Set selector for the artifact to be used for the deployment for multi-module projects. This should be
+ the relative path to the target module/project.
+ *
+ * @param artifactSelector the artifactSelector value to set
+ * @return the UserSourceInfo object itself.
+ */
+ public UserSourceInfo withArtifactSelector(String artifactSelector) {
+ this.artifactSelector = artifactSelector;
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/UserSourceType.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/UserSourceType.java
new file mode 100644
index 000000000000..8b3b78d6c92a
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/UserSourceType.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for UserSourceType.
+ */
+public final class UserSourceType extends ExpandableStringEnum {
+ /** Static value Jar for UserSourceType. */
+ public static final UserSourceType JAR = fromString("Jar");
+
+ /** Static value NetCoreZip for UserSourceType. */
+ public static final UserSourceType NET_CORE_ZIP = fromString("NetCoreZip");
+
+ /** Static value Source for UserSourceType. */
+ public static final UserSourceType SOURCE = fromString("Source");
+
+ /**
+ * Creates or finds a UserSourceType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding UserSourceType
+ */
+ @JsonCreator
+ public static UserSourceType fromString(String name) {
+ return fromString(name, UserSourceType.class);
+ }
+
+ /**
+ * @return known UserSourceType values
+ */
+ public static Collection values() {
+ return values(UserSourceType.class);
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppPlatformManagementClientImpl.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppPlatformManagementClientImpl.java
new file mode 100644
index 000000000000..fe54ec9c1b2c
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppPlatformManagementClientImpl.java
@@ -0,0 +1,338 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation;
+
+import com.microsoft.azure.AzureClient;
+import com.microsoft.azure.AzureServiceClient;
+import com.microsoft.azure.LongRunningFinalState;
+import com.microsoft.azure.LongRunningOperationOptions;
+import com.microsoft.rest.credentials.ServiceClientCredentials;
+import com.microsoft.rest.RestClient;
+
+/**
+ * Initializes a new instance of the AppPlatformManagementClientImpl class.
+ */
+public class AppPlatformManagementClientImpl extends AzureServiceClient {
+ /** the {@link AzureClient} used for long running operations. */
+ private AzureClient azureClient;
+
+ /**
+ * Gets the {@link AzureClient} used for long running operations.
+ * @return the azure client;
+ */
+ public AzureClient getAzureClient() {
+ return this.azureClient;
+ }
+
+ /** The API version to use for this operation. */
+ private String apiVersion;
+
+ /**
+ * Gets The API version to use for this operation.
+ *
+ * @return the apiVersion value.
+ */
+ public String apiVersion() {
+ return this.apiVersion;
+ }
+
+ /** 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;
+
+ /**
+ * 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 subscriptionId() {
+ return this.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 service client itself
+ */
+ public AppPlatformManagementClientImpl withSubscriptionId(String subscriptionId) {
+ this.subscriptionId = subscriptionId;
+ return this;
+ }
+
+ /** The preferred language for the response. */
+ private String acceptLanguage;
+
+ /**
+ * Gets The preferred language for the response.
+ *
+ * @return the acceptLanguage value.
+ */
+ public String acceptLanguage() {
+ return this.acceptLanguage;
+ }
+
+ /**
+ * Sets The preferred language for the response.
+ *
+ * @param acceptLanguage the acceptLanguage value.
+ * @return the service client itself
+ */
+ public AppPlatformManagementClientImpl withAcceptLanguage(String acceptLanguage) {
+ this.acceptLanguage = acceptLanguage;
+ return this;
+ }
+
+ /** The retry timeout in seconds for Long Running Operations. Default value is 30. */
+ private int longRunningOperationRetryTimeout;
+
+ /**
+ * Gets The retry timeout in seconds for Long Running Operations. Default value is 30.
+ *
+ * @return the longRunningOperationRetryTimeout value.
+ */
+ public int longRunningOperationRetryTimeout() {
+ return this.longRunningOperationRetryTimeout;
+ }
+
+ /**
+ * Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
+ *
+ * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
+ * @return the service client itself
+ */
+ public AppPlatformManagementClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout) {
+ this.longRunningOperationRetryTimeout = longRunningOperationRetryTimeout;
+ return this;
+ }
+
+ /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
+ private boolean generateClientRequestId;
+
+ /**
+ * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ *
+ * @return the generateClientRequestId value.
+ */
+ public boolean generateClientRequestId() {
+ return this.generateClientRequestId;
+ }
+
+ /**
+ * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ *
+ * @param generateClientRequestId the generateClientRequestId value.
+ * @return the service client itself
+ */
+ public AppPlatformManagementClientImpl withGenerateClientRequestId(boolean generateClientRequestId) {
+ this.generateClientRequestId = generateClientRequestId;
+ return this;
+ }
+
+ /**
+ * The ServicesInner object to access its operations.
+ */
+ private ServicesInner services;
+
+ /**
+ * Gets the ServicesInner object to access its operations.
+ * @return the ServicesInner object.
+ */
+ public ServicesInner services() {
+ return this.services;
+ }
+
+ /**
+ * The ConfigServersInner object to access its operations.
+ */
+ private ConfigServersInner configServers;
+
+ /**
+ * Gets the ConfigServersInner object to access its operations.
+ * @return the ConfigServersInner object.
+ */
+ public ConfigServersInner configServers() {
+ return this.configServers;
+ }
+
+ /**
+ * The MonitoringSettingsInner object to access its operations.
+ */
+ private MonitoringSettingsInner monitoringSettings;
+
+ /**
+ * Gets the MonitoringSettingsInner object to access its operations.
+ * @return the MonitoringSettingsInner object.
+ */
+ public MonitoringSettingsInner monitoringSettings() {
+ return this.monitoringSettings;
+ }
+
+ /**
+ * The AppsInner object to access its operations.
+ */
+ private AppsInner apps;
+
+ /**
+ * Gets the AppsInner object to access its operations.
+ * @return the AppsInner object.
+ */
+ public AppsInner apps() {
+ return this.apps;
+ }
+
+ /**
+ * The BindingsInner object to access its operations.
+ */
+ private BindingsInner bindings;
+
+ /**
+ * Gets the BindingsInner object to access its operations.
+ * @return the BindingsInner object.
+ */
+ public BindingsInner bindings() {
+ return this.bindings;
+ }
+
+ /**
+ * The CertificatesInner object to access its operations.
+ */
+ private CertificatesInner certificates;
+
+ /**
+ * Gets the CertificatesInner object to access its operations.
+ * @return the CertificatesInner object.
+ */
+ public CertificatesInner certificates() {
+ return this.certificates;
+ }
+
+ /**
+ * The CustomDomainsInner object to access its operations.
+ */
+ private CustomDomainsInner customDomains;
+
+ /**
+ * Gets the CustomDomainsInner object to access its operations.
+ * @return the CustomDomainsInner object.
+ */
+ public CustomDomainsInner customDomains() {
+ return this.customDomains;
+ }
+
+ /**
+ * The DeploymentsInner object to access its operations.
+ */
+ private DeploymentsInner deployments;
+
+ /**
+ * Gets the DeploymentsInner object to access its operations.
+ * @return the DeploymentsInner object.
+ */
+ public DeploymentsInner deployments() {
+ return this.deployments;
+ }
+
+ /**
+ * The OperationsInner object to access its operations.
+ */
+ private OperationsInner operations;
+
+ /**
+ * Gets the OperationsInner object to access its operations.
+ * @return the OperationsInner object.
+ */
+ public OperationsInner operations() {
+ return this.operations;
+ }
+
+ /**
+ * The RuntimeVersionsInner object to access its operations.
+ */
+ private RuntimeVersionsInner runtimeVersions;
+
+ /**
+ * Gets the RuntimeVersionsInner object to access its operations.
+ * @return the RuntimeVersionsInner object.
+ */
+ public RuntimeVersionsInner runtimeVersions() {
+ return this.runtimeVersions;
+ }
+
+ /**
+ * The SkusInner object to access its operations.
+ */
+ private SkusInner skus;
+
+ /**
+ * Gets the SkusInner object to access its operations.
+ * @return the SkusInner object.
+ */
+ public SkusInner skus() {
+ return this.skus;
+ }
+
+ /**
+ * Initializes an instance of AppPlatformManagementClient client.
+ *
+ * @param credentials the management credentials for Azure
+ */
+ public AppPlatformManagementClientImpl(ServiceClientCredentials credentials) {
+ this("https://management.azure.com", credentials);
+ }
+
+ /**
+ * Initializes an instance of AppPlatformManagementClient client.
+ *
+ * @param baseUrl the base URL of the host
+ * @param credentials the management credentials for Azure
+ */
+ public AppPlatformManagementClientImpl(String baseUrl, ServiceClientCredentials credentials) {
+ super(baseUrl, credentials);
+ initialize();
+ }
+
+ /**
+ * Initializes an instance of AppPlatformManagementClient client.
+ *
+ * @param restClient the REST client to connect to Azure.
+ */
+ public AppPlatformManagementClientImpl(RestClient restClient) {
+ super(restClient);
+ initialize();
+ }
+
+ protected void initialize() {
+ this.apiVersion = "2020-11-01-preview";
+ this.acceptLanguage = "en-US";
+ this.longRunningOperationRetryTimeout = 30;
+ this.generateClientRequestId = true;
+ this.services = new ServicesInner(restClient().retrofit(), this);
+ this.configServers = new ConfigServersInner(restClient().retrofit(), this);
+ this.monitoringSettings = new MonitoringSettingsInner(restClient().retrofit(), this);
+ this.apps = new AppsInner(restClient().retrofit(), this);
+ this.bindings = new BindingsInner(restClient().retrofit(), this);
+ this.certificates = new CertificatesInner(restClient().retrofit(), this);
+ this.customDomains = new CustomDomainsInner(restClient().retrofit(), this);
+ this.deployments = new DeploymentsInner(restClient().retrofit(), this);
+ this.operations = new OperationsInner(restClient().retrofit(), this);
+ this.runtimeVersions = new RuntimeVersionsInner(restClient().retrofit(), this);
+ this.skus = new SkusInner(restClient().retrofit(), this);
+ this.azureClient = new AzureClient(this);
+ }
+
+ /**
+ * Gets the User-Agent header for the client.
+ *
+ * @return the user agent string.
+ */
+ @Override
+ public String userAgent() {
+ return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "AppPlatformManagementClient", "2020-11-01-preview");
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppPlatformManager.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppPlatformManager.java
new file mode 100644
index 000000000000..d568fc7c25bc
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppPlatformManager.java
@@ -0,0 +1,219 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation;
+
+import com.microsoft.azure.AzureEnvironment;
+import com.microsoft.azure.AzureResponseBuilder;
+import com.microsoft.azure.credentials.AzureTokenCredentials;
+import com.microsoft.azure.management.apigeneration.Beta;
+import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
+import com.microsoft.azure.arm.resources.AzureConfigurable;
+import com.microsoft.azure.serializer.AzureJacksonAdapter;
+import com.microsoft.rest.RestClient;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.Services;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.ConfigServers;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.MonitoringSettings;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.Bindings;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.Certificates;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.CustomDomains;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.Deployments;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.Operations;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.RuntimeVersions;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.Skus;
+import com.microsoft.azure.arm.resources.implementation.AzureConfigurableCoreImpl;
+import com.microsoft.azure.arm.resources.implementation.ManagerCore;
+
+/**
+ * Entry point to Azure AppPlatform resource management.
+ */
+public final class AppPlatformManager extends ManagerCore {
+ private Services services;
+ private ConfigServers configServers;
+ private MonitoringSettings monitoringSettings;
+ private Apps apps;
+ private Bindings bindings;
+ private Certificates certificates;
+ private CustomDomains customDomains;
+ private Deployments deployments;
+ private Operations operations;
+ private RuntimeVersions runtimeVersions;
+ private Skus skus;
+ /**
+ * Get a Configurable instance that can be used to create AppPlatformManager with optional configuration.
+ *
+ * @return the instance allowing configurations
+ */
+ public static Configurable configure() {
+ return new AppPlatformManager.ConfigurableImpl();
+ }
+ /**
+ * Creates an instance of AppPlatformManager that exposes AppPlatform resource management API entry points.
+ *
+ * @param credentials the credentials to use
+ * @param subscriptionId the subscription UUID
+ * @return the AppPlatformManager
+ */
+ public static AppPlatformManager authenticate(AzureTokenCredentials credentials, String subscriptionId) {
+ return new AppPlatformManager(new RestClient.Builder()
+ .withBaseUrl(credentials.environment(), AzureEnvironment.Endpoint.RESOURCE_MANAGER)
+ .withCredentials(credentials)
+ .withSerializerAdapter(new AzureJacksonAdapter())
+ .withResponseBuilderFactory(new AzureResponseBuilder.Factory())
+ .build(), subscriptionId);
+ }
+ /**
+ * Creates an instance of AppPlatformManager that exposes AppPlatform resource management API entry points.
+ *
+ * @param restClient the RestClient to be used for API calls.
+ * @param subscriptionId the subscription UUID
+ * @return the AppPlatformManager
+ */
+ public static AppPlatformManager authenticate(RestClient restClient, String subscriptionId) {
+ return new AppPlatformManager(restClient, subscriptionId);
+ }
+ /**
+ * The interface allowing configurations to be set.
+ */
+ public interface Configurable extends AzureConfigurable {
+ /**
+ * Creates an instance of AppPlatformManager that exposes AppPlatform management API entry points.
+ *
+ * @param credentials the credentials to use
+ * @param subscriptionId the subscription UUID
+ * @return the interface exposing AppPlatform management API entry points that work across subscriptions
+ */
+ AppPlatformManager authenticate(AzureTokenCredentials credentials, String subscriptionId);
+ }
+
+ /**
+ * @return Entry point to manage Services.
+ */
+ public Services services() {
+ if (this.services == null) {
+ this.services = new ServicesImpl(this);
+ }
+ return this.services;
+ }
+
+ /**
+ * @return Entry point to manage ConfigServers.
+ */
+ public ConfigServers configServers() {
+ if (this.configServers == null) {
+ this.configServers = new ConfigServersImpl(this);
+ }
+ return this.configServers;
+ }
+
+ /**
+ * @return Entry point to manage MonitoringSettings.
+ */
+ public MonitoringSettings monitoringSettings() {
+ if (this.monitoringSettings == null) {
+ this.monitoringSettings = new MonitoringSettingsImpl(this);
+ }
+ return this.monitoringSettings;
+ }
+
+ /**
+ * @return Entry point to manage Apps.
+ */
+ public Apps apps() {
+ if (this.apps == null) {
+ this.apps = new AppsImpl(this);
+ }
+ return this.apps;
+ }
+
+ /**
+ * @return Entry point to manage Bindings.
+ */
+ public Bindings bindings() {
+ if (this.bindings == null) {
+ this.bindings = new BindingsImpl(this);
+ }
+ return this.bindings;
+ }
+
+ /**
+ * @return Entry point to manage Certificates.
+ */
+ public Certificates certificates() {
+ if (this.certificates == null) {
+ this.certificates = new CertificatesImpl(this);
+ }
+ return this.certificates;
+ }
+
+ /**
+ * @return Entry point to manage CustomDomains.
+ */
+ public CustomDomains customDomains() {
+ if (this.customDomains == null) {
+ this.customDomains = new CustomDomainsImpl(this);
+ }
+ return this.customDomains;
+ }
+
+ /**
+ * @return Entry point to manage Deployments.
+ */
+ public Deployments deployments() {
+ if (this.deployments == null) {
+ this.deployments = new DeploymentsImpl(this);
+ }
+ return this.deployments;
+ }
+
+ /**
+ * @return Entry point to manage Operations.
+ */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(this);
+ }
+ return this.operations;
+ }
+
+ /**
+ * @return Entry point to manage RuntimeVersions.
+ */
+ public RuntimeVersions runtimeVersions() {
+ if (this.runtimeVersions == null) {
+ this.runtimeVersions = new RuntimeVersionsImpl(this);
+ }
+ return this.runtimeVersions;
+ }
+
+ /**
+ * @return Entry point to manage Skus.
+ */
+ public Skus skus() {
+ if (this.skus == null) {
+ this.skus = new SkusImpl(this);
+ }
+ return this.skus;
+ }
+
+ /**
+ * The implementation for Configurable interface.
+ */
+ private static final class ConfigurableImpl extends AzureConfigurableCoreImpl implements Configurable {
+ public AppPlatformManager authenticate(AzureTokenCredentials credentials, String subscriptionId) {
+ return AppPlatformManager.authenticate(buildRestClient(credentials), subscriptionId);
+ }
+ }
+ private AppPlatformManager(RestClient restClient, String subscriptionId) {
+ super(
+ restClient,
+ subscriptionId,
+ new AppPlatformManagementClientImpl(restClient).withSubscriptionId(subscriptionId));
+ }
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppResourceImpl.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppResourceImpl.java
new file mode 100644
index 000000000000..85f04dc22c2f
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppResourceImpl.java
@@ -0,0 +1,135 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ *
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation;
+
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.AppResource;
+import com.microsoft.azure.arm.model.implementation.CreatableUpdatableImpl;
+import rx.Observable;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.AppResourceProperties;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.ManagedIdentityProperties;
+
+class AppResourceImpl extends CreatableUpdatableImpl implements AppResource, AppResource.Definition, AppResource.Update {
+ private String resourceGroupName;
+ private String serviceName;
+ private String appName;
+ private final AppPlatformManager manager;
+
+ AppResourceImpl(String name, AppPlatformManager manager) {
+ super(name, new AppResourceInner());
+ this.manager = manager;
+ // Set resource name
+ this.appName = name;
+ //
+ }
+
+ AppResourceImpl(AppResourceInner inner, AppPlatformManager manager) {
+ super(inner.name(), inner);
+ this.manager = manager;
+ // Set resource name
+ this.appName = inner.name();
+ // set resource ancestor and positional variables
+ this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups");
+ this.serviceName = IdParsingUtils.getValueFromIdByName(inner.id(), "Spring");
+ this.appName = IdParsingUtils.getValueFromIdByName(inner.id(), "apps");
+ // set other parameters for create and update
+ }
+
+ @Override
+ public AppPlatformManager manager() {
+ return this.manager;
+ }
+
+ @Override
+ public Observable createResourceAsync() {
+ AppsInner client = this.manager().inner().apps();
+ return client.createOrUpdateAsync(this.resourceGroupName, this.serviceName, this.appName, this.inner())
+ .map(innerToFluentMap(this));
+ }
+
+ @Override
+ public Observable updateResourceAsync() {
+ AppsInner client = this.manager().inner().apps();
+ return client.updateAsync(this.resourceGroupName, this.serviceName, this.appName, this.inner())
+ .map(innerToFluentMap(this));
+ }
+
+ @Override
+ protected Observable getInnerAsync() {
+ AppsInner client = this.manager().inner().apps();
+ return null; // NOP getInnerAsync implementation as get is not supported
+ }
+
+ @Override
+ public boolean isInCreateMode() {
+ return this.inner().id() == null;
+ }
+
+
+ @Override
+ public String id() {
+ return this.inner().id();
+ }
+
+ @Override
+ public ManagedIdentityProperties identity() {
+ return this.inner().identity();
+ }
+
+ @Override
+ public String location() {
+ return this.inner().location();
+ }
+
+ @Override
+ public String name() {
+ return this.inner().name();
+ }
+
+ @Override
+ public AppResourceProperties properties() {
+ return this.inner().properties();
+ }
+
+ @Override
+ public String type() {
+ return this.inner().type();
+ }
+
+ @Override
+ public AppResourceImpl withResourceGroupName(String resourceGroupName) {
+ this.resourceGroupName = resourceGroupName;
+ return this;
+ }
+
+ @Override
+ public AppResourceImpl withServiceName(String serviceName) {
+ this.serviceName = serviceName;
+ return this;
+ }
+
+ @Override
+ public AppResourceImpl withIdentity(ManagedIdentityProperties identity) {
+ this.inner().withIdentity(identity);
+ return this;
+ }
+
+ @Override
+ public AppResourceImpl withLocation(String location) {
+ this.inner().withLocation(location);
+ return this;
+ }
+
+ @Override
+ public AppResourceImpl withProperties(AppResourceProperties properties) {
+ this.inner().withProperties(properties);
+ return this;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppResourceInner.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppResourceInner.java
new file mode 100644
index 000000000000..6c09f597e19b
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppResourceInner.java
@@ -0,0 +1,99 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation;
+
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.AppResourceProperties;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.ManagedIdentityProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.microsoft.azure.ProxyResource;
+
+/**
+ * App resource payload.
+ */
+public class AppResourceInner extends ProxyResource {
+ /**
+ * 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 properties of the App resource.
+ *
+ * @return the properties value
+ */
+ public AppResourceProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set 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 Managed Identity type of the app resource.
+ *
+ * @return the identity value
+ */
+ public ManagedIdentityProperties identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set 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 GEO location of the application, always the same with its parent resource.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set 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;
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppsImpl.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppsImpl.java
new file mode 100644
index 000000000000..54fe5718a4ff
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppsImpl.java
@@ -0,0 +1,107 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * jkl
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation;
+
+import com.microsoft.azure.arm.model.implementation.WrapperImpl;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps;
+import rx.Completable;
+import rx.functions.Func1;
+import rx.Observable;
+import com.microsoft.azure.Page;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.AppResource;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.ResourceUploadDefinition;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.CustomDomainValidateResult;
+
+class AppsImpl extends WrapperImpl implements Apps {
+ private final AppPlatformManager manager;
+
+ AppsImpl(AppPlatformManager manager) {
+ super(manager.inner().apps());
+ this.manager = manager;
+ }
+
+ public AppPlatformManager manager() {
+ return this.manager;
+ }
+
+ @Override
+ public AppResourceImpl define(String name) {
+ return wrapModel(name);
+ }
+
+ private AppResourceImpl wrapModel(AppResourceInner inner) {
+ return new AppResourceImpl(inner, manager());
+ }
+
+ private AppResourceImpl wrapModel(String name) {
+ return new AppResourceImpl(name, this.manager());
+ }
+
+ @Override
+ public Observable getAsync(String resourceGroupName, String serviceName, String appName) {
+ AppsInner client = this.inner();
+ return client.getAsync(resourceGroupName, serviceName, appName)
+ .map(new Func1() {
+ @Override
+ public AppResource call(AppResourceInner inner) {
+ return new AppResourceImpl(inner, manager());
+ }
+ });
+ }
+
+ @Override
+ public Completable deleteAsync(String resourceGroupName, String serviceName, String appName) {
+ AppsInner client = this.inner();
+ return client.deleteAsync(resourceGroupName, serviceName, appName).toCompletable();
+ }
+
+ @Override
+ public Observable listAsync(final String resourceGroupName, final String serviceName) {
+ AppsInner client = this.inner();
+ return client.listAsync(resourceGroupName, serviceName)
+ .flatMapIterable(new Func1, Iterable>() {
+ @Override
+ public Iterable call(Page page) {
+ return page.items();
+ }
+ })
+ .map(new Func1() {
+ @Override
+ public AppResource call(AppResourceInner inner) {
+ return new AppResourceImpl(inner, manager());
+ }
+ });
+ }
+
+ @Override
+ public Observable getResourceUploadUrlAsync(String resourceGroupName, String serviceName, String appName) {
+ AppsInner client = this.inner();
+ return client.getResourceUploadUrlAsync(resourceGroupName, serviceName, appName)
+ .map(new Func1() {
+ @Override
+ public ResourceUploadDefinition call(ResourceUploadDefinitionInner inner) {
+ return new ResourceUploadDefinitionImpl(inner, manager());
+ }
+ });
+ }
+
+ @Override
+ public Observable validateDomainAsync(String resourceGroupName, String serviceName, String appName, String name) {
+ AppsInner client = this.inner();
+ return client.validateDomainAsync(resourceGroupName, serviceName, appName, name)
+ .map(new Func1() {
+ @Override
+ public CustomDomainValidateResult call(CustomDomainValidateResultInner inner) {
+ return new CustomDomainValidateResultImpl(inner, manager());
+ }
+ });
+ }
+
+}
diff --git a/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppsInner.java b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppsInner.java
new file mode 100644
index 000000000000..ab6306110073
--- /dev/null
+++ b/sdk/appplatform/mgmt-v2020_11_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2020_11_01_preview/implementation/AppsInner.java
@@ -0,0 +1,1268 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.appplatform.v2020_11_01_preview.implementation;
+
+import retrofit2.Retrofit;
+import com.google.common.reflect.TypeToken;
+import com.microsoft.azure.AzureServiceFuture;
+import com.microsoft.azure.CloudException;
+import com.microsoft.azure.ListOperationCallback;
+import com.microsoft.azure.management.appplatform.v2020_11_01_preview.CustomDomainValidatePayload;
+import com.microsoft.azure.Page;
+import com.microsoft.azure.PagedList;
+import com.microsoft.rest.ServiceCallback;
+import com.microsoft.rest.ServiceFuture;
+import com.microsoft.rest.ServiceResponse;
+import com.microsoft.rest.Validator;
+import java.io.IOException;
+import java.util.List;
+import okhttp3.ResponseBody;
+import retrofit2.http.Body;
+import retrofit2.http.GET;
+import retrofit2.http.Header;
+import retrofit2.http.Headers;
+import retrofit2.http.HTTP;
+import retrofit2.http.PATCH;
+import retrofit2.http.Path;
+import retrofit2.http.POST;
+import retrofit2.http.PUT;
+import retrofit2.http.Query;
+import retrofit2.http.Url;
+import retrofit2.Response;
+import rx.functions.Func1;
+import rx.Observable;
+
+/**
+ * An instance of this class provides access to all the operations defined
+ * in Apps.
+ */
+public class AppsInner {
+ /** The Retrofit service to perform REST calls. */
+ private AppsService service;
+ /** The service client containing this operation class. */
+ private AppPlatformManagementClientImpl client;
+
+ /**
+ * Initializes an instance of AppsInner.
+ *
+ * @param retrofit the Retrofit instance built from a Retrofit Builder.
+ * @param client the instance of the service client containing this operation class.
+ */
+ public AppsInner(Retrofit retrofit, AppPlatformManagementClientImpl client) {
+ this.service = retrofit.create(AppsService.class);
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for Apps to be
+ * used by Retrofit to perform actually REST calls.
+ */
+ interface AppsService {
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps get" })
+ @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}")
+ Observable> get(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Query("syncStatus") String syncStatus, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps createOrUpdate" })
+ @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}")
+ Observable> createOrUpdate(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Body AppResourceInner appResource, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps beginCreateOrUpdate" })
+ @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}")
+ Observable> beginCreateOrUpdate(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Body AppResourceInner appResource, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps delete" })
+ @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}", method = "DELETE", hasBody = true)
+ Observable> delete(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps beginDelete" })
+ @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}", method = "DELETE", hasBody = true)
+ Observable> beginDelete(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps update" })
+ @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}")
+ Observable> update(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Body AppResourceInner appResource, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps beginUpdate" })
+ @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}")
+ Observable> beginUpdate(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Body AppResourceInner appResource, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps list" })
+ @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps")
+ Observable> list(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps getResourceUploadUrl" })
+ @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/getResourceUploadUrl")
+ Observable> getResourceUploadUrl(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps validateDomain" })
+ @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apps/{appName}/validateDomain")
+ Observable> validateDomain(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("serviceName") String serviceName, @Path("appName") String appName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CustomDomainValidatePayload validatePayload, @Header("User-Agent") String userAgent);
+
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appplatform.v2020_11_01_preview.Apps listNext" })
+ @GET
+ Observable> listNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
+
+ }
+
+ /**
+ * 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 CloudException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the AppResourceInner object if successful.
+ */
+ public AppResourceInner get(String resourceGroupName, String serviceName, String appName) {
+ return getWithServiceResponseAsync(resourceGroupName, serviceName, appName).toBlocking().single().body();
+ }
+
+ /**
+ * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceFuture} object
+ */
+ public ServiceFuture getAsync(String resourceGroupName, String serviceName, String appName, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, serviceName, appName), serviceCallback);
+ }
+
+ /**
+ * 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
+ * @return the observable to the AppResourceInner object
+ */
+ public Observable getAsync(String resourceGroupName, String serviceName, String appName) {
+ return getWithServiceResponseAsync(resourceGroupName, serviceName, appName).map(new Func1, AppResourceInner>() {
+ @Override
+ public AppResourceInner call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * 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
+ * @return the observable to the AppResourceInner object
+ */
+ public Observable> getWithServiceResponseAsync(String resourceGroupName, String serviceName, String appName) {
+ if (this.client.subscriptionId() == null) {
+ throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
+ }
+ if (resourceGroupName == null) {
+ throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
+ }
+ if (serviceName == null) {
+ throw new IllegalArgumentException("Parameter serviceName is required and cannot be null.");
+ }
+ if (appName == null) {
+ throw new IllegalArgumentException("Parameter appName is required and cannot be null.");
+ }
+ if (this.client.apiVersion() == null) {
+ throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
+ }
+ final String syncStatus = null;
+ return service.get(this.client.subscriptionId(), resourceGroupName, serviceName, appName, this.client.apiVersion(), syncStatus, this.client.acceptLanguage(), this.client.userAgent())
+ .flatMap(new Func1, Observable>>() {
+ @Override
+ public Observable> call(Response response) {
+ try {
+ ServiceResponse clientResponse = getDelegate(response);
+ return Observable.just(clientResponse);
+ } catch (Throwable t) {
+ return Observable.error(t);
+ }
+ }
+ });
+ }
+
+ /**
+ * 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
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws CloudException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the AppResourceInner object if successful.
+ */
+ public AppResourceInner get(String resourceGroupName, String serviceName, String appName, String syncStatus) {
+ return getWithServiceResponseAsync(resourceGroupName, serviceName, appName, syncStatus).toBlocking().single().body();
+ }
+
+ /**
+ * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceFuture} object
+ */
+ public ServiceFuture getAsync(String resourceGroupName, String serviceName, String appName, String syncStatus, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, serviceName, appName, syncStatus), serviceCallback);
+ }
+
+ /**
+ * 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
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the AppResourceInner object
+ */
+ public Observable getAsync(String resourceGroupName, String serviceName, String appName, String syncStatus) {
+ return getWithServiceResponseAsync(resourceGroupName, serviceName, appName, syncStatus).map(new Func1, AppResourceInner>() {
+ @Override
+ public AppResourceInner call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+
+ /**
+ * 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
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the AppResourceInner object
+ */
+ public Observable