Partilhar via


ResourcesClient Interface

Implements

public interface ResourcesClient
extends InnerSupportsListing<GenericResourceExpandedInner>

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

abstract SyncPoller<PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, Context context)

Creates a resource.

abstract PollerFlux<PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

abstract SyncPoller<PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

abstract SyncPoller<PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, Context context)

Create a resource by ID.

abstract PollerFlux<PollResult<GenericResourceInner>,GenericResourceInner> beginCreateOrUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, Context context)

Deletes a resource.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteById(String resourceId, String apiVersion)

Deletes a resource by ID.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteById(String resourceId, String apiVersion, Context context)

Deletes a resource by ID.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteByIdAsync(String resourceId, String apiVersion)

Deletes a resource by ID.

abstract SyncPoller<PollResult<Void>,Void> beginMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group.

abstract SyncPoller<PollResult<Void>,Void> beginMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, Context context)

Moves resources from one resource group to another resource group.

abstract PollerFlux<PollResult<Void>,Void> beginMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group.

abstract SyncPoller<PollResult<GenericResourceInner>,GenericResourceInner> beginUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

abstract SyncPoller<PollResult<GenericResourceInner>,GenericResourceInner> beginUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, Context context)

Updates a resource.

abstract PollerFlux<PollResult<GenericResourceInner>,GenericResourceInner> beginUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

abstract SyncPoller<PollResult<GenericResourceInner>,GenericResourceInner> beginUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

abstract SyncPoller<PollResult<GenericResourceInner>,GenericResourceInner> beginUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, Context context)

Updates a resource by ID.

abstract PollerFlux<PollResult<GenericResourceInner>,GenericResourceInner> beginUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

abstract SyncPoller<PollResult<Void>,Void> beginValidateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group.

abstract SyncPoller<PollResult<Void>,Void> beginValidateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, Context context)

Validates whether resources can be moved from one resource group to another resource group.

abstract PollerFlux<PollResult<Void>,Void> beginValidateMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group.

abstract boolean checkExistence(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Checks whether a resource exists.

abstract Mono<Boolean> checkExistenceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Checks whether a resource exists.

abstract boolean checkExistenceById(String resourceId, String apiVersion)

Checks by ID whether a resource exists.

abstract Mono<Boolean> checkExistenceByIdAsync(String resourceId, String apiVersion)

Checks by ID whether a resource exists.

abstract Response<Boolean> checkExistenceByIdWithResponse(String resourceId, String apiVersion, Context context)

Checks by ID whether a resource exists.

abstract Mono<Response<Boolean>> checkExistenceByIdWithResponseAsync(String resourceId, String apiVersion)

Checks by ID whether a resource exists.

abstract Response<Boolean> checkExistenceWithResponse(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, Context context)

Checks whether a resource exists.

abstract Mono<Response<Boolean>> checkExistenceWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Checks whether a resource exists.

abstract GenericResourceInner createOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

abstract GenericResourceInner createOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, Context context)

Creates a resource.

abstract Mono<GenericResourceInner> createOrUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

abstract GenericResourceInner createOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

abstract GenericResourceInner createOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, Context context)

Create a resource by ID.

abstract Mono<GenericResourceInner> createOrUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateByIdWithResponseAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

abstract void delete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

abstract void delete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, Context context)

Deletes a resource.

abstract Mono<Void> deleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

abstract void deleteById(String resourceId, String apiVersion)

Deletes a resource by ID.

abstract void deleteById(String resourceId, String apiVersion, Context context)

Deletes a resource by ID.

abstract Mono<Void> deleteByIdAsync(String resourceId, String apiVersion)

Deletes a resource by ID.

abstract Mono<Response<Flux<ByteBuffer>>> deleteByIdWithResponseAsync(String resourceId, String apiVersion)

Deletes a resource by ID.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

