Skip to main content

provider_registrations

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

Overview

Nameprovider_registrations
TypeResource
Idazure.provider_hub.provider_registrations

Fields

NameDatatypeDescription
propertiesobject

Methods

NameAccessible byRequired ParamsDescription
getSELECTproviderNamespace, subscriptionIdGets the provider registration details.
listSELECTsubscriptionIdGets the list of the provider registrations in the subscription.
create_or_updateINSERTproviderNamespace, subscriptionIdCreates or updates the provider registration.
deleteDELETEproviderNamespace, subscriptionIdDeletes a provider registration.
generate_operationsEXECproviderNamespace, subscriptionIdGenerates 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.

/*+ create */
INSERT INTO azure.provider_hub.provider_registrations (
providerNamespace,
subscriptionId,
properties
)
SELECT
'{{ providerNamespace }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified provider_registrations resource.

/*+ delete */
DELETE FROM azure.provider_hub.provider_registrations
WHERE providerNamespace = '{{ providerNamespace }}'
AND subscriptionId = '{{ subscriptionId }}';