MoveResourcesOperations Class
MoveResourcesOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectMoveResourcesOperations
Constructor
MoveResourcesOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_create |
Creates or updates a Move Resource in the move collection. |
| begin_delete |
Deletes a Move Resource from the move collection. |
| get |
Gets the Move Resource. |
| list |
Lists the Move Resources in the move collection. param resource_group_name: The Resource Group Name. type resource_group_name: str param move_collection_name: The Move Collection Name. type move_collection_name: str param filter: The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'. type filter: str keyword callable cls: A custom type or function that will be passed the direct response return: An iterator like instance of either MoveResourceCollection or the result of cls(response) rtype: ~azure.core.paging.ItemPaged[~region_move_service_api.models.MoveResourceCollection] raises: ~azure.core.exceptions.HttpResponseError |
begin_create
Creates or updates a Move Resource in the move collection.
begin_create(resource_group_name: str, move_collection_name: str, move_resource_name: str, body: Optional[models.MoveResource] = None, **kwargs: Any) -> LROPoller[models.MoveResource]
Parameters
- body
- <xref:region_move_service_api.models.MoveResource>
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either MoveResource or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes a Move Resource from the move collection.
begin_delete(resource_group_name: str, move_collection_name: str, move_resource_name: str, **kwargs: Any) -> LROPoller[models.OperationStatus]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either OperationStatus or the result of cls(response)
Return type
Exceptions
get
Gets the Move Resource.
get(resource_group_name: str, move_collection_name: str, move_resource_name: str, **kwargs: Any) -> models.MoveResource
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
MoveResource, or the result of cls(response)
Return type
Exceptions
list
Lists the Move Resources in the move collection.
param resource_group_name: The Resource Group Name.
type resource_group_name: str
param move_collection_name: The Move Collection Name.
type move_collection_name: str
param filter: The filter to apply on the operation. For example, you can use
$filter=Properties/ProvisioningState eq 'Succeeded'. type filter: str
keyword callable cls: A custom type or function that will be passed the direct response
return: An iterator like instance of either MoveResourceCollection or the result of cls(response)
rtype: ~azure.core.paging.ItemPaged[~region_move_service_api.models.MoveResourceCollection]
raises: ~azure.core.exceptions.HttpResponseError
list(resource_group_name: str, move_collection_name: str, filter: Optional[str] = None, **kwargs: Any) -> Iterable[models.MoveResourceCollection]
Parameters
- resource_group_name
- move_collection_name
- filter
Exceptions
Attributes
models
models = <module 'azure.mgmt.regionmove.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\regionmove\\models\\__init__.py'>
Feedback
Submit and view feedback for