CommitsClient Interface

public interface CommitsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<CommitInner>,CommitInner> beginCreateOrUpdate(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

abstract SyncPoller<PollResult<CommitInner>,CommitInner> beginCreateOrUpdate(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource, Context context)

Creates or updates a commit.

abstract PollerFlux<PollResult<CommitInner>,CommitInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String commitName, Context context)

Deletes a commit.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

abstract CommitInner createOrUpdate(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

abstract CommitInner createOrUpdate(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource, Context context)

Creates or updates a commit.

abstract reactor.core.publisher.Mono<CommitInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

abstract reactor.core.publisher.Mono<Response<reactor.core.publisher.Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

abstract void delete(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

abstract void delete(String resourceGroupName, String networkManagerName, String commitName, Context context)

Deletes a commit.

abstract reactor.core.publisher.Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

abstract reactor.core.publisher.Mono<Response<reactor.core.publisher.Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

abstract CommitInner get(String resourceGroupName, String networkManagerName, String commitName)

Gets the specified commit.

abstract reactor.core.publisher.Mono<CommitInner> getAsync(String resourceGroupName, String networkManagerName, String commitName)

Gets the specified commit.

abstract Response<CommitInner> getWithResponse(String resourceGroupName, String networkManagerName, String commitName, Context context)

Gets the specified commit.

abstract reactor.core.publisher.Mono<Response<CommitInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String commitName)

Gets the specified commit.

abstract PagedIterable<CommitInner> list(String resourceGroupName, String networkManagerName)

Lists all commits for the specified network manager.

abstract PagedIterable<CommitInner> list(String resourceGroupName, String networkManagerName, Integer top, String skipToken, Context context)

Lists all commits for the specified network manager.

abstract PagedFlux<CommitInner> listAsync(String resourceGroupName, String networkManagerName)

Lists all commits for the specified network manager.

abstract PagedFlux<CommitInner> listAsync(String resourceGroupName, String networkManagerName, Integer top, String skipToken)

Lists all commits for the specified network manager.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<CommitInner>,CommitInner> beginCreateOrUpdate(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
resource - Parameters supplied to specify which commit to create.

Returns:

the SyncPoller<T,U> for polling of the commit resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<CommitInner>,CommitInner> beginCreateOrUpdate(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource, Context context)

Creates or updates a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
resource - Parameters supplied to specify which commit to create.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the commit resource.

beginCreateOrUpdateAsync

public abstract PollerFlux<PollResult<CommitInner>,CommitInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
resource - Parameters supplied to specify which commit to create.

Returns:

the PollerFlux<T,U> for polling of the commit resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String commitName, Context context)

Deletes a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract CommitInner createOrUpdate(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
resource - Parameters supplied to specify which commit to create.

Returns:

the commit resource.

createOrUpdate

public abstract CommitInner createOrUpdate(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource, Context context)

Creates or updates a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
resource - Parameters supplied to specify which commit to create.
context - The context to associate with this operation.

Returns:

the commit resource.

createOrUpdateAsync

public abstract Mono<CommitInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
resource - Parameters supplied to specify which commit to create.

Returns:

the commit resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String commitName, CommitInner resource)

Creates or updates a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
resource - Parameters supplied to specify which commit to create.

Returns:

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

delete

public abstract void delete(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.

delete

public abstract void delete(String resourceGroupName, String networkManagerName, String commitName, Context context)

Deletes a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
context - The context to associate with this operation.

deleteAsync

public abstract Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String commitName)

Deletes a commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract CommitInner get(String resourceGroupName, String networkManagerName, String commitName)

Gets the specified commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.

Returns:

the specified commit.

getAsync

public abstract Mono<CommitInner> getAsync(String resourceGroupName, String networkManagerName, String commitName)

Gets the specified commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.

Returns:

the specified commit on successful completion of Mono.

getWithResponse

public abstract Response<CommitInner> getWithResponse(String resourceGroupName, String networkManagerName, String commitName, Context context)

Gets the specified commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.
context - The context to associate with this operation.

Returns:

the specified commit along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<CommitInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String commitName)

Gets the specified commit.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
commitName - The name of the commit.

Returns:

the specified commit along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable<CommitInner> list(String resourceGroupName, String networkManagerName)

Lists all commits for the specified network manager.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.

Returns:

the response of a Commit list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<CommitInner> list(String resourceGroupName, String networkManagerName, Integer top, String skipToken, Context context)

Lists all commits for the specified network manager.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
top - An optional query parameter which specifies the maximum number of records to be returned by the server.
skipToken - SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
context - The context to associate with this operation.

Returns:

the response of a Commit list operation as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux<CommitInner> listAsync(String resourceGroupName, String networkManagerName)

Lists all commits for the specified network manager.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.

Returns:

the response of a Commit list operation as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux<CommitInner> listAsync(String resourceGroupName, String networkManagerName, Integer top, String skipToken)

Lists all commits for the specified network manager.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
networkManagerName - The name of the network manager.
top - An optional query parameter which specifies the maximum number of records to be returned by the server.
skipToken - SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

Returns:

the response of a Commit list operation as paginated response with PagedFlux<T>.

Applies to