Dela via


ImagesClient Interface

Implements

public interface ImagesClient
extends InnerSupportsGet<ImageInner>, InnerSupportsListing<ImageInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ImageInner>,ImageInner> beginCreateOrUpdate(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

abstract SyncPoller<PollResult<ImageInner>,ImageInner> beginCreateOrUpdate(String resourceGroupName, String imageName, ImageInner parameters, Context context)

Create or update an image.

abstract PollerFlux<PollResult<ImageInner>,ImageInner> beginCreateOrUpdateAsync(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

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

Deletes an Image.

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

Deletes an Image.

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

Deletes an Image.

abstract SyncPoller<PollResult<ImageInner>,ImageInner> beginUpdate(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

abstract SyncPoller<PollResult<ImageInner>,ImageInner> beginUpdate(String resourceGroupName, String imageName, ImageUpdate parameters, Context context)

Update an image.

abstract PollerFlux<PollResult<ImageInner>,ImageInner> beginUpdateAsync(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

abstract ImageInner createOrUpdate(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

abstract ImageInner createOrUpdate(String resourceGroupName, String imageName, ImageInner parameters, Context context)

Create or update an image.

abstract Mono<ImageInner> createOrUpdateAsync(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

abstract void delete(String resourceGroupName, String imageName)

Deletes an Image.

abstract void delete(String resourceGroupName, String imageName, Context context)

Deletes an Image.

abstract Mono<Void> deleteAsync(String resourceGroupName, String imageName)

Deletes an Image.

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

Deletes an Image.

abstract ImageInner getByResourceGroup(String resourceGroupName, String imageName)

Gets an image.

abstract Mono<ImageInner> getByResourceGroupAsync(String resourceGroupName, String imageName)

Gets an image.

abstract Response<ImageInner> getByResourceGroupWithResponse(String resourceGroupName, String imageName, String expand, Context context)

Gets an image.

abstract Mono<Response<ImageInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String imageName, String expand)

Gets an image.

abstract PagedIterable<ImageInner> list()

Gets the list of Images in the subscription.

abstract PagedIterable<ImageInner> list(Context context)

Gets the list of Images in the subscription.

abstract PagedFlux<ImageInner> listAsync()

Gets the list of Images in the subscription.

abstract PagedIterable<ImageInner> listByResourceGroup(String resourceGroupName)

Gets the list of images under a resource group.

abstract PagedIterable<ImageInner> listByResourceGroup(String resourceGroupName, Context context)

Gets the list of images under a resource group.

abstract PagedFlux<ImageInner> listByResourceGroupAsync(String resourceGroupName)

Gets the list of images under a resource group.

abstract ImageInner update(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

abstract ImageInner update(String resourceGroupName, String imageName, ImageUpdate parameters, Context context)

Update an image.

abstract Mono<ImageInner> updateAsync(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,ImageInner> beginCreateOrUpdate(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Create Image operation.

Returns:

the SyncPoller<T,U> for polling of the source user image virtual hard disk.

beginCreateOrUpdate

public abstract SyncPoller,ImageInner> beginCreateOrUpdate(String resourceGroupName, String imageName, ImageInner parameters, Context context)

Create or update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Create Image operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the source user image virtual hard disk.

beginCreateOrUpdateAsync

public abstract PollerFlux,ImageInner> beginCreateOrUpdateAsync(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Create Image operation.

Returns:

the PollerFlux<T,U> for polling of the source user image virtual hard disk.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String imageName)

Deletes an Image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String imageName, Context context)

Deletes an Image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
context - The context to associate with this operation.

Returns:

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

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String imageName)

Deletes an Image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.

Returns:

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

beginUpdate

public abstract SyncPoller,ImageInner> beginUpdate(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Update Image operation.

Returns:

the SyncPoller<T,U> for polling of the source user image virtual hard disk.

beginUpdate

public abstract SyncPoller,ImageInner> beginUpdate(String resourceGroupName, String imageName, ImageUpdate parameters, Context context)

Update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Update Image operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the source user image virtual hard disk.

beginUpdateAsync

public abstract PollerFlux,ImageInner> beginUpdateAsync(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Update Image operation.

Returns:

the PollerFlux<T,U> for polling of the source user image virtual hard disk.

createOrUpdate

public abstract ImageInner createOrUpdate(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Create Image operation.

Returns:

the source user image virtual hard disk.

createOrUpdate

public abstract ImageInner createOrUpdate(String resourceGroupName, String imageName, ImageInner parameters, Context context)

Create or update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Create Image operation.
context - The context to associate with this operation.

Returns:

the source user image virtual hard disk.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Create Image operation.

Returns:

the source user image virtual hard disk on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String imageName, ImageInner parameters)

Create or update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Create Image operation.

Returns:

the source user image virtual hard disk along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String imageName)

Deletes an Image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.

delete

public abstract void delete(String resourceGroupName, String imageName, Context context)

Deletes an Image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String imageName)

Deletes an Image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String imageName)

Deletes an Image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract ImageInner getByResourceGroup(String resourceGroupName, String imageName)

Gets an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.

Returns:

an image.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String imageName)

Gets an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.

Returns:

an image on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String imageName, String expand, Context context)

Gets an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
expand - The expand expression to apply on the operation.
context - The context to associate with this operation.

Returns:

an image along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String imageName, String expand)

Gets an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
expand - The expand expression to apply on the operation.

Returns:

an image along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

Returns:

the list of Images in the subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

Parameters:

context - The context to associate with this operation.

Returns:

the list of Images in the subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

Returns:

the list of Images in the subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Gets the list of images under a resource group. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the list of images under a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Gets the list of images under a resource group. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

the list of images under a resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Gets the list of images under a resource group. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the list of images under a resource group as paginated response with PagedFlux<T>.

update

public abstract ImageInner update(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Update Image operation.

Returns:

the source user image virtual hard disk.

update

public abstract ImageInner update(String resourceGroupName, String imageName, ImageUpdate parameters, Context context)

Update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Update Image operation.
context - The context to associate with this operation.

Returns:

the source user image virtual hard disk.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Update Image operation.

Returns:

the source user image virtual hard disk on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String imageName, ImageUpdate parameters)

Update an image.

Parameters:

resourceGroupName - The name of the resource group.
imageName - The name of the image.
parameters - Parameters supplied to the Update Image operation.

Returns:

the source user image virtual hard disk along with Response<T> on successful completion of Mono.

Applies to