diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/CHANGELOG.md b/sdk/policyinsights/azure-resourcemanager-policyinsights/CHANGELOG.md
index 6a2aea56a3f7..32301f00472c 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/CHANGELOG.md
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
-## 1.0.0-beta.3 (Unreleased)
+## 1.0.0-beta.1 (2022-01-14)
+
+- Azure Resource Manager PolicyInsights client library for Java. This package contains Microsoft Azure SDK for PolicyInsights Management SDK. Package tag package-2021-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Features Added
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/README.md b/sdk/policyinsights/azure-resourcemanager-policyinsights/README.md
index ca1dcf849346..7d24755f1424 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/README.md
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/README.md
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-policyinsights
- 1.0.0-beta.2
+ 1.0.0-beta.3
```
[//]: # ({x-version-update-end})
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/PolicyInsightsManager.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/PolicyInsightsManager.java
index 118878241144..8773a9b8a70b 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/PolicyInsightsManager.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/PolicyInsightsManager.java
@@ -200,7 +200,7 @@ public PolicyInsightsManager authenticate(TokenCredential credential, AzureProfi
.append("-")
.append("com.azure.resourcemanager.policyinsights")
.append("/")
- .append("1.0.0-beta.2");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/AttestationsClient.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/AttestationsClient.java
index 27762cb0732b..7e2363bb732e 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/AttestationsClient.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/AttestationsClient.java
@@ -12,6 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.policyinsights.fluent.models.AttestationInner;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in AttestationsClient. */
public interface AttestationsClient {
@@ -47,7 +48,7 @@ public interface AttestationsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AttestationInner> beginCreateOrUpdateAtSubscription(
@@ -62,7 +63,7 @@ SyncPoller, AttestationInner> beginCreateOrUpdateAt
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AttestationInner> beginCreateOrUpdateAtSubscription(
@@ -115,7 +116,7 @@ SyncPoller, AttestationInner> beginCreateOrUpdateAt
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at subscription scope.
+ * @return an existing attestation at subscription scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getAtSubscriptionWithResponse(String attestationName, Context context);
@@ -139,7 +140,7 @@ SyncPoller, AttestationInner> beginCreateOrUpdateAt
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteAtSubscriptionWithResponse(String attestationName, Context context);
@@ -181,7 +182,7 @@ PagedIterable listByResourceGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AttestationInner> beginCreateOrUpdateAtResourceGroup(
@@ -197,7 +198,7 @@ SyncPoller, AttestationInner> beginCreateOrUpdateAt
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AttestationInner> beginCreateOrUpdateAtResourceGroup(
@@ -256,7 +257,7 @@ AttestationInner createOrUpdateAtResourceGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource group scope.
+ * @return an existing attestation at resource group scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(
@@ -283,7 +284,7 @@ Response getByResourceGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteWithResponse(String resourceGroupName, String attestationName, Context context);
@@ -324,7 +325,7 @@ Response getByResourceGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AttestationInner> beginCreateOrUpdateAtResource(
@@ -340,7 +341,7 @@ SyncPoller, AttestationInner> beginCreateOrUpdateAt
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AttestationInner> beginCreateOrUpdateAtResource(
@@ -398,7 +399,7 @@ AttestationInner createOrUpdateAtResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource scope.
+ * @return an existing attestation at resource scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getAtResourceWithResponse(String resourceId, String attestationName, Context context);
@@ -424,7 +425,7 @@ AttestationInner createOrUpdateAtResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteAtResourceWithResponse(String resourceId, String attestationName, Context context);
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/OperationsClient.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/OperationsClient.java
index fd08a116756e..eee9909301ad 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/OperationsClient.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/OperationsClient.java
@@ -29,7 +29,7 @@ public interface OperationsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of available operations.
+ * @return list of available operations along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listWithResponse(Context context);
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyMetadatasClient.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyMetadatasClient.java
index 9a2b70311eaa..c220001ac3e7 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyMetadatasClient.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyMetadatasClient.java
@@ -34,7 +34,7 @@ public interface PolicyMetadatasClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return policy metadata resource.
+ * @return policy metadata resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getResourceWithResponse(String resourceName, Context context);
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyRestrictionsClient.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyRestrictionsClient.java
index a08ccecbf477..4e90065f73ea 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyRestrictionsClient.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyRestrictionsClient.java
@@ -33,7 +33,7 @@ public interface PolicyRestrictionsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a check policy restrictions evaluation on a resource.
+ * @return the result of a check policy restrictions evaluation on a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response checkAtSubscriptionScopeWithResponse(
@@ -64,7 +64,7 @@ CheckRestrictionsResultInner checkAtResourceGroupScope(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a check policy restrictions evaluation on a resource.
+ * @return the result of a check policy restrictions evaluation on a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response checkAtResourceGroupScopeWithResponse(
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyStatesClient.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyStatesClient.java
index 174231c66d88..446b8ae7d400 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyStatesClient.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/PolicyStatesClient.java
@@ -15,6 +15,7 @@
import com.azure.resourcemanager.policyinsights.fluent.models.SummarizeResultsInner;
import com.azure.resourcemanager.policyinsights.models.PolicyStatesResource;
import java.time.OffsetDateTime;
+import reactor.core.publisher.Mono;
/** An instance of this class provides access to all the operations defined in PolicyStatesClient. */
public interface PolicyStatesClient {
@@ -98,7 +99,7 @@ PagedIterable listQueryResultsForManagementGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return summarize action results.
+ * @return summarize action results along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response summarizeForManagementGroupWithResponse(
@@ -189,7 +190,7 @@ PagedIterable listQueryResultsForSubscription(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return summarize action results.
+ * @return summarize action results along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response summarizeForSubscriptionWithResponse(
@@ -280,7 +281,7 @@ PagedIterable listQueryResultsForResourceGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return summarize action results.
+ * @return summarize action results along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response summarizeForResourceGroupWithResponse(
@@ -374,7 +375,7 @@ PagedIterable listQueryResultsForResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return summarize action results.
+ * @return summarize action results along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response summarizeForResourceWithResponse(
@@ -387,7 +388,7 @@ Response summarizeForResourceWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginTriggerSubscriptionEvaluation(String subscriptionId);
@@ -400,7 +401,7 @@ Response summarizeForResourceWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginTriggerSubscriptionEvaluation(String subscriptionId, Context context);
@@ -436,7 +437,7 @@ Response summarizeForResourceWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginTriggerResourceGroupEvaluation(
@@ -451,7 +452,7 @@ SyncPoller, Void> beginTriggerResourceGroupEvaluation(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, Void> beginTriggerResourceGroupEvaluation(
@@ -567,7 +568,7 @@ PagedIterable listQueryResultsForPolicySetDefinition(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return summarize action results.
+ * @return summarize action results along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response summarizeForPolicySetDefinitionWithResponse(
@@ -664,7 +665,7 @@ PagedIterable listQueryResultsForPolicyDefinition(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return summarize action results.
+ * @return summarize action results along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response summarizeForPolicyDefinitionWithResponse(
@@ -762,7 +763,7 @@ SummarizeResultsInner summarizeForSubscriptionLevelPolicyAssignment(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return summarize action results.
+ * @return summarize action results along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response summarizeForSubscriptionLevelPolicyAssignmentWithResponse(
@@ -868,7 +869,7 @@ SummarizeResultsInner summarizeForResourceGroupLevelPolicyAssignment(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return summarize action results.
+ * @return summarize action results along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response summarizeForResourceGroupLevelPolicyAssignmentWithResponse(
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/RemediationsClient.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/RemediationsClient.java
index 9e0e7fcaf5b8..dd0fe9af50b4 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/RemediationsClient.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/fluent/RemediationsClient.java
@@ -66,7 +66,7 @@ PagedIterable listDeploymentsAtManagementGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response cancelAtManagementGroupWithResponse(
@@ -125,7 +125,7 @@ RemediationInner createOrUpdateAtManagementGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateAtManagementGroupWithResponse(
@@ -153,7 +153,7 @@ Response createOrUpdateAtManagementGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing remediation at management group scope.
+ * @return an existing remediation at management group scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getAtManagementGroupWithResponse(
@@ -181,7 +181,7 @@ Response getAtManagementGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteAtManagementGroupWithResponse(
@@ -234,7 +234,7 @@ PagedIterable listDeploymentsAtSubscription(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response cancelAtSubscriptionWithResponse(String remediationName, Context context);
@@ -285,7 +285,7 @@ PagedIterable listDeploymentsAtSubscription(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateAtSubscriptionWithResponse(
@@ -311,7 +311,7 @@ Response createOrUpdateAtSubscriptionWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing remediation at subscription scope.
+ * @return an existing remediation at subscription scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getAtSubscriptionWithResponse(String remediationName, Context context);
@@ -336,7 +336,7 @@ Response createOrUpdateAtSubscriptionWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteAtSubscriptionWithResponse(String remediationName, Context context);
@@ -393,7 +393,7 @@ PagedIterable listDeploymentsAtResourceGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response cancelAtResourceGroupWithResponse(
@@ -452,7 +452,7 @@ RemediationInner createOrUpdateAtResourceGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateAtResourceGroupWithResponse(
@@ -480,7 +480,7 @@ Response createOrUpdateAtResourceGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing remediation at resource group scope.
+ * @return an existing remediation at resource group scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(
@@ -508,7 +508,7 @@ Response getByResourceGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteWithResponse(String resourceGroupName, String remediationName, Context context);
@@ -564,7 +564,7 @@ PagedIterable listDeploymentsAtResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response cancelAtResourceWithResponse(String resourceId, String remediationName, Context context);
@@ -620,7 +620,7 @@ PagedIterable listDeploymentsAtResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateAtResourceWithResponse(
@@ -648,7 +648,7 @@ Response createOrUpdateAtResourceWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing remediation at resource scope.
+ * @return an existing remediation at resource scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getAtResourceWithResponse(String resourceId, String remediationName, Context context);
@@ -675,7 +675,7 @@ Response createOrUpdateAtResourceWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the remediation definition.
+ * @return the remediation definition along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteAtResourceWithResponse(String resourceId, String remediationName, Context context);
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/AttestationsClientImpl.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/AttestationsClientImpl.java
index 0d8ac5a09c73..576faa370694 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/AttestationsClientImpl.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/AttestationsClientImpl.java
@@ -268,7 +268,8 @@ Mono> listForResourceNext(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all attestations for the subscription.
+ * @return all attestations for the subscription along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(Integer top, String filter) {
@@ -319,7 +320,8 @@ private Mono> listSinglePageAsync(Integer top, S
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all attestations for the subscription.
+ * @return all attestations for the subscription along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(Integer top, String filter, Context context) {
@@ -438,7 +440,7 @@ public PagedIterable list(Integer top, String filter, Context
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createOrUpdateAtSubscriptionWithResponseAsync(
@@ -490,7 +492,7 @@ private Mono>> createOrUpdateAtSubscriptionWithRespons
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createOrUpdateAtSubscriptionWithResponseAsync(
@@ -538,7 +540,7 @@ private Mono>> createOrUpdateAtSubscriptionWithRespons
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, AttestationInner> beginCreateOrUpdateAtSubscriptionAsync(
@@ -564,7 +566,7 @@ private PollerFlux, AttestationInner> beginCreateOr
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, AttestationInner> beginCreateOrUpdateAtSubscriptionAsync(
@@ -586,7 +588,7 @@ private PollerFlux, AttestationInner> beginCreateOr
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, AttestationInner> beginCreateOrUpdateAtSubscription(
@@ -603,7 +605,7 @@ public SyncPoller, AttestationInner> beginCreateOrU
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, AttestationInner> beginCreateOrUpdateAtSubscription(
@@ -619,7 +621,7 @@ public SyncPoller, AttestationInner> beginCreateOrU
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAtSubscriptionAsync(
@@ -638,7 +640,7 @@ private Mono createOrUpdateAtSubscriptionAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAtSubscriptionAsync(
@@ -687,7 +689,8 @@ public AttestationInner createOrUpdateAtSubscription(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at subscription scope.
+ * @return an existing attestation at subscription scope along with {@link Response} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getAtSubscriptionWithResponseAsync(String attestationName) {
@@ -731,7 +734,8 @@ private Mono> getAtSubscriptionWithResponseAsync(Stri
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at subscription scope.
+ * @return an existing attestation at subscription scope along with {@link Response} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getAtSubscriptionWithResponseAsync(
@@ -772,7 +776,7 @@ private Mono> getAtSubscriptionWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at subscription scope.
+ * @return an existing attestation at subscription scope on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getAtSubscriptionAsync(String attestationName) {
@@ -809,7 +813,7 @@ public AttestationInner getAtSubscription(String attestationName) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at subscription scope.
+ * @return an existing attestation at subscription scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getAtSubscriptionWithResponse(String attestationName, Context context) {
@@ -823,7 +827,7 @@ public Response getAtSubscriptionWithResponse(String attestati
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> deleteAtSubscriptionWithResponseAsync(String attestationName) {
@@ -867,7 +871,7 @@ private Mono> deleteAtSubscriptionWithResponseAsync(String attest
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> deleteAtSubscriptionWithResponseAsync(String attestationName, Context context) {
@@ -907,7 +911,7 @@ private Mono> deleteAtSubscriptionWithResponseAsync(String attest
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono deleteAtSubscriptionAsync(String attestationName) {
@@ -935,7 +939,7 @@ public void deleteAtSubscription(String attestationName) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response deleteAtSubscriptionWithResponse(String attestationName, Context context) {
@@ -951,7 +955,8 @@ public Response deleteAtSubscriptionWithResponse(String attestationName, C
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all attestations for the resource group.
+ * @return all attestations for the resource group along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listByResourceGroupSinglePageAsync(
@@ -1009,7 +1014,8 @@ private Mono> listByResourceGroupSinglePageAsync
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all attestations for the resource group.
+ * @return all attestations for the resource group along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listByResourceGroupSinglePageAsync(
@@ -1153,7 +1159,7 @@ public PagedIterable listByResourceGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createOrUpdateAtResourceGroupWithResponseAsync(
@@ -1211,7 +1217,7 @@ private Mono>> createOrUpdateAtResourceGroupWithRespon
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createOrUpdateAtResourceGroupWithResponseAsync(
@@ -1265,7 +1271,7 @@ private Mono>> createOrUpdateAtResourceGroupWithRespon
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, AttestationInner> beginCreateOrUpdateAtResourceGroupAsync(
@@ -1292,7 +1298,7 @@ private PollerFlux, AttestationInner> beginCreateOr
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, AttestationInner> beginCreateOrUpdateAtResourceGroupAsync(
@@ -1315,7 +1321,7 @@ private PollerFlux, AttestationInner> beginCreateOr
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, AttestationInner> beginCreateOrUpdateAtResourceGroup(
@@ -1333,7 +1339,7 @@ public SyncPoller, AttestationInner> beginCreateOrU
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, AttestationInner> beginCreateOrUpdateAtResourceGroup(
@@ -1351,7 +1357,7 @@ public SyncPoller, AttestationInner> beginCreateOrU
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAtResourceGroupAsync(
@@ -1371,7 +1377,7 @@ private Mono createOrUpdateAtResourceGroupAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAtResourceGroupAsync(
@@ -1424,7 +1430,8 @@ public AttestationInner createOrUpdateAtResourceGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource group scope.
+ * @return an existing attestation at resource group scope along with {@link Response} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getByResourceGroupWithResponseAsync(
@@ -1475,7 +1482,8 @@ private Mono> getByResourceGroupWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource group scope.
+ * @return an existing attestation at resource group scope along with {@link Response} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getByResourceGroupWithResponseAsync(
@@ -1522,7 +1530,7 @@ private Mono> getByResourceGroupWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource group scope.
+ * @return an existing attestation at resource group scope on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getByResourceGroupAsync(String resourceGroupName, String attestationName) {
@@ -1561,7 +1569,7 @@ public AttestationInner getByResourceGroup(String resourceGroupName, String atte
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource group scope.
+ * @return an existing attestation at resource group scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getByResourceGroupWithResponse(
@@ -1577,7 +1585,7 @@ public Response getByResourceGroupWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> deleteWithResponseAsync(String resourceGroupName, String attestationName) {
@@ -1627,7 +1635,7 @@ private Mono> deleteWithResponseAsync(String resourceGroupName, S
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> deleteWithResponseAsync(
@@ -1674,7 +1682,7 @@ private Mono> deleteWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono deleteAsync(String resourceGroupName, String attestationName) {
@@ -1705,7 +1713,7 @@ public void delete(String resourceGroupName, String attestationName) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response deleteWithResponse(String resourceGroupName, String attestationName, Context context) {
@@ -1721,7 +1729,8 @@ public Response deleteWithResponse(String resourceGroupName, String attest
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all attestations for a resource.
+ * @return all attestations for a resource along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listForResourceSinglePageAsync(
@@ -1765,7 +1774,8 @@ private Mono> listForResourceSinglePageAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all attestations for a resource.
+ * @return all attestations for a resource along with {@link PagedResponse} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listForResourceSinglePageAsync(
@@ -1894,7 +1904,7 @@ public PagedIterable listForResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createOrUpdateAtResourceWithResponseAsync(
@@ -1944,7 +1954,7 @@ private Mono>> createOrUpdateAtResourceWithResponseAsy
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono>> createOrUpdateAtResourceWithResponseAsync(
@@ -1984,7 +1994,7 @@ private Mono>> createOrUpdateAtResourceWithResponseAsy
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, AttestationInner> beginCreateOrUpdateAtResourceAsync(
@@ -2011,7 +2021,7 @@ private PollerFlux, AttestationInner> beginCreateOr
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
private PollerFlux, AttestationInner> beginCreateOrUpdateAtResourceAsync(
@@ -2034,7 +2044,7 @@ private PollerFlux, AttestationInner> beginCreateOr
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, AttestationInner> beginCreateOrUpdateAtResource(
@@ -2052,7 +2062,7 @@ public SyncPoller, AttestationInner> beginCreateOrU
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
public SyncPoller, AttestationInner> beginCreateOrUpdateAtResource(
@@ -2069,7 +2079,7 @@ public SyncPoller, AttestationInner> beginCreateOrU
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAtResourceAsync(
@@ -2089,7 +2099,7 @@ private Mono createOrUpdateAtResourceAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an attestation resource.
+ * @return an attestation resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono createOrUpdateAtResourceAsync(
@@ -2142,7 +2152,8 @@ public AttestationInner createOrUpdateAtResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource scope.
+ * @return an existing attestation at resource scope along with {@link Response} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getAtResourceWithResponseAsync(String resourceId, String attestationName) {
@@ -2179,7 +2190,8 @@ private Mono> getAtResourceWithResponseAsync(String r
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource scope.
+ * @return an existing attestation at resource scope along with {@link Response} on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getAtResourceWithResponseAsync(
@@ -2212,7 +2224,7 @@ private Mono> getAtResourceWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource scope.
+ * @return an existing attestation at resource scope on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getAtResourceAsync(String resourceId, String attestationName) {
@@ -2251,7 +2263,7 @@ public AttestationInner getAtResource(String resourceId, String attestationName)
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return an existing attestation at resource scope.
+ * @return an existing attestation at resource scope along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getAtResourceWithResponse(
@@ -2267,7 +2279,7 @@ public Response getAtResourceWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> deleteAtResourceWithResponseAsync(String resourceId, String attestationName) {
@@ -2304,7 +2316,7 @@ private Mono> deleteAtResourceWithResponseAsync(String resourceId
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return the {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> deleteAtResourceWithResponseAsync(
@@ -2337,7 +2349,7 @@ private Mono> deleteAtResourceWithResponseAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the completion.
+ * @return A {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono deleteAtResourceAsync(String resourceId, String attestationName) {
@@ -2368,7 +2380,7 @@ public void deleteAtResource(String resourceId, String attestationName) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response deleteAtResourceWithResponse(String resourceId, String attestationName, Context context) {
@@ -2382,7 +2394,7 @@ public Response deleteAtResourceWithResponse(String resourceId, String att
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of attestations.
+ * @return list of attestations along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listForSubscriptionNextSinglePageAsync(String nextLink) {
@@ -2419,7 +2431,7 @@ private Mono> listForSubscriptionNextSinglePageA
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of attestations.
+ * @return list of attestations along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listForSubscriptionNextSinglePageAsync(
@@ -2455,7 +2467,7 @@ private Mono> listForSubscriptionNextSinglePageA
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of attestations.
+ * @return list of attestations along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listForResourceGroupNextSinglePageAsync(String nextLink) {
@@ -2492,7 +2504,7 @@ private Mono> listForResourceGroupNextSinglePage
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of attestations.
+ * @return list of attestations along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listForResourceGroupNextSinglePageAsync(
@@ -2528,7 +2540,7 @@ private Mono> listForResourceGroupNextSinglePage
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of attestations.
+ * @return list of attestations along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listForResourceNextSinglePageAsync(String nextLink) {
@@ -2564,7 +2576,7 @@ private Mono> listForResourceNextSinglePageAsync
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of attestations.
+ * @return list of attestations along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listForResourceNextSinglePageAsync(String nextLink, Context context) {
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/OperationsClientImpl.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/OperationsClientImpl.java
index 39d095ff4d2c..1136ac7689e0 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/OperationsClientImpl.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/OperationsClientImpl.java
@@ -69,7 +69,7 @@ Mono> list(
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of available operations.
+ * @return list of available operations along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listWithResponseAsync() {
@@ -93,7 +93,7 @@ private Mono> listWithResponseAsync() {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of available operations.
+ * @return list of available operations along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listWithResponseAsync(Context context) {
@@ -114,7 +114,7 @@ private Mono> listWithResponseAsync(Context
*
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of available operations.
+ * @return list of available operations on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono listAsync() {
@@ -148,7 +148,7 @@ public OperationsListResultsInner list() {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of available operations.
+ * @return list of available operations along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response listWithResponse(Context context) {
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyEventsClientImpl.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyEventsClientImpl.java
index 000c8e026abb..c0647b8b9b2f 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyEventsClientImpl.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyEventsClientImpl.java
@@ -279,7 +279,7 @@ Mono> nextLink(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForManagementGroupSinglePageAsync(
@@ -359,7 +359,7 @@ private Mono> listQueryResultsForManagementGroup
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForManagementGroupSinglePageAsync(
@@ -608,7 +608,7 @@ public PagedIterable listQueryResultsForManagementGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForSubscriptionSinglePageAsync(
@@ -685,7 +685,7 @@ private Mono> listQueryResultsForSubscriptionSin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForSubscriptionSinglePageAsync(
@@ -932,7 +932,7 @@ public PagedIterable listQueryResultsForSubscription(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForResourceGroupSinglePageAsync(
@@ -1016,7 +1016,7 @@ private Mono> listQueryResultsForResourceGroupSi
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForResourceGroupSinglePageAsync(
@@ -1289,7 +1289,7 @@ public PagedIterable listQueryResultsForResourceGroup(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForResourceSinglePageAsync(
@@ -1369,7 +1369,7 @@ private Mono> listQueryResultsForResourceSingleP
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForResourceSinglePageAsync(
@@ -1626,7 +1626,7 @@ public PagedIterable listQueryResultsForResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForPolicySetDefinitionSinglePageAsync(
@@ -1713,7 +1713,7 @@ private Mono> listQueryResultsForPolicySetDefini
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForPolicySetDefinitionSinglePageAsync(
@@ -1999,7 +1999,7 @@ public PagedIterable listQueryResultsForPolicySetDefinition(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForPolicyDefinitionSinglePageAsync(
@@ -2085,7 +2085,7 @@ private Mono> listQueryResultsForPolicyDefinitio
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForPolicyDefinitionSinglePageAsync(
@@ -2370,7 +2370,7 @@ public PagedIterable listQueryResultsForPolicyDefinition(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForSubscriptionLevelPolicyAssignmentSinglePageAsync(
@@ -2456,7 +2456,7 @@ private Mono> listQueryResultsForSubscriptionLev
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForSubscriptionLevelPolicyAssignmentSinglePageAsync(
@@ -2742,7 +2742,7 @@ public PagedIterable listQueryResultsForSubscriptionLevelPolic
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForResourceGroupLevelPolicyAssignmentSinglePageAsync(
@@ -2835,7 +2835,7 @@ private Mono> listQueryResultsForResourceGroupLe
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listQueryResultsForResourceGroupLevelPolicyAssignmentSinglePageAsync(
@@ -3152,7 +3152,7 @@ public PagedIterable listQueryResultsForResourceGroupLevelPoli
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> nextLinkSinglePageAsync(String nextLink) {
@@ -3181,7 +3181,7 @@ private Mono> nextLinkSinglePageAsync(String nex
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return query results.
+ * @return query results along with {@link PagedResponse} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> nextLinkSinglePageAsync(String nextLink, Context context) {
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyMetadatasClientImpl.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyMetadatasClientImpl.java
index 2d2a19c27e15..dcec9ed5e929 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyMetadatasClientImpl.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyMetadatasClientImpl.java
@@ -100,7 +100,7 @@ Mono> listNext(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return policy metadata resource.
+ * @return policy metadata resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getResourceWithResponseAsync(String resourceName) {
@@ -129,7 +129,7 @@ private Mono> getResourceWithResponseAsync(String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return policy metadata resource.
+ * @return policy metadata resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getResourceWithResponseAsync(String resourceName, Context context) {
@@ -155,7 +155,7 @@ private Mono> getResourceWithResponseAsync(String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return policy metadata resource.
+ * @return policy metadata resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getResourceAsync(String resourceName) {
@@ -192,7 +192,7 @@ public PolicyMetadataInner getResource(String resourceName) {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return policy metadata resource.
+ * @return policy metadata resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getResourceWithResponse(String resourceName, Context context) {
@@ -206,7 +206,8 @@ public Response getResourceWithResponse(String resourceName
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of the policy metadata resources.
+ * @return a list of the policy metadata resources along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(Integer top) {
@@ -240,7 +241,8 @@ private Mono> listSinglePageAsync(Integer
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a list of the policy metadata resources.
+ * @return a list of the policy metadata resources along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listSinglePageAsync(Integer top, Context context) {
@@ -344,7 +346,8 @@ public PagedIterable list(Integer top, Context context)
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return collection of policy metadata resources.
+ * @return collection of policy metadata resources along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink) {
@@ -380,7 +383,8 @@ private Mono> listNextSinglePageAsync(Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return collection of policy metadata resources.
+ * @return collection of policy metadata resources along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listNextSinglePageAsync(String nextLink, Context context) {
diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyRestrictionsClientImpl.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyRestrictionsClientImpl.java
index a072a599a08a..63179c666049 100644
--- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyRestrictionsClientImpl.java
+++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyRestrictionsClientImpl.java
@@ -91,7 +91,8 @@ Mono> checkAtResourceGroupScope(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a check policy restrictions evaluation on a resource.
+ * @return the result of a check policy restrictions evaluation on a resource along with {@link Response} on
+ * successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> checkAtSubscriptionScopeWithResponseAsync(
@@ -137,7 +138,8 @@ private Mono> checkAtSubscriptionScopeWit
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a check policy restrictions evaluation on a resource.
+ * @return the result of a check policy restrictions evaluation on a resource along with {@link Response} on
+ * successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> checkAtSubscriptionScopeWithResponseAsync(
@@ -174,7 +176,8 @@ private Mono> checkAtSubscriptionScopeWit
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a check policy restrictions evaluation on a resource.
+ * @return the result of a check policy restrictions evaluation on a resource on successful completion of {@link
+ * Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono checkAtSubscriptionScopeAsync(CheckRestrictionsRequest parameters) {
@@ -211,7 +214,7 @@ public CheckRestrictionsResultInner checkAtSubscriptionScope(CheckRestrictionsRe
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a check policy restrictions evaluation on a resource.
+ * @return the result of a check policy restrictions evaluation on a resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response checkAtSubscriptionScopeWithResponse(
@@ -228,7 +231,8 @@ public Response checkAtSubscriptionScopeWithRespon
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the result of a check policy restrictions evaluation on a resource.
+ * @return the result of a check policy restrictions evaluation on a resource along with {@link Response} on
+ * successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> checkAtResourceGroupScopeWithResponseAsync(
@@ -281,7 +285,8 @@ private Mono