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> checkAtResourceGroupScopeWi * @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( @@ -330,7 +335,8 @@ private Mono> checkAtResourceGroupScopeWi * @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 checkAtResourceGroupScopeAsync( @@ -373,7 +379,7 @@ public CheckRestrictionsResultInner 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}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response checkAtResourceGroupScopeWithResponse( diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyStatesClientImpl.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyStatesClientImpl.java index af1660f69c5a..2bc5e85dd860 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyStatesClientImpl.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyStatesClientImpl.java @@ -471,7 +471,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( @@ -557,7 +557,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( @@ -856,7 +856,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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForManagementGroupWithResponseAsync( @@ -908,7 +908,7 @@ private Mono> summarizeForManagementGroupWithRes * @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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForManagementGroupWithResponseAsync( @@ -961,7 +961,7 @@ private Mono> summarizeForManagementGroupWithRes * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForManagementGroupAsync( @@ -984,7 +984,7 @@ private Mono summarizeForManagementGroupAsync( * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForManagementGroupAsync(String managementGroupName) { @@ -1035,7 +1035,7 @@ public SummarizeResultsInner summarizeForManagementGroup(String managementGroupN * @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 summarize action results. + * @return summarize action results along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response summarizeForManagementGroupWithResponse( @@ -1071,7 +1071,7 @@ public Response summarizeForManagementGroupWithResponse( * @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( @@ -1154,7 +1154,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( @@ -1432,7 +1432,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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForSubscriptionWithResponseAsync( @@ -1481,7 +1481,7 @@ private Mono> summarizeForSubscriptionWithRespon * @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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForSubscriptionWithResponseAsync( @@ -1526,7 +1526,7 @@ private Mono> summarizeForSubscriptionWithRespon * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForSubscriptionAsync( @@ -1549,7 +1549,7 @@ private Mono summarizeForSubscriptionAsync( * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForSubscriptionAsync(String subscriptionId) { @@ -1600,7 +1600,7 @@ public SummarizeResultsInner summarizeForSubscription(String subscriptionId) { * @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 summarize action results. + * @return summarize action results along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response summarizeForSubscriptionWithResponse( @@ -1631,7 +1631,7 @@ public Response summarizeForSubscriptionWithResponse( * @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( @@ -1721,7 +1721,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( @@ -2046,7 +2046,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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForResourceGroupWithResponseAsync( @@ -2106,7 +2106,7 @@ private Mono> summarizeForResourceGroupWithRespo * @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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForResourceGroupWithResponseAsync( @@ -2163,7 +2163,7 @@ private Mono> summarizeForResourceGroupWithRespo * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForResourceGroupAsync( @@ -2192,7 +2192,7 @@ private Mono summarizeForResourceGroupAsync( * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForResourceGroupAsync( @@ -2246,7 +2246,7 @@ public SummarizeResultsInner summarizeForResourceGroup(String subscriptionId, St * @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 summarize action results. + * @return summarize action results along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response summarizeForResourceGroupWithResponse( @@ -2285,7 +2285,7 @@ public Response summarizeForResourceGroupWithResponse( * @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( @@ -2371,7 +2371,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( @@ -2661,7 +2661,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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForResourceWithResponseAsync( @@ -2710,7 +2710,7 @@ private Mono> summarizeForResourceWithResponseAs * @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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForResourceWithResponseAsync( @@ -2755,7 +2755,7 @@ private Mono> summarizeForResourceWithResponseAs * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForResourceAsync( @@ -2778,7 +2778,7 @@ private Mono summarizeForResourceAsync( * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForResourceAsync(String resourceId) { @@ -2829,7 +2829,7 @@ public SummarizeResultsInner summarizeForResource(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 summarize action results. + * @return summarize action results along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response summarizeForResourceWithResponse( @@ -2844,7 +2844,7 @@ public Response summarizeForResourceWithResponse( * @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>> triggerSubscriptionEvaluationWithResponseAsync(String subscriptionId) { @@ -2876,7 +2876,7 @@ private Mono>> triggerSubscriptionEvaluationWithRespon * @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>> triggerSubscriptionEvaluationWithResponseAsync( @@ -2904,7 +2904,7 @@ private Mono>> triggerSubscriptionEvaluationWithRespon * @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.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginTriggerSubscriptionEvaluationAsync(String subscriptionId) { @@ -2923,7 +2923,7 @@ private PollerFlux, Void> beginTriggerSubscriptionEvaluationAsy * @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.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginTriggerSubscriptionEvaluationAsync( @@ -2942,7 +2942,7 @@ private PollerFlux, Void> beginTriggerSubscriptionEvaluationAsy * @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.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginTriggerSubscriptionEvaluation(String subscriptionId) { @@ -2957,7 +2957,7 @@ public SyncPoller, Void> beginTriggerSubscriptionEvaluation(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 the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginTriggerSubscriptionEvaluation( @@ -2972,7 +2972,7 @@ public SyncPoller, Void> beginTriggerSubscriptionEvaluation( * @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 triggerSubscriptionEvaluationAsync(String subscriptionId) { @@ -2989,7 +2989,7 @@ private Mono triggerSubscriptionEvaluationAsync(String subscriptionId) { * @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 triggerSubscriptionEvaluationAsync(String subscriptionId, Context context) { @@ -3033,7 +3033,7 @@ public void triggerSubscriptionEvaluation(String subscriptionId, 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 the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> triggerResourceGroupEvaluationWithResponseAsync( @@ -3071,7 +3071,7 @@ private Mono>> triggerResourceGroupEvaluationWithRespo * @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>> triggerResourceGroupEvaluationWithResponseAsync( @@ -3105,7 +3105,7 @@ private Mono>> triggerResourceGroupEvaluationWithRespo * @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.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginTriggerResourceGroupEvaluationAsync( @@ -3127,7 +3127,7 @@ private PollerFlux, Void> beginTriggerResourceGroupEvaluationAs * @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.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginTriggerResourceGroupEvaluationAsync( @@ -3148,7 +3148,7 @@ private PollerFlux, Void> beginTriggerResourceGroupEvaluationAs * @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.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginTriggerResourceGroupEvaluation( @@ -3165,7 +3165,7 @@ public SyncPoller, Void> beginTriggerResourceGroupEvaluation( * @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.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginTriggerResourceGroupEvaluation( @@ -3181,7 +3181,7 @@ public SyncPoller, Void> beginTriggerResourceGroupEvaluation( * @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 triggerResourceGroupEvaluationAsync(String subscriptionId, String resourceGroupName) { @@ -3199,7 +3199,7 @@ private Mono triggerResourceGroupEvaluationAsync(String subscriptionId, St * @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 triggerResourceGroupEvaluationAsync( @@ -3261,7 +3261,7 @@ public void triggerResourceGroupEvaluation(String subscriptionId, String resourc * @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( @@ -3354,7 +3354,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( @@ -3682,7 +3682,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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForPolicySetDefinitionWithResponseAsync( @@ -3745,7 +3745,7 @@ private Mono> summarizeForPolicySetDefinitionWit * @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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForPolicySetDefinitionWithResponseAsync( @@ -3805,7 +3805,7 @@ private Mono> summarizeForPolicySetDefinitionWit * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForPolicySetDefinitionAsync( @@ -3835,7 +3835,7 @@ private Mono summarizeForPolicySetDefinitionAsync( * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForPolicySetDefinitionAsync( @@ -3892,7 +3892,7 @@ public SummarizeResultsInner summarizeForPolicySetDefinition( * @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 summarize action results. + * @return summarize action results along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response summarizeForPolicySetDefinitionWithResponse( @@ -3931,7 +3931,7 @@ public Response summarizeForPolicySetDefinitionWithRespon * @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( @@ -4023,7 +4023,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( @@ -4350,7 +4350,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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForPolicyDefinitionWithResponseAsync( @@ -4412,7 +4412,7 @@ private Mono> summarizeForPolicyDefinitionWithRe * @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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForPolicyDefinitionWithResponseAsync( @@ -4471,7 +4471,7 @@ private Mono> summarizeForPolicyDefinitionWithRe * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForPolicyDefinitionAsync( @@ -4501,7 +4501,7 @@ private Mono summarizeForPolicyDefinitionAsync( * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForPolicyDefinitionAsync( @@ -4556,7 +4556,7 @@ public SummarizeResultsInner summarizeForPolicyDefinition(String subscriptionId, * @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 summarize action results. + * @return summarize action results along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response summarizeForPolicyDefinitionWithResponse( @@ -4595,7 +4595,7 @@ public Response summarizeForPolicyDefinitionWithResponse( * @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( @@ -4687,7 +4687,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( @@ -5014,7 +5014,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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForSubscriptionLevelPolicyAssignmentWithResponseAsync( @@ -5076,7 +5076,7 @@ private Mono> summarizeForSubscriptionLevelPolic * @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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForSubscriptionLevelPolicyAssignmentWithResponseAsync( @@ -5135,7 +5135,7 @@ private Mono> summarizeForSubscriptionLevelPolic * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForSubscriptionLevelPolicyAssignmentAsync( @@ -5165,7 +5165,7 @@ private Mono summarizeForSubscriptionLevelPolicyAssignmen * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForSubscriptionLevelPolicyAssignmentAsync( @@ -5223,7 +5223,7 @@ public SummarizeResultsInner summarizeForSubscriptionLevelPolicyAssignment( * @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 summarize action results. + * @return summarize action results along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response summarizeForSubscriptionLevelPolicyAssignmentWithResponse( @@ -5263,7 +5263,7 @@ public Response summarizeForSubscriptionLevelPolicyAssign * @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( @@ -5362,7 +5362,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( @@ -5715,7 +5715,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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForResourceGroupLevelPolicyAssignmentWithResponseAsync( @@ -5784,7 +5784,7 @@ private Mono> summarizeForResourceGroupLevelPoli * @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 summarize action results. + * @return summarize action results along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> summarizeForResourceGroupLevelPolicyAssignmentWithResponseAsync( @@ -5850,7 +5850,7 @@ private Mono> summarizeForResourceGroupLevelPoli * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForResourceGroupLevelPolicyAssignmentAsync( @@ -5882,7 +5882,7 @@ private Mono summarizeForResourceGroupLevelPolicyAssignme * @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 summarize action results. + * @return summarize action results on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono summarizeForResourceGroupLevelPolicyAssignmentAsync( @@ -5942,7 +5942,7 @@ public SummarizeResultsInner summarizeForResourceGroupLevelPolicyAssignment( * @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 summarize action results. + * @return summarize action results along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response summarizeForResourceGroupLevelPolicyAssignmentWithResponse( @@ -5966,7 +5966,7 @@ public Response summarizeForResourceGroupLevelPolicyAssig * @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) { @@ -5995,7 +5995,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/PolicyTrackedResourcesClientImpl.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyTrackedResourcesClientImpl.java index d9d2ada0359d..a527ed38e6b8 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyTrackedResourcesClientImpl.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/PolicyTrackedResourcesClientImpl.java @@ -177,7 +177,7 @@ Mono> listQueryResultsForResourceNe * @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( @@ -232,7 +232,7 @@ private Mono> listQueryResultsForManag * @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( @@ -373,7 +373,7 @@ public PagedIterable listQueryResultsForManagementGr * @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( @@ -427,7 +427,7 @@ private Mono> listQueryResultsForSubsc * @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( @@ -561,7 +561,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( @@ -621,7 +621,7 @@ private Mono> listQueryResultsForResou * @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( @@ -768,7 +768,7 @@ public PagedIterable listQueryResultsForResourceGrou * @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( @@ -820,7 +820,7 @@ private Mono> listQueryResultsForResou * @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( @@ -957,7 +957,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> listQueryResultsForManagementGroupNextSinglePageAsync( @@ -997,7 +997,7 @@ private Mono> listQueryResultsForManag * @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> listQueryResultsForManagementGroupNextSinglePageAsync( @@ -1033,7 +1033,7 @@ private Mono> listQueryResultsForManag * @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> listQueryResultsForSubscriptionNextSinglePageAsync( @@ -1072,7 +1072,7 @@ private Mono> listQueryResultsForSubsc * @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> listQueryResultsForSubscriptionNextSinglePageAsync( @@ -1108,7 +1108,7 @@ private Mono> listQueryResultsForSubsc * @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> listQueryResultsForResourceGroupNextSinglePageAsync( @@ -1147,7 +1147,7 @@ private Mono> listQueryResultsForResou * @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> listQueryResultsForResourceGroupNextSinglePageAsync( @@ -1183,7 +1183,7 @@ private Mono> listQueryResultsForResou * @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> listQueryResultsForResourceNextSinglePageAsync( @@ -1222,7 +1222,7 @@ private Mono> listQueryResultsForResou * @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> listQueryResultsForResourceNextSinglePageAsync( diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/RemediationsClientImpl.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/RemediationsClientImpl.java index ead084752cb6..2aa03993b565 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/RemediationsClientImpl.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/implementation/RemediationsClientImpl.java @@ -494,7 +494,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 deployments for a remediation at management group scope. + * @return all deployments for a remediation at management group scope along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtManagementGroupSinglePageAsync( @@ -551,7 +552,8 @@ private Mono> listDeploymentsAtManagem * @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 deployments for a remediation at management group scope. + * @return all deployments for a remediation at management group scope along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtManagementGroupSinglePageAsync( @@ -697,7 +699,7 @@ public PagedIterable listDeploymentsAtManagementGrou * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> cancelAtManagementGroupWithResponseAsync( @@ -743,7 +745,7 @@ private Mono> cancelAtManagementGroupWithResponseAsyn * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> cancelAtManagementGroupWithResponseAsync( @@ -785,7 +787,7 @@ private Mono> cancelAtManagementGroupWithResponseAsyn * @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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono cancelAtManagementGroupAsync(String managementGroupId, String remediationName) { @@ -824,7 +826,7 @@ public RemediationInner cancelAtManagementGroup(String managementGroupId, 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 the remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response cancelAtManagementGroupWithResponse( @@ -841,7 +843,8 @@ public Response cancelAtManagementGroupWithResponse( * @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 remediations for the management group. + * @return all remediations for the management group along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForManagementGroupSinglePageAsync( @@ -894,7 +897,8 @@ private Mono> listForManagementGroupSinglePageAs * @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 remediations for the management group. + * @return all remediations for the management group along with {@link PagedResponse} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForManagementGroupSinglePageAsync( @@ -1034,7 +1038,7 @@ public PagedIterable listForManagementGroup( * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateAtManagementGroupWithResponseAsync( @@ -1087,7 +1091,7 @@ private Mono> createOrUpdateAtManagementGroupWithResp * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateAtManagementGroupWithResponseAsync( @@ -1136,7 +1140,7 @@ private Mono> createOrUpdateAtManagementGroupWithResp * @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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createOrUpdateAtManagementGroupAsync( @@ -1179,7 +1183,7 @@ public RemediationInner createOrUpdateAtManagementGroup( * @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 remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateAtManagementGroupWithResponse( @@ -1196,7 +1200,8 @@ public Response createOrUpdateAtManagementGroupWithResponse( * @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 remediation at management group scope. + * @return an existing remediation at management group scope along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getAtManagementGroupWithResponseAsync( @@ -1242,7 +1247,8 @@ private Mono> getAtManagementGroupWithResponseAsync( * @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 remediation at management group scope. + * @return an existing remediation at management group scope along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getAtManagementGroupWithResponseAsync( @@ -1284,7 +1290,7 @@ private Mono> getAtManagementGroupWithResponseAsync( * @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 remediation at management group scope. + * @return an existing remediation at management group scope on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAtManagementGroupAsync(String managementGroupId, String remediationName) { @@ -1323,7 +1329,7 @@ public RemediationInner getAtManagementGroup(String managementGroupId, String re * @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 remediation at management group scope. + * @return an existing remediation at management group scope along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getAtManagementGroupWithResponse( @@ -1339,7 +1345,7 @@ public Response getAtManagementGroupWithResponse( * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteAtManagementGroupWithResponseAsync( @@ -1385,7 +1391,7 @@ private Mono> deleteAtManagementGroupWithResponseAsyn * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteAtManagementGroupWithResponseAsync( @@ -1427,7 +1433,7 @@ private Mono> deleteAtManagementGroupWithResponseAsyn * @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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAtManagementGroupAsync(String managementGroupId, String remediationName) { @@ -1466,7 +1472,7 @@ public RemediationInner deleteAtManagementGroup(String managementGroupId, 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 the remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteAtManagementGroupWithResponse( @@ -1482,7 +1488,8 @@ public Response deleteAtManagementGroupWithResponse( * @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 deployments for a remediation at subscription scope. + * @return all deployments for a remediation at subscription scope along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtSubscriptionSinglePageAsync( @@ -1538,7 +1545,8 @@ private Mono> listDeploymentsAtSubscri * @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 deployments for a remediation at subscription scope. + * @return all deployments for a remediation at subscription scope along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtSubscriptionSinglePageAsync( @@ -1675,7 +1683,7 @@ public PagedIterable listDeploymentsAtSubscription( * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> cancelAtSubscriptionWithResponseAsync(String remediationName) { @@ -1719,7 +1727,7 @@ private Mono> cancelAtSubscriptionWithResponseAsync(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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> cancelAtSubscriptionWithResponseAsync( @@ -1760,7 +1768,7 @@ private Mono> cancelAtSubscriptionWithResponseAsync( * @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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono cancelAtSubscriptionAsync(String remediationName) { @@ -1797,7 +1805,7 @@ public RemediationInner cancelAtSubscription(String remediationName) { * @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 remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response cancelAtSubscriptionWithResponse(String remediationName, Context context) { @@ -1812,7 +1820,8 @@ public Response cancelAtSubscriptionWithResponse(String remedi * @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 remediations for the subscription. + * @return all remediations for the subscription along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Integer top, String filter) { @@ -1863,7 +1872,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 remediations for the subscription. + * @return all remediations 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) { @@ -1982,7 +1992,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 the remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateAtSubscriptionWithResponseAsync( @@ -2034,7 +2044,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 the remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateAtSubscriptionWithResponseAsync( @@ -2082,7 +2092,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 the remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createOrUpdateAtSubscriptionAsync( @@ -2122,7 +2132,7 @@ public RemediationInner createOrUpdateAtSubscription(String remediationName, Rem * @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 remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateAtSubscriptionWithResponse( @@ -2137,7 +2147,8 @@ public Response createOrUpdateAtSubscriptionWithResponse( * @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 remediation at subscription scope. + * @return an existing remediation at subscription scope along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getAtSubscriptionWithResponseAsync(String remediationName) { @@ -2181,7 +2192,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 remediation at subscription scope. + * @return an existing remediation at subscription scope along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getAtSubscriptionWithResponseAsync( @@ -2222,7 +2234,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 remediation at subscription scope. + * @return an existing remediation at subscription scope on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAtSubscriptionAsync(String remediationName) { @@ -2259,7 +2271,7 @@ public RemediationInner getAtSubscription(String remediationName) { * @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 remediation at subscription scope. + * @return an existing remediation at subscription scope along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getAtSubscriptionWithResponse(String remediationName, Context context) { @@ -2273,7 +2285,7 @@ public Response getAtSubscriptionWithResponse(String remediati * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteAtSubscriptionWithResponseAsync(String remediationName) { @@ -2317,7 +2329,7 @@ private Mono> deleteAtSubscriptionWithResponseAsync(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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteAtSubscriptionWithResponseAsync( @@ -2358,7 +2370,7 @@ private Mono> deleteAtSubscriptionWithResponseAsync( * @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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAtSubscriptionAsync(String remediationName) { @@ -2395,7 +2407,7 @@ public RemediationInner deleteAtSubscription(String remediationName) { * @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 remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteAtSubscriptionWithResponse(String remediationName, Context context) { @@ -2411,7 +2423,8 @@ public Response deleteAtSubscriptionWithResponse(String remedi * @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 deployments for a remediation at resource group scope. + * @return all deployments for a remediation at resource group scope along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtResourceGroupSinglePageAsync( @@ -2473,7 +2486,8 @@ private Mono> listDeploymentsAtResourc * @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 deployments for a remediation at resource group scope. + * @return all deployments for a remediation at resource group scope along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtResourceGroupSinglePageAsync( @@ -2624,7 +2638,7 @@ public PagedIterable listDeploymentsAtResourceGroup( * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> cancelAtResourceGroupWithResponseAsync( @@ -2675,7 +2689,7 @@ private Mono> cancelAtResourceGroupWithResponseAsync( * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> cancelAtResourceGroupWithResponseAsync( @@ -2722,7 +2736,7 @@ private Mono> cancelAtResourceGroupWithResponseAsync( * @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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono cancelAtResourceGroupAsync(String resourceGroupName, String remediationName) { @@ -2761,7 +2775,7 @@ public RemediationInner cancelAtResourceGroup(String resourceGroupName, 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 the remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response cancelAtResourceGroupWithResponse( @@ -2778,7 +2792,8 @@ public Response cancelAtResourceGroupWithResponse( * @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 remediations for the subscription. + * @return all remediations for the subscription along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync( @@ -2836,7 +2851,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 remediations for the subscription. + * @return all remediations for the subscription along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync( @@ -2980,7 +2996,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 the remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateAtResourceGroupWithResponseAsync( @@ -3038,7 +3054,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 the remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateAtResourceGroupWithResponseAsync( @@ -3092,7 +3108,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 the remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createOrUpdateAtResourceGroupAsync( @@ -3135,7 +3151,7 @@ public RemediationInner 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 the remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateAtResourceGroupWithResponse( @@ -3152,7 +3168,8 @@ public Response createOrUpdateAtResourceGroupWithResponse( * @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 remediation at resource group scope. + * @return an existing remediation at resource group scope along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getByResourceGroupWithResponseAsync( @@ -3203,7 +3220,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 remediation at resource group scope. + * @return an existing remediation at resource group scope along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getByResourceGroupWithResponseAsync( @@ -3250,7 +3268,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 remediation at resource group scope. + * @return an existing remediation at resource group scope on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getByResourceGroupAsync(String resourceGroupName, String remediationName) { @@ -3289,7 +3307,7 @@ public RemediationInner getByResourceGroup(String resourceGroupName, String reme * @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 remediation at resource group scope. + * @return an existing remediation at resource group scope along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getByResourceGroupWithResponse( @@ -3305,7 +3323,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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync(String resourceGroupName, String remediationName) { @@ -3355,7 +3373,7 @@ private Mono> deleteWithResponseAsync(String resource * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -3402,7 +3420,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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync(String resourceGroupName, String remediationName) { @@ -3441,7 +3459,7 @@ public RemediationInner delete(String resourceGroupName, String remediationName) * @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 remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( @@ -3458,7 +3476,8 @@ public Response deleteWithResponse( * @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 deployments for a remediation at resource scope. + * @return all deployments for a remediation at resource scope along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtResourceSinglePageAsync( @@ -3506,7 +3525,8 @@ private Mono> listDeploymentsAtResourc * @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 deployments for a remediation at resource scope. + * @return all deployments for a remediation at resource scope along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtResourceSinglePageAsync( @@ -3642,7 +3662,7 @@ public PagedIterable listDeploymentsAtResource( * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> cancelAtResourceWithResponseAsync( @@ -3680,7 +3700,7 @@ private Mono> cancelAtResourceWithResponseAsync( * @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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> cancelAtResourceWithResponseAsync( @@ -3713,7 +3733,7 @@ private Mono> cancelAtResourceWithResponseAsync( * @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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono cancelAtResourceAsync(String resourceId, String remediationName) { @@ -3752,7 +3772,7 @@ public RemediationInner cancelAtResource(String resourceId, String remediationNa * @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 remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response cancelAtResourceWithResponse( @@ -3769,7 +3789,8 @@ public Response cancelAtResourceWithResponse( * @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 remediations for a resource. + * @return all remediations for a resource along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForResourceSinglePageAsync( @@ -3813,7 +3834,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 remediations for a resource. + * @return all remediations for a resource along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForResourceSinglePageAsync( @@ -3942,7 +3964,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 the remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateAtResourceWithResponseAsync( @@ -3992,7 +4014,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 the remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateAtResourceWithResponseAsync( @@ -4032,7 +4054,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 the remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createOrUpdateAtResourceAsync( @@ -4075,7 +4097,7 @@ public RemediationInner 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 the remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateAtResourceWithResponse( @@ -4091,7 +4113,8 @@ public Response createOrUpdateAtResourceWithResponse( * @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 remediation at resource scope. + * @return an existing remediation at resource scope along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getAtResourceWithResponseAsync(String resourceId, String remediationName) { @@ -4128,7 +4151,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 remediation at resource scope. + * @return an existing remediation at resource scope along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getAtResourceWithResponseAsync( @@ -4161,7 +4185,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 remediation at resource scope. + * @return an existing remediation at resource scope on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getAtResourceAsync(String resourceId, String remediationName) { @@ -4200,7 +4224,7 @@ public RemediationInner getAtResource(String resourceId, String remediationName) * @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 remediation at resource scope. + * @return an existing remediation at resource scope along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getAtResourceWithResponse( @@ -4216,7 +4240,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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteAtResourceWithResponseAsync( @@ -4254,7 +4278,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 remediation definition. + * @return the remediation definition along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteAtResourceWithResponseAsync( @@ -4287,7 +4311,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 remediation definition. + * @return the remediation definition on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAtResourceAsync(String resourceId, String remediationName) { @@ -4326,7 +4350,7 @@ public RemediationInner deleteAtResource(String resourceId, String remediationNa * @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 remediation definition. + * @return the remediation definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteAtResourceWithResponse( @@ -4341,7 +4365,8 @@ public Response deleteAtResourceWithResponse( * @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 deployments for a remediation. + * @return list of deployments for a remediation along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtManagementGroupNextSinglePageAsync( @@ -4380,7 +4405,8 @@ private Mono> listDeploymentsAtManagem * @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 deployments for a remediation. + * @return list of deployments for a remediation along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtManagementGroupNextSinglePageAsync( @@ -4416,7 +4442,7 @@ private Mono> listDeploymentsAtManagem * @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 remediations. + * @return list of remediations along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForManagementGroupNextSinglePageAsync(String nextLink) { @@ -4453,7 +4479,7 @@ private Mono> listForManagementGroupNextSinglePa * @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 remediations. + * @return list of remediations along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForManagementGroupNextSinglePageAsync( @@ -4489,7 +4515,8 @@ private Mono> listForManagementGroupNextSinglePa * @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 deployments for a remediation. + * @return list of deployments for a remediation along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtSubscriptionNextSinglePageAsync( @@ -4528,7 +4555,8 @@ private Mono> listDeploymentsAtSubscri * @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 deployments for a remediation. + * @return list of deployments for a remediation along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtSubscriptionNextSinglePageAsync( @@ -4564,7 +4592,7 @@ private Mono> listDeploymentsAtSubscri * @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 remediations. + * @return list of remediations along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForSubscriptionNextSinglePageAsync(String nextLink) { @@ -4601,7 +4629,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 remediations. + * @return list of remediations along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForSubscriptionNextSinglePageAsync( @@ -4637,7 +4665,8 @@ 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 deployments for a remediation. + * @return list of deployments for a remediation along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtResourceGroupNextSinglePageAsync( @@ -4676,7 +4705,8 @@ private Mono> listDeploymentsAtResourc * @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 deployments for a remediation. + * @return list of deployments for a remediation along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtResourceGroupNextSinglePageAsync( @@ -4712,7 +4742,7 @@ private Mono> listDeploymentsAtResourc * @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 remediations. + * @return list of remediations along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForResourceGroupNextSinglePageAsync(String nextLink) { @@ -4749,7 +4779,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 remediations. + * @return list of remediations along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForResourceGroupNextSinglePageAsync( @@ -4785,7 +4815,8 @@ 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 deployments for a remediation. + * @return list of deployments for a remediation along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtResourceNextSinglePageAsync( @@ -4823,7 +4854,8 @@ private Mono> listDeploymentsAtResourc * @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 deployments for a remediation. + * @return list of deployments for a remediation along with {@link PagedResponse} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listDeploymentsAtResourceNextSinglePageAsync( @@ -4859,7 +4891,7 @@ private Mono> listDeploymentsAtResourc * @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 remediations. + * @return list of remediations along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listForResourceNextSinglePageAsync(String nextLink) { @@ -4895,7 +4927,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 remediations. + * @return list of remediations 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/models/Attestations.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Attestations.java index 669dfadfb845..1d21e2c03729 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Attestations.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Attestations.java @@ -77,7 +77,7 @@ public interface Attestations { * @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}. */ Response getAtSubscriptionWithResponse(String attestationName, Context context); @@ -99,7 +99,7 @@ public interface Attestations { * @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}. */ Response deleteAtSubscriptionWithResponse(String attestationName, Context context); @@ -150,7 +150,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 existing attestation at resource group scope. + * @return an existing attestation at resource group scope along with {@link Response}. */ Response getByResourceGroupWithResponse( String resourceGroupName, String attestationName, Context context); @@ -175,7 +175,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}. */ Response deleteWithResponse(String resourceGroupName, String attestationName, Context context); @@ -253,7 +253,7 @@ Attestation 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}. */ Response getAtResourceWithResponse(String resourceId, String attestationName, Context context); @@ -277,7 +277,7 @@ Attestation 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}. */ Response deleteAtResourceWithResponse(String resourceId, String attestationName, Context context); @@ -288,7 +288,7 @@ Attestation 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 group scope. + * @return an existing attestation at resource group scope along with {@link Response}. */ Attestation getById(String id); @@ -300,7 +300,7 @@ Attestation 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 group scope. + * @return an existing attestation at resource group scope along with {@link Response}. */ Response getByIdWithResponse(String id, Context context); @@ -322,7 +322,7 @@ Attestation 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}. */ Response deleteByIdWithResponse(String id, Context context); diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Operations.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Operations.java index 858697fb3c5d..e0571a096d0a 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Operations.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Operations.java @@ -25,7 +25,7 @@ public interface Operations { * @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}. */ Response listWithResponse(Context context); } diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyMetadatas.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyMetadatas.java index 760da5118a60..436c5b66ea5d 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyMetadatas.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyMetadatas.java @@ -29,7 +29,7 @@ public interface PolicyMetadatas { * @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}. */ Response getResourceWithResponse(String resourceName, Context context); diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyRestrictions.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyRestrictions.java index f60fe4204967..ae56492eef5b 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyRestrictions.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyRestrictions.java @@ -28,7 +28,7 @@ public interface PolicyRestrictions { * @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}. */ Response checkAtSubscriptionScopeWithResponse( CheckRestrictionsRequest parameters, Context context); @@ -56,7 +56,7 @@ Response checkAtSubscriptionScopeWithResponse( * @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}. */ Response checkAtResourceGroupScopeWithResponse( String resourceGroupName, CheckRestrictionsRequest parameters, Context context); diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyStates.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyStates.java index 6e62e30e007b..f28bd4542ca6 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyStates.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/PolicyStates.java @@ -88,7 +88,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}. */ Response summarizeForManagementGroupWithResponse( String managementGroupName, @@ -175,7 +175,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}. */ Response summarizeForSubscriptionWithResponse( String subscriptionId, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, Context context); @@ -262,7 +262,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}. */ Response summarizeForResourceGroupWithResponse( String subscriptionId, @@ -352,7 +352,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}. */ Response summarizeForResourceWithResponse( String resourceId, Integer top, OffsetDateTime from, OffsetDateTime to, String filter, Context context); @@ -483,7 +483,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}. */ Response summarizeForPolicySetDefinitionWithResponse( String subscriptionId, @@ -576,7 +576,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}. */ Response summarizeForPolicyDefinitionWithResponse( String subscriptionId, @@ -669,7 +669,7 @@ PagedIterable listQueryResultsForSubscriptionLevelPolicyAssignment( * @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}. */ Response summarizeForSubscriptionLevelPolicyAssignmentWithResponse( String subscriptionId, @@ -771,7 +771,7 @@ SummarizeResults 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}. */ Response summarizeForResourceGroupLevelPolicyAssignmentWithResponse( String subscriptionId, diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Remediation.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Remediation.java index 14ea6273b82f..36f83e64d8ad 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Remediation.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Remediation.java @@ -447,7 +447,7 @@ interface WithFailureThreshold { * @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}. */ Response cancelAtResourceGroupWithResponse(Context context); } diff --git a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Remediations.java b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Remediations.java index 5054e4f5312b..0f69e95dffad 100644 --- a/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Remediations.java +++ b/sdk/policyinsights/azure-resourcemanager-policyinsights/src/main/java/com/azure/resourcemanager/policyinsights/models/Remediations.java @@ -60,7 +60,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}. */ Response cancelAtManagementGroupWithResponse( String managementGroupId, String remediationName, Context context); @@ -115,7 +115,7 @@ Remediation 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}. */ Response createOrUpdateAtManagementGroupWithResponse( String managementGroupId, String remediationName, RemediationInner parameters, Context context); @@ -141,7 +141,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}. */ Response getAtManagementGroupWithResponse( String managementGroupId, String remediationName, Context context); @@ -167,7 +167,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}. */ Response deleteAtManagementGroupWithResponse( String managementGroupId, String remediationName, Context context); @@ -216,7 +216,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}. */ Response cancelAtSubscriptionWithResponse(String remediationName, Context context); @@ -263,7 +263,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}. */ Response createOrUpdateAtSubscriptionWithResponse( String remediationName, RemediationInner parameters, Context context); @@ -287,7 +287,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}. */ Response getAtSubscriptionWithResponse(String remediationName, Context context); @@ -310,7 +310,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}. */ Response deleteAtSubscriptionWithResponse(String remediationName, Context context); @@ -363,7 +363,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}. */ Response cancelAtResourceGroupWithResponse( String resourceGroupName, String remediationName, Context context); @@ -415,7 +415,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 existing remediation at resource group scope. + * @return an existing remediation at resource group scope along with {@link Response}. */ Response getByResourceGroupWithResponse( String resourceGroupName, String remediationName, Context context); @@ -441,7 +441,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}. */ Response deleteWithResponse(String resourceGroupName, String remediationName, Context context); @@ -493,7 +493,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}. */ Response cancelAtResourceWithResponse(String resourceId, String remediationName, Context context); @@ -545,7 +545,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}. */ Response createOrUpdateAtResourceWithResponse( String resourceId, String remediationName, RemediationInner parameters, Context context); @@ -571,7 +571,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}. */ Response getAtResourceWithResponse(String resourceId, String remediationName, Context context); @@ -596,7 +596,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}. */ Response deleteAtResourceWithResponse(String resourceId, String remediationName, Context context); @@ -607,7 +607,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 group scope. + * @return an existing remediation at resource group scope along with {@link Response}. */ Remediation getById(String id); @@ -619,7 +619,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 group scope. + * @return an existing remediation at resource group scope along with {@link Response}. */ Response getByIdWithResponse(String id, Context context); @@ -630,7 +630,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}. */ Remediation deleteById(String id); @@ -642,7 +642,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}. */ Response deleteByIdWithResponse(String id, Context context);