Skip to main content

partner_transfers

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

Overview

Namepartner_transfers
TypeResource
Idazure.billing.partner_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, customerName, transferNameGets a transfer request by ID. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
listselectbillingAccountName, billingProfileName, customerNameLists the transfer requests sent to a customer. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
initiateexecbillingAccountName, billingProfileName, customerName, transferNameSends a request to a user in a customer's billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
cancelexecbillingAccountName, billingProfileName, customerName, transferNameCancels a transfer request. The operation is supported only for billing accounts with agreement type Microsoft Partner 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.
customerNamestringThe ID that uniquely identifies a customer.
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 Partner Agreement.

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

Lifecycle Methods

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

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