Skip to content

Commit

Permalink
Update Javadoc of premium SDK for azure-resourcemanager-appservice (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
v-hongli1 authored Dec 20, 2024
1 parent 803fee7 commit ec4a5be
Show file tree
Hide file tree
Showing 37 changed files with 1,218 additions and 226 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@

--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
</javaModulesSurefireArgLine>
<doclintMissingInclusion>-</doclintMissingInclusion>
</properties>

<developers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,67 +112,107 @@ 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);
}
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);
}
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);
}
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);
}
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);
}
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,49 +17,109 @@
@Fluent
public interface AppServiceCertificate
extends GroupableResource<AppServiceManager, CertificateInner>, Refreshable<AppServiceCertificate> {
/** @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<String> 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. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,24 @@
@Fluent
public interface AppServiceCertificateKeyVaultBinding
extends IndependentChildResource<AppServiceManager, AppServiceCertificateResourceInner> {
/** @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();
}
Loading

0 comments on commit ec4a5be

Please sign in to comment.