SnapshotsClient Interface

Implements

public interface SnapshotsClient
extends InnerSupportsGet<SnapshotInner>, InnerSupportsListing<SnapshotInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract SnapshotInner createOrUpdate(String resourceGroupName, String resourceName, SnapshotInner parameters)

Creates or updates a snapshot.

abstract Mono<SnapshotInner> createOrUpdateAsync(String resourceGroupName, String resourceName, SnapshotInner parameters)

Creates or updates a snapshot.

abstract Response<SnapshotInner> createOrUpdateWithResponse(String resourceGroupName, String resourceName, SnapshotInner parameters, Context context)

Creates or updates a snapshot.

abstract Mono<Response<SnapshotInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, SnapshotInner parameters)

Creates or updates a snapshot.

abstract void delete(String resourceGroupName, String resourceName)

Deletes a snapshot.

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

Deletes a snapshot.

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

Deletes a snapshot.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String resourceName)

Deletes a snapshot.

abstract SnapshotInner getByResourceGroup(String resourceGroupName, String resourceName)

Gets a snapshot.

abstract Mono<SnapshotInner> getByResourceGroupAsync(String resourceGroupName, String resourceName)

Gets a snapshot.

abstract Response<SnapshotInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)

Gets a snapshot.

abstract Mono<Response<SnapshotInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String resourceName)

Gets a snapshot.

abstract PagedIterable<SnapshotInner> list()

Gets a list of snapshots in the specified subscription.

abstract PagedIterable<SnapshotInner> list(Context context)

Gets a list of snapshots in the specified subscription.

abstract PagedFlux<SnapshotInner> listAsync()

Gets a list of snapshots in the specified subscription.

abstract PagedIterable<SnapshotInner> listByResourceGroup(String resourceGroupName)

Lists snapshots in the specified subscription and resource group.

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

Lists snapshots in the specified subscription and resource group.

abstract PagedFlux<SnapshotInner> listByResourceGroupAsync(String resourceGroupName)

Lists snapshots in the specified subscription and resource group.

abstract SnapshotInner updateTags(String resourceGroupName, String resourceName, TagsObject parameters)

Updates tags on a snapshot.

abstract Mono<SnapshotInner> updateTagsAsync(String resourceGroupName, String resourceName, TagsObject parameters)

Updates tags on a snapshot.

abstract Response<SnapshotInner> updateTagsWithResponse(String resourceGroupName, String resourceName, TagsObject parameters, Context context)

Updates tags on a snapshot.

abstract Mono<Response<SnapshotInner>> updateTagsWithResponseAsync(String resourceGroupName, String resourceName, TagsObject parameters)

Updates tags on a snapshot.

Method Details

createOrUpdate

public abstract SnapshotInner createOrUpdate(String resourceGroupName, String resourceName, SnapshotInner parameters)

Creates or updates a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
parameters - The snapshot to create or update.

Returns:

a node pool snapshot resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String resourceName, SnapshotInner parameters)

Creates or updates a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
parameters - The snapshot to create or update.

Returns:

a node pool snapshot resource on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String resourceName, SnapshotInner parameters, Context context)

Creates or updates a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
parameters - The snapshot to create or update.
context - The context to associate with this operation.

Returns:

a node pool snapshot resource along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, SnapshotInner parameters)

Creates or updates a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
parameters - The snapshot to create or update.

Returns:

a node pool snapshot resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String resourceName)

Deletes a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String resourceName)

Deletes a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String resourceName, Context context)

Deletes a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

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

Deletes a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract SnapshotInner getByResourceGroup(String resourceGroupName, String resourceName)

Gets a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.

Returns:

a snapshot.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String resourceName)

Gets a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.

Returns:

a snapshot on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)

Gets a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
context - The context to associate with this operation.

Returns:

a snapshot along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String resourceName)

Gets a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.

Returns:

a snapshot along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Gets a list of snapshots in the specified subscription.

Returns:

a list of snapshots in the specified subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Gets a list of snapshots in the specified subscription.

Parameters:

context - The context to associate with this operation.

Returns:

a list of snapshots in the specified subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Gets a list of snapshots in the specified subscription.

Returns:

a list of snapshots in the specified subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists snapshots in the specified subscription and resource group.

Parameters:

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

Returns:

the response from the List Snapshots operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists snapshots in the specified subscription and resource group.

Parameters:

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

Returns:

the response from the List Snapshots operation as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists snapshots in the specified subscription and resource group.

Parameters:

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

Returns:

the response from the List Snapshots operation as paginated response with PagedFlux<T>.

updateTags

public abstract SnapshotInner updateTags(String resourceGroupName, String resourceName, TagsObject parameters)

Updates tags on a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Update snapshot Tags operation.

Returns:

a node pool snapshot resource.

updateTagsAsync

public abstract Mono updateTagsAsync(String resourceGroupName, String resourceName, TagsObject parameters)

Updates tags on a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Update snapshot Tags operation.

Returns:

a node pool snapshot resource on successful completion of Mono.

updateTagsWithResponse

public abstract Response updateTagsWithResponse(String resourceGroupName, String resourceName, TagsObject parameters, Context context)

Updates tags on a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Update snapshot Tags operation.
context - The context to associate with this operation.

Returns:

a node pool snapshot resource along with Response<T>.

updateTagsWithResponseAsync

public abstract Mono> updateTagsWithResponseAsync(String resourceGroupName, String resourceName, TagsObject parameters)

Updates tags on a snapshot.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the managed cluster resource.
parameters - Parameters supplied to the Update snapshot Tags operation.

Returns:

a node pool snapshot resource along with Response<T> on successful completion of Mono.

Applies to