Skip to main content

partners

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

Overview

Namepartners
TypeResource
Idazure_extras.management_partner.partners

Fields

The following fields are returned by SELECT queries:

Get the details of the Partner.

NameDatatypeDescription
idstringIdentifier of the partner
namestringName of the partner
etagintegerType of the partner
propertiesobjectProperties of the partner
typestringType of resource. "Microsoft.ManagementPartner/partners"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGet the management partner using the objectId and tenantId.
createinsertpartnerIdCreate a management partner for the objectId and tenantId.
updateupdatepartnerIdUpdate the management partner for the objectId and tenantId.
deletedeletepartnerIdDelete the management partner for the objectId and tenantId.

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
partnerIdstringId of the Partner

SELECT examples

Get the management partner using the objectId and tenantId.

SELECT
id,
name,
etag,
properties,
type
FROM azure_extras.management_partner.partners
;

INSERT examples

Create a management partner for the objectId and tenantId.

INSERT INTO azure_extras.management_partner.partners (
partnerId
)
SELECT
'{{ partnerId }}'
RETURNING
id,
name,
etag,
properties,
type
;

UPDATE examples

Update the management partner for the objectId and tenantId.

UPDATE azure_extras.management_partner.partners
SET
-- No updatable properties
WHERE
partnerId = '{{ partnerId }}' --required
RETURNING
id,
name,
etag,
properties,
type;

DELETE examples

Delete the management partner for the objectId and tenantId.

DELETE FROM azure_extras.management_partner.partners
WHERE partnerId = '{{ partnerId }}' --required
;