Skip to main content

transfers

Creates, updates, deletes, gets or lists a transfers resource.

Overview

Nametransfers
TypeResource
Idazure.billing.transfers

Fields

The following fields are returned by SELECT queries:

Details of transfer.

NameDatatypeDescription
propertiesobjectDetails of the transfer.
tagsobjectDictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbillingAccountName, billingProfileName, invoiceSectionName, transferNameGets a transfer request by ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
listselectbillingAccountName, billingProfileName, invoiceSectionNameLists the transfer requests for an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
initiateexecbillingAccountName, billingProfileName, invoiceSectionName, transferNameSends a request to a user in another billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
cancelexecbillingAccountName, billingProfileName, invoiceSectionName, transferNameCancels a transfer request. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
billingAccountNamestringThe ID that uniquely identifies a billing account.
billingProfileNamestringThe ID that uniquely identifies a billing profile.
invoiceSectionNamestringThe ID that uniquely identifies an invoice section.
transferNamestringThe ID that uniquely identifies a transfer request.

SELECT examples

Gets a transfer request by ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

SELECT
properties,
tags
FROM azure.billing.transfers
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND billingProfileName = '{{ billingProfileName }}' -- required
AND invoiceSectionName = '{{ invoiceSectionName }}' -- required
AND transferName = '{{ transferName }}' -- required
;

Lifecycle Methods

Sends a request to a user in another billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

EXEC azure.billing.transfers.initiate 
@billingAccountName='{{ billingAccountName }}' --required,
@billingProfileName='{{ billingProfileName }}' --required,
@invoiceSectionName='{{ invoiceSectionName }}' --required,
@transferName='{{ transferName }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;