abstract GenericResourceInner get(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Gets a resource.

abstract Mono<GenericResourceInner> getAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Gets a resource.

abstract GenericResourceInner getById(String resourceId, String apiVersion)

Gets a resource by ID.

abstract Mono<GenericResourceInner> getByIdAsync(String resourceId, String apiVersion)

Gets a resource by ID.

abstract Response<GenericResourceInner> getByIdWithResponse(String resourceId, String apiVersion, Context context)

Gets a resource by ID.

abstract Mono<Response<GenericResourceInner>> getByIdWithResponseAsync(String resourceId, String apiVersion)

Gets a resource by ID.

abstract Response<GenericResourceInner> getWithResponse(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, Context context)

Gets a resource.

abstract Mono<Response<GenericResourceInner>> getWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Gets a resource.

abstract PagedIterable<GenericResourceExpandedInner> list()

Get all the resources in a subscription.

abstract PagedIterable<GenericResourceExpandedInner> list(String filter, String expand, Integer top, Context context)

Get all the resources in a subscription.

abstract PagedFlux<GenericResourceExpandedInner> listAsync()

Get all the resources in a subscription.

abstract PagedFlux<GenericResourceExpandedInner> listAsync(String filter, String expand, Integer top)

Get all the resources in a subscription.

abstract PagedIterable<GenericResourceExpandedInner> listByResourceGroup(String resourceGroupName)

Get all the resources for a resource group.

abstract PagedIterable<GenericResourceExpandedInner> listByResourceGroup(String resourceGroupName, String filter, String expand, Integer top, Context context)

Get all the resources for a resource group.

abstract PagedFlux<GenericResourceExpandedInner> listByResourceGroupAsync(String resourceGroupName)

Get all the resources for a resource group.

abstract PagedFlux<GenericResourceExpandedInner> listByResourceGroupAsync(String resourceGroupName, String filter, String expand, Integer top)

Get all the resources for a resource group.

abstract void moveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group.

abstract void moveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, Context context)

Moves resources from one resource group to another resource group.

abstract Mono<Void> moveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group.

abstract Mono<Response<Flux<ByteBuffer>>> moveResourcesWithResponseAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group.

abstract GenericResourceInner update(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

abstract GenericResourceInner update(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, Context context)

Updates a resource.

abstract Mono<GenericResourceInner> updateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

abstract GenericResourceInner updateById(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

abstract GenericResourceInner updateById(String resourceId, String apiVersion, GenericResourceInner parameters, Context context)

Updates a resource by ID.

abstract Mono<GenericResourceInner> updateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

abstract Mono<Response<Flux<ByteBuffer>>> updateByIdWithResponseAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

abstract void validateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group.

abstract void validateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, Context context)

Validates whether resources can be moved from one resource group to another resource group.

abstract Mono<Void> validateMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group.

abstract Mono<Response<Flux<ByteBuffer>>> validateMoveResourcesWithResponseAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,GenericResourceInner> beginCreateOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to create.
resourceName - The name of the resource to create.
apiVersion - The API version to use for the operation.
parameters - Parameters for creating or updating the resource.

Returns:

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

beginCreateOrUpdate

public abstract SyncPoller,GenericResourceInner> beginCreateOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, Context context)

Creates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to create.
resourceName - The name of the resource to create.
apiVersion - The API version to use for the operation.
parameters - Parameters for creating or updating the resource.
context - The context to associate with this operation.

Returns:

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

beginCreateOrUpdateAsync

public abstract PollerFlux,GenericResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to create.
resourceName - The name of the resource to create.
apiVersion - The API version to use for the operation.
parameters - Parameters for creating or updating the resource.

Returns:

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

beginCreateOrUpdateById

public abstract SyncPoller,GenericResourceInner> beginCreateOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Create or update resource parameters.

Returns:

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

beginCreateOrUpdateById

public abstract SyncPoller,GenericResourceInner> beginCreateOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, Context context)

Create a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Create or update resource parameters.
context - The context to associate with this operation.

Returns:

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

beginCreateOrUpdateByIdAsync

public abstract PollerFlux,GenericResourceInner> beginCreateOrUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Create or update resource parameters.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to delete.
apiVersion - The API version to use for the operation.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, Context context)

Deletes a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to delete.
apiVersion - The API version to use for the operation.
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 resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to delete.
apiVersion - The API version to use for the operation.

