providers
Creates, updates, deletes, gets or lists a providers
resource.
Overview
Name | providers |
Type | Resource |
Id | azure.attestation.providers |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list
The status of the specified attestation provider
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Describes Attestation service status. |
systemData | object | The system metadata relating to this resource |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Describes Attestation service status. |
systemData | object | The system metadata relating to this resource |
tags | object | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Describes Attestation service status. |
systemData | object | The system metadata relating to this resource |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , providerName | Get the status of Attestation Provider. | |
list_by_resource_group | select | resourceGroupName , subscriptionId | Returns attestation providers list in a resource group. | |
list | select | subscriptionId | Returns a list of attestation providers in a subscription. | |
create | insert | subscriptionId , resourceGroupName , providerName , data__location , data__properties | Creates or updates an Attestation Provider. | |
update | update | subscriptionId , resourceGroupName , providerName | Updates the Attestation Provider. | |
delete | delete | subscriptionId , resourceGroupName , providerName | Delete Attestation Service. |
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 |
---|---|---|
providerName | string | Name of the attestation service |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
- list_by_resource_group
- list
Get the status of Attestation Provider.
SELECT
location,
properties,
systemData,
tags
FROM azure.attestation.providers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND providerName = '{{ providerName }}' -- required
;
Returns attestation providers list in a resource group.
SELECT
location,
properties,
systemData,
tags
FROM azure.attestation.providers
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Returns a list of attestation providers in a subscription.
SELECT
location,
properties,
systemData,
tags
FROM azure.attestation.providers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
Creates or updates an Attestation Provider.
INSERT INTO azure.attestation.providers (
data__location,
data__tags,
data__properties,
subscriptionId,
resourceGroupName,
providerName
)
SELECT
'{{ location }}' /* required */,
'{{ tags }}',
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ providerName }}'
RETURNING
location,
properties,
systemData,
tags
;
# Description fields are for documentation purposes
- name: providers
props:
- name: subscriptionId
value: string
description: Required parameter for the providers resource.
- name: resourceGroupName
value: string
description: Required parameter for the providers resource.
- name: providerName
value: string
description: Required parameter for the providers resource.
- name: location
value: string
description: |
The supported Azure location where the attestation provider should be created.
- name: tags
value: object
description: |
The tags that will be assigned to the attestation provider.
- name: properties
value: object
description: |
Properties of the attestation provider
UPDATE
examples
- update
Updates the Attestation Provider.
UPDATE azure.attestation.providers
SET
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND providerName = '{{ providerName }}' --required
RETURNING
location,
properties,
systemData,
tags;
DELETE
examples
- delete
Delete Attestation Service.
DELETE FROM azure.attestation.providers
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND providerName = '{{ providerName }}' --required
;