Skip to content
Merged
Prev Previous commit
Next Next commit
Fix javaDoc
  • Loading branch information
v-hongli1 committed Jan 8, 2025
commit ea4d69b4d7a8efbd1a888c47d6bdfa5dde115df9
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private StorageManager(HttpPipeline httpPipeline, AzureProfile profile) {
}

/**
* Gets the storage account management API entry point.
* Gets the API entry point of the storage account.
*
* @return the storage account management API entry point
*/
Expand All @@ -124,7 +124,7 @@ public StorageAccounts storageAccounts() {
}

/**
* Gets the storage service usage management API entry point.
* Gets the API entry point of the storage service usage.
*
* @return the storage service usage management API entry point
*/
Expand All @@ -136,7 +136,7 @@ public Usages usages() {
}

/**
* Gets the storage service SKU management API entry point.
* Gets the API entry point of the storage service SKU.
*
* @return the storage service SKU management API entry point
*/
Expand All @@ -148,7 +148,7 @@ public StorageSkus storageSkus() {
}

/**
* Gets the blob container management API entry point.
* Gets the API entry point of the blob container.
*
* @return the blob container management API entry point
*/
Expand All @@ -160,7 +160,7 @@ public BlobContainers blobContainers() {
}

/**
* Gets the blob service management API entry point.
* Gets the API entry point of the blob service.
*
* @return the blob service management API entry point
*/
Expand All @@ -172,9 +172,9 @@ public BlobServices blobServices() {
}

/**
* Gets the management policy management API entry point.
* Gets the API entry point of the management policy.
*
* @return the management policy management API entry point
* @return the management policy API entry point
*/
public ManagementPolicies managementPolicies() {
if (managementPolicies == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public interface BlobContainer
String etag();

/**
* Checking whether the container has immutability policy.
* Checks whether the container has immutability policy.
*
* @return the hasImmutabilityPolicy value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public interface BlobServiceProperties extends HasInnerModel<BlobServiceProperti
String defaultServiceVersion();

/**
* Gets blob soft delete policy used to restore a blob, snapshot, or version that has been deleted.
* Gets blob soft delete policy.
*
* @return blob soft delete policy used to restore a blob, snapshot, or version that has been deleted.
*/
DeleteRetentionPolicy deleteRetentionPolicy();

/**
* Gets container soft delete policy used to restore a container that has been deleted.
* Gets container soft delete policy.
*
* @return container soft delete policy used to restore a container that has been deleted.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public CheckNameAvailabilityResult(CheckNameAvailabilityResultInner inner) {
}

/**
* Gets a boolean value that indicates whether the name is available for you to use.
* Checks whether the name is available for you to use.
*
* @return a boolean value that indicates whether the name is available for you to use. If true, the name is
* available. If false, the name has already been taken or invalid and cannot be used.
Expand All @@ -39,7 +39,7 @@ public Reason reason() {
}

/**
* gets an error message explaining the Reason value in more detail.
* Gets an error message explaining the Reason value in more detail.
*
* @return an error message explaining the Reason value in more detail
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Fluent
public interface LegalHold extends HasInnerModel<LegalHoldInner>, HasManager<StorageManager> {
/**
* Checks whether legal hold.
* Checks whether legal hold id true.
*
* @return the hasLegalHold value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public interface PolicyRule extends HasInnerModel<ManagementPolicyRule> {
boolean deleteActionOnSnapShotEnabled();

/**
* Gets the number of days after a filtered base blob is last modified when the tier to cool action is enacted
* Gets the number of days after a filtered base blob is last modified when the tier to cool action is enacted.
*
* @return the number of days after a filtered base blob is last modified when the tier to cool action is enacted
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public PublicEndpoints(Endpoints primary, Endpoints secondary) {

/**
* Gets the URLs that are used to perform a retrieval of a public blob, queue or table object.Note that
* StandardZRS and PremiumLRS accounts only return the blob endpoint.*
* StandardZRS and PremiumLRS accounts only return the blob endpoint.
*
* @return the URLs that are used to perform a retrieval of a public blob, queue or table object.Note that
* StandardZRS and PremiumLRS accounts only return the blob endpoint.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public interface StorageAccount extends GroupableResource<StorageManager, Storag
StorageAccountEncryptionKeySource encryptionKeySource();

/**
* Geets the encryption statuses indexed by storage service type.
* Gets the encryption statuses indexed by storage service type.
*
* @return the encryption statuses indexed by storage service type.
*/
Expand Down Expand Up @@ -177,7 +177,7 @@ public interface StorageAccount extends GroupableResource<StorageManager, Storag
List<String> ipAddressRangesWithAccess();

/**
* Checks storage log entries can be read from any network.
* Checks whether storage log entries can be read from any network.
*
* @return true if storage log entries can be read from any network, false otherwise
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public final class StorageAccountSkuType {
private final SkuName name;

/**
* Gets the storage account sku name.
* Gets the name of the storage account SKU.
*
* @return the storage account sku name
*/
Expand Down