Interface VMInsightsClient
public interface VMInsightsClient
An instance of this class provides access to all the operations defined in VMInsightsClient.
-
Method Summary
Modifier and TypeMethodDescriptiongetOnboardingStatus
(String resourceUri) Retrieves the VM Insights onboarding status for the specified resource or resource scope.getOnboardingStatusAsync
(String resourceUri) Retrieves the VM Insights onboarding status for the specified resource or resource scope.com.azure.core.http.rest.Response
<VMInsightsOnboardingStatusInner> getOnboardingStatusWithResponse
(String resourceUri, com.azure.core.util.Context context) Retrieves the VM Insights onboarding status for the specified resource or resource scope.Mono
<com.azure.core.http.rest.Response<VMInsightsOnboardingStatusInner>> getOnboardingStatusWithResponseAsync
(String resourceUri) Retrieves the VM Insights onboarding status for the specified resource or resource scope.
-
Method Details
-
getOnboardingStatusWithResponseAsync
Mono<com.azure.core.http.rest.Response<VMInsightsOnboardingStatusInner>> getOnboardingStatusWithResponseAsync(String resourceUri) Retrieves the VM Insights onboarding status for the specified resource or resource scope.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.- Returns:
- vM Insights onboarding status for a resource along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOnboardingStatusAsync
Retrieves the VM Insights onboarding status for the specified resource or resource scope.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.- Returns:
- vM Insights onboarding status for a resource on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOnboardingStatusWithResponse
com.azure.core.http.rest.Response<VMInsightsOnboardingStatusInner> getOnboardingStatusWithResponse(String resourceUri, com.azure.core.util.Context context) Retrieves the VM Insights onboarding status for the specified resource or resource scope.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.context
- The context to associate with this operation.- Returns:
- vM Insights onboarding status for a resource along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOnboardingStatus
Retrieves the VM Insights onboarding status for the specified resource or resource scope.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.- Returns:
- vM Insights onboarding status for a resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-