TokensClient Interface

public interface TokensClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<TokenInner>,TokenInner> beginCreate(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

abstract SyncPoller<PollResult<TokenInner>,TokenInner> beginCreate(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters, Context context)

Creates a token for a container registry with the specified parameters.

abstract PollerFlux<PollResult<TokenInner>,TokenInner> beginCreateAsync(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String tokenName, Context context)

Deletes a token from a container registry.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

abstract SyncPoller<PollResult<TokenInner>,TokenInner> beginUpdate(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

abstract SyncPoller<PollResult<TokenInner>,TokenInner> beginUpdate(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters, Context context)

Updates a token with the specified parameters.

abstract PollerFlux<PollResult<TokenInner>,TokenInner> beginUpdateAsync(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

abstract TokenInner create(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

abstract TokenInner create(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters, Context context)

Creates a token for a container registry with the specified parameters.

abstract Mono<TokenInner> createAsync(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

abstract void delete(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

abstract void delete(String resourceGroupName, String registryName, String tokenName, Context context)

Deletes a token from a container registry.

abstract Mono<Void> deleteAsync(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

abstract TokenInner get(String resourceGroupName, String registryName, String tokenName)

Gets the properties of the specified token.

abstract Mono<TokenInner> getAsync(String resourceGroupName, String registryName, String tokenName)

Gets the properties of the specified token.

abstract Response<TokenInner> getWithResponse(String resourceGroupName, String registryName, String tokenName, Context context)

Gets the properties of the specified token.

abstract Mono<Response<TokenInner>> getWithResponseAsync(String resourceGroupName, String registryName, String tokenName)

Gets the properties of the specified token.

abstract PagedIterable<TokenInner> list(String resourceGroupName, String registryName)

Lists all the tokens for the specified container registry.

abstract PagedIterable<TokenInner> list(String resourceGroupName, String registryName, Context context)

Lists all the tokens for the specified container registry.

abstract PagedFlux<TokenInner> listAsync(String resourceGroupName, String registryName)

Lists all the tokens for the specified container registry.

abstract TokenInner update(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

abstract TokenInner update(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters, Context context)

Updates a token with the specified parameters.

abstract Mono<TokenInner> updateAsync(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

Method Details

beginCreate

public abstract SyncPoller<PollResult<TokenInner>,TokenInner> beginCreate(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenCreateParameters - The parameters for creating a token.

Returns:

the SyncPoller<T,U> for polling of an object that represents a token for a container registry.

beginCreate

public abstract SyncPoller<PollResult<TokenInner>,TokenInner> beginCreate(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters, Context context)

Creates a token for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenCreateParameters - The parameters for creating a token.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an object that represents a token for a container registry.

beginCreateAsync

public abstract PollerFlux<PollResult<TokenInner>,TokenInner> beginCreateAsync(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenCreateParameters - The parameters for creating a token.

Returns:

the PollerFlux<T,U> for polling of an object that represents a token for a container registry.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String tokenName, Context context)

Deletes a token from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
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 registryName, String tokenName)

Deletes a token from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<TokenInner>,TokenInner> beginUpdate(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenUpdateParameters - The parameters for updating a token.

Returns:

the SyncPoller<T,U> for polling of an object that represents a token for a container registry.

beginUpdate

public abstract SyncPoller<PollResult<TokenInner>,TokenInner> beginUpdate(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters, Context context)

Updates a token with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenUpdateParameters - The parameters for updating a token.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an object that represents a token for a container registry.

beginUpdateAsync

public abstract PollerFlux<PollResult<TokenInner>,TokenInner> beginUpdateAsync(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenUpdateParameters - The parameters for updating a token.

Returns:

the PollerFlux<T,U> for polling of an object that represents a token for a container registry.

create

public abstract TokenInner create(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenCreateParameters - The parameters for creating a token.

Returns:

an object that represents a token for a container registry.

create

public abstract TokenInner create(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters, Context context)

Creates a token for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenCreateParameters - The parameters for creating a token.
context - The context to associate with this operation.

Returns:

an object that represents a token for a container registry.

createAsync

public abstract Mono<TokenInner> createAsync(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenCreateParameters - The parameters for creating a token.

Returns:

an object that represents a token for a container registry on successful completion of Mono.

createWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String tokenName, TokenInner tokenCreateParameters)

Creates a token for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenCreateParameters - The parameters for creating a token.

Returns:

an object that represents a token for a container registry along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.

delete

public abstract void delete(String resourceGroupName, String registryName, String tokenName, Context context)

Deletes a token from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
context - The context to associate with this operation.

deleteAsync

public abstract Mono<Void> deleteAsync(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String tokenName)

Deletes a token from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract TokenInner get(String resourceGroupName, String registryName, String tokenName)

Gets the properties of the specified token.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.

Returns:

the properties of the specified token.

getAsync

public abstract Mono<TokenInner> getAsync(String resourceGroupName, String registryName, String tokenName)

Gets the properties of the specified token.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.

Returns:

the properties of the specified token on successful completion of Mono.

getWithResponse

public abstract Response<TokenInner> getWithResponse(String resourceGroupName, String registryName, String tokenName, Context context)

Gets the properties of the specified token.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
context - The context to associate with this operation.

Returns:

the properties of the specified token along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<TokenInner>> getWithResponseAsync(String resourceGroupName, String registryName, String tokenName)

Gets the properties of the specified token.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.

Returns:

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

list

public abstract PagedIterable<TokenInner> list(String resourceGroupName, String registryName)

Lists all the tokens for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.

Returns:

the result of a request to list tokens for a container registry as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<TokenInner> list(String resourceGroupName, String registryName, Context context)

Lists all the tokens for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
context - The context to associate with this operation.

Returns:

the result of a request to list tokens for a container registry as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux<TokenInner> listAsync(String resourceGroupName, String registryName)

Lists all the tokens for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.

Returns:

the result of a request to list tokens for a container registry as paginated response with PagedFlux<T>.

update

public abstract TokenInner update(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenUpdateParameters - The parameters for updating a token.

Returns:

an object that represents a token for a container registry.

update

public abstract TokenInner update(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters, Context context)

Updates a token with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenUpdateParameters - The parameters for updating a token.
context - The context to associate with this operation.

Returns:

an object that represents a token for a container registry.

updateAsync

public abstract Mono<TokenInner> updateAsync(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenUpdateParameters - The parameters for updating a token.

Returns:

an object that represents a token for a container registry on successful completion of Mono.

updateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String tokenName, TokenUpdateParameters tokenUpdateParameters)

Updates a token with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
tokenName - The name of the token.
tokenUpdateParameters - The parameters for updating a token.

Returns:

an object that represents a token for a container registry along with Response<T> on successful completion of Mono.

Applies to