provider_registrations
Creates, updates, deletes, gets or lists a provider_registrations
resource.
Overview
Name | provider_registrations |
Type | Resource |
Id | azure.provider_hub.provider_registrations |
Fields
Name | Datatype | Description |
---|---|---|
properties | object |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | providerNamespace, subscriptionId | Gets the provider registration details. |
list | SELECT | subscriptionId | Gets the list of the provider registrations in the subscription. |
create_or_update | INSERT | providerNamespace, subscriptionId | Creates or updates the provider registration. |
delete | DELETE | providerNamespace, subscriptionId | Deletes a provider registration. |
generate_operations | EXEC | providerNamespace, subscriptionId | Generates the operations api for the given provider. |
SELECT
examples
Gets the list of the provider registrations in the subscription.
SELECT
properties
FROM azure.provider_hub.provider_registrations
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new provider_registrations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.provider_hub.provider_registrations (
providerNamespace,
subscriptionId,
properties
)
SELECT
'{{ providerNamespace }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value: string
DELETE
example
Deletes the specified provider_registrations
resource.
/*+ delete */
DELETE FROM azure.provider_hub.provider_registrations
WHERE providerNamespace = '{{ providerNamespace }}'
AND subscriptionId = '{{ subscriptionId }}';