From ec4a5bedac83f7fbfa42d9544f06e6bbffe3b38c Mon Sep 17 00:00:00 2001
From: "Hong Li(MSFT)" <74638143+v-hongli1@users.noreply.github.com>
Date: Fri, 20 Dec 2024 11:52:32 +0800
Subject: [PATCH] Update Javadoc of premium SDK for
azure-resourcemanager-appservice (#43485)
---
.../azure-resourcemanager-appservice/pom.xml | 1 -
.../appservice/AppServiceManager.java | 60 ++-
.../models/AppServiceCertificate.java | 90 ++++-
.../AppServiceCertificateKeyVaultBinding.java | 18 +-
.../models/AppServiceCertificateOrder.java | 96 ++++-
.../appservice/models/AppServiceDomain.java | 83 +++-
.../appservice/models/AppServicePlan.java | 34 +-
.../appservice/models/AppSetting.java | 18 +-
.../appservice/models/ConnectionString.java | 24 +-
.../appservice/models/DeployOptions.java | 14 +
.../appservice/models/DeployType.java | 2 +
.../appservice/models/DeploymentSlotBase.java | 14 +-
.../appservice/models/DomainContact.java | 56 ++-
.../models/DomainLegalAgreement.java | 23 +-
.../appservice/models/FunctionApp.java | 24 +-
.../models/FunctionDeploymentSlot.java | 12 +-
.../appservice/models/FunctionEnvelope.java | 54 ++-
.../models/FunctionRuntimeStack.java | 12 +-
.../appservice/models/HostnameBinding.java | 36 +-
.../appservice/models/HostnameSslBinding.java | 17 +-
.../appservice/models/JavaVersion.java | 14 +-
.../models/KuduDeploymentResult.java | 2 +
.../models/NetFrameworkVersion.java | 15 +-
.../appservice/models/PhpVersion.java | 15 +-
.../appservice/models/PricingTier.java | 6 +-
.../appservice/models/PublishingProfile.java | 36 +-
.../appservice/models/PythonVersion.java | 15 +-
.../models/RemoteVisualStudioVersion.java | 15 +-
.../appservice/models/RuntimeStack.java | 12 +-
.../appservice/models/WebApp.java | 6 +-
.../appservice/models/WebAppBase.java | 359 +++++++++++++++---
.../models/WebAppDiagnosticLogs.java | 60 ++-
.../appservice/models/WebAppRuntimeStack.java | 6 +-
.../models/WebAppSourceControl.java | 30 +-
.../appservice/models/WebContainer.java | 15 +-
.../appservice/models/WebDeployment.java | 24 +-
.../appservice/models/WebSiteBase.java | 126 +++++-
37 files changed, 1218 insertions(+), 226 deletions(-)
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml b/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml
index ad4e397e0fed6..e436e856b4ac7 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml
@@ -51,7 +51,6 @@
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
- -
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/AppServiceManager.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/AppServiceManager.java
index 09d6391c75ada..e74077530de36 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/AppServiceManager.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/AppServiceManager.java
@@ -112,27 +112,47 @@ private AppServiceManager(HttpPipeline httpPipeline, AzureProfile profile) {
dnsZoneManager = DnsZoneManager.authenticate(httpPipeline, profile);
}
- /** @return the authorization manager instance. */
+ /**
+ * Gets the authorization manager instance.
+ *
+ * @return the authorization manager instance.
+ */
public AuthorizationManager authorizationManager() {
return authorizationManager;
}
- /** @return the key vault manager instance. */
+ /**
+ * Gets the key vault manager instance.
+ *
+ * @return the key vault manager instance.
+ */
public KeyVaultManager keyVaultManager() {
return keyVaultManager;
}
- /** @return the storage manager instance. */
+ /**
+ * Gets the storage manager instance.
+ *
+ * @return the storage manager instance.
+ */
public StorageManager storageManager() {
return storageManager;
}
- /** @return the DNS zone manager instance. */
+ /**
+ * Gets the DNS zone manager instance.
+ *
+ * @return the DNS zone manager instance.
+ */
public DnsZoneManager dnsZoneManager() {
return dnsZoneManager;
}
- /** @return the web app management API entry point */
+ /**
+ * Gets the web app management API entry point.
+ *
+ * @return the web app management API entry point
+ */
public WebApps webApps() {
if (webApps == null) {
webApps = new WebAppsImpl(this);
@@ -140,7 +160,11 @@ public WebApps webApps() {
return webApps;
}
- /** @return the app service plan management API entry point */
+ /**
+ * Gets the app service plan management API entry point.
+ *
+ * @return the app service plan management API entry point
+ */
public AppServicePlans appServicePlans() {
if (appServicePlans == null) {
appServicePlans = new AppServicePlansImpl(this);
@@ -148,7 +172,11 @@ public AppServicePlans appServicePlans() {
return appServicePlans;
}
- /** @return the certificate order management API entry point */
+ /**
+ * Gets the certificate order management API entry point.
+ *
+ * @return the certificate order management API entry point
+ */
public AppServiceCertificateOrders certificateOrders() {
if (appServiceCertificateOrders == null) {
appServiceCertificateOrders = new AppServiceCertificateOrdersImpl(this);
@@ -156,7 +184,11 @@ public AppServiceCertificateOrders certificateOrders() {
return appServiceCertificateOrders;
}
- /** @return the certificate management API entry point */
+ /**
+ * Gets the certificate management API entry point.
+ *
+ * @return the certificate management API entry point
+ */
public AppServiceCertificates certificates() {
if (appServiceCertificates == null) {
appServiceCertificates = new AppServiceCertificatesImpl(this);
@@ -164,7 +196,11 @@ public AppServiceCertificates certificates() {
return appServiceCertificates;
}
- /** @return the app service plan management API entry point */
+ /**
+ * Gets the app service plan management API entry point.
+ *
+ * @return the app service plan management API entry point
+ */
public AppServiceDomains domains() {
if (appServiceDomains == null) {
appServiceDomains = new AppServiceDomainsImpl(this);
@@ -172,7 +208,11 @@ public AppServiceDomains domains() {
return appServiceDomains;
}
- /** @return the web app management API entry point */
+ /**
+ * Gets the web app management API entry point.
+ *
+ * @return the web app management API entry point
+ */
public FunctionApps functionApps() {
if (functionApps == null) {
functionApps = new FunctionAppsImpl(this);
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificate.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificate.java
index 281dc78a6c690..a02b1999efea8 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificate.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificate.java
@@ -17,49 +17,109 @@
@Fluent
public interface AppServiceCertificate
extends GroupableResource, Refreshable {
- /** @return the friendly name of the certificate */
+ /**
+ * Gets the friendly name of the certificate.
+ *
+ * @return the friendly name of the certificate
+ */
String friendlyName();
- /** @return the subject name of the certificate */
+ /**
+ * Gets the subject name of the certificate.
+ *
+ * @return the subject name of the certificate
+ */
String subjectName();
- /** @return the host names the certificate applies to */
+ /**
+ * Gets the host names the certificate applies to.
+ *
+ * @return the host names the certificate applies to
+ */
List hostNames();
- /** @return the pfx blob */
+ /**
+ * Gets the pfx blob.
+ *
+ * @return the pfx blob
+ */
byte[] pfxBlob();
- /** @return the app name */
+ /**
+ * Gets the app name.
+ *
+ * @return the app name
+ */
String siteName();
- /** @return the self link */
+ /**
+ * Gets the self link.
+ *
+ * @return the self link
+ */
String selfLink();
- /** @return the certificate issuer */
+ /**
+ * Gets the certificate issuer.
+ *
+ * @return the certificate issuer
+ */
String issuer();
- /** @return the certificate issue Date */
+ /**
+ * Gets the certificate issue Date.
+ *
+ * @return the certificate issue Date
+ */
OffsetDateTime issueDate();
- /** @return the certificate expriration date */
+ /**
+ * Gets the certificate expriration date .
+ *
+ * @return the certificate expriration date
+ */
OffsetDateTime expirationDate();
- /** @return the certificate password */
+ /**
+ * Gets the certificate password.
+ *
+ * @return the certificate password
+ */
String password();
- /** @return the certificate thumbprint */
+ /**
+ * Gets the certificate thumbprint.
+ *
+ * @return the certificate thumbprint
+ */
String thumbprint();
- /** @return if the certificate valid */
+ /**
+ * Check whether the certificate valid.
+ *
+ * @return if the certificate valid
+ */
Boolean valid();
- /** @return the raw bytes of .cer file */
+ /**
+ * Gets the raw bytes of .cer file.
+ *
+ * @return the raw bytes of .cer file
+ */
byte[] certificateBlob();
- /** @return the public key hash */
+ /**
+ * Gets the public key hash.
+ *
+ * @return the public key hash
+ */
String publicKeyHash();
- /** @return the specification for the App Service Environment to use for the certificate */
+ /**
+ * Gets the specification for the App Service Environment to use for the certificate.
+ *
+ * @return the specification for the App Service Environment to use for the certificate
+ */
HostingEnvironmentProfile hostingEnvironmentProfile();
/** Container interface for all the definitions that need to be implemented. */
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificateKeyVaultBinding.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificateKeyVaultBinding.java
index 524a87e0d0113..4c6f44e398deb 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificateKeyVaultBinding.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificateKeyVaultBinding.java
@@ -12,12 +12,24 @@
@Fluent
public interface AppServiceCertificateKeyVaultBinding
extends IndependentChildResource {
- /** @return the key vault resource Id */
+ /**
+ * Gets the key vault resource Id.
+ *
+ * @return the key vault resource Id
+ */
String keyVaultId();
- /** @return the key vault secret name */
+ /**
+ * Gets the key vault secret name.
+ *
+ * @return the key vault secret name
+ */
String keyVaultSecretName();
- /** @return the status of the Key Vault secret */
+ /**
+ * Gets the status of the Key Vault secret.
+ *
+ * @return the status of the Key Vault secret
+ */
KeyVaultSecretStatus provisioningState();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificateOrder.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificateOrder.java
index 38b47ff736a68..c2c1ae0982ae2 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificateOrder.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceCertificateOrder.java
@@ -22,46 +22,102 @@ public interface AppServiceCertificateOrder
extends GroupableResource,
Refreshable, Updatable {
- /** @return certificate's distinguished name */
+ /**
+ * Gets certificate's distinguished name.
+ *
+ * @return certificate's distinguished name
+ */
String distinguishedName();
- /** @return the domain verification token */
+ /**
+ * Gets the domain verification token.
+ *
+ * @return the domain verification token
+ */
String domainVerificationToken();
- /** @return duration in years (must be between 1 and 3) */
+ /**
+ * Gets duration in years.
+ *
+ * @return duration in years (must be between 1 and 3)
+ */
int validityInYears();
- /** @return the certificate key size */
+ /**
+ * Gets the certificate key size.
+ *
+ * @return the certificate key size
+ */
int keySize();
- /** @return the certificate product type */
+ /**
+ * Gets the certificate product type.
+ *
+ * @return the certificate product type
+ */
CertificateProductType productType();
- /** @return if the certificate should be automatically renewed upon expiration */
+ /**
+ * Check whether the certificate will renewed automatically.
+ *
+ * @return if the certificate should be automatically renewed upon expiration
+ */
boolean autoRenew();
- /** @return current order status */
+ /**
+ * Gets current order status.
+ *
+ * @return current order status
+ */
CertificateOrderStatus status();
- /** @return the signed certificate */
+ /**
+ * Gets the signed certificate.
+ *
+ * @return the signed certificate
+ */
CertificateDetails signedCertificate();
- /** @return last certificate signing request that was created for this order */
+ /**
+ * Gets last certificate signing request that was created for this order.
+ *
+ * @return last certificate signing request that was created for this order
+ */
String certificateSigningRequest();
- /** @return the intermediate certificate */
+ /**
+ * Gets the intermediate certificate.
+ *
+ * @return the intermediate certificate
+ */
CertificateDetails intermediate();
- /** @return the root certificate */
+ /**
+ * Gets the root certificate.
+ *
+ * @return the root certificate
+ */
CertificateDetails root();
- /** @return current serial number of the certificate */
+ /**
+ * Gets the current serial number of the certificate.
+ *
+ * @return current serial number of the certificate
+ */
String serialNumber();
- /** @return last issuance time */
+ /**
+ * Gets the last issuance time.
+ *
+ * @return last issuance time
+ */
OffsetDateTime lastCertificateIssuanceTime();
- /** @return expiration time */
+ /**
+ * Gets the expiration time.
+ *
+ * @return expiration time
+ */
OffsetDateTime expirationTime();
/**
@@ -82,10 +138,18 @@ public interface AppServiceCertificateOrder
*/
Mono createKeyVaultBindingAsync(String certificateName, Vault vault);
- /** @return the state of the Key Vault secret */
+ /**
+ * Gets the state of the Key Vault secret.
+ *
+ * @return the state of the Key Vault secret
+ */
AppServiceCertificateKeyVaultBinding getKeyVaultBinding();
- /** @return the state of the Key Vault secret */
+ /**
+ * Gets the state of the Key Vault secret.
+ *
+ * @return the state of the Key Vault secret
+ */
Mono getKeyVaultBindingAsync();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceDomain.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceDomain.java
index b38c813258552..6081be88c0148 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceDomain.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServiceDomain.java
@@ -28,57 +28,114 @@
public interface AppServiceDomain extends GroupableResource, HasName,
Refreshable, Updatable {
- /** @return admin contact information */
+ /**
+ * Gets admin contact information.
+ *
+ * @return admin contact information
+ */
Contact adminContact();
- /** @return billing contact information */
+ /**
+ * Gets billing contact information.
+ *
+ * @return billing contact information
+ */
Contact billingContact();
- /** @return registrant contact information */
+ /**
+ * Gets registrant contact information
+ *
+ * @return registrant contact information
+ */
Contact registrantContact();
- /** @return technical contact information */
+ /**
+ * Gets technical contact information
+ *
+ * @return technical contact information
+ */
Contact techContact();
- /** @return domain registration status */
+ /**
+ * Gets domain registration status.
+ *
+ * @return domain registration status
+ */
DomainStatus registrationStatus();
- /** @return name servers */
+ /**
+ * Gets name servers.
+ *
+ * @return name servers
+ */
List nameServers();
- /** @return true if domain privacy is enabled for this domain */
+ /**
+ * Check whether domain privacy is enabled for this domain.
+ *
+ * @return true if domain privacy is enabled for this domain
+ */
boolean privacy();
- /** @return domain creation timestamp. */
+ /**
+ * Gets domain creation timestamp.
+ *
+ * @return domain creation timestamp.
+ */
OffsetDateTime createdTime();
- /** @return domain expiration timestamp. */
+ /**
+ * Gets domain expiration timestamp.
+ *
+ * @return domain expiration timestamp.
+ */
OffsetDateTime expirationTime();
- /** @return timestamp when the domain was renewed last time */
+ /**
+ * Gets timestamp when the domain was renewed last time.
+ *
+ * @return timestamp when the domain was renewed last time
+ */
OffsetDateTime lastRenewedTime();
- /** @return true if domain will renewed automatically */
+ /**
+ * Check whether domain will renewed automatically.
+ *
+ * @return true if domain will renewed automatically */
boolean autoRenew();
/**
+ * Check whether Azure can assign this domain to Web Apps.
+ *
* @return true if Azure can assign this domain to Web Apps. This value will be true if domain registration status
* is active and it is hosted on name servers Azure has programmatic access to.
*/
boolean readyForDnsRecordManagement();
- /** @return all hostnames derived from the domain and assigned to Azure resources */
+ /**
+ * Gets all hostnames derived from the domain and assigned to Azure resources.
+ *
+ * @return all hostnames derived from the domain and assigned to Azure resources
+ */
Map managedHostNames();
- /** @return legal agreement consent. */
+ /**
+ * Gets legal agreement consent.
+ *
+ * @return legal agreement consent.
+ */
DomainPurchaseConsent consent();
/**
+ * Gets the type of DNS.
+ *
* @return the type of DNS
*/
DnsType dnsType();
/**
+ * Gets Azure DNS zone id.
+ *
* @return Azure DNS zone id
*/
String dnsZoneId();
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServicePlan.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServicePlan.java
index 56733a6d9720a..e2470d6b931c8 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServicePlan.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppServicePlan.java
@@ -17,22 +17,44 @@
@Fluent
public interface AppServicePlan extends GroupableResource, HasName,
Refreshable, Updatable {
- /** @return maximum number of instances that can be assigned */
+ /**
+ * Gets maximum number of instances that can be assigned.
+ *
+ * @return maximum number of instances that can be assigned
+ */
int maxInstances();
- /** @return maximum number of instances that can be assigned */
+ /**
+ * Gets maximum number of instances that can be assigned.
+ *
+ * @return maximum number of instances that can be assigned */
int capacity();
- /** @return if apps assigned to this App Service Plan can be scaled independently */
+ /**
+ * Check whether apps assigned to this App Service Plan can be scaled independently.
+ *
+ * @return if apps assigned to this App Service Plan can be scaled independently */
boolean perSiteScaling();
- /** @return number of web apps assigned to this App Service Plan */
+ /**
+ * Gets number of web apps assigned to this App Service Plan.
+ *
+ * @return number of web apps assigned to this App Service Plan
+ */
int numberOfWebApps();
- /** @return the pricing tier information of the App Service Plan */
+ /**
+ * Gets the pricing tier information of the App Service Plan
+ *
+ * @return the pricing tier information of the App Service Plan
+ */
PricingTier pricingTier();
- /** @return the operating system the web app is running on */
+ /**
+ * Gets the operating system the web app is running on.
+ *
+ * @return the operating system the web app is running on
+ */
OperatingSystem operatingSystem();
/**************************************************************
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppSetting.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppSetting.java
index 204f967ee327e..b27740659e600 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppSetting.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/AppSetting.java
@@ -8,12 +8,24 @@
/** An immutable client-side representation of an app setting on a web app. */
@Fluent
public interface AppSetting {
- /** @return the key of the setting */
+ /**
+ * Gets the key of the setting.
+ *
+ * @return the key of the setting
+ */
String key();
- /** @return the value of the setting */
+ /**
+ * Gets the value of the setting.
+ *
+ * @return the value of the setting
+ */
String value();
- /** @return if the setting sticks to the slot during a swap */
+ /**
+ * Check whether the setting sticks to the slot during a swap.
+ *
+ * @return if the setting sticks to the slot during a swap
+ */
boolean sticky();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/ConnectionString.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/ConnectionString.java
index 226228074da55..f4d55d6ed83c9 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/ConnectionString.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/ConnectionString.java
@@ -8,15 +8,31 @@
/** An immutable client-side representation of a connection string on a web app. */
@Fluent
public interface ConnectionString {
- /** @return the key of the setting */
+ /**
+ * Gets the key of the setting.
+ *
+ * @return the key of the setting
+ */
String name();
- /** @return the value of the connection string */
+ /**
+ * Gets the value of the connection string.
+ *
+ * @return the value of the connection string
+ */
String value();
- /** @return the type of the connection string */
+ /**
+ * Gets the type of the connection string.
+ *
+ * @return the type of the connection string
+ */
ConnectionStringType type();
- /** @return if the connection string sticks to the slot during a swap */
+ /**
+ * Check whether the connection string sticks to the slot during a swap.
+ *
+ * @return if the connection string sticks to the slot during a swap
+ */
boolean sticky();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployOptions.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployOptions.java
index 0cc294b9ec244..5096066fbf31e 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployOptions.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployOptions.java
@@ -14,6 +14,14 @@ public class DeployOptions {
private Boolean trackDeployment;
/**
+ * Creates a new instance of DeployOptions.
+ */
+ public DeployOptions() {
+ }
+
+ /**
+ * Gets the path for deploy.
+ *
* @return the path for deploy
*/
public String path() {
@@ -32,6 +40,8 @@ public DeployOptions withPath(String path) {
}
/**
+ * Check whether to restart site after deployment.
+ *
* @return whether to restart site after deployment
*/
public Boolean restartSite() {
@@ -52,6 +62,8 @@ public DeployOptions withRestartSite(Boolean restartSite) {
}
/**
+ * Check whether to perform clean deployment.
+ *
* @return whether to perform clean deployment
*/
public Boolean cleanDeployment() {
@@ -75,6 +87,8 @@ public DeployOptions withCleanDeployment(Boolean cleanDeployment) {
}
/**
+ * Check whether to track deployment progress.
+ *
* @return whether to track deployment progress
*/
public Boolean trackDeployment() {
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployType.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployType.java
index 39ddd5208d36e..82cc0c45237ae 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployType.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployType.java
@@ -77,6 +77,8 @@ public static DeployType fromString(String name) {
}
/**
+ * Gets known DeployType type values.
+ *
* @return known DeployType type values
*/
public static Collection values() {
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeploymentSlotBase.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeploymentSlotBase.java
index 79342b4a5e199..28e4361ad445f 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeploymentSlotBase.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeploymentSlotBase.java
@@ -19,6 +19,8 @@ public interface DeploymentSlotBase extends WebAppBase, Updatable the type of the resource
*/
interface WithRuntimeVersion {
/**
@@ -44,6 +46,8 @@ interface WithRuntimeVersion {
/**
* A deployment slot update allowing docker image source to be specified.
+ *
+ * @param the type of the resource
*/
interface WithDockerContainerImage {
/**
@@ -71,6 +75,8 @@ interface WithDockerContainerImage {
/**
* A deployment slot update allowing docker hub credentials to be set.
+ *
+ * @param the type of the resource
*/
interface WithCredentials {
/**
@@ -85,6 +91,8 @@ interface WithCredentials {
/**
* A deployment slot update allowing docker startup command to be specified.
* This will replace the "CMD" section in the Dockerfile.
+ *
+ * @param the type of the resource
*/
interface WithStartUpCommand {
/**
@@ -97,7 +105,11 @@ interface WithStartUpCommand {
}
}
- /** The template for a web app update operation, containing all the settings that can be modified. */
+ /**
+ * The template for a web app update operation, containing all the settings that can be modified.
+ *
+ * @param the type of the resource
+ */
interface Update extends Appliable, WebAppBase.Update,
UpdateStages.WithRuntimeVersion, UpdateStages.WithDockerContainerImage,
UpdateStages.WithStartUpCommand, UpdateStages.WithCredentials {
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DomainContact.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DomainContact.java
index dc0df44d07515..0566b7af95551 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DomainContact.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DomainContact.java
@@ -13,31 +13,67 @@
@Fluent
public interface DomainContact extends HasInnerModel, ChildResource {
- /** @return contact's mailing address */
+ /**
+ * Gets contact's mailing address.
+ *
+ * @return contact's mailing address
+ */
Address addressMailing();
- /** @return contact's email address */
+ /**
+ * Gets contact's email address.
+ *
+ * @return contact's email address
+ */
String email();
- /** @return contact's fax number */
+ /**
+ * Gets contact's fax number.
+ *
+ * @return contact's fax number
+ */
String fax();
- /** @return contact's job title */
+ /**
+ * Gets contact's job title.
+ *
+ * @return contact's job title
+ */
String jobTitle();
- /** @return contact's first name */
+ /**
+ * Gets contact's first name.
+ *
+ * @return contact's first name
+ */
String firstName();
- /** @return contact's last name */
+ /**
+ * Gets contact's last name.
+ *
+ * @return contact's last name
+ */
String lastName();
- /** @return contact's middle name */
+ /**
+ * Gets contact's middle name.
+ *
+ * @return contact's middle name
+ */
String middleName();
- /** @return contact's organization */
+ /**
+ * Gets contact's organization.
+ *
+ * @return contact's organization
+ */
String organization();
- /** @return contact's phone number */
+ /**
+ * Gets contact's phone number.
+ *
+ * @return contact's phone number
+ */
String phone();
/**
@@ -301,6 +337,8 @@ interface WithAttach
extends Attachable.InDefinition, DefinitionStages.WithOrganization,
DefinitionStages.WithJobTitle, DefinitionStages.WithFaxNumber {
/**
+ * Builds a contact instance.
+ *
* @return the contact
*/
Contact build();
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DomainLegalAgreement.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DomainLegalAgreement.java
index 2c29e43380203..f13d024cf9f0d 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DomainLegalAgreement.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DomainLegalAgreement.java
@@ -10,15 +10,30 @@
/** An immutable client-side representation of an Azure domain legal agreement. */
@Fluent
public interface DomainLegalAgreement extends HasInnerModel {
- /** @return unique identifier for the agreement */
+ /**
+ * Gets unique identifier for the agreement.
+ *
+ * @return unique identifier for the agreement
+ */
String agreementKey();
- /** @return agreement title */
+ /**
+ * Gets agreement title.
+ *
+ * @return agreement title
+ */
String title();
- /** @return agreement details */
+ /**
+ * Gets agreement details.
+ *
+ * @return agreement details
+ */
String content();
- /** @return url where a copy of the agreement details is hosted */
+ /**
+ * Gets url where a copy of the agreement details is hosted.
+ *
+ * @return url where a copy of the agreement details is hosted */
String url();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionApp.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionApp.java
index 52aecf1a9a21e..d5513d0095544 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionApp.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionApp.java
@@ -24,16 +24,32 @@ public interface FunctionApp
extends FunctionAppBasic, WebAppBase, Updatable, SupportsListingPrivateLinkResource,
SupportsListingPrivateEndpointConnection, SupportsUpdatingPrivateEndpointConnection, SupportsOneDeploy {
- /** @return the entry point to deployment slot management API under the function app */
+ /**
+ * Gets the entry point to deployment slot management API under the function app.
+ *
+ * @return the entry point to deployment slot management API under the function app
+ */
FunctionDeploymentSlots deploymentSlots();
- /** @return the storage account associated with the function app */
+ /**
+ * Gets the storage account associated with the function app.
+ *
+ * @return the storage account associated with the function app
+ */
StorageAccount storageAccount();
- /** @return the master key for the function app */
+ /**
+ * Gets the master key for the function app.
+ *
+ * @return the master key for the function app
+ */
String getMasterKey();
- /** @return the master key for the function app */
+ /**
+ * Gets the master key for the function app.
+ *
+ * @return the master key for the function app
+ */
Mono getMasterKeyAsync();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionDeploymentSlot.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionDeploymentSlot.java
index 186accd11d028..35cd73c3f8715 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionDeploymentSlot.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionDeploymentSlot.java
@@ -18,10 +18,18 @@ public interface FunctionDeploymentSlot extends IndependentChildResource,
Updatable>, HasParent, SupportsOneDeploy {
- /** @return the master key for the function app */
+ /**
+ * Gets the master key for the function app.
+ *
+ * @return the master key for the function app
+ */
String getMasterKey();
- /** @return the master key for the function app */
+ /**
+ * Gets the master key for the function app.
+ *
+ * @return the master key for the function app
+ */
Mono getMasterKeyAsync();
/**************************************************************
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionEnvelope.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionEnvelope.java
index dd9fe9fd1cfa6..8e5c88ce04888 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionEnvelope.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionEnvelope.java
@@ -10,30 +10,66 @@
/** An immutable representation of function Information. */
public interface FunctionEnvelope extends HasInnerModel {
- /** @return the functionAppId value */
+ /**
+ * Gets the functionAppId value.
+ *
+ * @return the functionAppId value
+ */
String functionAppId();
- /** @return the scriptRootPathHref value */
+ /**
+ * Gets the scriptRootPathHref value.
+ *
+ * @return the scriptRootPathHref value
+ */
String scriptRootPathHref();
- /** @return the scriptHref value */
+ /**
+ * Gets the scriptHref value.
+ *
+ * @return the scriptHref value
+ */
String scriptHref();
- /** @return the configHref value */
+ /**
+ * Gets the configHref value.
+ *
+ * @return the configHref value
+ */
String configHref();
- /** @return the secretsFileHref value */
+ /**
+ * Gets the secretsFileHref value.
+ *
+ * @return the secretsFileHref value
+ */
String secretsFileHref();
- /** @return the href value */
+ /**
+ * Gets the href value.
+ *
+ * @return the href value
+ */
String href();
- /** @return the config value */
+ /**
+ * Gets the config value.
+ *
+ * @return the config value
+ */
Object config();
- /** @return the files value */
+ /**
+ * Gets the files value.
+ *
+ * @return the files value
+ */
Map files();
- /** @return the testData value */
+ /**
+ * Gets the testData value.
+ *
+ * @return the testData value
+ */
String testData();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionRuntimeStack.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionRuntimeStack.java
index db28712384e32..482bc77471668 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionRuntimeStack.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/FunctionRuntimeStack.java
@@ -38,12 +38,20 @@ public FunctionRuntimeStack(String runtime, String version, String linuxFxVersio
this.linuxFxVersion = Objects.requireNonNull(linuxFxVersion);
}
- /** @return the name of the language runtime */
+ /**
+ * Gets the name of the language runtime.
+ *
+ * @return the name of the language runtime
+ */
public String runtime() {
return runtime;
}
- /** @return the version of the Language runtime */
+ /**
+ * Gets the version of the Language runtime.
+ *
+ * @return the version of the Language runtime
+ */
public String version() {
return version;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/HostnameBinding.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/HostnameBinding.java
index 75bffa7160942..578dba89621f9 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/HostnameBinding.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/HostnameBinding.java
@@ -14,22 +14,46 @@
@Fluent
public interface HostnameBinding
extends HasInnerModel, ExternalChildResource, Resource {
- /** @return the web app name */
+ /**
+ * Gets the web app name.
+ *
+ * @return the web app name
+ */
String webAppName();
- /** @return the fully qualified ARM domain resource URI */
+ /**
+ * Gets the fully qualified ARM domain resource URI.
+ *
+ * @return the fully qualified ARM domain resource URI
+ */
String domainId();
- /** @return Azure resource name to bind to */
+ /**
+ * Gets Azure resource name to bind to.
+ *
+ * @return Azure resource name to bind to
+ */
String azureResourceName();
- /** @return Azure resource type */
+ /**
+ * Gets Azure resource type.
+ *
+ * @return Azure resource type
+ */
AzureResourceType azureResourceType();
- /** @return custom DNS record type */
+ /**
+ * Gets custom DNS record type.
+ *
+ * @return custom DNS record type
+ */
CustomHostnameDnsRecordType dnsRecordType();
- /** @return the host name type */
+ /**
+ * Gets the host name type.
+ *
+ * @return the host name type
+ */
HostnameType hostnameType();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/HostnameSslBinding.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/HostnameSslBinding.java
index 40b26d02ff7a8..59c487fefd67d 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/HostnameSslBinding.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/HostnameSslBinding.java
@@ -12,13 +12,24 @@
/** An immutable representation of an host name SSL binding. */
@Fluent
public interface HostnameSslBinding extends HasInnerModel, ChildResource {
- /** @return the SSL type */
+ /**
+ * Gets the SSL type.
+ *
+ * @return the SSL type
+ */
SslState sslState();
- /** @return the virtual IP address assigned to the host name if IP based SSL is enabled */
+ /**
+ * Gets the virtual IP address assigned to the host name.
+ *
+ * @return the virtual IP address assigned to the host name if IP based SSL is enabled */
String virtualIp();
- /** @return the SSL cert thumbprint. */
+ /**
+ * Gets the SSL cert thumbprint.
+ *
+ * @return the SSL cert thumbprint.
+ */
String thumbprint();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/JavaVersion.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/JavaVersion.java
index 96cb82d07cc18..5f0434cfa0cc6 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/JavaVersion.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/JavaVersion.java
@@ -75,6 +75,15 @@ public final class JavaVersion extends ExpandableStringEnum {
/** Static value Zulu 11.0.2_ZULU for JavaVersion. */
public static final JavaVersion JAVA_ZULU_11_0_2 = fromString("11.0.2_ZULU");
+ /**
+ * Creates a new instance of JavaVersion value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public JavaVersion() {
+ }
+
/**
* Finds or creates a Java version value based on the provided name.
*
@@ -85,7 +94,10 @@ public static JavaVersion fromString(String name) {
return fromString(name, JavaVersion.class);
}
- /** @return known Java versions */
+ /**
+ * Gets known Java versions.
+ *
+ * @return known Java versions */
public static Collection values() {
return values(JavaVersion.class);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/KuduDeploymentResult.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/KuduDeploymentResult.java
index 9f69a0cc85506..cc7e6f8030df3 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/KuduDeploymentResult.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/KuduDeploymentResult.java
@@ -20,6 +20,8 @@ public KuduDeploymentResult(String deploymentId) {
}
/**
+ * Gets the deployment ID.
+ *
* @return the deployment ID. It can be {@code null} if tracking deployment is disabled.
*/
public String deploymentId() {
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/NetFrameworkVersion.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/NetFrameworkVersion.java
index 6339485453092..4ebe61d3bd305 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/NetFrameworkVersion.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/NetFrameworkVersion.java
@@ -15,6 +15,15 @@ public final class NetFrameworkVersion extends ExpandableStringEnum values() {
return values(NetFrameworkVersion.class);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PhpVersion.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PhpVersion.java
index dd1aaf952aec2..95e509f931814 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PhpVersion.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PhpVersion.java
@@ -24,6 +24,15 @@ public final class PhpVersion extends ExpandableStringEnum {
/** Static value 7.1 for PhpVersion. */
public static final PhpVersion PHP7_1 = PhpVersion.fromString("7.1");
+ /**
+ * Creates a new instance of PhpVersion value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public PhpVersion() {
+ }
+
/**
* Finds or creates a PHP version based on the specified name.
*
@@ -34,7 +43,11 @@ public static PhpVersion fromString(String name) {
return fromString(name, PhpVersion.class);
}
- /** @return known PHP versions */
+ /**
+ * Gets known PHP versions.
+ *
+ * @return known PHP versions
+ */
public static Collection values() {
return values(PhpVersion.class);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PricingTier.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PricingTier.java
index 1fc15e92034ce..d9ee7f8d492bb 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PricingTier.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PricingTier.java
@@ -111,7 +111,11 @@ public String toString() {
return skuDescription.tier() + "_" + skuDescription.size();
}
- /** @return the underneath sku description */
+ /**
+ * Gets the underneath sku description.
+ *
+ * @return the underneath sku description
+ */
public SkuDescription toSkuDescription() {
return this.skuDescription;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PublishingProfile.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PublishingProfile.java
index db88f89291486..2ce0c5d311226 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PublishingProfile.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PublishingProfile.java
@@ -7,21 +7,45 @@
/** Endpoints and credentials for publishing to a web app. */
@Fluent
public interface PublishingProfile {
- /** @return the url for FTP publishing, with ftp:// and the root folder. E.g. ftp://ftp.contoso.com/site/wwwroot */
+ /**
+ * Gets the URL for FTP publishing.
+ *
+ * @return the URL for FTP publishing, with ftp:// and the root folder. E.g. ftp://ftp.contoso.com/site/wwwroot
+ */
String ftpUrl();
- /** @return the username used for FTP publishing */
+ /**
+ * Gets the username used for FTP publishing
+ *
+ * @return the username used for FTP publishing
+ */
String ftpUsername();
- /** @return the password used for FTP publishing */
+ /**
+ * Gets the password used for FTP publishing.
+ *
+ * @return the password used for FTP publishing
+ */
String ftpPassword();
- /** @return the url for FTP publishing, with https:// upfront. E.g. https://contoso.com:443/myRepo.git */
+ /**
+ * Gets the URL for FTP publishing.
+ *
+ * @return the URL for FTP publishing, with https:// upfront. E.g. https://contoso.com:443/myRepo.git
+ */
String gitUrl();
- /** @return the username used for Git publishing */
+ /**
+ * Gets the username used for Git publishing.
+ *
+ * @return the username used for Git publishing
+ */
String gitUsername();
- /** @return the password used for Git publishing */
+ /**
+ * Gets the password used for Git publishing.
+ *
+ * @return the password used for Git publishing
+ */
String gitPassword();
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PythonVersion.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PythonVersion.java
index e62b5075f3332..c687c7b4b2360 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PythonVersion.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/PythonVersion.java
@@ -18,6 +18,15 @@ public final class PythonVersion extends ExpandableStringEnum {
/** Static value 3.4 for PythonVersion. */
public static final PythonVersion PYTHON_34 = PythonVersion.fromString("3.4");
+ /**
+ * Creates a new instance of PythonVersion value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public PythonVersion() {
+ }
+
/**
* Finds or creates a Python version based on the specified name.
*
@@ -28,7 +37,11 @@ public static PythonVersion fromString(String name) {
return fromString(name, PythonVersion.class);
}
- /** @return known Python versions */
+ /**
+ * Gets known Python versions.
+ *
+ * @return known Python versions
+ */
public static Collection values() {
return values(PythonVersion.class);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/RemoteVisualStudioVersion.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/RemoteVisualStudioVersion.java
index f333859292662..fb233ec962b87 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/RemoteVisualStudioVersion.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/RemoteVisualStudioVersion.java
@@ -15,6 +15,15 @@ public final class RemoteVisualStudioVersion extends ExpandableStringEnum values() {
return values(RemoteVisualStudioVersion.class);
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/RuntimeStack.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/RuntimeStack.java
index 75368ddaf630b..4e05dd5db8612 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/RuntimeStack.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/RuntimeStack.java
@@ -126,12 +126,20 @@ public RuntimeStack(String stack, String version) {
this.version = version;
}
- /** @return the name of the language runtime stack */
+ /**
+ * Gets the name of the language runtime stack.
+ *
+ * @return the name of the language runtime stack
+ */
public String stack() {
return stack;
}
- /** @return the version of the runtime stack */
+ /**
+ * Gets the version of the runtime stack.
+ *
+ * @return the version of the runtime stack
+ */
public String version() {
return version;
}
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/WebApp.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/WebApp.java
index 2e7a2c266ddd1..71413cd5f6dde 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/WebApp.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/WebApp.java
@@ -22,7 +22,11 @@ public interface WebApp
extends WebAppBasic, SupportsOneDeploy, WebAppBase, Updatable, SupportsListingPrivateLinkResource,
SupportsListingPrivateEndpointConnection, SupportsUpdatingPrivateEndpointConnection {
- /** @return the entry point to deployment slot management API under the web app */
+ /**
+ * Gets the entry point to deployment slot management API under the web app.
+ *
+ * @return the entry point to deployment slot management API under the web app
+ */
DeploymentSlots deploymentSlots();
/**
diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/WebAppBase.java b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/WebAppBase.java
index f5524b70ee1d8..11bf25700771c 100644
--- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/WebAppBase.java
+++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/WebAppBase.java
@@ -25,133 +25,294 @@
@Fluent
public interface WebAppBase extends HasName, GroupableResource, WebSiteBase {
- /** @return the default documents */
+ /**
+ * Gets the default documents.
+ *
+ * @return the default documents
+ */
List defaultDocuments();
- /** @return the .NET Framework version */
+ /**
+ * Gets the .NET Framework version.
+ *
+ * @return the .NET Framework version
+ */
NetFrameworkVersion netFrameworkVersion();
- /** @return the version of PHP */
+ /**
+ * Gets the version of PHP.
+ *
+ * @return the version of PHP
+ */
PhpVersion phpVersion();
- /** @return the version of Python */
+ /**
+ * Gets the version of Python.
+ *
+ * @return the version of Python
+ */
PythonVersion pythonVersion();
- /** @return the version of Node.JS */
+ /**
+ * Gets the version of Node.JS.
+ *
+ * @return the version of Node.JS
+ */
String nodeVersion();
- /** @return if the remote eebugging is enabled */
+ /**
+ * Check whether the remote eebugging is enabled.
+ *
+ * @return if the remote eebugging is enabled
+ */
boolean remoteDebuggingEnabled();
- /** @return the remote debugging version */
+ /**
+ * Gets the remote debugging version.
+ *
+ * @return the remote debugging version
+ */
RemoteVisualStudioVersion remoteDebuggingVersion();
- /** @return if web socket is enabled */
+ /**
+ * Check whether web socket is enabled.
+ *
+ * @return if web socket is enabled
+ */
boolean webSocketsEnabled();
- /** @return if the web app is always on */
+ /**
+ * Check whether the web app is always on.
+ *
+ * @return if the web app is always on
+ */
boolean alwaysOn();
- /** @return Java version */
+ /**
+ * Gets Java version.
+ *
+ * @return Java version
+ */
JavaVersion javaVersion();
- /** @return Java container */
+ /**
+ * Gets Java container.
+ *
+ * @return Java container
+ */
String javaContainer();
- /** @return Java container version */
+ /**
+ * Gets Java container version.
+ *
+ * @return Java container version
+ */
String javaContainerVersion();
- /** @return managed pipeline mode */
+ /**
+ * Gets managed pipeline mode.
+ *
+ * @return managed pipeline mode
+ */
ManagedPipelineMode managedPipelineMode();
- /** @return the auto swap slot name */
+ /**
+ * Gets the auto swap slot name.
+ *
+ * @return the auto swap slot name
+ */
String autoSwapSlotName();
- /** @return the state of FTP / FTPS service */
+ /**
+ * Gets the state of FTP / FTPS service.
+ *
+ * @return the state of FTP / FTPS service
+ */
FtpsState ftpsState();
- /** @return the virtual applications and their virtual directories in this web app */
+ /**
+ * Gets the virtual applications and their virtual directories in this web app.
+ *
+ * @return the virtual applications and their virtual directories in this web app
+ */
List virtualApplications();
- /** @return whether to allow clients to connect over http2.0 */
+ /**
+ * Check whether to allow clients to connect over HTTP/2.
+ *
+ * @return whether to allow clients to connect over HTTP/2
+ */
boolean http20Enabled();
- /** @return the minimum version of TLS required for SSL requests. */
+ /**
+ * Gets the minimum version of TLS required for SSL requests.
+ *
+ * @return the minimum version of TLS required for SSL requests.
+ */
SupportedTlsVersions minTlsVersion();
- /** @return whether local MySQL is enabled */
+ /**
+ * Check whether local MySQL is enabled.
+ *
+ * @return whether local MySQL is enabled */
boolean localMySqlEnabled();
- /** @return the SCM configuration for the web app */
+ /**
+ * Gets the SCM configuration for the web app.
+ *
+ * @return the SCM configuration for the web app
+ */
ScmType scmType();
- /** @return the root directory for the web app */
+ /**
+ * Gets the root directory for the web app.
+ *
+ * @return the root directory for the web app
+ */
String documentRoot();
/**
+ * Gets the System Assigned (Local) Managed Service Identity specific Active Directory tenant ID assigned to the
+ * web app.
+ *
* @return the System Assigned (Local) Managed Service Identity specific Active Directory tenant ID assigned to the
* web app.
*/
String systemAssignedManagedServiceIdentityTenantId();
/**
+ * Gets the System Assigned (Local) Managed Service Identity specific Active Directory service principal ID
+ * assigned to the web app.
+ *
* @return the System Assigned (Local) Managed Service Identity specific Active Directory service principal ID
* assigned to the web app.
*/
String systemAssignedManagedServiceIdentityPrincipalId();
- /** @return The ids of the user assigned identities */
+ /**
+ * Gets the ids of the user assigned identities .
+ *
+ * @return The ids of the user assigned identities
+ */
Set userAssignedManagedServiceIdentityIds();
- /** @return the app settings defined on the web app */
+ /**
+ * Gets the app settings defined on the web app
+ *
+ * @return the app settings defined on the web app
+ */
Map getAppSettings();
- /** @return the app settings defined on the web app */
+ /**
+ * Gets the app settings defined on the web app.
+ *
+ * @return the app settings defined on the web app
+ */
Mono