provider_instances
Creates, updates, deletes, gets or lists a provider_instances resource.
Overview
| Name | provider_instances |
| Type | Resource |
| Id | azure_isv.hanaonazure.provider_instances |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
metadata | string | A JSON string containing metadata of the provider instance. |
properties | string | A JSON string containing the properties of the provider instance. |
provisioningState | string | State of provisioning of the provider instance. Known values are: "Accepted", "Creating", "Updating", "Failed", "Succeeded", "Deleting", and "Migrating". (Accepted, Creating, Updating, Failed, Succeeded, Deleting, Migrating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
metadata | string | A JSON string containing metadata of the provider instance. |
properties | string | A JSON string containing the properties of the provider instance. |
provisioningState | string | State of provisioning of the provider instance. Known values are: "Accepted", "Creating", "Updating", "Failed", "Succeeded", "Deleting", and "Migrating". (Accepted, Creating, Updating, Failed, Succeeded, Deleting, Migrating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, sap_monitor_name, provider_instance_name, subscription_id | Gets properties of a provider instance. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023. | |
list | select | resource_group_name, sap_monitor_name, subscription_id | Gets 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. | |
create | insert | resource_group_name, sap_monitor_name, provider_instance_name, subscription_id | Creates a provider instance. The product Microsoft.Workloads/sapMonitors (AMS Classic) is officially retired as of May 31, 2023. | |
delete | delete | resource_group_name, sap_monitor_name, provider_instance_name, subscription_id | Deletes 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.
| Name | Datatype | Description |
|---|---|---|
provider_instance_name | string | Name of the provider instance. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
sap_monitor_name | string | Name of the SAP monitor resource. Required. |
subscription_id | string |
SELECT examples
- get
- list
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
;
Gets 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.
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 subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create
- Manifest
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
;
# Description fields are for documentation purposes
- name: provider_instances
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the provider_instances resource.
- name: sap_monitor_name
value: "{{ sap_monitor_name }}"
description: Required parameter for the provider_instances resource.
- name: provider_instance_name
value: "{{ provider_instance_name }}"
description: Required parameter for the provider_instances resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the provider_instances resource.
- name: properties
description: |
Provider Instance properties.
value:
type: "{{ type }}"
properties: "{{ properties }}"
metadata: "{{ metadata }}"
provisioningState: "{{ provisioningState }}"
DELETE examples
- delete
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
;