Share via


Diagnostics Interface

Implements

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

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

Type representing Diagnostics.

Method Summary

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

Deletes the specified Diagnostic.

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

Gets the details of the Diagnostic specified by its identifier.

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

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

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

Lists all diagnostics of the API Management service instance.

Method Details

deleteAsync

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

Deletes the specified Diagnostic.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
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 diagnosticId)

Gets the details of the Diagnostic specified by its identifier.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
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 diagnosticId)

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

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
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)

Lists all diagnostics of the API Management service instance.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.

Returns:

the observable for the request

Applies to