LogProfilesClient Interface

public interface LogProfilesClient

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

Method Summary

Modifier and Type Method and Description
abstract LogProfileResourceInner createOrUpdate(String logProfileName, LogProfileResourceInner parameters)

Create or update a log profile in Azure Monitoring REST API.

abstract Mono<LogProfileResourceInner> createOrUpdateAsync(String logProfileName, LogProfileResourceInner parameters)

Create or update a log profile in Azure Monitoring REST API.

abstract Response<LogProfileResourceInner> createOrUpdateWithResponse(String logProfileName, LogProfileResourceInner parameters, Context context)

Create or update a log profile in Azure Monitoring REST API.

abstract Mono<Response<LogProfileResourceInner>> createOrUpdateWithResponseAsync(String logProfileName, LogProfileResourceInner parameters)

Create or update a log profile in Azure Monitoring REST API.

abstract void delete(String logProfileName)

Deletes the log profile.

abstract Mono<Void> deleteAsync(String logProfileName)

Deletes the log profile.

abstract Response<Void> deleteWithResponse(String logProfileName, Context context)

Deletes the log profile.

abstract Mono<Response<Void>> deleteWithResponseAsync(String logProfileName)

Deletes the log profile.

abstract LogProfileResourceInner get(String logProfileName)

Gets the log profile.

abstract Mono<LogProfileResourceInner> getAsync(String logProfileName)

Gets the log profile.

abstract Response<LogProfileResourceInner> getWithResponse(String logProfileName, Context context)

Gets the log profile.

abstract Mono<Response<LogProfileResourceInner>> getWithResponseAsync(String logProfileName)

Gets the log profile.

abstract PagedIterable<LogProfileResourceInner> list()

List the log profiles.

abstract PagedIterable<LogProfileResourceInner> list(Context context)

List the log profiles.

abstract PagedFlux<LogProfileResourceInner> listAsync()

List the log profiles.

abstract LogProfileResourceInner update(String logProfileName, LogProfileResourcePatch logProfilesResource)

Updates an existing LogProfilesResource.

abstract Mono<LogProfileResourceInner> updateAsync(String logProfileName, LogProfileResourcePatch logProfilesResource)

Updates an existing LogProfilesResource.

abstract Response<LogProfileResourceInner> updateWithResponse(String logProfileName, LogProfileResourcePatch logProfilesResource, Context context)

Updates an existing LogProfilesResource.

abstract Mono<Response<LogProfileResourceInner>> updateWithResponseAsync(String logProfileName, LogProfileResourcePatch logProfilesResource)

Updates an existing LogProfilesResource.

Method Details

createOrUpdate

public abstract LogProfileResourceInner createOrUpdate(String logProfileName, LogProfileResourceInner parameters)

Create or update a log profile in Azure Monitoring REST API.

Parameters:

logProfileName - The name of the log profile.
parameters - Parameters supplied to the operation.

Returns:

the log profile resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String logProfileName, LogProfileResourceInner parameters)

Create or update a log profile in Azure Monitoring REST API.

Parameters:

logProfileName - The name of the log profile.
parameters - Parameters supplied to the operation.

Returns:

the log profile resource on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String logProfileName, LogProfileResourceInner parameters, Context context)

Create or update a log profile in Azure Monitoring REST API.

Parameters:

logProfileName - The name of the log profile.
parameters - Parameters supplied to the operation.
context - The context to associate with this operation.

Returns:

the log profile resource along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String logProfileName, LogProfileResourceInner parameters)

Create or update a log profile in Azure Monitoring REST API.

Parameters:

logProfileName - The name of the log profile.
parameters - Parameters supplied to the operation.

Returns:

the log profile resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String logProfileName)

Deletes the log profile.

Parameters:

logProfileName - The name of the log profile.

deleteAsync

public abstract Mono deleteAsync(String logProfileName)

Deletes the log profile.

Parameters:

logProfileName - The name of the log profile.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String logProfileName, Context context)

Deletes the log profile.

Parameters:

logProfileName - The name of the log profile.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String logProfileName)

Deletes the log profile.

Parameters:

logProfileName - The name of the log profile.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract LogProfileResourceInner get(String logProfileName)

Gets the log profile.

Parameters:

logProfileName - The name of the log profile.

Returns:

the log profile.

getAsync

public abstract Mono getAsync(String logProfileName)

Gets the log profile.

Parameters:

logProfileName - The name of the log profile.

Returns:

the log profile on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String logProfileName, Context context)

Gets the log profile.

Parameters:

logProfileName - The name of the log profile.
context - The context to associate with this operation.

Returns:

the log profile along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String logProfileName)

Gets the log profile.

Parameters:

logProfileName - The name of the log profile.

Returns:

the log profile along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

List the log profiles.

Returns:

represents a collection of log profiles as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

List the log profiles.

Parameters:

context - The context to associate with this operation.

Returns:

represents a collection of log profiles as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

List the log profiles.

Returns:

represents a collection of log profiles as paginated response with PagedFlux<T>.

update

public abstract LogProfileResourceInner update(String logProfileName, LogProfileResourcePatch logProfilesResource)

Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.

Parameters:

logProfileName - The name of the log profile.
logProfilesResource - Parameters supplied to the operation.

Returns:

the log profile resource.

updateAsync

public abstract Mono updateAsync(String logProfileName, LogProfileResourcePatch logProfilesResource)

Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.

Parameters:

logProfileName - The name of the log profile.
logProfilesResource - Parameters supplied to the operation.

Returns:

the log profile resource on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String logProfileName, LogProfileResourcePatch logProfilesResource, Context context)

Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.

Parameters:

logProfileName - The name of the log profile.
logProfilesResource - Parameters supplied to the operation.
context - The context to associate with this operation.

Returns:

the log profile resource along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String logProfileName, LogProfileResourcePatch logProfilesResource)

Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.

Parameters:

logProfileName - The name of the log profile.
logProfilesResource - Parameters supplied to the operation.

Returns:

the log profile resource along with Response<T> on successful completion of Mono.

Applies to