Skip to main content

provider_instances

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

Overview

Nameprovider_instances
TypeResource
Idazure_isv.sap_workloads.provider_instances

Fields

NameDatatypeDescription
errorstextfield from the properties object
identitytextA pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
monitorNametextfield from the properties object
providerInstanceNametextfield from the properties object
provider_settingstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTmonitorName, providerInstanceName, resourceGroupName, subscriptionIdGets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
listSELECTmonitorName, resourceGroupName, subscriptionIdGets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances.
createINSERTmonitorName, providerInstanceName, resourceGroupName, subscriptionIdCreates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
deleteDELETEmonitorName, providerInstanceName, resourceGroupName, subscriptionIdDeletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.

SELECT examples

Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances.

SELECT
errors,
identity,
monitorName,
providerInstanceName,
provider_settings,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure_isv.sap_workloads.vw_provider_instances
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.sap_workloads.provider_instances (
monitorName,
providerInstanceName,
resourceGroupName,
subscriptionId,
identity,
properties
)
SELECT
'{{ monitorName }}',
'{{ providerInstanceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ identity }}',
'{{ properties }}'
;

DELETE example

Deletes the specified provider_instances resource.

/*+ delete */
DELETE FROM azure_isv.sap_workloads.provider_instances
WHERE monitorName = '{{ monitorName }}'
AND providerInstanceName = '{{ providerInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';