Interface Kpis
public interface Kpis
Resource collection API of Kpis.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new KpiResourceFormat resource.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.void
deleteById
(String id) Deletes a KPI in the hub.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes a KPI in the hub.Gets a KPI in the hub.Gets a KPI in the hub.com.azure.core.http.rest.Response<KpiResourceFormat>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets a KPI in the hub.com.azure.core.http.rest.Response<KpiResourceFormat>
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<KpiResourceFormat>
Gets all the KPIs in the specified hub.com.azure.core.http.rest.PagedIterable<KpiResourceFormat>
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
-
getWithResponse
com.azure.core.http.rest.Response<KpiResourceFormat> 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.
-
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<KpiResourceFormat> 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<KpiResourceFormat> 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.
-
getById
Gets a KPI in the hub.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<KpiResourceFormat> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a KPI in the hub.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes a KPI in the hub.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Deletes a KPI in the hub.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new KpiResourceFormat resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new KpiResourceFormat definition.
-