Interface KpisClient
public interface KpisClient
An instance of this class provides access to all the operations defined in KpisClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<KpiResourceFormatInner>,
KpiResourceFormatInner> beginCreateOrUpdate
(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters) Creates a KPI or updates an existing KPI in the hub.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<KpiResourceFormatInner>,
KpiResourceFormatInner> beginCreateOrUpdate
(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters, com.azure.core.util.Context context) Creates a KPI or updates an existing KPI in the hub.beginDelete
(String resourceGroupName, String hubName, String kpiName) Deletes a KPI in the hub.beginDelete
(String resourceGroupName, String hubName, String kpiName, com.azure.core.util.Context context) Deletes a KPI in the hub.createOrUpdate
(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters) Creates a KPI or updates an existing KPI in the hub.createOrUpdate
(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters, com.azure.core.util.Context context) Creates a KPI or updates an existing KPI in the hub.void
Deletes a KPI in the hub.void
delete
(String resourceGroupName, String hubName, String kpiName, com.azure.core.util.Context context) Deletes a KPI in the hub.Gets a KPI in the hub.com.azure.core.http.rest.Response<KpiResourceFormatInner>
getWithResponse
(String resourceGroupName, String hubName, String kpiName, com.azure.core.util.Context context) Gets a KPI in the hub.com.azure.core.http.rest.PagedIterable<KpiResourceFormatInner>
Gets all the KPIs in the specified hub.com.azure.core.http.rest.PagedIterable<KpiResourceFormatInner>
Gets all the KPIs in the specified hub.void
Reprocesses the Kpi values of the specified KPI.com.azure.core.http.rest.Response<Void>
reprocessWithResponse
(String resourceGroupName, String hubName, String kpiName, com.azure.core.util.Context context) Reprocesses the Kpi values of the specified KPI.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<KpiResourceFormatInner>,KpiResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters) Creates a KPI or updates an existing KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.parameters
- Parameters supplied to the create/update KPI operation.- Returns:
- the
SyncPoller
for polling of the KPI resource format. - 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<KpiResourceFormatInner>,KpiResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters, com.azure.core.util.Context context) Creates a KPI or updates an existing KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.parameters
- Parameters supplied to the create/update KPI operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the KPI resource format. - 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
KpiResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters) Creates a KPI or updates an existing KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.parameters
- Parameters supplied to the create/update KPI operation.- Returns:
- the KPI resource format.
- 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
KpiResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters, com.azure.core.util.Context context) Creates a KPI or updates an existing KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.parameters
- Parameters supplied to the create/update KPI operation.context
- The context to associate with this operation.- Returns:
- the KPI resource format.
- 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<KpiResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String kpiName, com.azure.core.util.Context context) Gets a KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.context
- The context to associate with this operation.- Returns:
- a KPI in the hub 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
Gets a KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.- Returns:
- a KPI in the hub.
- 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 hubName, String kpiName) Deletes a KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.- Returns:
- the
SyncPoller
for 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 hubName, String kpiName, com.azure.core.util.Context context) Deletes a KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for 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.
-
delete
Deletes a KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.- 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 hubName, String kpiName, com.azure.core.util.Context context) Deletes a KPI in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.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.
-
reprocessWithResponse
com.azure.core.http.rest.Response<Void> reprocessWithResponse(String resourceGroupName, String hubName, String kpiName, com.azure.core.util.Context context) Reprocesses the Kpi values of the specified KPI.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.context
- The context to associate with this operation.- Returns:
- the
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.
-
reprocess
Reprocesses the Kpi values of the specified KPI.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.kpiName
- The name of the KPI.- 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.
-
listByHub
com.azure.core.http.rest.PagedIterable<KpiResourceFormatInner> listByHub(String resourceGroupName, String hubName) Gets all the KPIs in the specified hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.- Returns:
- all the KPIs in the specified hub 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.
-
listByHub
com.azure.core.http.rest.PagedIterable<KpiResourceFormatInner> listByHub(String resourceGroupName, String hubName, com.azure.core.util.Context context) Gets all the KPIs in the specified hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.context
- The context to associate with this operation.- Returns:
- all the KPIs in the specified hub 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.
-