Returns:

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

beginDeleteById

public abstract SyncPoller,Void> beginDeleteById(String resourceId, String apiVersion)

Deletes a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

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

beginDeleteById

public abstract SyncPoller,Void> beginDeleteById(String resourceId, String apiVersion, Context context)

Deletes a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
context - The context to associate with this operation.

Returns:

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

beginDeleteByIdAsync

public abstract PollerFlux,Void> beginDeleteByIdAsync(String resourceId, String apiVersion)

Deletes a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

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

beginMoveResources

public abstract SyncPoller,Void> beginMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
parameters - Parameters for moving resources.

Returns:

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

beginMoveResources

public abstract SyncPoller,Void> beginMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, Context context)

Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
parameters - Parameters for moving resources.
context - The context to associate with this operation.

Returns:

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

beginMoveResourcesAsync

public abstract PollerFlux,Void> beginMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
parameters - Parameters for moving resources.

Returns:

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

beginUpdate

public abstract SyncPoller,GenericResourceInner> beginUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to update.
resourceName - The name of the resource to update.
apiVersion - The API version to use for the operation.
parameters - Parameters for updating the resource.

Returns:

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

beginUpdate

public abstract SyncPoller,GenericResourceInner> beginUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, Context context)

Updates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to update.
resourceName - The name of the resource to update.
apiVersion - The API version to use for the operation.
parameters - Parameters for updating the resource.
context - The context to associate with this operation.

Returns:

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

beginUpdateAsync

public abstract PollerFlux,GenericResourceInner> beginUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to update.
resourceName - The name of the resource to update.
apiVersion - The API version to use for the operation.
parameters - Parameters for updating the resource.

Returns:

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

beginUpdateById

public abstract SyncPoller,GenericResourceInner> beginUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Update resource parameters.

Returns:

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

beginUpdateById

public abstract SyncPoller,GenericResourceInner> beginUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, Context context)

Updates a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Update resource parameters.
context - The context to associate with this operation.

Returns:

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

beginUpdateByIdAsync

public abstract PollerFlux,GenericResourceInner> beginUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Update resource parameters.

Returns:

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

beginValidateMoveResources

public abstract SyncPoller,Void> beginValidateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
parameters - Parameters for moving resources.

Returns:

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

beginValidateMoveResources

public abstract SyncPoller,Void> beginValidateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, Context context)

Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
parameters - Parameters for moving resources.
context - The context to associate with this operation.

Returns:

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

beginValidateMoveResourcesAsync

public abstract PollerFlux,Void> beginValidateMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
parameters - Parameters for moving resources.

Returns:

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

checkExistence

