KpisClient Interface

public interface KpisClient

An instance of this class provides access to all the operations defined in KpisClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<KpiResourceFormatInner>,KpiResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters)

Creates a KPI or updates an existing KPI in the hub.

abstract SyncPoller<PollResult<KpiResourceFormatInner>,KpiResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters, Context context)

Creates a KPI or updates an existing KPI in the hub.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String hubName, String kpiName)

Deletes a KPI in the hub.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String hubName, String kpiName, Context context)

Deletes a KPI in the hub.

abstract KpiResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters)

Creates a KPI or updates an existing KPI in the hub.

abstract KpiResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters, Context context)

Creates a KPI or updates an existing KPI in the hub.

abstract void delete(String resourceGroupName, String hubName, String kpiName)

Deletes a KPI in the hub.

abstract void delete(String resourceGroupName, String hubName, String kpiName, Context context)

Deletes a KPI in the hub.

abstract KpiResourceFormatInner get(String resourceGroupName, String hubName, String kpiName)

Gets a KPI in the hub.

abstract Response<KpiResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String kpiName, Context context)

Gets a KPI in the hub.

abstract PagedIterable<KpiResourceFormatInner> listByHub(String resourceGroupName, String hubName)

Gets all the KPIs in the specified hub.

abstract PagedIterable<KpiResourceFormatInner> listByHub(String resourceGroupName, String hubName, Context context)

Gets all the KPIs in the specified hub.

abstract void reprocess(String resourceGroupName, String hubName, String kpiName)

Reprocesses the Kpi values of the specified KPI.

abstract Response<Void> reprocessWithResponse(String resourceGroupName, String hubName, String kpiName, Context context)

Reprocesses the Kpi values of the specified KPI.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,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<T,U> for polling of the KPI resource format.

beginCreateOrUpdate

public abstract SyncPoller<>,KpiResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters, 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<T,U> for polling of the KPI resource format.

beginDelete

public abstract SyncPoller<>,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<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String hubName, String kpiName, 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<T,U> for polling of long-running operation.

createOrUpdate

public abstract 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.

createOrUpdate

public abstract KpiResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String kpiName, KpiResourceFormatInner parameters, 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.

delete

public abstract void delete(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.

delete

public abstract void delete(String resourceGroupName, String hubName, String kpiName, 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.

get

public abstract KpiResourceFormatInner get(String resourceGroupName, String hubName, String kpiName)

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.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String hubName, String kpiName, 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<T>.

listByHub

public abstract PagedIterable 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<T>.

listByHub

public abstract PagedIterable listByHub(String resourceGroupName, String hubName, 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<T>.

reprocess

public abstract void reprocess(String resourceGroupName, String hubName, String kpiName)

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.

reprocessWithResponse

public abstract Response reprocessWithResponse(String resourceGroupName, String hubName, String kpiName, 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:

Applies to