Skip to main content

partners

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

Overview

Namepartners
TypeResource
Idazure_extras.management_partner.partners

Fields

NameDatatypeDescription
idtextIdentifier of the partner
nametextName of the partner
created_timetextfield from the properties object
etagintegerType of the partner
object_idtextfield from the properties object
partner_idtextfield from the properties object
partner_nametextfield from the properties object
statetextfield from the properties object
tenant_idtextfield from the properties object
typetextType of resource. "Microsoft.ManagementPartner/partners"
updated_timetextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTGet the management partner using the objectId and tenantId.
createINSERTpartnerIdCreate a management partner for the objectId and tenantId.
deleteDELETEpartnerIdDelete the management partner for the objectId and tenantId.
updateUPDATEpartnerIdUpdate the management partner for the objectId and tenantId.

SELECT examples

Get the management partner using the objectId and tenantId.

SELECT
id,
name,
created_time,
etag,
object_id,
partner_id,
partner_name,
state,
tenant_id,
type,
updated_time,
version
FROM azure_extras.management_partner.vw_partners
;

INSERT example

Use the following StackQL query and manifest file to create a new partners resource.

/*+ create */
INSERT INTO azure_extras.management_partner.partners (
partnerId
)
SELECT
'{{ partnerId }}'
;

UPDATE example

Updates a partners resource.

/*+ update */
UPDATE azure_extras.management_partner.partners
SET

WHERE
partnerId = '{{ partnerId }}';

DELETE example

Deletes the specified partners resource.

/*+ delete */
DELETE FROM azure_extras.management_partner.partners
WHERE partnerId = '{{ partnerId }}';