public abstract boolean checkExistence(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Checks whether a resource exists.

Parameters:

resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive.
resourceProviderNamespace - The resource provider of the resource to check.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to check whether it exists.
apiVersion - The API version to use for the operation.

Returns:

whether resource exists.

checkExistenceAsync

public abstract Mono checkExistenceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Checks whether a resource exists.

Parameters:

resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive.
resourceProviderNamespace - The resource provider of the resource to check.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to check whether it exists.
apiVersion - The API version to use for the operation.

Returns:

whether resource exists on successful completion of Mono.

checkExistenceById

public abstract boolean checkExistenceById(String resourceId, String apiVersion)

Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

whether resource exists.

checkExistenceByIdAsync

public abstract Mono checkExistenceByIdAsync(String resourceId, String apiVersion)

Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

whether resource exists on successful completion of Mono.

checkExistenceByIdWithResponse

public abstract Response checkExistenceByIdWithResponse(String resourceId, String apiVersion, Context context)

Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
context - The context to associate with this operation.

Returns:

whether resource exists along with Response<T>.

checkExistenceByIdWithResponseAsync

public abstract Mono> checkExistenceByIdWithResponseAsync(String resourceId, String apiVersion)

Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

whether resource exists along with Response<T> on successful completion of Mono.

checkExistenceWithResponse

public abstract Response checkExistenceWithResponse(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, Context context)

Checks whether a resource exists.

Parameters:

resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive.
resourceProviderNamespace - The resource provider of the resource to check.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to check whether it exists.
apiVersion - The API version to use for the operation.
context - The context to associate with this operation.

Returns:

whether resource exists along with Response<T>.

checkExistenceWithResponseAsync

public abstract Mono> checkExistenceWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Checks whether a resource exists.

Parameters:

resourceGroupName - The name of the resource group containing the resource to check. The name is case insensitive.
resourceProviderNamespace - The resource provider of the resource to check.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to check whether it exists.
apiVersion - The API version to use for the operation.

Returns:

whether resource exists along with Response<T> on successful completion of Mono.

createOrUpdate

public abstract GenericResourceInner createOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to create.
resourceName - The name of the resource to create.
apiVersion - The API version to use for the operation.
parameters - Parameters for creating or updating the resource.

Returns:

resource information.

createOrUpdate

public abstract GenericResourceInner createOrUpdate(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, Context context)

Creates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to create.
resourceName - The name of the resource to create.
apiVersion - The API version to use for the operation.
parameters - Parameters for creating or updating the resource.
context - The context to associate with this operation.

Returns:

resource information.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to create.
resourceName - The name of the resource to create.
apiVersion - The API version to use for the operation.
parameters - Parameters for creating or updating the resource.

Returns:

resource information on successful completion of Mono.

createOrUpdateById

public abstract GenericResourceInner createOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Create or update resource parameters.

Returns:

resource information.

createOrUpdateById

public abstract GenericResourceInner createOrUpdateById(String resourceId, String apiVersion, GenericResourceInner parameters, Context context)

Create a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Create or update resource parameters.
context - The context to associate with this operation.

Returns:

resource information.

createOrUpdateByIdAsync

public abstract Mono createOrUpdateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Create or update resource parameters.

Returns:

resource information on successful completion of Mono.

createOrUpdateByIdWithResponseAsync

public abstract Mono>> createOrUpdateByIdWithResponseAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Create a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Create or update resource parameters.

Returns:

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

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Creates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to create.
resourceName - The name of the resource to create.
apiVersion - The API version to use for the operation.
parameters - Parameters for creating or updating the resource.

Returns:

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

delete

public abstract void delete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to delete.
apiVersion - The API version to use for the operation.

delete

public abstract void delete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, Context context)

Deletes a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to delete.
apiVersion - The API version to use for the operation.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to delete.
apiVersion - The API version to use for the operation.

Returns:

A Mono that completes when a successful response is received.

deleteById

public abstract void deleteById(String resourceId, String apiVersion)

Deletes a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

deleteById

public abstract void deleteById(String resourceId, String apiVersion, Context context)

Deletes a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
context - The context to associate with this operation.

deleteByIdAsync

public abstract Mono deleteByIdAsync(String resourceId, String apiVersion)

Deletes a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

A Mono that completes when a successful response is received.

deleteByIdWithResponseAsync

public abstract Mono>> deleteByIdWithResponseAsync(String resourceId, String apiVersion)

Deletes a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

the Response<T> on successful completion of Mono.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Deletes a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource to delete. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type.
resourceName - The name of the resource to delete.
apiVersion - The API version to use for the operation.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract GenericResourceInner get(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Gets a resource.

Parameters:

resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource.
resourceName - The name of the resource to get.
apiVersion - The API version to use for the operation.

Returns:

a resource.

getAsync

public abstract Mono getAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Gets a resource.

Parameters:

resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource.
resourceName - The name of the resource to get.
apiVersion - The API version to use for the operation.

Returns:

a resource on successful completion of Mono.

getById

public abstract GenericResourceInner getById(String resourceId, String apiVersion)

Gets a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

a resource by ID.

getByIdAsync

public abstract Mono getByIdAsync(String resourceId, String apiVersion)

Gets a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

a resource by ID on successful completion of Mono.

getByIdWithResponse

public abstract Response getByIdWithResponse(String resourceId, String apiVersion, Context context)

Gets a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
context - The context to associate with this operation.

Returns:

a resource by ID along with Response<T>.

getByIdWithResponseAsync

public abstract Mono> getByIdWithResponseAsync(String resourceId, String apiVersion)

Gets a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.

Returns:

a resource by ID along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, Context context)

