ResourcesOperations Class

Definition

The Resources service client.

public class ResourcesOperations
type ResourcesOperations = class
Public Class ResourcesOperations
Inheritance
System.Object
ResourcesOperations

Constructors

ResourcesOperations()

Initializes a new instance of ResourcesOperations for mocking.

Methods

CheckExistence(String, String, String, String, String, String, CancellationToken)

Checks whether a resource exists.

CheckExistenceAsync(String, String, String, String, String, String, CancellationToken)

Checks whether a resource exists.

CheckExistenceById(String, String, CancellationToken)

Checks by ID whether a resource exists.

CheckExistenceByIdAsync(String, String, CancellationToken)

Checks by ID whether a resource exists.

Get(String, String, String, String, String, String, CancellationToken)

Gets a resource.

GetAsync(String, String, String, String, String, String, CancellationToken)

Gets a resource.

GetById(String, String, CancellationToken)

Gets a resource by ID.

GetByIdAsync(String, String, CancellationToken)

Gets a resource by ID.

List(String, String, Nullable<Int32>, CancellationToken)

Get all the resources in a subscription.

ListAsync(String, String, Nullable<Int32>, CancellationToken)

Get all the resources in a subscription.

ListByResourceGroup(String, String, String, Nullable<Int32>, CancellationToken)

Get all the resources for a resource group.

ListByResourceGroupAsync(String, String, String, Nullable<Int32>, CancellationToken)

Get all the resources for a resource group.

StartCreateOrUpdate(String, String, String, String, String, String, GenericResource, CancellationToken)

Creates a resource.

StartCreateOrUpdateAsync(String, String, String, String, String, String, GenericResource, CancellationToken)

Creates a resource.

StartCreateOrUpdateById(String, String, GenericResource, CancellationToken)

Create a resource by ID.

StartCreateOrUpdateByIdAsync(String, String, GenericResource, CancellationToken)

Create a resource by ID.

StartDelete(String, String, String, String, String, String, CancellationToken)

Deletes a resource.

StartDeleteAsync(String, String, String, String, String, String, CancellationToken)

Deletes a resource.

StartDeleteById(String, String, CancellationToken)

Deletes a resource by ID.

StartDeleteByIdAsync(String, String, CancellationToken)

Deletes a resource by ID.

StartMoveResources(String, ResourcesMoveInfo, CancellationToken)

The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.

StartMoveResourcesAsync(String, ResourcesMoveInfo, CancellationToken)

The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.

StartUpdate(String, String, String, String, String, String, GenericResource, CancellationToken)

Updates a resource.

StartUpdateAsync(String, String, String, String, String, String, GenericResource, CancellationToken)

Updates a resource.

StartUpdateById(String, String, GenericResource, CancellationToken)

Updates a resource by ID.

StartUpdateByIdAsync(String, String, GenericResource, CancellationToken)

Updates a resource by ID.

StartValidateMoveResources(String, ResourcesMoveInfo, CancellationToken)

This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.

StartValidateMoveResourcesAsync(String, ResourcesMoveInfo, CancellationToken)

This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation.

Applies to