RecipientTransfersOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:recipient_transfers> attribute.
- Inheritance
-
builtins.objectRecipientTransfersOperations
Constructor
RecipientTransfersOperations(*args, **kwargs)
Methods
accept |
Accepts a transfer request. Accepts a transfer request. |
decline |
Declines a transfer request. Declines a transfer request. |
get |
Gets a transfer request by ID. The caller must be the recipient of the transfer request. Gets a transfer request by ID. The caller must be the recipient of the transfer request. |
list |
Lists the transfer requests received by the caller. Lists the transfer requests received by the caller. |
validate |
Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation. Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation. |
accept
Accepts a transfer request.
Accepts a transfer request.
accept(transfer_name: str, parameters: _models.AcceptTransferRequest, *, content_type: str = 'application/json', **kwargs: Any) -> _models.RecipientTransferDetails
Parameters
Name | Description |
---|---|
transfer_name
Required
|
The ID that uniquely identifies a transfer request. Required. |
parameters
Required
|
Request parameters that are provided to the accept transfer operation. Is either a AcceptTransferRequest type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
RecipientTransferDetails or the result of cls(response) |
Exceptions
Type | Description |
---|---|
decline
Declines a transfer request.
Declines a transfer request.
decline(transfer_name: str, **kwargs: Any) -> RecipientTransferDetails
Parameters
Name | Description |
---|---|
transfer_name
Required
|
The ID that uniquely identifies a transfer request. Required. |
Returns
Type | Description |
---|---|
RecipientTransferDetails or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Gets a transfer request by ID. The caller must be the recipient of the transfer request.
Gets a transfer request by ID. The caller must be the recipient of the transfer request.
get(transfer_name: str, **kwargs: Any) -> RecipientTransferDetails
Parameters
Name | Description |
---|---|
transfer_name
Required
|
The ID that uniquely identifies a transfer request. Required. |
Returns
Type | Description |
---|---|
RecipientTransferDetails or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Lists the transfer requests received by the caller.
Lists the transfer requests received by the caller.
list(**kwargs: Any) -> Iterable[RecipientTransferDetails]
Returns
Type | Description |
---|---|
An iterator like instance of either RecipientTransferDetails or the result of cls(response) |
Exceptions
Type | Description |
---|---|
validate
Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation.
Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation.
validate(transfer_name: str, parameters: _models.AcceptTransferRequest, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ValidateTransferListResponse
Parameters
Name | Description |
---|---|
transfer_name
Required
|
The ID that uniquely identifies a transfer request. Required. |
parameters
Required
|
Request parameters that are provided to the validate transfer operation. Is either a AcceptTransferRequest type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
ValidateTransferListResponse or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.billing.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\billing\\models\\__init__.py'>
Azure SDK for Python