Gets a resource.

Parameters:

resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource.
resourceName - The name of the resource to get.
apiVersion - The API version to use for the operation.
context - The context to associate with this operation.

Returns:

a resource along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)

Gets a resource.

Parameters:

resourceGroupName - The name of the resource group containing the resource to get. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource.
resourceName - The name of the resource to get.
apiVersion - The API version to use for the operation.

Returns:

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

list

public abstract PagedIterable list()

Get all the resources in a subscription.

Returns:

all the resources in a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String filter, String expand, Integer top, Context context)

Get all the resources in a subscription.

Parameters:

filter - The filter to apply on the operation.<br><br>Filter comparison operators include eq (equals) and ne (not equals) and may be used with the following properties: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br><br>substringof(value, property) can be used to filter for substrings of the following currently-supported properties: name and resourceGroup<br><br>For example, to get all resources with 'demo' anywhere in the resource name, use $filter=substringof('demo', name)<br><br>Multiple substring operations can also be combined using and/or operators.<br><br>Note that any truncated number of results queried via $top may also not be compatible when using a filter.<br><br><br>Resources can be filtered by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. Note that when resources are filtered by tag name and value, <b>the original tags for each resource will not be returned in the results.</b> Any list of additional properties queried via $expand may also not be compatible when filtering by tag names/values. <br><br>For tag names only, resources can be filtered by prefix using the following syntax: $filter=startswith(tagName, 'depart'). This query will return all resources with a tag name prefixed by the phrase depart (i.e.department, departureDate, departureTime, etc.)<br><br><br>Note that some properties can be combined when filtering resources, which include the following: substringof() and/or resourceType, plan and plan/publisher and plan/name, and identity and identity/principalId.
expand - Comma-separated list of additional properties to be included in the response. Valid values include createdTime, changedTime and provisioningState. For example, $expand=createdTime,changedTime.
top - The number of recommendations per page if a paged version of this API is being used.
context - The context to associate with this operation.

Returns:

all the resources in a subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Get all the resources in a subscription.

Returns:

all the resources in a subscription as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String filter, String expand, Integer top)

Get all the resources in a subscription.

Parameters:

filter - The filter to apply on the operation.<br><br>Filter comparison operators include eq (equals) and ne (not equals) and may be used with the following properties: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br><br>substringof(value, property) can be used to filter for substrings of the following currently-supported properties: name and resourceGroup<br><br>For example, to get all resources with 'demo' anywhere in the resource name, use $filter=substringof('demo', name)<br><br>Multiple substring operations can also be combined using and/or operators.<br><br>Note that any truncated number of results queried via $top may also not be compatible when using a filter.<br><br><br>Resources can be filtered by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. Note that when resources are filtered by tag name and value, <b>the original tags for each resource will not be returned in the results.</b> Any list of additional properties queried via $expand may also not be compatible when filtering by tag names/values. <br><br>For tag names only, resources can be filtered by prefix using the following syntax: $filter=startswith(tagName, 'depart'). This query will return all resources with a tag name prefixed by the phrase depart (i.e.department, departureDate, departureTime, etc.)<br><br><br>Note that some properties can be combined when filtering resources, which include the following: substringof() and/or resourceType, plan and plan/publisher and plan/name, and identity and identity/principalId.
expand - Comma-separated list of additional properties to be included in the response. Valid values include createdTime, changedTime and provisioningState. For example, $expand=createdTime,changedTime.
top - The number of recommendations per page if a paged version of this API is being used.

Returns:

all the resources in a subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Get all the resources for a resource group.

Parameters:

resourceGroupName - The resource group with the resources to get.

Returns:

all the resources for a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String filter, String expand, Integer top, Context context)

Get all the resources for a resource group.

Parameters:

resourceGroupName - The resource group with the resources to get.
filter - The filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId.
expand - Comma-separated list of additional properties to be included in the response. Valid values include createdTime, changedTime and provisioningState. For example, $expand=createdTime,changedTime.
top - The number of results to return. If null is passed, returns all resources.
context - The context to associate with this operation.

