partners
Creates, updates, deletes, gets or lists a partners
resource.
Overview
Name | partners |
Type | Resource |
Id | azure_extras.management_partner.partners |
Fields
The following fields are returned by SELECT
queries:
- get
Get the details of the Partner
.
Name | Datatype | Description |
---|---|---|
id | string | Identifier of the partner |
name | string | Name of the partner |
etag | integer | Type of the partner |
properties | object | Properties of the partner |
type | string | Type of resource. "Microsoft.ManagementPartner/partners" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | Get the management partner using the objectId and tenantId. | ||
create | insert | partnerId | Create a management partner for the objectId and tenantId. | |
update | update | partnerId | Update the management partner for the objectId and tenantId. | |
delete | delete | partnerId | Delete 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.
Name | Datatype | Description |
---|---|---|
partnerId | string | Id of the Partner |
SELECT
examples
- get
Get the management partner using the objectId and tenantId.
SELECT
id,
name,
etag,
properties,
type
FROM azure_extras.management_partner.partners
;
INSERT
examples
- create
- Manifest
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
;
# Description fields are for documentation purposes
- name: partners
props:
- name: partnerId
value: string
description: Required parameter for the partners resource.
UPDATE
examples
- update
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
Delete the management partner for the objectId and tenantId.
DELETE FROM azure_extras.management_partner.partners
WHERE partnerId = '{{ partnerId }}' --required
;