Skip to main content

provider_instances

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

Overview

Nameprovider_instances
TypeResource
Idazure_isv.hanaonazure.provider_instances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
metadatastringA JSON string containing metadata of the provider instance.
propertiesstringA JSON string containing the properties of the provider instance.
provisioningStatestringState of provisioning of the provider instance. Known values are: "Accepted", "Creating", "Updating", "Failed", "Succeeded", "Deleting", and "Migrating". (Accepted, Creating, Updating, Failed, Succeeded, Deleting, Migrating)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, sap_monitor_name, provider_instance_name, subscription_idGets properties of a provider instance. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
listselectresource_group_name, sap_monitor_name, subscription_idGets a list of provider instances in the specified SAP monitor. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
createinsertresource_group_name, sap_monitor_name, provider_instance_name, subscription_idCreates a provider instance. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.
deletedeleteresource_group_name, sap_monitor_name, provider_instance_name, subscription_idDeletes a provider instance. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

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.

NameDatatypeDescription
provider_instance_namestringName of the provider instance. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
sap_monitor_namestringName of the SAP monitor resource. Required.
subscription_idstring

SELECT examples

Gets properties of a provider instance. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

SELECT
id,
name,
metadata,
properties,
provisioningState,
systemData,
type
FROM azure_isv.hanaonazure.provider_instances
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND sap_monitor_name = '{{ sap_monitor_name }}' -- required
AND provider_instance_name = '{{ provider_instance_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates a provider instance. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

INSERT INTO azure_isv.hanaonazure.provider_instances (
properties,
resource_group_name,
sap_monitor_name,
provider_instance_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ sap_monitor_name }}',
'{{ provider_instance_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes a provider instance. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023.

DELETE FROM azure_isv.hanaonazure.provider_instances
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND sap_monitor_name = '{{ sap_monitor_name }}' --required
AND provider_instance_name = '{{ provider_instance_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;