Returns:

all the resources for a resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Get all the resources for a resource group.

Parameters:

resourceGroupName - The resource group with the resources to get.

Returns:

all the resources for a resource group as paginated response with PagedFlux<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName, String filter, String expand, Integer top)

Get all the resources for a resource group.

Parameters:

resourceGroupName - The resource group with the resources to get.
filter - The filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId.
expand - Comma-separated list of additional properties to be included in the response. Valid values include createdTime, changedTime and provisioningState. For example, $expand=createdTime,changedTime.
top - The number of results to return. If null is passed, returns all resources.

Returns:

all the resources for a resource group as paginated response with PagedFlux<T>.

moveResources

public abstract void moveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
parameters - Parameters for moving resources.

moveResources

public abstract void moveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, Context context)

Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
parameters - Parameters for moving resources.
context - The context to associate with this operation.

moveResourcesAsync

public abstract Mono moveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
parameters - Parameters for moving resources.

Returns:

A Mono that completes when a successful response is received.

moveResourcesWithResponseAsync

public abstract Mono>> moveResourcesWithResponseAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Moves resources from one resource group to another resource group. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be moved.
parameters - Parameters for moving resources.

Returns:

the Response<T> on successful completion of Mono.

update

public abstract GenericResourceInner update(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to update.
resourceName - The name of the resource to update.
apiVersion - The API version to use for the operation.
parameters - Parameters for updating the resource.

Returns:

resource information.

update

public abstract GenericResourceInner update(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters, Context context)

Updates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to update.
resourceName - The name of the resource to update.
apiVersion - The API version to use for the operation.
parameters - Parameters for updating the resource.
context - The context to associate with this operation.

Returns:

resource information.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to update.
resourceName - The name of the resource to update.
apiVersion - The API version to use for the operation.
parameters - Parameters for updating the resource.

Returns:

resource information on successful completion of Mono.

updateById

public abstract GenericResourceInner updateById(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Update resource parameters.

Returns:

resource information.

updateById

public abstract GenericResourceInner updateById(String resourceId, String apiVersion, GenericResourceInner parameters, Context context)

Updates a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Update resource parameters.
context - The context to associate with this operation.

Returns:

resource information.

updateByIdAsync

public abstract Mono updateByIdAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Update resource parameters.

Returns:

resource information on successful completion of Mono.

updateByIdWithResponseAsync

public abstract Mono>> updateByIdWithResponseAsync(String resourceId, String apiVersion, GenericResourceInner parameters)

Updates a resource by ID.

Parameters:

resourceId - The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}.
apiVersion - The API version to use for the operation.
parameters - Update resource parameters.

Returns:

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

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters)

Updates a resource.

Parameters:

resourceGroupName - The name of the resource group for the resource. The name is case insensitive.
resourceProviderNamespace - The namespace of the resource provider.
parentResourcePath - The parent resource identity.
resourceType - The resource type of the resource to update.
resourceName - The name of the resource to update.
apiVersion - The API version to use for the operation.
parameters - Parameters for updating the resource.

Returns:

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

validateMoveResources

public abstract void validateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
parameters - Parameters for moving resources.

validateMoveResources

public abstract void validateMoveResources(String sourceResourceGroupName, ResourcesMoveInfo parameters, Context context)

Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
parameters - Parameters for moving resources.
context - The context to associate with this operation.

validateMoveResourcesAsync

public abstract Mono validateMoveResourcesAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
parameters - Parameters for moving resources.

Returns:

A Mono that completes when a successful response is received.

validateMoveResourcesWithResponseAsync

public abstract Mono>> validateMoveResourcesWithResponseAsync(String sourceResourceGroupName, ResourcesMoveInfo parameters)

Validates whether resources can be moved from one resource group to another resource group. This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. 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.

Parameters:

sourceResourceGroupName - The name of the resource group from the source subscription containing the resources to be validated for move.
parameters - Parameters for moving resources.

Returns:

the Response<T> on successful completion of Mono.

Applies to