Share via


ApiDiagnostics Interface

Implements

com.microsoft.azure.arm.collection.SupportsCreating<Blank> com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.ApiDiagnosticsInner>

public interface ApiDiagnostics
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.ApiDiagnosticsInner>

Type representing ApiDiagnostics.

Method Summary

Modifier and Type Method and Description
abstract rx.Completable deleteAsync(String resourceGroupName, String serviceName, String apiId, String diagnosticId, String ifMatch)

Deletes the specified Diagnostic from an API.

abstract rx.Observable<ApiDiagnosticContract> getAsync(String resourceGroupName, String serviceName, String apiId, String diagnosticId)

Gets the details of the Diagnostic for an API specified by its identifier.

abstract rx.Completable getEntityTagAsync(String resourceGroupName, String serviceName, String apiId, String diagnosticId)

Gets the entity state (Etag) version of the Diagnostic for an API specified by its identifier.

abstract rx.Observable<ApiDiagnosticContract> listByServiceAsync(String resourceGroupName, String serviceName, String apiId)

Lists all diagnostics of an API.

Method Details

deleteAsync

public abstract Completable deleteAsync(String resourceGroupName, String serviceName, String apiId, String diagnosticId, String ifMatch)

Deletes the specified Diagnostic from an API.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
apiId - API identifier. Must be unique in the current API Management service instance.
diagnosticId - Diagnostic identifier. Must be unique in the current API Management service instance.
ifMatch - ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

Returns:

the observable for the request

getAsync

public abstract Observable<ApiDiagnosticContract> getAsync(String resourceGroupName, String serviceName, String apiId, String diagnosticId)

Gets the details of the Diagnostic for an API specified by its identifier.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
apiId - API identifier. Must be unique in the current API Management service instance.
diagnosticId - Diagnostic identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

getEntityTagAsync

public abstract Completable getEntityTagAsync(String resourceGroupName, String serviceName, String apiId, String diagnosticId)

Gets the entity state (Etag) version of the Diagnostic for an API specified by its identifier.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
apiId - API identifier. Must be unique in the current API Management service instance.
diagnosticId - Diagnostic identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

listByServiceAsync

public abstract Observable<ApiDiagnosticContract> listByServiceAsync(String resourceGroupName, String serviceName, String apiId)

Lists all diagnostics of an API.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
apiId - API identifier. Must be unique in the current API Management service instance.

Returns:

the observable for the request

Applies to