Interface ApmsClient
public interface ApmsClient
An instance of this class provides access to all the operations defined in ApmsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApmResourceInner>,ApmResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApmResourceInner>,ApmResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource, com.azure.core.util.Context context) Create or update an APM.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ApmResourceInner>,ApmResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.beginDelete(String resourceGroupName, String serviceName, String apmName) Operation to delete an APM.beginDelete(String resourceGroupName, String serviceName, String apmName, com.azure.core.util.Context context) Operation to delete an APM.beginDeleteAsync(String resourceGroupName, String serviceName, String apmName) Operation to delete an APM.createOrUpdate(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.createOrUpdate(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource, com.azure.core.util.Context context) Create or update an APM.createOrUpdateAsync(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.voidOperation to delete an APM.voiddelete(String resourceGroupName, String serviceName, String apmName, com.azure.core.util.Context context) Operation to delete an APM.deleteAsync(String resourceGroupName, String serviceName, String apmName) Operation to delete an APM.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String serviceName, String apmName) Operation to delete an APM.Get the APM by name.Get the APM by name.com.azure.core.http.rest.Response<ApmResourceInner>getWithResponse(String resourceGroupName, String serviceName, String apmName, com.azure.core.util.Context context) Get the APM by name.Mono<com.azure.core.http.rest.Response<ApmResourceInner>>getWithResponseAsync(String resourceGroupName, String serviceName, String apmName) Get the APM by name.com.azure.core.http.rest.PagedIterable<ApmResourceInner>Get collection of APMs.com.azure.core.http.rest.PagedIterable<ApmResourceInner>Get collection of APMs.com.azure.core.http.rest.PagedFlux<ApmResourceInner>Get collection of APMs.listSecretKeys(String resourceGroupName, String serviceName, String apmName) List keys of APM sensitive properties.listSecretKeysAsync(String resourceGroupName, String serviceName, String apmName) List keys of APM sensitive properties.com.azure.core.http.rest.Response<ApmSecretKeysInner>listSecretKeysWithResponse(String resourceGroupName, String serviceName, String apmName, com.azure.core.util.Context context) List keys of APM sensitive properties.Mono<com.azure.core.http.rest.Response<ApmSecretKeysInner>>listSecretKeysWithResponseAsync(String resourceGroupName, String serviceName, String apmName) List keys of APM sensitive properties.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ApmResourceInner> listAsync(String resourceGroupName, String serviceName) Get collection of APMs.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- collection of APMs as paginated response with
PagedFlux. - 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.
-
list
com.azure.core.http.rest.PagedIterable<ApmResourceInner> list(String resourceGroupName, String serviceName) Get collection of APMs.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.- Returns:
- collection of APMs as paginated response with
PagedIterable. - 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.
-
list
com.azure.core.http.rest.PagedIterable<ApmResourceInner> list(String resourceGroupName, String serviceName, com.azure.core.util.Context context) Get collection of APMs.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.context- The context to associate with this operation.- Returns:
- collection of APMs as paginated response with
PagedIterable. - 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ApmResourceInner>> getWithResponseAsync(String resourceGroupName, String serviceName, String apmName) Get the APM by name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- the APM by name along with
Responseon 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.
-
getAsync
Get the APM by name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- the APM by name 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.
-
getWithResponse
com.azure.core.http.rest.Response<ApmResourceInner> getWithResponse(String resourceGroupName, String serviceName, String apmName, com.azure.core.util.Context context) Get the APM by name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.context- The context to associate with this operation.- Returns:
- the APM by name 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.
-
get
Get the APM by name.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- the APM by name.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.apmResource- Parameters for the create or update operation.- Returns:
- aPM Resource object along with
Responseon 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ApmResourceInner>,ApmResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.apmResource- Parameters for the create or update operation.- Returns:
- the
PollerFluxfor polling of aPM Resource object. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApmResourceInner>,ApmResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.apmResource- Parameters for the create or update operation.- Returns:
- the
SyncPollerfor polling of aPM Resource object. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApmResourceInner>,ApmResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource, com.azure.core.util.Context context) Create or update an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.apmResource- Parameters for the create or update operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of aPM Resource object. - 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.
-
createOrUpdateAsync
Mono<ApmResourceInner> createOrUpdateAsync(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.apmResource- Parameters for the create or update operation.- Returns:
- aPM Resource object 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.
-
createOrUpdate
ApmResourceInner createOrUpdate(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource) Create or update an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.apmResource- Parameters for the create or update operation.- Returns:
- aPM Resource object.
- 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.
-
createOrUpdate
ApmResourceInner createOrUpdate(String resourceGroupName, String serviceName, String apmName, ApmResourceInner apmResource, com.azure.core.util.Context context) Create or update an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.apmResource- Parameters for the create or update operation.context- The context to associate with this operation.- Returns:
- aPM Resource object.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serviceName, String apmName) Operation to delete an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- the
Responseon 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serviceName, String apmName) Operation to delete an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serviceName, String apmName) Operation to delete an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serviceName, String apmName, com.azure.core.util.Context context) Operation to delete an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
deleteAsync
Operation to delete an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
delete
Operation to delete an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- 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.
-
delete
void delete(String resourceGroupName, String serviceName, String apmName, com.azure.core.util.Context context) Operation to delete an APM.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.context- The context to associate with this operation.- 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.
-
listSecretKeysWithResponseAsync
Mono<com.azure.core.http.rest.Response<ApmSecretKeysInner>> listSecretKeysWithResponseAsync(String resourceGroupName, String serviceName, String apmName) List keys of APM sensitive properties.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- keys of APM sensitive properties along with
Responseon 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.
-
listSecretKeysAsync
Mono<ApmSecretKeysInner> listSecretKeysAsync(String resourceGroupName, String serviceName, String apmName) List keys of APM sensitive properties.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- keys of APM sensitive properties 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.
-
listSecretKeysWithResponse
com.azure.core.http.rest.Response<ApmSecretKeysInner> listSecretKeysWithResponse(String resourceGroupName, String serviceName, String apmName, com.azure.core.util.Context context) List keys of APM sensitive properties.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.context- The context to associate with this operation.- Returns:
- keys of APM sensitive properties 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.
-
listSecretKeys
List keys of APM sensitive properties.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serviceName- The name of the Service resource.apmName- The name of the APM.- Returns:
- keys of APM sensitive properties.
- 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.
-